/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/ |
D | HidHostNativeInterface.java | 61 boolean connectHid(byte[] address, int addressType, int transport) { in connectHid() argument 62 return connectHidNative(address, addressType, transport); in connectHid() 66 byte[] address, int addressType, int transport, boolean reconnectAllowed) { in disconnectHid() argument 67 return disconnectHidNative(address, addressType, transport, reconnectAllowed); in disconnectHid() 70 boolean getProtocolMode(byte[] address, int addressType, int transport) { in getProtocolMode() argument 71 return getProtocolModeNative(address, addressType, transport); in getProtocolMode() 74 boolean virtualUnPlug(byte[] address, int addressType, int transport) { in virtualUnPlug() argument 75 return virtualUnPlugNative(address, addressType, transport); in virtualUnPlug() 78 boolean setProtocolMode(byte[] address, int addressType, int transport, byte protocolMode) { in setProtocolMode() argument 79 return setProtocolModeNative(address, addressType, transport, protocolMode); in setProtocolMode() [all …]
|
D | HidHostService.java | 1274 void onGetProtocolMode(byte[] address, int addressType, int transport, int mode) { in onGetProtocolMode() argument 1283 void onGetIdleTime(byte[] address, int addressType, int transport, int idleTime) { in onGetIdleTime() argument 1292 void onGetReport(byte[] address, int addressType, int transport, byte[] report, int rptSize) { in onGetReport() argument 1304 void onHandshake(byte[] address, int addressType, int transport, int status) { in onHandshake() argument 1313 void onVirtualUnplug(byte[] address, int addressType, int transport, int status) { in onVirtualUnplug() argument 1322 void onConnectStateChanged(byte[] address, int addressType, int transport, int state) { in onConnectStateChanged() argument
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | MacAddressTest.java | 48 final int addressType; field in MacAddressTest.TestCase 51 TestCase(String macAddress, String ouiString, int addressType, boolean isLocallyAssigned) { in TestCase() argument 54 this.addressType = addressType; in TestCase() 62 static String typeToString(int addressType) { in typeToString() argument 63 switch (addressType) { in typeToString() 105 if (tc.addressType != mac.getAddressType()) { in testMacAddress() 107 typeToString(tc.addressType), typeToString(mac.getAddressType()))); in testMacAddress()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/ |
D | PeriodicAdvertisementResultTest.java | 47 int addressType = 1; in constructor() local 57 addressType, in constructor() 65 assertThat(result.getAddressType()).isEqualTo(addressType); in constructor() 76 int addressType = 1; in updateMethods() local 86 addressType, in updateMethods() 125 int addressType = 1; in print_doesNotCrash() local 135 addressType, in print_doesNotCrash()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/ |
D | PeriodicAdvertisementResult.java | 38 int addressType, in PeriodicAdvertisementResult() argument 46 mAddressType = addressType; in PeriodicAdvertisementResult() 90 public void updateAddressType(int addressType) { in updateAddressType() argument 91 mAddressType = addressType; in updateAddressType()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | ScanFilter.java | 101 @AddressType int addressType, in ScanFilter() argument 119 mAddressType = addressType; in ScanFilter() 292 final int addressType = in.readInt(); 296 builder.setDeviceAddress(address, addressType, irk); 298 builder.setDeviceAddress(address, addressType); 768 @NonNull String deviceAddress, @AddressType int addressType) { in setDeviceAddress() argument 769 return setDeviceAddressInternal(deviceAddress, addressType, null); in setDeviceAddress() 810 @NonNull String deviceAddress, @AddressType int addressType, @NonNull byte[] irk) { in setDeviceAddress() argument 815 return setDeviceAddressInternal(deviceAddress, addressType, irk); in setDeviceAddress() 837 @NonNull String deviceAddress, @AddressType int addressType, @Nullable byte[] irk) { in setDeviceAddressInternal() argument [all …]
|
D | AdvertisingSetCallback.java | 136 public void onOwnAddressRead(AdvertisingSet advertisingSet, int addressType, String address) {} in onOwnAddressRead() argument
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | LeAdvertisingTest.java | 72 int addressType = addressPair.second; in scanWithBumble() local 85 addressType == AdvertisingSetParameters.ADDRESS_TYPE_PUBLIC in scanWithBumble() 128 AdvertisingSet advertisingSet, int addressType, String address) { in startAdvertising() 133 + addressType in startAdvertising() 136 future.complete(new Pair<String, Integer>(address, addressType)); in startAdvertising()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/ |
D | ScanNativeInterface.java | 113 int addressType, in gattClientStartBatchScanNative() argument 191 int addressType, in gattClientStartBatchScan() argument 194 clientIf, scanMode, scanIntervalUnit, scanWindowUnit, addressType, discardRule); in gattClientStartBatchScan() 228 int addressType, in onScanResult() argument 244 addressType, in onScanResult()
|
D | PeriodicScanManager.java | 179 int addressType, in onSyncStarted() argument 211 mAdapter.getRemoteLeDevice(address, addressType), in onSyncStarted() 219 mAdapter.getRemoteLeDevice(address, addressType), in onSyncStarted() 287 int addressType = scanResult.getDevice().getAddressType(); in startSync() local 294 + addressType in startSync() 316 mAdapter.getRemoteLeDevice(address, addressType), in startSync()
|
D | PeriodicScanNativeInterface.java | 95 int addressType, in onSyncStarted() argument 107 mManager.onSyncStarted(regId, syncHandle, sid, addressType, address, phy, interval, status); in onSyncStarted()
|
D | TransitionalScanHelper.java | 300 int addressType, in onScanResult() argument 316 addressType, in onScanResult() 331 int addressType, in onScanResultInternal() argument 346 + addressType in onScanResultInternal() 386 BluetoothAdapter.getDefaultAdapter().getRemoteLeDevice(address, addressType); in onScanResultInternal()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/bluetooth/le/ |
D | AdvertisingSetCallbackHelper.java | 147 public void onOwnAddressRead(AdvertisingSet advertisingSet, int addressType, in onOwnAddressRead() argument 221 public void onOwnAddressRead(AdvertisingSet advertisingSet, int addressType, in createRealCallbackFromProxy() 223 proxy.onOwnAddressRead(advertisingSet, addressType, address); in createRealCallbackFromProxy()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/ |
D | GattNativeInterface.java | 293 int addressType, in gattClientConnectNative() argument 354 int serverIf, String address, int addressType, boolean isDirect, int transport); in gattServerConnectNative() argument 447 int addressType, in gattClientConnect() argument 453 clientIf, address, addressType, isDirect, transport, opportunistic, initiatingPhys); in gattClientConnect() 595 int serverIf, String address, int addressType, boolean isDirect, int transport) { in gattServerConnect() argument 596 gattServerConnectNative(serverIf, address, addressType, isDirect, transport); in gattServerConnect()
|
D | AdvertiseManagerNativeInterface.java | 129 void onOwnAddressRead(int advertiserId, int addressType, String address) throws Exception { in onOwnAddressRead() argument 130 mManager.onOwnAddressRead(advertiserId, addressType, address); in onOwnAddressRead()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AdapterNativeInterface.java | 112 boolean createBond(byte[] address, int addressType, int transport) { in createBond() argument 113 return createBondNative(address, addressType, transport); in createBond() 296 private native boolean createBondNative(byte[] address, int addressType, int transport); in createBondNative() argument
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/ |
D | GattServiceBinderTest.java | 193 int addressType = BluetoothDevice.ADDRESS_TYPE_RANDOM; in clientConnect() local 202 addressType, in clientConnect() 213 addressType, in clientConnect() 500 int addressType = BluetoothDevice.ADDRESS_TYPE_RANDOM; in serverConnect() local 505 serverIf, address, addressType, isDirect, transport, mAttributionSource); in serverConnect() 509 serverIf, address, addressType, isDirect, transport, mAttributionSource); in serverConnect()
|
D | GattServiceTest.java | 248 int addressType = BluetoothDevice.ADDRESS_TYPE_RANDOM; in clientConnect() local 257 addressType, in clientConnect() 266 clientIf, address, addressType, isDirect, transport, opportunistic, phy); in clientConnect() 546 int addressType = BluetoothDevice.ADDRESS_TYPE_RANDOM; in serverConnect() local 551 serverIf, address, addressType, isDirect, transport, mAttributionSource); in serverConnect() 553 .gattServerConnect(serverIf, address, addressType, isDirect, transport); in serverConnect()
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | FastPairAdvertiser.java | 338 public void onOwnAddressRead(AdvertisingSet advertisingSet, int addressType, in initializeAdvertisingSetCallback() 340 onOwnAddressReadHandler(addressType, address); in initializeAdvertisingSetCallback() 371 private void onOwnAddressReadHandler(int addressType, String address) { in onOwnAddressReadHandler() argument 372 if (DBG) Slogf.d(TAG, "onOwnAddressRead Type= %d, Address= %s", addressType, address); in onOwnAddressReadHandler()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/builtin/bluetooth/le/ |
D | AdvertisingSetCallbackHelperTest.java | 220 public void onOwnAddressRead(AdvertisingSet advertisingSet, int addressType, in integrationTest_onAdvertisingSetStarted_onOwnAddressRead() 223 + advertisingSet + ", addressType=" + addressType + ", address=" in integrationTest_onAdvertisingSetStarted_onOwnAddressRead()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduComposer.java | 466 final int addressType = checkAddressType(address.getString()); in appendAddressType() local 468 if (PDU_PHONE_NUMBER_ADDRESS_TYPE == addressType) { in appendAddressType() 471 } else if (PDU_IPV4_ADDRESS_TYPE == addressType) { in appendAddressType() 474 } else if (PDU_IPV6_ADDRESS_TYPE == addressType) { in appendAddressType()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/ |
D | BluetoothMethodProxy.java | 152 public BluetoothDevice getDefaultAdapterRemoteLeDevice(String address, int addressType) { in getDefaultAdapterRemoteLeDevice() argument 153 return BluetoothAdapter.getDefaultAdapter().getRemoteLeDevice(address, addressType); in getDefaultAdapterRemoteLeDevice()
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/le/ |
D | IAdvertisingSetCallback.aidl | 24 void onOwnAddressRead(in int advertiserId, in int addressType, in String address); in onOwnAddressRead() argument
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/ |
D | BluetoothInCallService.java | 851 int addressType = address == null ? -1 : PhoneNumberUtils.toaFromString(address); in sendListOfCalls() local 855 index, direction, state, 0, isPartOfConference, address, addressType in sendListOfCalls() 989 int addressType = address == null ? -1 : PhoneNumberUtils.toaFromString(address); in sendClccForCall() local 1003 + addressType); in sendClccForCall() 1018 + addressType); in sendClccForCall() 1021 index, direction, state, 0, isPartOfConference, address, addressType); in sendClccForCall()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothDevice.java | 1419 /*package*/ BluetoothDevice(String address, int addressType) { in BluetoothDevice() argument 1424 if (addressType != ADDRESS_TYPE_PUBLIC in BluetoothDevice() 1425 && addressType != ADDRESS_TYPE_RANDOM in BluetoothDevice() 1426 && addressType != ADDRESS_TYPE_ANONYMOUS) { in BluetoothDevice() 1427 throw new IllegalArgumentException(addressType + " is not a Bluetooth address type"); in BluetoothDevice() 1430 if (addressType == ADDRESS_TYPE_ANONYMOUS && !NULL_MAC_ADDRESS.equals(address)) { in BluetoothDevice() 1436 mAddressType = addressType; in BluetoothDevice()
|