/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | ContactsUtilsTests.java | 38 private static final String TEST_ADDRESS = "user@example.org"; field in ContactsUtilsTests 86 values.put(Im.DATA, TEST_ADDRESS); in testImIntentCustom() 97 assertEquals(TEST_ADDRESS, data.getPathSegments().get(0)); in testImIntentCustom() 108 values.put(Im.DATA, TEST_ADDRESS); in testImIntent() 115 assertEquals("xmpp:" + TEST_ADDRESS + "?message", imIntent.getData().toString()); in testImIntent() 126 values.put(Im.DATA, TEST_ADDRESS); in testImIntentWithAudio() 134 assertEquals("xmpp:" + TEST_ADDRESS + "?message", imIntent.getData().toString()); in testImIntentWithAudio() 147 values.put(Im.DATA, TEST_ADDRESS); in testImIntentWithVideo() 156 assertEquals("xmpp:" + TEST_ADDRESS + "?message", imIntent.getData().toString()); in testImIntentWithVideo() 171 values.put(Email.DATA, TEST_ADDRESS); in testImEmailIntent() [all …]
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
H A D | MediaDeviceUtilsTest.java | 38 private static final String TEST_ADDRESS = "11:22:33:44:55:66"; field in MediaDeviceUtilsTest 55 when(mCachedDevice.getAddress()).thenReturn(TEST_ADDRESS); in getId_returnCachedBluetoothDeviceAddress() 59 assertThat(id).isEqualTo(TEST_ADDRESS); in getId_returnCachedBluetoothDeviceAddress() 64 when(mBluetoothDevice.getAddress()).thenReturn(TEST_ADDRESS); in getId_returnBluetoothDeviceAddress() 68 assertThat(id).isEqualTo(TEST_ADDRESS); in getId_returnBluetoothDeviceAddress()
|
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | CallTest.java | 68 private static final Uri TEST_ADDRESS = Uri.parse("tel:555-1212"); field in CallTest 120 TEST_ADDRESS, in testSetHasGoneActive() 147 TEST_ADDRESS, in testDisconnectCauseWhenAudioProcessing() 172 TEST_ADDRESS, in testDisconnectCauseWhenAudioProcessingAfterActive() 199 TEST_ADDRESS, in testDisconnectCauseWhenSimulatedRingingAndDisconnect() 224 TEST_ADDRESS, in testDisconnectCauseWhenSimulatedRingingAndReject() 249 TEST_ADDRESS, in testCanPullCallRemovedDuringEmergencyCall() 297 TEST_ADDRESS, in testCanNotPullCallDuringEmergencyCall() 328 TEST_ADDRESS, in testCallDirection()
|
H A D | CallsManagerTest.java | 165 private static final Uri TEST_ADDRESS = Uri.parse("tel:555-1212"); field in CallsManagerTest 311 TEST_ADDRESS, in testConstructPossiblePhoneAccountsMultiSimActive() 324 TEST_ADDRESS, null, false, false); in testConstructPossiblePhoneAccountsMultiSimActive() 339 TEST_ADDRESS, null, false, false); in testConstructPossiblePhoneAccountsMultiSimIdle() 368 …SELF_MANAGED_HANDLE, TEST_ADDRESS, false /* isVideo */, false /* isEmergency */, null /* userHandl… in testFindOutgoingCallPhoneAccountSelfManaged() 390 …null /* phoneAcct */, TEST_ADDRESS, false /* isVideo */, false /* isEmergency */, null /* userHand… in testFindOutgoingCallAccountDefault() 438 …null /* phoneAcct */, TEST_ADDRESS, true /* isVideo */, false /* isEmergency */, null /* userHandl… in testFindOutgoingCallAccountVideo() 465 …null /* phoneAcct */, TEST_ADDRESS, true /* isVideo */, false /* isEmergency */, null /* userHandl… in testFindOutgoingCallAccountVideoNotAvailable() 488 …SIM_2_HANDLE, TEST_ADDRESS, false /* isVideo */, false /* isEmergency */, null /* userHandle */).g… in testUseSpecifiedAccount() 1358 mCallsManager.placeOutgoingCall(outgoingCall, TEST_ADDRESS, null, true, in testSpeakerDisabledWhenNoVideoCapabilities() [all …]
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
H A D | BluetoothDeviceDetailsFragmentTest.java | 60 private static final String TEST_ADDRESS = "55:66:77:88:99:AA"; field in BluetoothDeviceDetailsFragmentTest 81 mFragment = spy(BluetoothDeviceDetailsFragment.newInstance(TEST_ADDRESS)); in setUp() 91 when(mCachedDevice.getAddress()).thenReturn(TEST_ADDRESS); in setUp() 93 args.putString(BluetoothDeviceDetailsFragment.KEY_DEVICE_ADDRESS, TEST_ADDRESS); in setUp() 103 assertThat(mFragment.mDeviceAddress).isEqualTo(TEST_ADDRESS); in verifyOnAttachResult()
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
H A D | BluetoothMacAddressPreferenceControllerTest.java | 49 private static final String TEST_ADDRESS = "address"; field in BluetoothMacAddressPreferenceControllerTest 72 when(mMockBluetoothAdapter.getAddress()).thenReturn(TEST_ADDRESS); in setUp() 86 assertThat(mPreference.getSummary()).isEqualTo(TEST_ADDRESS); in onCreate_setsAddress()
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
H A D | ImsExternalCallTrackerTest.java | 46 private static final Uri TEST_ADDRESS = Uri.parse("tel:6505551212"); field in ImsExternalCallTrackerTest 71 TEST_ADDRESS, in testAddExternalCall()
|
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/dhcp/ |
H A D | DhcpServingParamsParcelExtTest.java | 44 private static final Inet4Address TEST_ADDRESS = inet4Addr("192.168.0.123"); field in DhcpServingParamsParcelExtTest 66 mParcel.setServerAddr(new LinkAddress(TEST_ADDRESS, TEST_PREFIX_LENGTH)); in testSetServerAddr()
|
/aosp12/packages/services/Telephony/tests/src/com/android/services/telephony/ |
H A D | TelephonyConnectionServiceTest.java | 117 private static final Uri TEST_ADDRESS = Uri.parse("tel:+16505551212"); field in TelephonyConnectionServiceTest 662 c.setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED); in testRetryOutgoingOriginalConnection_redialTempFailOneSlot() 693 c.setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED); in testRetryOutgoingOriginalConnection_redialPermFailOneSlot() 726 c.setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot() 767 c.setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot() 1373 .setAddress(TEST_ADDRESS) in setupConnectionServiceForDelayDial() 1388 TEST_ADDRESS.getSchemeSpecificPart()); in setupConnectionServiceForDelayDial() 1391 numbers.add(setupEmergencyNumber(TEST_ADDRESS)); in setupConnectionServiceForDelayDial() 1413 .setAddress(TEST_ADDRESS) in setupConnectionServiceInApm() 1430 TEST_ADDRESS.getSchemeSpecificPart()); in setupConnectionServiceInApm() [all …]
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
H A D | CarAudioDeviceInfoTest.java | 42 private static final String TEST_ADDRESS = "test address"; field in CarAudioDeviceInfoTest 148 assertThat(info.getAddress()).isEqualTo(TEST_ADDRESS); in getAddress_returnsValueFromDeviceInfo() 240 when(mockInfo.getAddress()).thenReturn(TEST_ADDRESS); in getMockAudioDeviceInfo()
|