/packages/providers/ContactsProvider/tests/assets/upgradeTest/ |
D | contacts2_1108.sql | 3 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,account_name TEXT NOT NULL,account_type TEXT NOT … 6 CREATE TABLE properties (property_key TEXT PRIMARY KEY, property_value TEXT ); 14 CREATE TABLE accounts (_id INTEGER PRIMARY KEY AUTOINCREMENT,account_name TEXT, account_type TEXT, … 15 CREATE TABLE contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,name_raw_contact_id INTEGER REFERENCES… 16 CREATE TABLE deleted_contacts (contact_id INTEGER PRIMARY KEY,contact_deleted_timestamp INTEGER NOT… 17 CREATE TABLE raw_contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,account_id INTEGER REFERENCES acco… 18 …KEY AUTOINCREMENT, raw_contact_id INTEGER NOT NULL, res_package TEXT, icon TEXT, label TEXT, text … 19 …KEY AUTOINCREMENT, stream_item_id INTEGER NOT NULL, sort_index INTEGER, photo_file_id INTEGER NOT … 20 CREATE TABLE photo_files (_id INTEGER PRIMARY KEY AUTOINCREMENT, height INTEGER NOT NULL, width INT… 21 CREATE TABLE packages (_id INTEGER PRIMARY KEY AUTOINCREMENT,package TEXT NOT NULL); [all …]
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
D | ImageCacheTest.java | 37 private static final String KEY = "same"; field in ImageCacheTest 38 private static final ScaledBitmapInfo INFO_200 = createScaledBitmapInfo(KEY, ORIG, 200, 200); 39 private static final ScaledBitmapInfo INFO_100 = createScaledBitmapInfo(KEY, ORIG, 100, 100); 40 private static final ScaledBitmapInfo INFO_50 = createScaledBitmapInfo(KEY, ORIG, 50, 50); 41 private static final ScaledBitmapInfo INFO_25 = createScaledBitmapInfo(KEY, ORIG, 25, 25); 56 assertSame("before", INFO_50, mImageCache.get(KEY)); in testPutIfLarger_smaller() 59 assertSame("after", INFO_50, mImageCache.get(KEY)); in testPutIfLarger_smaller() 65 assertSame("before", INFO_50, mImageCache.get(KEY)); in testPutIfLarger_larger() 68 assertSame("after", INFO_100, mImageCache.get(KEY)); in testPutIfLarger_larger() 75 assertSame("before", INFO_100, mImageCache.get(KEY)); in testPutIfLarger_alreadyMax() [all …]
|
/packages/providers/ContactsProvider/tests/assets/testUnsynced/ |
D | legacy_contacts.sql | 5 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account… 10 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER… 11 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES peopl… 15 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NU… 16 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries IN… 17 CREATE TABLE fave_phone_changes (_id INTEGER PRIMARY KEY, old_phone TEXT, new_phone TEXT, change_ti… 18 CREATE TABLE faves (_id INTEGER PRIMARY KEY, ui_pos INTEGER, phone TEXT NOT NULL, nickname TEXT NOT… 24 CREATE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_i… 30 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_t… 32 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary… [all …]
|
/packages/providers/ContactsProvider/tests/assets/testSynced/ |
D | legacy_contacts.sql | 5 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account… 11 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER… 12 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES peopl… 18 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NU… 19 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries IN… 21 CREATE TABLE fave_phone_changes (_id INTEGER PRIMARY KEY, old_phone TEXT, new_phone TEXT, change_ti… 22 CREATE TABLE faves (_id INTEGER PRIMARY KEY, ui_pos INTEGER, phone TEXT NOT NULL, nickname TEXT NOT… 28 CREATE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_i… 40 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_t… 42 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary… [all …]
|
/packages/providers/ContactsProvider/tests/assets/test1/ |
D | legacy_contacts.sql | 6 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account… 12 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER… 14 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES peopl… 31 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NU… 32 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries IN… 33 CREATE TABLE fave_phone_changes (_id INTEGER PRIMARY KEY, old_phone TEXT, new_phone TEXT, change_ti… 34 CREATE TABLE faves (_id INTEGER PRIMARY KEY, ui_pos INTEGER, phone TEXT NOT NULL, nickname TEXT NOT… 40 CREATE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_i… 47 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_t… 51 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary… [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | InlinePayloadTest.java | 26 private final String KEY = "key"; field in InlinePayloadTest 37 Settings.Secure.putInt(mContext.getContentResolver(), KEY, currentValue); in testGetSecure_returnsSecureSetting() local 48 Settings.Global.putInt(mContext.getContentResolver(), KEY, currentValue); in testGetGlobal_returnsGlobalSetting() local 59 Settings.System.putInt(mContext.getContentResolver(), KEY, currentValue); in testGetSystem_returnsSystemSetting() local 71 Settings.Secure.putInt(resolver, KEY, 0); in testSetSecure_updatesSecureSetting() 74 int updatedValue = Settings.System.getInt(resolver, KEY, -1); in testSetSecure_updatesSecureSetting() 84 Settings.Global.putInt(resolver, KEY, 0); in testSetGlobal_updatesGlobalSetting() 87 int updatedValue = Settings.Global.getInt(resolver, KEY, -1); in testSetGlobal_updatesGlobalSetting() 100 int updatedValue = Settings.System.getInt(resolver, KEY, -1); in testSetSystem_updatesSystemSetting() 106 return new ConcreteInlinePayload(KEY, source, null /* intent */, in getDummyPayload()
|
D | CursorToSearchResultConverterTest.java | 61 private static final String KEY = "key"; field in CursorToSearchResultConverterTest 126 KEY.hashCode(), // Doc ID in testParseCursor_MatchesIcon() 136 KEY, // Key in testParseCursor_MatchesIcon() 177 KEY.hashCode(), // Doc ID in testLongTitle_PenalizedInRank() 187 KEY, // Key in testLongTitle_PenalizedInRank() 226 KEY.hashCode(), // Doc ID in testParseCursor_MatchesInlineSwitchPayload() 236 KEY, // Key in testParseCursor_MatchesInlineSwitchPayload() 366 String[] keys = new String[] {KEY + "1", KEY + "2", KEY + "3"}; in getDummyCursor()
|
D | DatabaseRowTest.java | 59 private static final String KEY = "key"; field in DatabaseRowTest 98 assertThat(row.key).isEqualTo(KEY); in testPrimitivesBuild_noDataLoss() 171 .setKey(KEY) in createBuilder()
|
D | FakeIndexProvider.java | 29 public static final String KEY = "TestKey"; field in FakeIndexProvider 42 result.add(KEY);
|
D | SearchIndexableResourcesTest.java | 109 if (TextUtils.equals(key, FakeIndexProvider.KEY)) { in testNonIndexableKeys_GetsKeyFromProvider()
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
D | SimpleBackupSharedPreference.java | 34 private static final String KEY = "key"; field in SimpleBackupSharedPreference 59 json.put(KEY, mKey); in toJson() 83 return new SimpleBackupSharedPreference(json.getString(KEY), value); in fromJson()
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/com/android/inputmethod/keyboard/ |
D | Keyboard.java | 21 private final Key KEY = new Key(); field in Keyboard 22 public final Key getKey(final int i) { return KEY; } in getKey()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | RecordLocationPreference.java | 30 public static final String KEY = "pref_camera_recordlocation_key"; field in RecordLocationPreference 50 String value = pref.getString(KEY, VALUE_NONE); in get()
|
D | CameraSettings.java | 40 public static final String KEY_RECORD_LOCATION = RecordLocationPreference.KEY;
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | SwipeToNotificationSettings.java | 40 private static final String KEY = "gesture_swipe_down_fingerprint"; field in SwipeToNotificationSettings 77 controllers.add(new SwipeToNotificationPreferenceController(context, lifecycle, KEY)); in buildPreferenceControllers()
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoProvider.java | 177 public static final String KEY = "key"; field 215 + Metadata.KEY + " = ?"; 424 values.getAsString(Metadata.PHOTO_ID), values.getAsString(Metadata.KEY), in modifyMetadata()
|
D | PhotoDatabase.java | 76 { Metadata.KEY, "TEXT NOT NULL" }, 78 createUniqueConstraint(Metadata.PHOTO_ID, Metadata.KEY),
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarUtils.java | 54 CalendarCache.KEY, CalendarCache.VALUE 104 int keyColumn = cursor.getColumnIndexOrThrow(CalendarCache.KEY); in onQueryComplete()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LegacyApiSupport.java | 745 android.provider.Contacts.Settings.KEY + " STRING NOT NULL," + in createSettingsTable() 1193 String key = values.getAsString(android.provider.Contacts.Settings.KEY); in updateSettings() 1229 final String key = values.getAsString(android.provider.Contacts.Settings.KEY); in updateSetting() 1237 android.provider.Contacts.Settings.KEY, values); in updateSetting() 1255 " AND " + android.provider.Contacts.Settings.KEY + "='" 1280 mValues.put(android.provider.Contacts.Settings.KEY, in copySettingsToLegacySettings()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | LegacyContactsProviderTest.java | 887 values.put(Settings.KEY, Settings.SYNC_EVERYTHING); in testSettings() 892 + Settings.KEY + "='" + Settings.SYNC_EVERYTHING + "'", null, Settings.VALUE, "7"); in testSettings() 904 + Settings.KEY + "='" + Settings.SYNC_EVERYTHING + "'", null, Settings.VALUE, "8"); in testSettings()
|