Home
last modified time | relevance | path

Searched refs:setDeviceAddress (Results 1 – 25 of 33) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DZoneAudioPlaybackCallbackTest.java161 .setDeviceAddress(PRIMARY_MEDIA_ADDRESS) in getAllActiveContextsForPrimaryZone_withOneMatchingConfiguration_returnsActiveContext()
181 .setDeviceAddress(PRIMARY_MEDIA_ADDRESS) in getAllActiveContextsForPrimaryZone_withNullPlaybackMonitor()
201 .setDeviceAddress(PRIMARY_MEDIA_ADDRESS) in getAllActiveContextsForPrimaryZone_withMultipleConfiguration_returnsActiveContexts()
205 .setDeviceAddress(PRIMARY_NAVIGATION_ADDRESS) in getAllActiveContextsForPrimaryZone_withMultipleConfiguration_returnsActiveContexts()
228 .setDeviceAddress(PRIMARY_MEDIA_ADDRESS) in getAllActiveContextsForPrimaryZone_withInactiveConfigurations_returnsActiveContext()
232 .setDeviceAddress(PRIMARY_NAVIGATION_ADDRESS) in getAllActiveContextsForPrimaryZone_withInactiveConfigurations_returnsActiveContext()
270 .setDeviceAddress(primaryMediaAddress) in getAudioPlaybackConfigurations()
275 .setDeviceAddress(primaryNavigationAddress) in getAudioPlaybackConfigurations()
287 .setDeviceAddress(PRIMARY_MEDIA_ADDRESS) in getAllActiveContextsForPrimaryZone_withInactiveConfig_beforeTimeout_returnsContexts()
291 .setDeviceAddress(PRIMARY_NAVIGATION_ADDRESS) in getAllActiveContextsForPrimaryZone_withInactiveConfig_beforeTimeout_returnsContexts()
[all …]
DCarAudioPlaybackCallbackTest.java148 .setDeviceAddress(PRIMARY_MEDIA_ADDRESS) in onPlaybackConfigChanged_singleConfig_returnsActiveContextForPrimaryZoneOnly()
178 .setDeviceAddress(PRIMARY_MEDIA_ADDRESS) in onPlaybackConfigChanged_withNullPlaybackMonitor()
199 .setDeviceAddress(PRIMARY_MEDIA_ADDRESS) in onPlaybackConfigChanged_withMultipleConfigs_returnsActiveConfigsForTwoZones()
204 .setDeviceAddress(SECONDARY_MEDIA_ADDRESS) in onPlaybackConfigChanged_withMultipleConfigs_returnsActiveConfigsForTwoZones()
232 .setDeviceAddress(PRIMARY_MEDIA_ADDRESS) in onPlaybackConfigChanged_withMultipleConfigs_onIncorrectConfigurations()
237 .setDeviceAddress(SECONDARY_MEDIA_ADDRESS) in onPlaybackConfigChanged_withMultipleConfigs_onIncorrectConfigurations()
266 .setDeviceAddress(PRIMARY_MEDIA_ADDRESS) in onPlaybackConfigChanged_withMultipleInactiveConfigs_beforeTimeout()
271 .setDeviceAddress(SECONDARY_MEDIA_ADDRESS) in onPlaybackConfigChanged_withMultipleInactiveConfigs_beforeTimeout()
278 .setDeviceAddress(PRIMARY_MEDIA_ADDRESS) in onPlaybackConfigChanged_withMultipleInactiveConfigs_beforeTimeout()
284 .setDeviceAddress(SECONDARY_MEDIA_ADDRESS) in onPlaybackConfigChanged_withMultipleInactiveConfigs_beforeTimeout()
[all …]
DCarAudioZoneUnitTest.java514 .setUsage(USAGE_MEDIA).setDeviceAddress(MUSIC_ADDRESS).build(); in findActiveAudioAttributesFromPlaybackConfigurations_returnsAllActiveAttributes()
516 .setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE).setDeviceAddress(NAV_ADDRESS) in findActiveAudioAttributesFromPlaybackConfigurations_returnsAllActiveAttributes()
536 .setUsage(USAGE_ASSISTANT).setDeviceAddress(ANNOUNCEMENT_ADDRESS).build(); in findActiveAudioAttributesFromPlaybackConfigurations_returnsNoMatchingAttributes()
538 .setUsage(USAGE_ALARM).setDeviceAddress(ALARM_ADDRESS).build(); in findActiveAudioAttributesFromPlaybackConfigurations_returnsNoMatchingAttributes()
557 .setUsage(USAGE_MEDIA).setDeviceAddress(CONFIG_1_ALL_ADDRESS).build(); in findActiveAudioAttributesFromPlaybackConfigurations_withMultipleZoneConfigs()
559 .setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE).setDeviceAddress(NAV_ADDRESS) in findActiveAudioAttributesFromPlaybackConfigurations_withMultipleZoneConfigs()
DAudioPlaybackConfigurationBuilder.java45 AudioPlaybackConfigurationBuilder setDeviceAddress(String deviceAddress) { in setDeviceAddress() method in AudioPlaybackConfigurationBuilder
DCarAudioServiceUnitTest.java3721 .setDeviceAddress(VOICE_TEST_DEVICE) in onKeyEvent_forVolumeDownEvent_inPrimaryZone_forSecondaryGroup()
3749 .setDeviceAddress(CALL_TEST_DEVICE) in onKeyEvent_forVolumeDownEvent_inPrimaryZone_withHigherPriority()
3753 .setDeviceAddress(MEDIA_TEST_DEVICE) in onKeyEvent_forVolumeDownEvent_inPrimaryZone_withHigherPriority()
3785 .setDeviceAddress(CALL_TEST_DEVICE) in onKeyEvent_forVolumeDownEvent_inPrimaryZone_withVersionTwoVolumeList()
3789 .setDeviceAddress(MEDIA_TEST_DEVICE) in onKeyEvent_forVolumeDownEvent_inPrimaryZone_withVersionTwoVolumeList()
5757 .setUsage(USAGE_MEDIA).setDeviceAddress(MEDIA_TEST_DEVICE) in onPlaybackConfigChanged_withActivationVolumeFlagDisabled()
5783 .setUsage(USAGE_MEDIA).setDeviceAddress(MEDIA_TEST_DEVICE) in onPlaybackConfigChanged_withActivationVolumeFeatureDisabled()
5809 .setUsage(USAGE_MEDIA).setDeviceAddress(MEDIA_TEST_DEVICE) in onPlaybackConfigChanged_withVolumeAboveMaxActivationVolume()
5845 .setDeviceAddress(NAVIGATION_TEST_DEVICE).setClientUid(TEST_PLAYBACK_UID) in onPlaybackConfigChanged_withVolumeBelowMinActivationVolume()
5880 .setUsage(USAGE_MEDIA).setDeviceAddress(MEDIA_TEST_DEVICE) in onPlaybackConfigChanged_withVolumeInActivationVolumeRange()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pConfigTest.java149 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)).build(); in testBuildDefaultConfig()
157 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)) in testBuildNonPersistentConfig()
167 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)) in testBuildConfigWithGroupClientIpProvisioningModeDefault()
179 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)) in testBuildConfigWithGroupClientIpProvisioningModeIpv4Dhcp()
192 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)) in testBuildConfigWithGroupClientIpProvisioningModeIpv6LinkLocal()
244 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)) in testBuildConfigWithJoinExistingGroupDefault()
254 .setDeviceAddress(MacAddress.fromString(DEVICE_ADDRESS)) in testBuildConfigWithJoinExistingGroupSet()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/
DFiraEncoderTest.java91 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x4, 0x6}))
139 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x4, 0x6}))
440 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x4, 0x6})) in testFiraOpenSessionParamsProvisionedStsWithSessionKey()
500 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x4, 0x6})) in testFiraOpenSessionParamsProvisionedStsWithoutSessionKey()
557 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x4, 0x6})) in testFiraOpenSessionParamsDynamicControleeIndKey()
617 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x4, 0x6})) in testFiraOpenSessionParamsProvControleeIndKeyWithSessionkey()
685 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x4, 0x6})) in testFiraOpenSessionParamsProvControleeIndKeyWithoutSessionkey()
745 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x4, 0x6})) in testFiraDlTdoaDtTagSession()
789 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x4, 0x6})) in testFiraDlTdoaDtTagSession_2_0()
838 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x4, 0x6})) in testFiraContentionbasedOpenSessionParams()
[all …]
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DScanFilter.java296 builder.setDeviceAddress(address, addressType, irk);
298 builder.setDeviceAddress(address, addressType);
741 public Builder setDeviceAddress(String deviceAddress) { in setDeviceAddress() method in ScanFilter.Builder
746 return setDeviceAddress(deviceAddress, BluetoothDevice.ADDRESS_TYPE_PUBLIC); in setDeviceAddress()
767 public Builder setDeviceAddress( in setDeviceAddress() method in ScanFilter.Builder
809 public Builder setDeviceAddress( in setDeviceAddress() method in ScanFilter.Builder
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/le/
DScanFilterTest.java38 .setDeviceAddress( in testIrkFilterParcelable()
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/
DLeScanningTest.java110 .setDeviceAddress( in scanForIrkIdentityAddress_withCallbackTypeAllMatches()
302 .setDeviceAddress(mBumble.getRemoteDevice().getAddress()) in startBleScan_withNonConnectablePublicAdvertisement()
331 .setDeviceAddress(mBumble.getRemoteDevice().getAddress()) in startBleScan_withNonConnectableScannablePublicAdvertisement()
DDckScanTest.kt74 .setDeviceAddress( in scanForIrkAndIdentityAddress_remoteFound()
DGattServerConnectWithScanTest.java201 ScanFilter scanFilter = new ScanFilter.Builder().setDeviceAddress(address).build(); in scanBumbleDevice()
DDckGattTest.kt238 .setDeviceAddress( in testGattConnect_fromIrkScan()
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/direct/snippet/
DJsonDeserializer.java46 builder.setDeviceAddress(MacAddress.fromString(jsonObject.getString(DEVICE_ADDRESS))); in jsonToWifiP2pConfig()
/packages/modules/Uwb/indev_uwb_adaptation/tests/src/com/android/server/uwb/indev/
DUwbServiceTest.java76 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x4, 0x6}))
/packages/modules/Uwb/service/support_lib/test/
DOemExtensionTests.java145 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x4, 0x6})) in testSessionConfigParams()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanFilterQueueTest.java186 .setDeviceAddress(deviceAddress) in queueAddScanFilter()
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java1011 .setDeviceAddress(UwbAddress.fromBytes(new byte[] {0x5, 0x6})) in makeOpenSessionBuilder()
1259 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x5, 6})) in testDlTdoaRangingSession()
1317 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x5, 0x6})) in testAdvertisingRangingSession()
1401 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x5, 6})) in testFiraRangingSessionWithProvisionedSTS()
1877 .setDeviceAddress(UwbAddress.fromBytes(new byte[]{0x5, 6})) in testOemCallbackExtension()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pConfig.java429 public Builder setDeviceAddress(@Nullable MacAddress deviceAddress) { in setDeviceAddress() method in WifiP2pConfig.Builder
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbSessionManagerTest.java1695 .setDeviceAddress(UwbAddress.fromBytes(new byte[] {(byte) 0x01, (byte) 0x02 })) in setupFiraParams()
3858 .setDeviceAddress(UwbAddress.fromBytes(new byte[] {(byte) 0x01, (byte) 0x02 })) in sendData_withZeroDataRepetitionCount()
3900 .setDeviceAddress(UwbAddress.fromBytes(new byte[] {(byte) 0x01, (byte) 0x02 })) in sendData_withNonZeroDataRepetitionCount()
4583 .setDeviceAddress(UwbAddress.fromBytes(new byte[] {(byte) 0x01, (byte) 0x02 })) in testSetDataTransferPhaseConfig()
4653 .setDeviceAddress(UwbAddress.fromBytes(new byte[] {(byte) 0x01, (byte) 0x02 })) in testSetDataTransferPhaseConfigNonZeroslotBitMap()
4872 .setDeviceAddress(UwbAddress.fromBytes(new byte[] {(byte) 0x01, (byte) 0x02 })) in testsetHybridSessionControllerConfiguration_shortMacAddress()
4932 .setDeviceAddress(UwbAddress.fromBytes(new byte[] {(byte) 0x01, (byte) 0x02 })) in testsetHybridSessionControllerConfiguration_extendedMacAddress()
5012 .setDeviceAddress(UwbAddress.fromBytes(new byte[] {(byte) 0x01, (byte) 0x02 })) in testsetHybridSessionControllerWithInvalidInvalidSessionType()
5044 .setDeviceAddress(UwbAddress.fromBytes(new byte[] {(byte) 0x01, (byte) 0x02 })) in testsetHybridSessionControllerWithInvalidScheduledMode()
5076 .setDeviceAddress(UwbAddress.fromBytes(new byte[] {(byte) 0x01, (byte) 0x02 })) in testsetHybridSessionControllerWithInvalidDeviceType()
[all …]
DUwbConfigurationManagerTest.java274 .setDeviceAddress(deviceAddress) in getFiraParams()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbShellCommand.java187 .setDeviceAddress(UwbAddress.fromBytes(new byte[] { 0x4, 0x6}))
492 builder.setDeviceAddress( in buildFiraOpenSessionParams()
772 .setDeviceAddress(UwbAddress.fromBytes(new byte[] { 0x4, 0x6})) in startDlTDoaRangingSession()
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/
DConfigurationManager.java521 .setDeviceAddress(Conversions.convertUwbAddress(localAddress, in createOpenSessionParams()
/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DUwbConfig.java547 .setDeviceAddress(sessionInfo.getDeviceAddress()) in getOpenSessionParams()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pShellCommand.java516 configBuilder.setDeviceAddress(MacAddress.fromString(deviceAddress)); in buildWifiP2pConfig()

12