/packages/apps/Contacts/tests/src/com/android/contacts/ |
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() 138 assertEquals("xmpp:" + TEST_ADDRESS + "?call", secondaryIntent.getData().toString()); in testImIntentWithAudio() 147 values.put(Im.DATA, TEST_ADDRESS); in testImIntentWithVideo() 156 assertEquals("xmpp:" + TEST_ADDRESS + "?message", imIntent.getData().toString()); in testImIntentWithVideo() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
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()
|
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() 414 …null /* phoneAcct */, TEST_ADDRESS, false /* isVideo */, false /* isEmergency */, null /* userHand… in testFindOutgoingCallAccountNoDefault() 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() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
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()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
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()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
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() 808 c.setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure() 863 c.setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure() 1373 .setAddress(TEST_ADDRESS) in setupConnectionServiceForDelayDial() 1388 TEST_ADDRESS.getSchemeSpecificPart()); in setupConnectionServiceForDelayDial() 1391 numbers.add(setupEmergencyNumber(TEST_ADDRESS)); in setupConnectionServiceForDelayDial() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
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()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/dhcp/ |
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()
|