Home
last modified time | relevance | path

Searched refs:NAME (Results 1 – 25 of 127) sorted by relevance

123456

/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java262 contentValues.put(Carriers.NAME, insertName); in testBulkInsertCarriers()
272 contentValues2.put(Carriers.NAME, insertName2); in testBulkInsertCarriers()
287 Carriers.NAME, in testBulkInsertCarriers()
397 contentValues.put(Carriers.NAME, insertName); in testUpdateConflictingCarriers()
404 contentValues2.put(Carriers.NAME, insertName2); in testUpdateConflictingCarriers()
411 contentValues.put(Carriers.NAME, insertName2); in testUpdateConflictingCarriers()
418 Carriers.NAME, in testUpdateConflictingCarriers()
454 contentValues.put(Carriers.NAME, insertName); in doSimpleTestForUri()
464 Carriers.NAME, in doSimpleTestForUri()
507 contentValues.put(Carriers.NAME, insertName); in testOwnedBy()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothNamePreferenceControllerTest.java60 private static final String NAME = "name"; field in BluetoothNamePreferenceControllerTest
96 BluetoothAdapter.getDefaultAdapter().setName(NAME); in refreshUi_setsNameAsSummary()
100 assertThat(mPreference.getSummary()).isEqualTo(NAME); in refreshUi_setsNameAsSummary()
122 BluetoothAdapter.getDefaultAdapter().setName(NAME); in started_localNameChangedBroadcast_updatesSummary()
124 assertThat(mPreference.getSummary()).isEqualTo(NAME); in started_localNameChangedBroadcast_updatesSummary()
135 BluetoothAdapter.getDefaultAdapter().setName(NAME); in stopped_noUpdateOnLocalNameChangedBroadcast()
137 assertThat(mPreference.getSummary()).isEqualTo(NAME); in stopped_noUpdateOnLocalNameChangedBroadcast()
144 assertThat(mPreference.getSummary()).isEqualTo(NAME); in stopped_noUpdateOnLocalNameChangedBroadcast()
DLocalRenameDialogFragmentTest.java49 private static final String NAME = "name"; field in LocalRenameDialogFragmentTest
68 BluetoothAdapter.getDefaultAdapter().setName(NAME); in getDeviceName_adapterEnabled_returnsLocalAdapterName()
70 assertThat(mFragment.getDeviceName()).isEqualTo(NAME); in getDeviceName_adapterEnabled_returnsLocalAdapterName()
75 BluetoothAdapter.getDefaultAdapter().setName(NAME); in getDeviceName_adapterDisabled_returnsNull()
83 BluetoothAdapter.getDefaultAdapter().setName(NAME); in localNameChangedBroadcast_updatesDeviceName()
86 assertThat(editText.getText().toString()).isEqualTo(NAME); in localNameChangedBroadcast_updatesDeviceName()
99 BluetoothAdapter.getDefaultAdapter().setName(NAME); in setDeviceName_updatesLocalAdapterName()
DRemoteRenameDialogFragmentTest.java55 private static final String NAME = "name"; field in RemoteRenameDialogFragmentTest
93 when(mCachedDevice.getName()).thenReturn(NAME); in getDeviceName_returnsCachedDeviceName()
96 assertThat(mFragment.getDeviceName()).isEqualTo(NAME); in getDeviceName_returnsCachedDeviceName()
101 when(mCachedDevice.getName()).thenReturn(NAME); in setDeviceName_updatesCachedDeviceName()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForNickname.java41 String nickname = values.getAsString(Nickname.NAME); in insert()
63 if (values.containsKey(Nickname.NAME)) { in update()
64 String nickname = values.getAsString(Nickname.NAME); in update()
89 return values.containsKey(Nickname.NAME); in containsSearchableColumns()
94 builder.appendNameFromColumn(Nickname.NAME); in appendSearchableData()
95 builder.appendContentFromColumn(Nickname.NAME); in appendSearchableData()
DLegacyApiSupport.java339 peopleProjectionMap.put(People.NAME, People.NAME); in peopleProjectionMap.put() argument
419 sExtensionProjectionMap.put(android.provider.Contacts.Extensions.NAME, in sExtensionProjectionMap.put() argument
420 android.provider.Contacts.Extensions.NAME); in sExtensionProjectionMap.put()
427 sGroupProjectionMap.put(android.provider.Contacts.Groups.NAME, in sGroupProjectionMap.put() argument
428 android.provider.Contacts.Groups.NAME); in sGroupProjectionMap.put()
531 + " AS " + People.NAME + ", " + in createViews()
659 ExtensionsColumns.NAME in createViews()
660 + " AS " + android.provider.Contacts.Extensions.NAME + ", " + in createViews()
674 Groups.TITLE + " AS " + android.provider.Contacts.Groups.NAME + ", " + in createViews()
693 + " AS " + android.provider.Contacts.GroupMembership.NAME + ", " + in createViews()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java115 values.put(People.NAME, "John Doe"); in testPeopleDelete()
119 Cursor c = mResolver.query(personId, null, People.NAME + "='John Doe'" , null, null); in testPeopleDelete()
132 values.put(People.NAME, "Deer Doe"); in testPeopleFilter()
136 values.put(People.NAME, "Dear Dough"); in testPeopleFilter()
140 values.put(People.NAME, "D.R. Dauwe"); in testPeopleFilter()
151 values.put(People.NAME, "John Doe"); in testDefaultDisplayName()
621 values.put(Extensions.NAME, "Foo"); in testExtensionsInsert()
641 values.put(Extensions.NAME, "Foo"); in testExtensionsUpdate()
647 values.put(Extensions.NAME, "Biz"); in testExtensionsUpdate()
656 values.put(Groups.NAME, "Galois"); in testGroupsInsert()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DModuleLicensePreferenceTest.java37 public static final String NAME = "Test Package"; field in ModuleLicensePreferenceTest
47 mModuleInfo.setName(NAME); in setup()
55 assertThat(pref.getTitle()).isEqualTo(NAME); in ctor_properKeyAndTitle()
69 assertThat(intent.getCharSequenceExtra(Intent.EXTRA_TITLE)).isEqualTo(NAME); in onClick_sendsCorrectIntent()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapContract.java756 String NAME = "name"; field
897 String NAME = "name"; field
1149 FolderColumns.NAME,
1168 ConversationColumns.NAME,
1184 ConvoContactColumns.NAME,
1202 ConvoContactColumns.NAME,
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/
DContactPreferenceTest.java43 private static final String NAME = "Jake"; field in ContactPreferenceTest
56 mPhoneUri = ContactTestUtils.createContact(contentResolver, NAME, PHONE_NUMBER); in setUp()
59 when(mContact.getName()).thenReturn(NAME); in setUp()
71 assertThat(mPreference.getContact().getName()).isEqualTo(NAME); in testContactPreference()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DBitmapPoolTest.java37 private static final String NAME = "BitmapPoolTest"; field in BitmapPoolTest
64 final BitmapPool pool = new BitmapPool(POOL_SIZE, NAME); in testCreateAndPutBackInPoolTest()
75 final BitmapPool pool = new BitmapPool(POOL_SIZE, NAME); in testCreateBeyondFullAndCheckReuseTest()
93 final BitmapPool pool = new BitmapPool(POOL_SIZE, NAME); in testDecodeFromResourceBitmap()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DCommonNicknameCache.java52 NicknameLookupColumns.NAME
55 public final static int NAME = 0; field in CommonNicknameCache.NicknameLookupPreloadQuery
79 String normalizedName = cursor.getString(NicknameLookupPreloadQuery.NAME); in preloadNicknameBloomFilter()
139 NicknameLookupColumns.NAME + "=?", new String[] { normalizedName }, in loadNicknameClusters()
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java213 mValues1.put(Nickname.NAME, nickname1); in testDataItemCollapsing_nickname()
214 mValues2.put(Nickname.NAME, nickname1); in testDataItemCollapsing_nickname()
215 mValues3.put(Nickname.NAME, nickname2); in testDataItemCollapsing_nickname()
324 mValues1.put(Relation.NAME, name1); in testDataItemCollapsing_relation()
325 mValues2.put(Relation.NAME, name1); in testDataItemCollapsing_relation()
326 mValues3.put(Relation.NAME, name1); in testDataItemCollapsing_relation()
327 mValues4.put(Relation.NAME, name2); in testDataItemCollapsing_relation()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DCardDatabaseHelper.java42 String NAME = "name"; field
133 CardColumns.NAME +
219 final String selection = CardColumns.NAME + "=?"; in markContextualCardAsDismissed()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DCardDatabaseHelper.java42 String NAME = "name"; field
133 CardColumns.NAME +
219 final String selection = CardColumns.NAME + "=?"; in markContextualCardAsDismissed()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationListItemData.java295 + DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns.NAME
296 + " as " + ConversationListViewColumns.NAME + ", "
378 static final String NAME = ConversationColumns.NAME; field in ConversationListItemData.ConversationListViewColumns
415 ConversationListViewColumns.NAME,
/packages/modules/DnsResolver/
Dresolv_unit_test.cpp35 #define NAME(variable) #variable macro
909 {NAME(kBadCharAfterPeriodHost), kBadCharAfterPeriodHost}, in TEST_F()
910 {NAME(kBadCharBeforePeriodHost), kBadCharBeforePeriodHost}, in TEST_F()
911 {NAME(kBadCharAtTheEndHost), kBadCharAtTheEndHost}, in TEST_F()
912 {NAME(kBadCharInTheMiddleOfLabelHost), kBadCharInTheMiddleOfLabelHost}, in TEST_F()
1393 {NAME(kBadCharAfterPeriodHost), kBadCharAfterPeriodHost}, in TEST_F()
1394 {NAME(kBadCharBeforePeriodHost), kBadCharBeforePeriodHost}, in TEST_F()
1395 {NAME(kBadCharAtTheEndHost), kBadCharAtTheEndHost}, in TEST_F()
1396 {NAME(kBadCharInTheMiddleOfLabelHost), kBadCharInTheMiddleOfLabelHost}, in TEST_F()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
DEmergencyContactsPreferenceTest.java55 private static final String NAME = "Jane"; field in EmergencyContactsPreferenceTest
79 mTargetContext.getContentResolver(), NAME, PHONE_NUMBER); in setUp()
92 mTargetContext.getContentResolver(), NAME, PHONE_NUMBER)).isTrue(); in tearDown() local
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
DUserHistoryDictionaryTests.java123 UserHistoryDictionary.NAME, fakeLocale, in doTestRandomWords()
175 UserHistoryDictionary.NAME, fakeLocale, null /* dictFile */, in doTestStressTestForSwitchingLanguagesAndAddingWords()
220 UserHistoryDictionary.NAME, fakeLocale, null /* dictFile */, testAccount); in doTestAddManyWords()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/util/
DPreferenceUtilsTest.java49 private static final String NAME = "Jane"; field in PreferenceUtilsTest
103 RuntimeEnvironment.application.getContentResolver(), NAME, PHONE_NUMBER); in testHasAtLeastOneEmergencyContact_set()
126 RuntimeEnvironment.application.getContentResolver(), NAME, PHONE_NUMBER); in testUpdateSettingsSuggestionState_contactSet()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DCardContentProviderTest.java110 final String strWhere = CardDatabaseHelper.CardColumns.NAME + "=?"; in cardData_update()
173 values.put(CardDatabaseHelper.CardColumns.NAME, "auto_rotate"); in generateOneRow()
190 values.put(CardDatabaseHelper.CardColumns.NAME, "toggle_airplane"); in generateTwoRows()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DRequestSetMessageStatus.java35 mHeaderSet.setHeader(HeaderSet.NAME, handle); in RequestSetMessageStatus()
58 return (String) mHeaderSet.getHeader(HeaderSet.NAME); in getHandle()
DRequestPushMessage.java40 mHeaderSet.setHeader(HeaderSet.NAME, folder); in RequestPushMessage()
57 String handle = (String) headerset.getHeader(HeaderSet.NAME); in readResponseHeaders()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DBaseAccountType.java155 kind.actionBody = new SimpleInflater(Nickname.NAME); in addDataKindStructuredName()
183 kind.actionBody = new SimpleInflater(Nickname.NAME); in addDataKindName()
217 kind.actionBody = new SimpleInflater(Nickname.NAME); in addDataKindPhoneticName()
237 kind.actionBody = new SimpleInflater(Nickname.NAME); in addDataKindNickname()
242 kind.fieldList.add(new EditField(Nickname.NAME, R.string.nicknameLabelsGroup, in addDataKindNickname()
917 new SimpleInflater(Nickname.NAME)); in parseDataKind()
944 new SimpleInflater(Nickname.NAME)); in parseDataKind()
974 new SimpleInflater(Nickname.NAME)); in parseDataKind()
1002 new SimpleInflater(Nickname.NAME)); in parseDataKind()
1004 kind.fieldList.add(new EditField(Nickname.NAME, R.string.nicknameLabelsGroup, in parseDataKind()
[all …]
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java363 String[] projection = { MediaStore.Audio.Genres.NAME }; in loadData()
370 int nameColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Genres.NAME); in loadData()
392 String[] projection = { MediaStore.Audio.Playlists.NAME }; in loadData()
399 int nameColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Playlists.NAME); in loadData()
528 contentValues.put(MediaStore.Audio.Playlists.NAME, name); in createPlaylist()

123456