<commit_before>/* Generated by vala-dbus-binding-tool. Do not modify! */
/* Generated with: /usr/bin/vala-dbus-binding-tool --api-path=../../fso-specs.git/xml/ --directory=./ --strip-namespace=org --rename-namespace=freedesktop:FreeDesktop --rename-namespace=freesmartphone:FreeSmartphone */
using DBus;
using GLib;

namespace FreeSmartphone {

	namespace GSM {

		[DBus (name = "org.freesmartphone.GSM.PDP")]
		public interface PDP : GLib.Object {

			public abstract string[] list_gprs_classes() throws DBus.Error;

			public abstract string get_current_gprs_class() throws DBus.Error;

			public abstract void set_current_gprs_class(string device_class) throws DBus.Error;

			public abstract GLib.HashTable<string, GLib.Value?> get_network_status() throws DBus.Error;

			public signal void network_status(GLib.HashTable<string, GLib.Value?> status);

			public abstract int activate_context(string apn, string username, string password) throws DBus.Error;

			public abstract void deactivate_context(int index) throws DBus.Error;

			public abstract string get_context_status(int index) throws DBus.Error;

			public signal void context_status(int id, string status, GLib.HashTable<string, GLib.Value?> properties);
		}

		[DBus (name = "org.freesmartphone.GSM.HZ")]
		public interface HZ : GLib.Object {

			public abstract string[] get_known_home_zones() throws DBus.Error;

			public abstract string get_home_zone_status() throws DBus.Error;

			public signal void home_zone_status(string name);
		}

		[DBus (use_string_marshalling = true)]
		public enum CallStatusEnum {
			[DBus (value="INCOMING")]
			INCOMING,
			[DBus (value="OUTGOING")]
			OUTGOING,
			[DBus (value="ACTIVE")]
			ACTIVE,
			[DBus (value="HELD")]
			HELD,
			[DBus (value="RELEASE")]
			RELEASE,
		}

		[DBus (name = "org.freesmartphone.GSM.Monitor")]
		public interface Monitor : GLib.Object {

			public abstract GLib.HashTable<string, GLib.Value?> get_serving_cell_information() throws DBus.Error;

			public abstract MonitorNeighbourCell[] get_neighbour_cell_information() throws DBus.Error;
		}

		public struct MonitorNeighbourCell {
			public GLib.HashTable<string, GLib.Value?> attr1;
		}

		[DBus (name = "org.freesmartphone.GSM.Call.Error")]
		public errordomain CallError {
			[DBus (name = "NotFound")]
			NOT_FOUND,
			[DBus (name = "NotAnEmergencyNumber")]
			NOT_AN_EMERGENCY_NUMBER,
		}

		[DBus (name = "org.freesmartphone.GSM.MUX")]
		public interface MUX : GLib.Object {

			public abstract void open_session(bool advanced, int framesize, string portname, int portspeed) throws DBus.Error;

			public abstract void close_session() throws DBus.Error;

			public abstract void alloc_channel(string origin, int channel, out string path, out int allocated_channel) throws DBus.Error;

			public abstract void release_channel(string origin) throws DBus.Error;

			public abstract void set_status(int channel, string status) throws DBus.Error;

			public signal void status(string status);
		}

		[DBus (name = "org.freesmartphone.GSM.Device")]
		public interface Device : GLib.Object {

			public abstract GLib.HashTable<string, GLib.Value?> get_info() throws DBus.Error;

			public abstract bool get_antenna_power() throws DBus.Error;

			public abstract void set_antenna_power(bool antenna_power) throws DBus.Error;

			public abstract GLib.HashTable<string, GLib.Value?> get_features() throws DBus.Error;

			public abstract int get_speaker_volume() throws DBus.Error;

			public abstract void set_speaker_volume(int volume) throws DBus.Error;

			public abstract bool get_microphone_muted() throws DBus.Error;

			public abstract void set_microphone_muted(bool muted) throws DBus.Error;

			public abstract void get_power_status(out string status, out int level) throws DBus.Error;

			public abstract bool get_sim_buffers_sms() throws DBus.Error;

			public abstract void set_sim_buffers_sms(bool sim_buffers_sms) throws DBus.Error;
		}

		[DBus (name = "org.freesmartphone.GSM.Call")]
		public interface Call : GLib.Object {

			public abstract void emergency(string number) throws FreeSmartphone.GSM.CallError, DBus.Error;

			public signal void call_status(int id, FreeSmartphone.GSM.CallStatusEnum status, GLib.HashTable<string, GLib.Value?> properties);

