/packages/providers/ContactsProvider/tests/assets/test1/ |
testFileDeviceContactMetadataJSON.txt | 38 "is_primary": true, 57 "is_primary": false,
|
expected_data.txt | 20 20 is_primary=0 47 47 is_primary=0 74 74 is_primary=0 101 101 is_primary=0 128 128 is_primary=0 155 155 is_primary=0 182 182 is_primary=1 209 209 is_primary=0 236 236 is_primary=0 263 263 is_primary= [all...] |
/system/bt/service/hal/ |
gatt_helpers.cpp | 29 hal_id->is_primary = id.is_primary(); 39 "", srvc_id.id.inst_id, uuid, srvc_id.is_primary);
|
/packages/providers/ContactsProvider/tests/assets/testUnsynced/ |
expected_data.txt | 20 20 is_primary=0 47 47 is_primary=0 74 74 is_primary=0 101 101 is_primary=1 128 128 is_primary=1 155 155 is_primary=1 182 182 is_primary=1 209 209 is_primary=1 236 236 is_primary=1 263 263 is_primary= [all...] |
/packages/providers/ContactsProvider/tests/assets/testSynced/ |
expected_data.txt | 20 20 is_primary=0 47 47 is_primary=0 74 74 is_primary=0 101 101 is_primary=0 128 128 is_primary=0 155 155 is_primary=0 182 182 is_primary=0 209 209 is_primary=0 236 236 is_primary=1 263 263 is_primary= [all...] |
/hardware/libhardware/include/hardware/ |
bt_gatt_types.h | 43 uint8_t is_primary; member in struct:__anon30694
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
ContactUpdateUtils.java | 41 values.put(ContactsContract.Data.IS_PRIMARY, 1);
|
/system/bt/service/common/bluetooth/ |
gatt_identifier.cpp | 33 bool is_primary) { 43 gatt_id->is_primary_ = is_primary; 100 bool is_primary, 108 is_primary_(is_primary),
|
gatt_identifier.h | 41 bool is_primary); 53 bool is_primary, 85 bool is_primary() const { return is_primary_; } function in class:bluetooth::final
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandler.java | 51 Data.IS_PRIMARY, 59 Data.IS_PRIMARY, 66 public static final int IS_PRIMARY = 3; 119 final Integer primary = values.getAsInteger(Data.IS_PRIMARY); 255 final boolean hasPrimary = values.getAsInteger(Data.IS_PRIMARY) != null; 267 values.getAsInteger(Data.IS_PRIMARY) == 0; 274 final String[] cols = new String[] { Data.IS_PRIMARY, Data.IS_SUPER_PRIMARY }; 295 values.getAsInteger(Data.IS_PRIMARY) != 0; 315 values.remove(Data.IS_PRIMARY); 321 boolean primary = c.getInt(DataDeleteQuery.IS_PRIMARY) != 0 [all...] |
MetadataEntryParser.java | 54 private final static String IS_PRIMARY = "is_primary"; 207 final boolean isPrimary = fieldDataPrefs.getBoolean(IS_PRIMARY);
|
/packages/apps/Contacts/src/com/android/contacts/ |
SplitAggregateView.java | 58 Data.IS_PRIMARY, StructuredName.DISPLAY_NAME, Nickname.NAME, Email.DATA, 66 int IS_PRIMARY = 4; 199 if (info.nickname == null || cursor.getInt(SplitQuery.IS_PRIMARY) != 0) { 205 if (info.email == null || cursor.getInt(SplitQuery.IS_PRIMARY) != 0) { 211 if (info.phone == null || cursor.getInt(SplitQuery.IS_PRIMARY) != 0) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
BluetoothPbapCard.java | 108 jsonPhone.put("is_primary", phone.isPrimary()); 130 jsonEmail.put("is_primary", email.isPrimary());
|
/system/bt/service/common/bluetooth/binder/ |
IBluetoothGattServer.cpp | 65 bool is_primary = data.readInt32(); local 71 server_if, is_primary, *uuid, &out_id); 207 int server_if, bool is_primary, const bluetooth::UUID& uuid, 214 data.writeInt32(is_primary);
|
IBluetoothGattServer.h | 68 int server_if, bool is_primary, const bluetooth::UUID& uuid, 130 int server_if, bool is_primary, const bluetooth::UUID& uuid,
|
/system/bt/bta/gatt/ |
bta_gattc_cache.c | 142 APPL_TRACE_ERROR("\t rec[%d] uuid[0x%04x] s_handle[%d] e_handle[%d] is_primary[%d]", 143 i + 1, pp->uuid.uu.uuid16, pp->s_handle, pp->e_handle, pp->is_primary); 203 BOOLEAN is_primary) 214 p_new_srvc->is_primary = is_primary; 500 p_rec->is_primary) == 0) 648 tBT_UUID uuid, BOOLEAN is_primary) 662 p_rec->is_primary = is_primary; [all...] |
bta_gatts_api.c | 138 ** is_primary: is this service a primary one or not. 144 UINT16 num_handle, BOOLEAN is_primary) 154 p_buf->is_pri = is_primary;
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardExporterTests.java | 110 // With "IS_PRIMARY=1". This is what we should use. 118 .put(StructuredName.IS_PRIMARY, 1); 120 // With "IS_PRIMARY=1", but we should ignore this time, since this is second, not first. 132 .put(StructuredName.IS_PRIMARY, 1); 170 // With "IS_PRIMARY=1", but we should ignore this time. 178 .put(StructuredName.IS_PRIMARY, 1); 197 .put(StructuredName.IS_PRIMARY, 1); 307 // With "IS_PRIMARY=1", but we should ignore this time. 317 .put(StructuredName.IS_PRIMARY, 1); 340 .put(StructuredName.IS_PRIMARY, 1) [all...] |
/packages/providers/ContactsProvider/tests/assets/upgradeTest/ |
contacts2_1108.sql | 34 CREATE TABLE data (_id INTEGER PRIMARY KEY AUTOINCREMENT,package_id INTEGER REFERENCES package(_id),mimetype_id INTEGER REFERENCES mimetype(_id) NOT NULL,raw_contact_id INTEGER REFERENCES raw_contacts(_id) NOT NULL,hash_id TEXT,is_read_only INTEGER NOT NULL DEFAULT 0,is_primary INTEGER NOT NULL DEFAULT 0,is_super_primary INTEGER NOT NULL DEFAULT 0,data_version INTEGER NOT NULL DEFAULT 0,data1 TEXT,data2 TEXT,data3 TEXT,data4 TEXT,data5 TEXT,data6 TEXT,data7 TEXT,data8 TEXT,data9 TEXT,data10 TEXT,data11 TEXT,data12 TEXT,data13 TEXT,data14 TEXT,data15 TEXT,data_sync1 TEXT, data_sync2 TEXT, data_sync3 TEXT, data_sync4 TEXT, carrier_presence INTEGER NOT NULL DEFAULT 0 ); 139 CREATE VIEW view_data AS SELECT data._id AS _id,hash_id, raw_contact_id, raw_contacts.contact_id AS contact_id, raw_contacts.account_id,accounts.account_name AS account_name,accounts.account_type AS account_type,accounts.data_set AS data_set,(CASE WHEN accounts.data_set IS NULL THEN accounts.account_type ELSE accounts.account_type||'/'||accounts.data_set END) AS account_type_and_data_set,raw_contacts.sourceid AS sourceid,raw_contacts.backup_id AS backup_id,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.sync1 AS sync1,raw_contacts.sync2 AS sync2,raw_contacts.sync3 AS sync3,raw_contacts.sync4 AS sync4, is_primary, is_super_primary, data_version, data.package_id,package AS res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, carrier_presence, data_sync1, data_sync2, data_sync3, data_sync4, contacts.custom_ringtone AS custom_ringtone,contacts.send_to_voicemail AS send_to_voicemail,contacts.last_time_contacted AS last_time_contacted,contacts.times_contacted AS times_contacted,contacts.starred AS starred,contacts.pinned AS pinned, name_raw_contact.display_name_source AS display_name_source, name_raw_contact.display_name AS display_name, name_raw_contact.display_name_alt AS display_name_alt, name_raw_contact.phonetic_name AS phonetic_name, name_raw_contact.phonetic_name_style AS phonetic_name_style, name_raw_contact.sort_key AS sort_key, name_raw_contact.phonebook_label AS phonebook_label, name_raw_contact.phonebook_bucket AS phonebook_bucket, name_raw_contact.sort_key_alt AS sort_key_alt, name_raw_contact.phonebook_label_alt AS phonebook_label_alt, name_raw_contact.phonebook_bucket_alt AS phonebook_bucket_alt, has_phone_number, name_raw_contact_id, lookup, photo_id, photo_file_id, CAST(EXISTS (SELECT _id FROM visible_contacts WHERE contacts._id=visible_contacts._id) AS INTEGER) AS in_visible_group, CAST(EXISTS (SELECT _id FROM default_directory WHERE contacts._id=default_directory._id) AS INTEGER) AS in_default_directory, status_update_id, contacts.contact_last_updated_timestamp, (CASE WHEN photo_file_id IS NULL THEN (CASE WHEN photo_id IS NULL OR photo_id=0 THEN NULL ELSE 'content://com.android.contacts/contacts/'||raw_contacts.contact_id|| '/photo' END) ELSE 'content://com.android.contacts/display_photo/'||photo_file_id END) AS photo_uri, (CASE WHEN photo_id IS NULL OR photo_id=0 THEN NULL ELSE 'content://com.android.contacts/contacts/'||raw_contacts.contact_id|| '/photo' END) AS photo_thumb_uri, 0 AS raw_contact_is_user_profile, groups.sourceid AS group_sourceid FROM data JOIN mimetypes ON (data.mimetype_id=mimetypes._id) JOIN raw_contacts ON (data.raw_contact_id=raw_contacts._id) JOIN accounts ON (raw_contacts.account_id=accounts._id) JOIN contacts ON (raw_contacts.contact_id=contacts._id) JOIN raw_contacts AS name_raw_contact ON(name_raw_contact_id=name_raw_contact._id) LEFT OUTER JOIN packages ON (data.package_id=packages._id) LEFT OUTER JOIN groups ON (mimetypes.mimetype='vnd.android.cursor.item/group_membership' AND groups._id=data.data1); 142 CREATE VIEW view_raw_entities AS SELECT contact_id, raw_contacts.deleted AS deleted,raw_contacts.metadata_dirty, is_primary, is_super_primary, data_version, data.package_id,package AS res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, carrier_presence, data_sync1, data_sync2, data_sync3, data_sync4, raw_contacts.account_id,accounts.account_name AS account_name,accounts.account_type AS account_type,accounts.data_set AS data_set,(CASE WHEN accounts.data_set IS NULL THEN accounts.account_type ELSE accounts.account_type||'/'||accounts.data_set END) AS account_type_and_data_set,raw_contacts.sourceid AS sourceid,raw_contacts.backup_id AS backup_id,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.sync1 AS sync1,raw_contacts.sync2 AS sync2,raw_contacts.sync3 AS sync3,raw_contacts.sync4 AS sync4, data_sync1, data_sync2, data_sync3, data_sync4, raw_contacts._id AS _id, data._id AS data_id,raw_contacts.starred AS starred,0 AS raw_contact_is_user_profile,groups.sourceid AS group_sourceid FROM raw_contacts JOIN accounts ON (raw_contacts.account_id=accounts._id) LEFT OUTER JOIN data ON (data.raw_contact_id=raw_contacts._id) LEFT OUTER JOIN packages ON (data.package_id=packages._id) LEFT OUTER JOIN mimetypes ON (data.mimetype_id=mimetypes._id) LEFT OUTER JOIN groups ON (mimetypes.mimetype='vnd.android.cursor.item/group_membership' AND groups._id=data.data1); 143 CREATE VIEW view_entities AS SELECT raw_contacts.contact_id AS _id, raw_contacts.contact_id AS contact_id, raw_contacts.deleted AS deleted,raw_contacts.metadata_dirty, is_primary, is_super_primary, data_version, data.package_id,package AS res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, carrier_presence, data_sync1, data_sync2, data_sync3, data_sync4, raw_contacts.account_id,accounts.account_name AS account_name,accounts.account_type AS account_type,accounts.data_set AS data_set,(CASE WHEN accounts.data_set IS NULL THEN accounts.account_type ELSE accounts.account_type||'/'||accounts.data_set END) AS account_type_and_data_set,raw_contacts.sourceid AS sourceid,raw_contacts.backup_id AS backup_id,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.sync1 AS sync1,raw_contacts.sync2 AS sync2,raw_contacts.sync3 AS sync3,raw_contacts.sync4 AS sync4, contacts.custom_ringtone AS custom_ringtone, name_raw_contact.display_name_source AS display_name_source, name_raw_contact.display_name AS display_name, name_raw_contact.display_name_alt AS display_name_alt, name_raw_contact.phonetic_name AS phonetic_name, name_raw_contact.phonetic_name_style AS phonetic_name_style, name_raw_contact.sort_key AS sort_key, name_raw_contact.phonebook_label AS phonebook_label, name_raw_contact.phonebook_bucket AS phonebook_bucket, name_raw_contact.sort_key_alt AS sort_key_alt, name_raw_contact.phonebook_label_alt AS phonebook_label_alt, name_raw_contact.phonebook_bucket_alt AS phonebook_bucket_alt, has_phone_number, name_raw_contact_id, lookup, photo_id, photo_file_id, CAST(EXISTS (SELECT _id FROM visible_contacts WHERE contacts._id=visible_contacts._id) AS INTEGER) AS in_visible_group, CAST(EXISTS (SELECT _id FROM default_directory WHERE contacts._id=default_directory._id) AS INTEGER) AS in_default_directory, status_update_id, contacts.contact_last_updated_timestamp, contacts.last_time_contacted AS last_time_contacted, contacts.send_to_voicemail AS send_to_voicemail, contacts.starred AS starred, contacts.pinned AS pinned, contacts.times_contacted AS times_contacted, (CASE WHEN photo_file_id IS NULL THEN (CASE WHEN photo_id IS NULL OR photo_id=0 THEN NULL ELSE 'content://com.android.contacts/contacts/'||raw_contacts.contact_id|| '/photo' END) ELSE 'content://com.android.contacts/display_photo/'||photo_file_id END) AS photo_uri, (CASE WHEN photo_id IS NULL OR photo_id=0 THEN NULL ELSE 'content://com.android.contacts/contacts/'||raw_contacts.contact_id|| '/photo' END) AS photo_thumb_uri, 0 AS is_user_profile, data_sync1, data_sync2, data_sync3, data_sync4, raw_contacts._id AS raw_contact_id, data._id AS data_id,groups.sourceid AS group_sourceid FROM raw_contacts JOIN accounts ON (raw_contacts.account_id=accounts._id) JOIN contacts ON (raw_contacts.contact_id=contacts._id) JOIN raw_contacts AS name_raw_contact ON(name_raw_contact_id=name_raw_contact._id) LEFT OUTER JOIN data ON (data.raw_contact_id=raw_contacts._id) LEFT OUTER JOIN packages ON (data.package_id=packages._id) LEFT OUTER JOIN mimetypes ON (data.mimetype_id=mimetypes._id) LEFT OUTER JOIN groups ON (mimetypes.mimetype='vnd.android.cursor.item/group_membership' AND groups._id=data.data1); [all...] |
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectCalendarsSyncFragment.java | 60 private static final String IS_PRIMARY = "\"primary\""; 61 private static final String SORT_ORDER = IS_PRIMARY + " DESC," + Calendars.CALENDAR_DISPLAY_NAME 71 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + IS_PRIMARY, };
|
SelectVisibleCalendarsFragment.java | 46 private static final String IS_PRIMARY = "\"primary\""; 59 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + IS_PRIMARY,
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
DataItem.java | 128 Integer primary = mContentValues.getAsInteger(Data.IS_PRIMARY); 220 mContentValues.put(Data.IS_PRIMARY, 1); 225 mContentValues.put(Data.IS_PRIMARY, 1);
|
/external/autotest/client/cros/multimedia/ |
display_info.py | 46 self.is_primary = d['isPrimary']
|
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
DatabaseTestUtils.java | 50 Data.IS_PRIMARY, // 13
|
/system/bt/service/doc/ |
IBluetoothGattClientCallback.txt | 35 * structure. |is_primary| is true if this refers to a primary service, 38 void onGetService(in boolean is_primary, in GattIdentifier service_id);
|