Home
last modified time | relevance | path

Searched refs:getAddressType (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/
DHidHostService.java247 private int getAddressType(BluetoothDevice device) { in getAddressType() method in HidHostService
249 return device.getAddressType(); in getAddressType()
335 getByteAddress(device, transport), getAddressType(device), transport)) { in nativeConnect()
364 getAddressType(device), in nativeDisconnect()
453 getByteAddress(device), getAddressType(device), getTransport(device), report)) { in handleMessageSendData()
496 getByteAddress(device), getAddressType(device), getTransport(device), idleTime)) { in handleMessageSetIdleTime()
516 getByteAddress(device), getAddressType(device), getTransport(device))) { in handleMessageGetIdleTime()
538 getAddressType(device), in handleMessageSetReport()
578 getAddressType(device), in handleMessageGetReport()
593 getAddressType(device), in handleMessageSetProtocolMode()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DPeriodicAdvertisementResultTest.java65 assertThat(result.getAddressType()).isEqualTo(addressType); in constructor()
96 assertThat(result.getAddressType()).isEqualTo(newAddressType); in updateMethods()
DBassClientStateMachineTest.java812 (byte) (mSourceTestDevice.getAddressType() & 0xFF), // sourceAddressType in gattCallbackOnCharacteristicRead()
1442 (byte) (mSourceTestDevice.getAddressType() & 0xFF), // sourceAddressType in sendUpdateBcastSourceMessage_inConnectedState()
1549 (byte) (mSourceTestDevice.getAddressType() & 0xFF), // sourceAddressType in sendSetBcastCodeMessage_inConnectedState()
1671 (byte) (mSourceTestDevice.getAddressType() & 0xFF), // sourceAddressType in receiveSinkReceiveState_inConnectedState()
1717 assertThat(recvState.getSourceAddressType()).isEqualTo(mSourceTestDevice.getAddressType()); in receiveSinkReceiveState_inConnectedState()
DBassClientServiceTest.java2991 testDevice.getAddressType(), in testPeriodicAdvertisementResultMap_updateGetAndModifyNotifiedFlag()
3016 assertThat(paResult.getAddressType()).isEqualTo(BluetoothDevice.ADDRESS_TYPE_RANDOM); in testPeriodicAdvertisementResultMap_updateGetAndModifyNotifiedFlag()
3053 testDevice.getAddressType(), in testPeriodicAdvertisementResultMap_syncEstablishedOnTheSameSyncHandle()
3076 assertThat(paResult.getAddressType()).isEqualTo(BluetoothDevice.ADDRESS_TYPE_RANDOM); in testPeriodicAdvertisementResultMap_syncEstablishedOnTheSameSyncHandle()
3087 testDevice.getAddressType(), in testPeriodicAdvertisementResultMap_syncEstablishedOnTheSameSyncHandle()
3109 assertThat(paResult.getAddressType()).isEqualTo(BluetoothDevice.ADDRESS_TYPE_RANDOM); in testPeriodicAdvertisementResultMap_syncEstablishedOnTheSameSyncHandle()
3157 testDevice.getAddressType(), in testSyncHandleToBroadcastIdMap_getSyncHandleAndGetBroadcastId()
/packages/modules/Connectivity/tests/unit/java/android/net/
DMacAddressTest.java78 assertEquals(got, MacAddress.fromBytes(t.addr).getAddressType()); in testMacAddrTypes()
202 assertEquals(MacAddress.TYPE_UNICAST, mac.getAddressType()); in testMacAddressRandomGeneration()
213 assertEquals(MacAddress.TYPE_UNICAST, mac.getAddressType()); in testMacAddressRandomGeneration()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DMacAddressTest.java105 if (tc.addressType != mac.getAddressType()) { in testMacAddress()
107 typeToString(tc.addressType), typeToString(mac.getAddressType()))); in testMacAddress()
/packages/modules/Connectivity/framework/src/android/net/
DMacAddress.java110 public @MacAddressType int getAddressType() { in getAddressType() method in MacAddress
217 return MacAddress.fromBytes(addr).getAddressType(); in macAddressType()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DMacAddressUtilsTest.java73 assertEquals(MacAddress.TYPE_UNICAST, mac.getAddressType()); in testMacAddressRandomGeneration()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DAdvtFilterOnFoundOnLostInfo.java105 public int getAddressType() { in getAddressType() method in AdvtFilterOnFoundOnLostInfo
DScanFilterQueue.java222 filter.getDeviceAddress(), (byte) filter.getAddressType(), filter.getIrk()); in addScanFilter()
DTransitionalScanHelper.java963 + trackingInfo.getAddressType() in onTrackAdvFoundLost()
979 trackingInfo.getAddress(), trackingInfo.getAddressType()); in onTrackAdvFoundLost()
1497 if (filter.getAddressType() == BluetoothDevice.ADDRESS_TYPE_PUBLIC in enforcePrivilegedPermissionIfNeeded()
DPeriodicScanManager.java287 int addressType = scanResult.getDevice().getAddressType(); in startSync()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DAdvtFilterOnFoundOnLostInfoTest.java72 assertThat(advtFilterOnFoundOnLostInfo.getAddressType()).isEqualTo(addrType); in advtFilterOnFoundOnLostInfoParams()
DTransitionalScanHelperTest.java463 assertThat(result.getValue().getDevice().getAddressType()).isEqualTo(addrType); in onTrackAdvFoundLost()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DPeriodicAdvertisementResult.java95 public int getAddressType() { in getAddressType() method in PeriodicAdvertisementResult
DBassClientStateMachine.java501 scanRes.getDevice().getAddressType(), in selectSource()
649 metaData.setSourceDevice(device, device.getAddressType()); in getBroadcastMetadataFromBaseData()
/packages/modules/Bluetooth/flags/
Dframework.aconfig54 description: "Change visibility of BluetoothDevice#getAddressType API to public"
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java482 if (bssid.getAddressType() != MacAddress.TYPE_UNICAST) { in validateBssid()
805 if (baseAddress.getAddressType() != MacAddress.TYPE_UNICAST) { in validateBssidPattern()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGatt.java279 mDevice.getAddressType(),
1227 mDevice.getAddressType(), in connect()
DBluetoothGattServer.java728 device.getAddressType(), in connect()
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DScanFilter.java365 public @AddressType int getAddressType() { in getAddressType() method in ScanFilter
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DBondStateMachine.java419 int addrType = dev.getAddressType(); in createBond()
DRemoteDevices.java1002 bdDevice.getAddressType(), in devicePropertyChangedCallback()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java1501 device.getAddressType(), in logManufacturerInfo()
/packages/modules/Wifi/framework/java/android/net/wifi/
DSoftApConfiguration.java1569 if (bssid.getAddressType() != MacAddress.TYPE_UNICAST) { in setBssid()

12