/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | ContactsUtilsTests.java | 39 private static final String TEST_ADDRESS = "user@example.org"; field in ContactsUtilsTests 87 values.put(Im.DATA, TEST_ADDRESS); in testImIntentCustom() 98 assertEquals(TEST_ADDRESS, data.getPathSegments().get(0)); in testImIntentCustom() 109 values.put(Im.DATA, TEST_ADDRESS); in testImIntent() 116 assertEquals("xmpp:" + TEST_ADDRESS + "?message", imIntent.getData().toString()); in testImIntent() 127 values.put(Im.DATA, TEST_ADDRESS); in testImIntentWithAudio() 135 assertEquals("xmpp:" + TEST_ADDRESS + "?message", imIntent.getData().toString()); in testImIntentWithAudio() 139 assertEquals("xmpp:" + TEST_ADDRESS + "?call", secondaryIntent.getData().toString()); in testImIntentWithAudio() 148 values.put(Im.DATA, TEST_ADDRESS); in testImIntentWithVideo() 157 assertEquals("xmpp:" + TEST_ADDRESS + "?message", imIntent.getData().toString()); in testImIntentWithVideo() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/java/com/android/adservices/ohttp/ |
D | HpkeContextNativeRefTest.java | 37 private static final long TEST_ADDRESS = 10000; field in HpkeContextNativeRefTest 41 when(mOhttpJniWrapper.hpkeCtxNew()).thenReturn(TEST_ADDRESS); in setup() 56 Assert.assertEquals(ref.getAddress(), TEST_ADDRESS); in getAddress_returnsCorrectAddress() local 65 verify(mOhttpJniWrapper).hpkeCtxFree(eq(TEST_ADDRESS)); in finalize_callsCorrectJniMethod()
|
D | AeadNativeRefTest.java | 36 private static final long TEST_ADDRESS = 10000; field in AeadNativeRefTest 40 when(mOhttpJniWrapper.hpkeAeadAes256Gcm()).thenReturn(TEST_ADDRESS); in setup() 54 Assert.assertEquals(ref.getAddress(), TEST_ADDRESS); in getAddress_returnsCorrectAddress() local
|
D | KdfNativeRefTest.java | 35 private static final long TEST_ADDRESS = 10000; field in KdfNativeRefTest 39 when(mOhttpJniWrapper.hpkeKdfHkdfSha256()).thenReturn(TEST_ADDRESS); in setup() 53 Assert.assertEquals(ref.getAddress(), TEST_ADDRESS); in getAddress_returnsCorrectAddress() local
|
D | KemNativeRefTest.java | 35 private static final long TEST_ADDRESS = 10000; field in KemNativeRefTest 39 when(mOhttpJniWrapper.hpkeKemDhkemX25519HkdfSha256()).thenReturn(TEST_ADDRESS); in setup() 53 Assert.assertEquals(ref.getAddress(), TEST_ADDRESS); in getAddress_returnsCorrectAddress() local
|
D | HkdfMessageDigestNativeRefTest.java | 36 private static final long TEST_ADDRESS = 10000; field in HkdfMessageDigestNativeRefTest 40 when(mOhttpJniWrapper.hkdfSha256MessageDigest()).thenReturn(TEST_ADDRESS); in setup() 55 Assert.assertEquals(ref.getAddress(), TEST_ADDRESS); in getAddress_returnsCorrectAddress() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragmentTest.java | 83 private static final String TEST_ADDRESS = "55:66:77:88:99:AA"; field in BluetoothDeviceDetailsFragmentTest 125 assertThat(mFragment.mDeviceAddress).isEqualTo(TEST_ADDRESS); in verifyOnAttachResult() 143 assertThat(fragment.mDeviceAddress).isEqualTo(TEST_ADDRESS); in verifyOnAttachResult_flagEnabledAndInputDeviceSet_returnsInputDevice() 161 assertThat(fragment.mDeviceAddress).isEqualTo(TEST_ADDRESS); in verifyOnAttachResult_flagDisabled_returnsNullInputDevice() 262 doReturn(TEST_ADDRESS).when(mInputManager).getInputDeviceBluetoothAddress(0); in createInputDeviceWithMatchingBluetoothAddress() 275 BluetoothDeviceDetailsFragment.newInstance(TEST_ADDRESS)); in setupFragment() 290 doReturn(TEST_ADDRESS).when(mCachedDevice).getAddress(); in setupFragment() 291 doReturn(TEST_ADDRESS).when(mCachedDevice).getIdentityAddress(); in setupFragment() 293 args.putString(BluetoothDeviceDetailsFragment.KEY_DEVICE_ADDRESS, TEST_ADDRESS); in setupFragment()
|
D | BluetoothFindBroadcastsFragmentTest.java | 60 private static final String TEST_ADDRESS = "55:66:77:88:99:AA"; field in BluetoothFindBroadcastsFragmentTest 101 when(mCachedDevice.getAddress()).thenReturn(TEST_ADDRESS); in setUp() 102 when(mCachedDevice.getIdentityAddress()).thenReturn(TEST_ADDRESS); in setUp() 104 args.putString(BluetoothFindBroadcastsFragment.KEY_DEVICE_ADDRESS, TEST_ADDRESS); in setUp() 111 assertThat(mFragment.mDeviceAddress).isEqualTo(TEST_ADDRESS); in verifyOnAttachResult()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | BluetoothMacAddressPreferenceControllerTest.java | 50 private static final String TEST_ADDRESS = "address"; field in BluetoothMacAddressPreferenceControllerTest 73 when(mMockBluetoothAdapter.getAddress()).thenReturn(TEST_ADDRESS); in setUp() 87 assertThat(mPreference.getSummary()).isEqualTo(TEST_ADDRESS); in onCreate_setsAddress()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapContentTest.java | 78 private static final String TEST_ADDRESS = "111-1111-1111"; field in BluetoothMapContentTest 510 mInfo.mPhoneNum = TEST_ADDRESS; in setRecipientAddressing_withFilterMsgTypeSms_andSmsMsgTypeInbox() 518 assertThat(mMessageListingElement.getRecipientAddressing()).isEqualTo(TEST_ADDRESS); in setRecipientAddressing_withFilterMsgTypeSms_andSmsMsgTypeInbox() 604 cursor.addRow(new Object[] {Telephony.Sms.MESSAGE_TYPE_INBOX, TEST_ADDRESS}); in setSenderAddressing_withFilterMsgTypeSms_andSmsMsgTypeInbox() 613 .isEqualTo(PhoneNumberUtils.extractNetworkPortion(TEST_ADDRESS)); in setSenderAddressing_withFilterMsgTypeSms_andSmsMsgTypeInbox() 679 cursor.addRow(new Object[] {(long) 1, TEST_ADDRESS}); in setSenderAddressing_withFilterTypeIm() 687 assertThat(mMessageListingElement.getSenderAddressing()).isEqualTo(TEST_ADDRESS); in setSenderAddressing_withFilterTypeIm() 735 mMessageListingElement.setSenderAddressing(TEST_ADDRESS); in setSenderName_withFilterTypeMms_withNonNullSenderAddressing() 1306 addressCursor.addRow(new Object[] {TEST_ID, TEST_ADDRESS}); in convoListing_withNonNullFilterRecipient() 1399 TEST_ADDRESS, in msgListing_withSmsCursorOnly() [all …]
|
D | BluetoothMapbMessageSmsTest.java | 44 private static final String TEST_ADDRESS = "12"; field in BluetoothMapbMessageSmsTest 56 BluetoothMapSmsPdu.getSubmitPdus(mTargetContext, TEST_MESSAGE, TEST_ADDRESS); in setUp()
|
D | BluetoothMapContentObserverTest.java | 89 static final String TEST_ADDRESS = "test_address"; field in BluetoothMapContentObserverTest 541 TEST_ADDRESS in testUnDeleteMessageMms_withDeletedThreadId_andMessageBoxInbox() 577 TEST_ADDRESS in testUnDeleteMessageMms_withDeletedThreadId_andMessageBoxSent() 610 cursor.addRow(new Object[] {TEST_THREAD_ID, 1L, Mms.MESSAGE_BOX_SENT, TEST_ADDRESS}); in testUnDeleteMessageMms_withoutDeletedThreadId() 636 cursor.addRow(new Object[] {BluetoothMapContentObserver.DELETED_THREAD_ID, TEST_ADDRESS}); in testUnDeleteMessageSms_withDeletedThreadId() 664 cursor.addRow(new Object[] {TEST_THREAD_ID, TEST_ADDRESS}); in testUnDeleteMessageSms_withoutDeletedThreadId() 1097 TEST_ADDRESS, in handleMsgListChangesMsg_withNonExistingMessage_andVersion11() 1147 TEST_ADDRESS, in handleMsgListChangesMsg_withNonExistingMessage_andVersion12() 1788 TEST_ADDRESS, in handleMsgListChangesSms_withNonExistingMessage_andVersion11()
|
/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()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/ |
D | StackEventTest.java | 36 private static final String TEST_ADDRESS = "11:11:11:11:11:11"; field in StackEventTest 42 mDevice = mAdapter.getRemoteDevice(TEST_ADDRESS); in setUp()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallsManagerTest.java | 258 private static final Uri TEST_ADDRESS = Uri.parse("tel:555-1212"); field in CallsManagerTest 461 TEST_ADDRESS, in constructOngoingCall() 490 TEST_ADDRESS, null, false, false, false); in testConstructPossiblePhoneAccountsMultiSimActive() 511 TEST_ADDRESS, null, false, false, false); in testConstructPossiblePhoneAccountsMultiSimActive_simulCallingRestriction() 531 TEST_ADDRESS, null, false, false, false); in testConstructPossiblePhoneAccountsMultiSimActive_simulCallingRestrictionSubset() 552 TEST_ADDRESS, null, false, false, false); in testConstructPossiblePhoneAccountsMultiSimActive_simulCallingRestrictionSubset2() 568 TEST_ADDRESS, null, false, false, false); in testConstructPossiblePhoneAccountsMultiSimIdle() 583 TEST_ADDRESS, null, false, false, false); in testConstructPossiblePhoneAccountsMultiSimIdle_noSimulCallingRestriction() 599 TEST_ADDRESS, null, false, false, false); in testConstructPossiblePhoneAccountsMultiSimIdle_withSimulCallingRestriction() 620 TEST_ADDRESS, null, false, false, false); in testConstructPossiblePhoneAccountsMultiSimActive_dsdaCallingPossible() [all …]
|
D | CallTest.java | 94 private static final Uri TEST_ADDRESS = Uri.parse("tel:555-1212"); field in CallTest 417 TEST_ADDRESS, in testIsCreateConnectionComplete() 555 TEST_ADDRESS, in testIsSuppressedByDoNotDisturbExtra() 582 TEST_ADDRESS, in testGetConnectionServiceWrapper() 613 TEST_ADDRESS, in testCallEventCallbacksWereCalled() 732 .setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED) in testHandleCreateConferenceSuccessNotifiesListeners() 757 .setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED) in testHandleCreateConferenceSuccess() 768 assertEquals(TEST_ADDRESS, call.getHandle()); in testHandleCreateConferenceSuccess() 1049 return createCall(id, callDirection, TEST_ADDRESS); in createCall()
|
D | TransactionTests.java | 110 private static final Uri TEST_ADDRESS = Uri.parse("tel:555-1212"); field in TransactionTests 438 TEST_ADDRESS, in createSpyCall()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioDeviceInfoTest.java | 56 private static final String TEST_ADDRESS = "test address"; field in CarAudioDeviceInfoTest 68 when(audioDeviceInfo.getAddress()).thenReturn(TEST_ADDRESS); in setAudioDeviceInfo_requiresNonNullGain_forBusDevices() 253 expectWithMessage("Device Info Address").that(info.getAddress()).isEqualTo(TEST_ADDRESS); in getAddress_returnsValueFromDeviceInfo() 538 .setAddressName(TEST_ADDRESS) in getMockAudioDeviceInfo() 546 when(attributeMock.getAddress()).thenReturn(TEST_ADDRESS); in getMockAudioDeviceAttribute()
|
D | AudioManagerWrapperTest.java | 81 private static final String TEST_ADDRESS = "bus_to_nowhere"; field in AudioManagerWrapperTest 123 .setAudioDeviceGain(eq(mAudioManager), eq(TEST_ADDRESS), in setUp() 191 .setAudioDeviceGain(TEST_ADDRESS, TEST_GAIN, TEST_IS_OUTPUT)); in setAudioDeviceGain()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 225 private static final Uri TEST_ADDRESS = Uri.parse("tel:+16505551212"); field in TelephonyConnectionServiceTest 976 c.setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED); in testRetryOutgoingOriginalConnection_redialTempFailOneSlot() 1008 c.setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED); in testRetryOutgoingOriginalConnection_redialPermFailOneSlot() 1042 c.setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot() 1084 c.setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot() 1126 c.setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure() 1183 c.setAddress(TEST_ADDRESS, TelecomManager.PRESENTATION_ALLOWED); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure() 1493 .setAddress(TEST_ADDRESS) in testCreateOutgoingCall_turnOnRadio_bluetoothOn() 1527 .setAddress(TEST_ADDRESS) in testCreateOutgoingCall_forWearWatch_whenPhoneIsNull() 1560 .setAddress(TEST_ADDRESS) in testCreateOutgoingCall_notTurnOnRadio_bluetoothOnWifiCallingEnabled() [all …]
|