Home
last modified time | relevance | path

Searched refs:number (Results 1 – 25 of 62) sorted by relevance

123

/cts/tests/tests/telecom/src/android/telecom/cts/
DCtsPhoneAccountSuggestionService.java36 public void onAccountSuggestionRequest(String number) { in onAccountSuggestionRequest() argument
37 sSuggestionRequestQueue.offer(number); in onAccountSuggestionRequest()
39 () -> suggestPhoneAccounts(number, sSuggestionsToProvide), in onAccountSuggestionRequest()
DThirdPartyCallScreeningServiceTest.java455 String number = callsCursor.getString(numberIndex); in addIncomingAndVerifyAllowed() local
458 assertEquals(testNumber.getSchemeSpecificPart(), number); in addIncomingAndVerifyAllowed() local
484 String number = callsCursor.getString(numberIndex); in addIncomingAndVerifyBlocked() local
489 assertEquals(testNumber.getSchemeSpecificPart(), number); in addIncomingAndVerifyBlocked() local
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsCallForwardInfoTest.java41 String number = "5555551212"; in createParcelUnparcel() local
44 number, timeSeconds); in createParcelUnparcel()
57 assertEquals(number, unparceledInfo.getNumber()); in createParcelUnparcel()
DImsSuppServiceNotificationTest.java53 assertEquals(data.number, unparceledData.number); in testParcelUnparcel()
DEabControllerTest.java633 private static String formatNumber(Context context, String number) { in formatNumber() argument
640 Phonenumber.PhoneNumber phoneNumber = util.parse(number, simCountryIso); in formatNumber()
643 Log.w(TAG, "formatNumber: could not format " + number + ", error: " + e); in formatNumber()
646 return number; in formatNumber()
/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/src/android/appsecurity/cts/apkveritytestapp/
DInstalledFilesCheck.java60 int number = Integer.valueOf(testArgs.getString("Number")); in getInterestedFiles() local
61 assertTrue(number > 0); in getInterestedFiles()
63 for (int i = 0; i < number; ++i) { in getInterestedFiles()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DIoUtils.java35 Persistence.TestCase testCase, int number, String dirName) in writeToDocumentsStorage() argument
45 testsFilePath.resolve("test-" + number + ".json"), in writeToDocumentsStorage()
/cts/tests/tests/provider/src/android/provider/cts/
DBlockedNumberBackupRestoreTest.java141 private void insertBlockedNumber(String number) { in insertBlockedNumber() argument
143 cv.put(BlockedNumberContract.BlockedNumbers.COLUMN_ORIGINAL_NUMBER, number); in insertBlockedNumber()
147 private void deleteNumber(String number) { in deleteNumber() argument
152 new String[] {number})); in deleteNumber()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DMessageTestActivity.java280 private void sendMessage(int number) { in sendMessage() argument
281 String message = "Message " + number + " to " in sendMessage()
303 int number = Integer.valueOf(matcher.group(1)); in addNewMessage() local
304 if (mServer && number == 10 || !mServer && number == 11) { in addNewMessage()
307 if (number <= 10) { in addNewMessage()
308 sendMessage(number + 1); in addNewMessage()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCallLogTest.java98 public String number; field in CallLogTest.LogEntry
117 number = value; in setValue()
183 assertEquals(TEST_NUMBER, entries.get(TEST_NUMBER).number); in testPopulateAndQueryCallAndVoicemailLogs()
185 assertEquals(TEST_VOICEMAIL_NUMBER, entries.get(TEST_VOICEMAIL_NUMBER).number); in testPopulateAndQueryCallAndVoicemailLogs()
540 private ContentValues getDefaultValues(int type, String number, int date, int duration) { in getDefaultValues() argument
543 values.put(Calls.NUMBER, number); in getDefaultValues()
582 private void deleteCallLogRowsWithNumber(String number) { in deleteCallLogRowsWithNumber() argument
583 mContentResolver.delete(Calls.CONTENT_URI, Calls.NUMBER + " = " + number, null); in deleteCallLogRowsWithNumber()
625 if (e.number != null && !e.number.isEmpty()) { in collectCursorEntries()
626 entries.put(e.number, e); in collectCursorEntries()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBlockedNumberService.java85 private Bundle insertBlockedNumber(String number) { in insertBlockedNumber() argument
86 Log.i(TAG, "insertBlockedNumber: " + number); in insertBlockedNumber()
90 cv.put(COLUMN_ORIGINAL_NUMBER, number); in insertBlockedNumber()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestUtils.java456 int startY, int endX, int endY, int number) { in injectStylusMoveEvents() argument
460 final float incrementX = ((float) (endX - startX)) / (number - 1); in injectStylusMoveEvents()
461 final float incrementY = ((float) (endY - startY)) / (number - 1); in injectStylusMoveEvents()
463 final List<MotionEvent> injectedEvents = new ArrayList<>(number); in injectStylusMoveEvents()
465 for (int i = 0; i < number; i++) { in injectStylusMoveEvents()
492 int endY, int number) { in injectStylusMoveEvents() argument
496 final float incrementX = ((float) (endX - startX)) / (number - 1); in injectStylusMoveEvents()
497 final float incrementY = ((float) (endY - startY)) / (number - 1); in injectStylusMoveEvents()
500 for (int i = 0; i < number; i++) { in injectStylusMoveEvents()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DTestConnectionService.java118 private static int convertNumberToCause(String number) { in convertNumberToCause() argument
119 switch (number) { in convertNumberToCause()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DDataUtil.java55 String number) { in insertPhoneNumber() argument
58 values.put(CommonDataKinds.Phone.NUMBER, number); in insertPhoneNumber()
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/annotations/
DEnsureCanAddUser.kt41 val number: Int = 1, constant in com.android.bedstead.multiuser.annotations.EnsureCanAddUser
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DStylusHandwritingTest.java526 final int number = 5; in testHandwritingStylusEvents() local
550 number)); in testHandwritingStylusEvents()
678 final int number = 5; in testHandwritingInitMultipleTimes() local
922 final int number = 5; in testHandwriting_unfocusedEditText() local
926 endX, endY, number); in testHandwriting_unfocusedEditText()
983 final int number = 5; in testHandwriting_unfocusedEditText_password() local
987 endX, endY, number); in testHandwriting_unfocusedEditText_password()
1042 final int number = 5; in testHandwriting_unfocusedEditText_prefDisabled() local
1045 TestUtils.injectStylusMoveEvents(unfocusedEditText, x, startY, x, endY, number); in testHandwriting_unfocusedEditText_prefDisabled()
1096 final int number = 5; in testHandwriting_unfocusedEditText_autoHandwritingDisabled() local
[all …]
/cts/hostsidetests/telephony/devicetest/src/android/telephony/device/cts/
DTelephonyTest.java83 public void onCallStateChanged(int state, String number) { in testListenerRegistrationWithChangeEnabled()
119 public void onCallStateChanged(int state, String number) { in testListenerRegistrationWithChangeDisabled()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DREADME.md9 `<bus ID>:<vendor ID>:<product ID>:<counting number>`. Use
12 identifier will be different for each input device, and the counting number at the end of the
/cts/common/device-side/bedstead/modules/multiuser/src/test/kotlin/com/android/bedstead/multiuser/
DMultiUserAnnotationExecutorTest.kt35 @EnsureCanAddUser(number = 2) in <lambda>()
/cts/tests/tests/widget/src/android/widget/cts/
DCursorAdapterTest.java434 String number = cursor.getString(NUMBER_INDEX); in bindView() local
436 textView.setText(number); in bindView()
447 String number = cursor.getString(NUMBER_INDEX); in newView() local
449 textView.setText(number); in newView()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DIRadioVoiceImpl.java232 calls[i].number = mCallList.get(i).getNumber(); in fillUpCurrentCallsRespnose()
1127 EmergencyNumber number = new EmergencyNumber(); in notifyEmergencyNumberList() local
1128 number.number = numbers[i]; in notifyEmergencyNumberList()
1129 number.mcc = "310"; in notifyEmergencyNumberList()
1130 number.mnc = ""; in notifyEmergencyNumberList()
1132 number.urns = new String[] { urn }; in notifyEmergencyNumberList()
1133 number.sources = EmergencyNumber.SOURCE_MODEM_CONFIG; in notifyEmergencyNumberList()
1134 emergencyNumberList[i] = number; in notifyEmergencyNumberList()
DMockSrvccCall.java56 mAddress = call.number; in MockSrvccCall()
/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DAutoConstants.java.tmpl20 * Stores constants used by PerformanceClassEvaluator. Constants relating to requirement number are
/cts/hostsidetests/appsecurity/test-apps/KeyRotationTest/
DAndroid.bp50 // key with an updated version number. This app is intended to verify that an
90 // key targeting SDK version 33 for rotation with an updated version number.
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
DUsersComponent.kt282 fun ensureCanAddUser(number: Int, failureMode: FailureMode?) { in <lambda>()
289 "The device does not have space for $number additional user(s) " + in <lambda>()
291 currentUsers + number <= maxUsers, in <lambda>()

123