			public abstract void activate(int id) throws FreeSmartphone.GSM.CallError, DBus.Error;

			public abstract void activate_conference(int id) throws FreeSmartphone.GSM.CallError, DBus.Error;

			public abstract void release(int id) throws FreeSmartphone.GSM.CallError, DBus.Error;

			public abstract void hold_active() throws DBus.Error;

			public abstract void join() throws DBus.Error;

			public abstract void transfer(string number) throws DBus.Error;

			public abstract void release_held() throws DBus.Error;

			public abstract void release_all() throws DBus.Error;

			public abstract int initiate(string number, string type) throws FreeSmartphone.GSM.CallError, DBus.Error;

			public abstract CallStatus[] list_calls() throws DBus.Error;

			public abstract void send_dtmf(string tones) throws DBus.Error;
		}

		public struct CallStatus {
			public int attr1;
			public string attr2;
			public GLib.HashTable<string, GLib.Value?> attr3;
		}

		[DBus (name = "org.freesmartphone.GSM.SMS")]
		public interface SMS : GLib.Object {

			public abstract void send_message(string recipient_number, string contents, GLib.HashTable<string, GLib.Value?> properties, out int transaction_index, out string timestamp) throws DBus.Error;

			public abstract void ack_message(string contents, GLib.HashTable<string, GLib.Value?> properties) throws DBus.Error;

			public abstract void nack_message(string contents, GLib.HashTable<string, GLib.Value?> properties) throws DBus.Error;

			public signal void incoming_message(string sender_number, string contents, GLib.HashTable<string, GLib.Value?> properties);

			public signal void incoming_message_receipt(string sender_number, string contents, GLib.HashTable<string, GLib.Value?> properties);
		}

		[DBus (name = "org.freesmartphone.GSM.Network")]
		public interface Network : GLib.Object {

			public abstract void register_() throws DBus.Error;

			public abstract void unregister() throws DBus.Error;

			public abstract GLib.HashTable<string, GLib.Value?> get_status() throws DBus.Error;

			public signal void status(GLib.HashTable<string, GLib.Value?> status);<commit_msg>Report call status renaming accordingly<commit_after>/* Generated by vala-dbus-binding-tool. Do not modify! */
/* Generated with: /usr/bin/vala-dbus-binding-tool --api-path=../../fso-specs.git/xml/ --directory=./ --strip-namespace=org --rename-namespace=freedesktop:FreeDesktop --rename-namespace=freesmartphone:FreeSmartphone */
using DBus;
using GLib;

namespace FreeSmartphone {

	namespace GSM {

		[DBus (name = "org.freesmartphone.GSM.PDP")]
		public interface PDP : GLib.Object {

			public abstract string[] list_gprs_classes() throws DBus.Error;

			public abstract string get_current_gprs_class() throws DBus.Error;

			public abstract void set_current_gprs_class(string device_class) throws DBus.Error;

			public abstract GLib.HashTable<string, GLib.Value?> get_network_status() throws DBus.Error;

			public signal void network_status(GLib.HashTable<string, GLib.Value?> status);

			public abstract int activate_context(string apn, string username, string password) throws DBus.Error;

			public abstract void deactivate_context(int index) throws DBus.Error;

			public abstract string get_context_status(int index) throws DBus.Error;

			public signal void context_status(int id, string status, GLib.HashTable<string, GLib.Value?> properties);
		}

		[DBus (name = "org.freesmartphone.GSM.HZ")]
		public interface HZ : GLib.Object {

			public abstract string[] get_known_home_zones() throws DBus.Error;

			public abstract string get_home_zone_status() throws DBus.Error;

			public signal void home_zone_status(string name);
		}

		[DBus (use_string_marshalling = true)]
		public enum CallStatus {
			[DBus (value="INCOMING")]
			INCOMING,
			[DBus (value="OUTGOING")]
			OUTGOING,
			[DBus (value="ACTIVE")]
			ACTIVE,
			[DBus (value="HELD")]
			HELD,
			[DBus (value="RELEASE")]
			RELEASE,
		}

		[DBus (name = "org.freesmartphone.GSM.Monitor")]
		public interface Monitor : GLib.Object {

			public abstract GLib.HashTable<string, GLib.Value?> get_serving_cell_information() throws DBus.Error;

			public abstract MonitorNeighbourCell[] get_neighbour_cell_information() throws DBus.Error;
		}

		public struct MonitorNeighbourCell {
			public GLib.HashTable<string, GLib.Value?> attr1;
		}

