Home
last modified time | relevance | path

Searched refs:NUMBER (Results 1 – 25 of 124) sorted by relevance

12345

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForPhoneNumber.java47 if (values.containsKey(Phone.NUMBER)) { in insert()
48 final String number = values.getAsString(Phone.NUMBER); in insert()
68 if (values.containsKey(Phone.NUMBER)) { in update()
72 values.getAsString(Phone.NUMBER), in update()
85 if (!values.containsKey(Phone.NUMBER)) { in fillNormalizedNumber()
91 final String number = values.getAsString(Phone.NUMBER); in fillNormalizedNumber()
156 return values.containsKey(Phone.NUMBER); in containsSearchableColumns()
161 String number = builder.getString(Phone.NUMBER); in appendSearchableData()
DDefaultCallLogInsertionHelper.java72 getGeocodedLocationFor(values.getAsString(Calls.NUMBER), countryIso)); in addComputedValues()
74 final String number = values.getAsString(Calls.NUMBER); in addComputedValues()
77 values.put(Calls.NUMBER, ""); in addComputedValues()
DPhoneLookupWithStarPrefix.java77 final int numberIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in removeNonStarMatchesFromCursor()
126 final int numberIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in matchingNumberStartsWithStar()
172 final int numberIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in removeNoMatchPhoneNumber()
DVoicemailContentTable.java63 .add(Voicemails.NUMBER)
105 .add(Voicemails.NUMBER) in VoicemailContentTable()
141 return DatabaseUtils.sqlEscapeString(prefix) + " || " + Voicemails.NUMBER; in createDisplayName()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DValuesDeltaTests.java45 after.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testValuesDiffInsert()
65 before.put(Phone.NUMBER, TEST_PHONE_NUMBER_1); in testValuesDiffNone()
77 before.put(Phone.NUMBER, TEST_PHONE_NUMBER_1); in testValuesDiffUpdate()
80 values.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testValuesDiffUpdate()
DRawContactDeltaTests.java71 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_1); in getRawContact()
103 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testParcelChangesInsert()
119 child.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testParcelChangesUpdate()
143 before.put(Phone.NUMBER, TEST_PHONE_NUMBER_1); in testValuesDiffDelete()
179 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testEntityDiffNoneInsert()
222 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testEntityDiffUpdateInsert()
267 child.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testEntityDiffNoneUpdate()
356 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testEntityDiffInsertInsert()
DRawContactModifierTests.java105 phoneKind.fieldList.add(new EditField(Phone.NUMBER, -1, -1)); in MockContactsSource()
369 values.put(Phone.NUMBER, TEST_PHONE); in testIsEmptyDirectFields()
428 values.put(Phone.NUMBER, " "); in testTrimEmptySpaces()
454 values.put(Phone.NUMBER, TEST_PHONE); in testTrimLeaveValid()
508 before.put(Phone.NUMBER, TEST_PHONE); in testTrimEmptyAfterUpdate()
518 child.put(Phone.NUMBER, ""); in testTrimEmptyAfterUpdate()
630 first.put(Phone.NUMBER, TEST_PHONE); in testTrimUpdateRemain()
636 second.put(Phone.NUMBER, TEST_PHONE); in testTrimUpdateRemain()
649 child.put(Phone.NUMBER, ""); in testTrimUpdateRemain()
708 first.put(Phone.NUMBER, TEST_PHONE); in testTrimUpdateUpdate()
[all …]
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
DProjections.java49 Phone.NUMBER, // 3
69 Phone.NUMBER, // 3
88 Phone.NUMBER, // 3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCapsModeUtils.java273 final int NUMBER = 4; in getCapsMode() local
287 state = NUMBER; in getCapsMode()
317 case NUMBER: in getCapsMode()
321 state = NUMBER; in getCapsMode()
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/activecall/
DIncomingCallFragmentTest.java48 private static final String NUMBER = "1234567890"; field in IncomingCallFragmentTest
71 Call.Details mockDetails = MockEntityFactory.createMockCallDetails(NUMBER); in testUserProfile()
76 onView(withId(R.id.user_profile_title)).check(matches(withText(NUMBER))); in testUserProfile()
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItem.java55 public static final int NUMBER = 4; field in SpeedDialUiItem
67 Phone.NUMBER,
80 Phone.NUMBER,
131 String number = cursor.getString(NUMBER); in fromCursor()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DVoicemailCursorLoader.java40 AnnotatedCallLog.NUMBER,
57 private static final int NUMBER = 2; field in VoicemailCursorLoader
85 number = DialerPhoneNumber.parseFrom(cursor.getBlob(NUMBER)); in toVoicemailEntry()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DAtPhonebook.java55 Calls._ID, Calls.NUMBER, Calls.NUMBER_PRESENTATION
62 Phone._ID, Phone.DISPLAY_NAME, Phone.NUMBER, Phone.TYPE
120 String[] projection = {Calls.NUMBER}; in getLastDialledNumber()
139 int column = cursor.getColumnIndexOrThrow(Calls.NUMBER); in getLastDialledNumber()
440 pbr.numberColumn = pbr.cursor.getColumnIndexOrThrow(Calls.NUMBER); in queryPhonebook()
457 pbr.numberColumn = pbr.cursor.getColumnIndex(Phone.NUMBER); in queryPhonebook()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java143 values.put(Calls.NUMBER, "1-800-263-7643"); in testUpdate()
212 values.put(Calls.NUMBER, "1-800-263-7643"); in testAddCall()
451 values.put(Calls.NUMBER, "1-800-4664-411"); in getDefaultValues()
492 values.put(Calls.NUMBER, "123456"); in getTestCallLogValues()
504 values.put(Calls.NUMBER, "654321"); in getTestCallLogValues()
516 values.put(Calls.NUMBER, "123456"); in getTestCallLogValues()
DLegacyContactsProviderTest.java210 values.put(Phones.NUMBER, "12345"); in testPrimaryPhone()
217 values.put(Phones.NUMBER, "67890"); in testPrimaryPhone()
412 values.put(Phones.NUMBER, "1-800-4664-411"); in testPhonesInsert()
438 values.put(People.NUMBER, "1-800-4664-411"); in testPhonesInsert()
456 values.put(Phones.NUMBER, "1-800-4664-411"); in testPhonesUpdate()
465 values.put(Phones.NUMBER, "1-800-555-4663"); in testPhonesUpdate()
486 values.put(Phones.NUMBER, "800-4664-411"); in testPhonesFilterQuery()
841 values.put(Phones.NUMBER, "1-800-4664-411"); in assertSearchSuggestion()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactListItemViewTest.java84 (String) cursor.getAt(Phone.NUMBER, row), in testBindFirstLevel()
95 (String) cursor.getAt(Phone.NUMBER, row), in testBindSecondLevel()
119 (String) cursor.getAt(Phone.NUMBER, 1), in testBindTwice()
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/phonelookup/
DPhoneLookupDataSource.java327 new String[] {AnnotatedCallLog.NUMBER}, in queryDistinctDialerPhoneNumbersFromAnnotatedCallLog() argument
340 int numberColumn = cursor.getColumnIndexOrThrow(AnnotatedCallLog.NUMBER); in queryDistinctDialerPhoneNumbersFromAnnotatedCallLog()
369 insertedContentValues.getAsByteArray(AnnotatedCallLog.NUMBER)); in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts()
386 new String[] {AnnotatedCallLog._ID, AnnotatedCallLog.NUMBER}, in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts() argument
400 int numberColumn = cursor.getColumnIndexOrThrow(AnnotatedCallLog.NUMBER); in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts()
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java123 + SmartDialDbColumns.NUMBER in setupTables()
184 + FilteredNumberColumns.NUMBER in setupTables()
243 + FilteredNumberColumns.NUMBER in onUpgrade()
509 + SmartDialDbColumns.NUMBER in insertUpdatedContactsAndNumberPrefix()
918 + SmartDialDbColumns.NUMBER in getLooseMatches()
1040 String NUMBER = "phone_number"; field
1083 Phone.NUMBER, // 3
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DInCallViewModelTest.java59 private static final String NUMBER = "6505551234"; field in InCallViewModelTest
62 private static final Uri GATEWAY_ADDRESS = Uri.fromParts("tel", NUMBER, null);
175 assertThat(callDetail.getNumber()).isEqualTo(NUMBER); in testGetPrimaryCallDetail()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapParserTest.java165 String[] query = new String[]{Calls.NUMBER, Calls.DATE, Calls.TYPE}; in verifyCallLog()
168 Calls.DATE + ", " + Calls.NUMBER); in verifyCallLog()
174 String foundNumber = cursor.getString(cursor.getColumnIndex(Calls.NUMBER)); in verifyCallLog()
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DCallLogQuery.java33 public static final int NUMBER = 1; field in CallLogQuery
65 Calls.NUMBER, // 1
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockedNumbersMigrator.java52 new String[] {FilteredNumberColumns.NUMBER}, in migrateToNewBlockingInBackground() argument
69 cursor.getString(cursor.getColumnIndex(FilteredNumberColumns.NUMBER)); in migrateToNewBlockingInBackground()
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
DSystemCallLogDataSource.java266 int numberColumn = cursor.getColumnIndexOrThrow(Calls.NUMBER); in handleInsertsAndUpdates()
329 contentValues.put(AnnotatedCallLog.NUMBER, dialerPhoneNumber.toByteArray()); in handleInsertsAndUpdates()
338 AnnotatedCallLog.NUMBER, DialerPhoneNumber.getDefaultInstance().toByteArray()); in handleInsertsAndUpdates()
398 Calls.NUMBER,
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DAnnotatedCallLogDatabaseHelper.java76 + (AnnotatedCallLog.NUMBER + " blob, ")
143 + AnnotatedCallLog.NUMBER
/packages/apps/Dialer/java/com/android/dialer/calllog/
DCallLogCacheUpdater.java105 || !values.containsKey(AnnotatedCallLog.NUMBER)) {
110 values, AnnotatedCallLog.NUMBER, DialerPhoneNumber.getDefaultInstance());

12345