/packages/services/Telephony/tests/src/com/android/phone/ |
D | SimPhonebookProviderTest.java | 255 SimRecords.PHONE_NUMBER in query_adnRecords_returnsCursorWithMatchingProjection() argument 257 assertThat(cursor).hasColumnNames(SimRecords.PHONE_NUMBER); in query_adnRecords_returnsCursorWithMatchingProjection() 262 SimRecords.PHONE_NUMBER, SimRecords.PHONE_NUMBER in query_adnRecords_returnsCursorWithMatchingProjection() argument 264 assertThat(cursor).hasColumnNames(SimRecords.PHONE_NUMBER, SimRecords.PHONE_NUMBER); in query_adnRecords_returnsCursorWithMatchingProjection() 325 SimRecords.PHONE_NUMBER in query_simRecords_singleSim_returnsDataForCorrectEf() 366 SimRecords.PHONE_NUMBER in query_adnRecords_returnsAdnData() 406 SimRecords.PHONE_NUMBER in query_fdnRecords_returnsFdnData() 443 SimRecords.PHONE_NUMBER in query_sdnRecords_returnsSdnData() 479 values.put(SimRecords.PHONE_NUMBER, "123"); in insert_nonExistentSim_throwsCorrectException() 491 values.put(SimRecords.PHONE_NUMBER, "123"); in update_nonExistentSim_throwsCorrectException() [all …]
|
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/ |
D | InCallModelTest.java | 49 private static final String PHONE_NUMBER = "01234567"; field in InCallModelTest 95 mInCallModel.updateModelWithPhoneNumber(PHONE_NUMBER); in updateModelWithPhoneNumber_setsPhoneNumber() 101 ApplicationProvider.getApplicationContext(), PHONE_NUMBER); in updateModelWithPhoneNumber_setsPhoneNumber() 108 TelecomUtils.PhoneNumberInfo phoneInfo = new TelecomUtils.PhoneNumberInfo(PHONE_NUMBER, in updateModelWithContact_noAvatarUri_setsContactNameAndInitialsIcon() 124 TelecomUtils.PhoneNumberInfo phoneInfo = new TelecomUtils.PhoneNumberInfo(PHONE_NUMBER, in updateModelWithContact_invalidAvatarUri_setsContactNameAndInitialsIcon()
|
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/ |
D | ContactPreferenceTest.java | 44 private static final String PHONE_NUMBER = "123456"; field in ContactPreferenceTest 56 mPhoneUri = ContactTestUtils.createContact(contentResolver, NAME, PHONE_NUMBER); in setUp() 61 when(mContact.getPhoneNumber()).thenReturn(PHONE_NUMBER); in setUp() 72 assertThat(mPreference.getContact().getPhoneNumber()).isEqualTo(PHONE_NUMBER); in testContactPreference()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimPhonebookProvider.java | 95 SimRecords.PHONE_NUMBER 101 SimRecords.NAME, SimRecords.PHONE_NUMBER 396 case SimRecords.PHONE_NUMBER: in querySimRecords() 425 .add(SimRecords.PHONE_NUMBER, record.getNumber()); in querySimRecordsItem() 476 String newPhoneNumber = Strings.nullToEmpty(values.getAsString(SimRecords.PHONE_NUMBER)); in insertSimRecord() 582 String newPhoneNumber = Strings.nullToEmpty(values.getAsString(SimRecords.PHONE_NUMBER)); in updateSimRecordsItem() 682 throw new IllegalArgumentException(SimRecords.PHONE_NUMBER + " is required."); in validatePhoneNumber() 690 throw new IllegalArgumentException(SimRecords.PHONE_NUMBER + " is too long."); in validatePhoneNumber() 696 SimRecords.PHONE_NUMBER + " contains unsupported characters."); in validatePhoneNumber() 709 String phoneNumber = values.getAsString(SimRecords.PHONE_NUMBER); in validateValues()
|
/packages/apps/Car/Dialer/tests/instrutests/src/com/android/car/dialer/integration/ |
D | RecentCallLogTest.java | 84 private static final String PHONE_NUMBER = "511"; field in RecentCallLogTest 85 private static final Uri CALL_URI = Uri.fromParts("tel", PHONE_NUMBER, null); 129 when(mMockPhoneCallLog.getPhoneNumberString()).thenReturn(PHONE_NUMBER); in verifyRecentCallScreen() 137 onView(allOf(withText(PHONE_NUMBER), withId(R.id.title))).check(matches(isDisplayed())); in verifyRecentCallScreen()
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/ |
D | EmergencyContactsPreferenceTest.java | 56 private static final String PHONE_NUMBER = "456"; field in EmergencyContactsPreferenceTest 79 mTargetContext.getContentResolver(), NAME, PHONE_NUMBER); in setUp() 92 mTargetContext.getContentResolver(), NAME, PHONE_NUMBER)).isTrue(); in tearDown()
|
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/util/ |
D | PreferenceUtilsTest.java | 50 private static final String PHONE_NUMBER = "5150"; 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/Dialer/java/com/android/dialer/speeddial/database/ |
D | SpeedDialEntryDatabaseHelper.java | 58 private static final String PHONE_NUMBER = "phone_number"; field in SpeedDialEntryDatabaseHelper 82 + (PHONE_NUMBER + " text, ") 250 values.put(PHONE_NUMBER, entry.defaultChannel().number()); in buildContentValues()
|
/packages/apps/Contacts/src/com/android/contacts/database/ |
D | SimContactDaoImpl.java | 269 SimRecords.PHONE_NUMBER in loadFrom() 287 final int colNumber = cursor.getColumnIndex(SimRecords.PHONE_NUMBER); in loadFromCursor() 437 public static final int PHONE_NUMBER = 1; field in SimContactDaoImpl.DataQuery 446 return isPhoneNumber(cursor) ? cursor.getString(PHONE_NUMBER) : null; in getPhoneNumber()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | Cp2Contact.java | 100 .setPhoneNumber(cursor.getString(Projections.PHONE_NUMBER)) in fromCursor() 118 row[Projections.PHONE_NUMBER] = phoneNumber(); in toCursorRow()
|
D | SearchContactViewHolder.java | 98 number = cursor.getString(Projections.PHONE_NUMBER); in bind() 198 String number = cursor.getString(Projections.PHONE_NUMBER); in getCallToAction() 272 String number = cursor.getString(Projections.PHONE_NUMBER); in getDialerContact()
|
D | ContactFilterCursor.java | 261 String number = QueryFilteringUtil.digitsOnly(cursor.getString(Projections.PHONE_NUMBER)); in buildContactSearchTree()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PhoneNumberListAdapter.java | 146 public static final int PHONE_NUMBER = 3; field in PhoneNumberListAdapter.PhoneQuery 329 return item != null ? item.getString(PhoneQuery.PHONE_NUMBER) : null; in getPhoneNumber() 479 text = cursor.getString(PhoneQuery.PHONE_NUMBER); in bindPhoneNumber() 486 final String phoneNumber = cursor.getString(PhoneQuery.PHONE_NUMBER); in bindPhoneNumber()
|
D | MultiSelectPhoneNumbersListAdapter.java | 65 public static final int PHONE_NUMBER = 3; field in MultiSelectPhoneNumbersListAdapter.PhoneQuery 185 view.showData(cursor, PhoneQuery.PHONE_NUMBER); in bindPhoneNumber()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
D | SimContactsTestHelper.java | 85 values.put(SimRecords.PHONE_NUMBER, number); in addSimContact() 134 .withValue(SimRecords.PHONE_NUMBER, contact.getPhone()) in captureRestoreSnapshot()
|
/packages/apps/Dialer/java/com/android/dialer/smartdial/ |
D | SmartDialCursorLoader.java | 100 row[PhoneQuery.PHONE_NUMBER] = contact.phoneNumber; in loadInBackground() 218 public static final int PHONE_NUMBER = 3; field in SmartDialCursorLoader.PhoneQuery
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | SimContactDaoTests.java | 600 SimRecords.RECORD_NUMBER, SimRecords.NAME, SimRecords.PHONE_NUMBER) in createsContactsFromCursor() 626 SimRecords.RECORD_NUMBER, SimRecords.NAME, SimRecords.PHONE_NUMBER) in excludesEmptyContactsFromResult() 654 SimRecords.RECORD_NUMBER, SimRecords.NAME, SimRecords.PHONE_NUMBER) in usesSimCardSubscriptionIdIfAvailable() 669 SimRecords.RECORD_NUMBER, SimRecords.NAME, SimRecords.PHONE_NUMBER) in returnsEmptyListForEmptyCursor()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/ |
D | Projections.java | 28 public static final int PHONE_NUMBER = 3; field in Projections
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactTileLoaderFactory.java | 42 public final static int PHONE_NUMBER = 5; field in ContactTileLoaderFactory
|
/packages/apps/Dialer/java/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 563 final String number = updatedContactCursor.getString(PhoneQuery.PHONE_NUMBER); in insertUpdatedContactsAndNumberPrefix() 595 final String contactPhoneNumber = updatedContactCursor.getString(PhoneQuery.PHONE_NUMBER); in insertUpdatedContactsAndNumberPrefix() 1100 int PHONE_NUMBER = 3; field
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/ |
D | NearbyPlaceViewHolder.java | 64 number = cursor.getString(Projections.PHONE_NUMBER); in bind()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/ |
D | DirectoryContactsCursorLoader.java | 109 String number = cursor.getString(Projections.PHONE_NUMBER); in createMatrixCursorFilteringNullNumbers()
|
D | DirectoryContactViewHolder.java | 71 number = cursor.getString(Projections.PHONE_NUMBER); in bind()
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
D | SimImportActivityTest.java | 232 SimRecords.RECORD_NUMBER, SimRecords.NAME, SimRecords.PHONE_NUMBER) in selectionsAreImportedAndDisabledOnSubsequentImports()
|