Home
last modified time | relevance | path

Searched refs:PHONE_NUMBER (Results 1 – 24 of 24) sorted by relevance

/packages/services/Telephony/tests/src/com/android/phone/
DSimPhonebookProviderTest.java255 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/
DInCallModelTest.java49 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/
DContactPreferenceTest.java44 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/
DSimPhonebookProvider.java95 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/
DRecentCallLogTest.java84 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/
DEmergencyContactsPreferenceTest.java56 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/
DPreferenceUtilsTest.java50 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/
DSpeedDialEntryDatabaseHelper.java58 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/
DSimContactDaoImpl.java269 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/
DCp2Contact.java100 .setPhoneNumber(cursor.getString(Projections.PHONE_NUMBER)) in fromCursor()
118 row[Projections.PHONE_NUMBER] = phoneNumber(); in toCursorRow()
DSearchContactViewHolder.java98 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()
DContactFilterCursor.java261 String number = QueryFilteringUtil.digitsOnly(cursor.getString(Projections.PHONE_NUMBER)); in buildContactSearchTree()
/packages/apps/Contacts/src/com/android/contacts/list/
DPhoneNumberListAdapter.java146 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()
DMultiSelectPhoneNumbersListAdapter.java65 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/
DSimContactsTestHelper.java85 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/
DSmartDialCursorLoader.java100 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/
DSimContactDaoTests.java600 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/
DProjections.java28 public static final int PHONE_NUMBER = 3; field in Projections
/packages/apps/Contacts/src/com/android/contacts/
DContactTileLoaderFactory.java42 public final static int PHONE_NUMBER = 5; field in ContactTileLoaderFactory
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java563 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/
DNearbyPlaceViewHolder.java64 number = cursor.getString(Projections.PHONE_NUMBER); in bind()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactsCursorLoader.java109 String number = cursor.getString(Projections.PHONE_NUMBER); in createMatrixCursorFilteringNullNumbers()
DDirectoryContactViewHolder.java71 number = cursor.getString(Projections.PHONE_NUMBER); in bind()
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DSimImportActivityTest.java232 SimRecords.RECORD_NUMBER, SimRecords.NAME, SimRecords.PHONE_NUMBER) in selectionsAreImportedAndDisabledOnSubsequentImports()