		[DBus (name = "org.freesmartphone.GSM.Call.Error")]
		public errordomain CallError {
			[DBus (name = "NotFound")]
			NOT_FOUND,
			[DBus (name = "NotAnEmergencyNumber")]
			NOT_AN_EMERGENCY_NUMBER,
		}

		[DBus (name = "org.freesmartphone.GSM.MUX")]
		public interface MUX : GLib.Object {

			public abstract void open_session(bool advanced, int framesize, string portname, int portspeed) throws DBus.Error;

			public abstract void close_session() throws DBus.Error;

			public abstract void alloc_channel(string origin, int channel, out string path, out int allocated_channel) throws DBus.Error;

			public abstract void release_channel(string origin) throws DBus.Error;

			public abstract void set_status(int channel, string status) throws DBus.Error;

			public signal void status(string status);
		}

		[DBus (name = "org.freesmartphone.GSM.Device")]
		public interface Device : GLib.Object {

			public abstract GLib.HashTable<string, GLib.Value?> get_info() throws DBus.Error;

			public abstract bool get_antenna_power() throws DBus.Error;

			public abstract void set_antenna_power(bool antenna_power) throws DBus.Error;

			public abstract GLib.HashTable<string, GLib.Value?> get_features() throws DBus.Error;

			public abstract int get_speaker_volume() throws DBus.Error;

			public abstract void set_speaker_volume(int volume) throws DBus.Error;

			public abstract bool get_microphone_muted() throws DBus.Error;

			public abstract void set_microphone_muted(bool muted) throws DBus.Error;

			public abstract void get_power_status(out string status, out int level) throws DBus.Error;

			public abstract bool get_sim_buffers_sms() throws DBus.Error;

			public abstract void set_sim_buffers_sms(bool sim_buffers_sms) throws DBus.Error;
		}

		[DBus (name = "org.freesmartphone.GSM.Call")]
		public interface Call : GLib.Object {

			public abstract void emergency(string number) throws FreeSmartphone.GSM.CallError, DBus.Error;

			public signal void call_status(int id, FreeSmartphone.GSM.CallStatus status, GLib.HashTable<string, GLib.Value?> properties);

			public abstract void activate(int id) throws FreeSmartphone.GSM.CallError, DBus.Error;

			public abstract void activate_conference(int id) throws FreeSmartphone.GSM.CallError, DBus.Error;

			public abstract void release(int id) throws FreeSmartphone.GSM.CallError, DBus.Error;

			public abstract void hold_active() throws DBus.Error;

			public abstract void join() throws DBus.Error;

			public abstract void transfer(string number) throws DBus.Error;

			public abstract void release_held() throws DBus.Error;

			public abstract void release_all() throws DBus.Error;

			public abstract int initiate(string number, string type) throws FreeSmartphone.GSM.CallError, DBus.Error;

			public abstract CallDetail[] list_calls() throws DBus.Error;

			public abstract void send_dtmf(string tones) throws DBus.Error;
		}

		public struct CallDetail {
			public int attr1;
			public string attr2;
			public GLib.HashTable<string, GLib.Value?> attr3;
		}

		[DBus (name = "org.freesmartphone.GSM.SMS")]
		public interface SMS : GLib.Object {

			public abstract void send_message(string recipient_number, string contents, GLib.HashTable<string, GLib.Value?> properties, out int transaction_index, out string timestamp) throws DBus.Error;

			public abstract void ack_message(string contents, GLib.HashTable<string, GLib.Value?> properties) throws DBus.Error;

			public abstract void nack_message(string contents, GLib.HashTable<string, GLib.Value?> properties) throws DBus.Error;

			public signal void incoming_message(string sender_number, string contents, GLib.HashTable<string, GLib.Value?> properties);

			public signal void incoming_message_receipt(string sender_number, string contents, GLib.HashTable<string, GLib.Value?> properties);
		}

		[DBus (name = "org.freesmartphone.GSM.Network")]
		public interface Network : GLib.Object {

			public abstract void register_() throws DBus.Error;

			public abstract void unregister() throws DBus.Error;

			public abstract GLib.HashTable<string, GLib.Value?> get_status() throws DBus.Error;

			public signal void status(GLib.HashTable<string, GLib.Value?> status);
{'fraction_non_alphanumeric': 0.09453125, 'fraction_numerical': 0.000625, 'mean_word_length': 4.800181241504305, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1655004', 'n_tokens_mistral': 4360, 'n_tokens_neox': 3843, 'n_words': 1087}