Home
last modified time | relevance | path

Searched refs:addressType (Results 1 – 18 of 18) sorted by relevance

/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DMacAddressTest.java48 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()
/aosp12/frameworks/base/core/java/android/bluetooth/le/
H A DScanFilter.java96 @AddressType int addressType, @Nullable byte[] irk) { in ScanFilter() argument
109 mAddressType = addressType; in ScanFilter()
261 final int addressType = in.readInt();
265 builder.setDeviceAddress(address, addressType, irk);
267 builder.setDeviceAddress(address, addressType);
640 @AddressType int addressType) { in setDeviceAddress() argument
670 @AddressType int addressType, in setDeviceAddress() argument
710 if (addressType < BluetoothDevice.ADDRESS_TYPE_PUBLIC in setDeviceAddressInternal()
711 || addressType > BluetoothDevice.ADDRESS_TYPE_RANDOM) { in setDeviceAddressInternal()
716 if (addressType == BluetoothDevice.ADDRESS_TYPE_RANDOM) { in setDeviceAddressInternal()
[all …]
H A DAdvertisingSetCallback.java162 public void onOwnAddressRead(AdvertisingSet advertisingSet, int addressType, String address) { in onOwnAddressRead() argument
H A DBluetoothLeAdvertiser.java618 public void onOwnAddressRead(int advertiserId, int addressType, String address) {
623 callback.onOwnAddressRead(advertisingSet, addressType, address);
/aosp12/packages/services/Car/service/src/com/android/car/
H A DFastPairAdvertiser.java186 public void onOwnAddressRead(AdvertisingSet advertisingSet, int addressType,
188 if (DBG) Log.d(TAG, "onOwnAddressRead Type= " + addressType + " Address= " + address);
/aosp12/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecMessageValidator.java55 public final int addressType; field in HdmiCecMessageValidator.ValidationInfo
59 addressType = type; in ValidationInfo()
267 (info.addressType & SRC_UNREGISTERED) == 0) { in isValid()
273 if ((info.addressType & DEST_BROADCAST) == 0) { in isValid()
278 if ((info.addressType & DEST_DIRECT) == 0) { in isValid()
/aosp12/system/bt/binder/android/bluetooth/le/
H A DIAdvertisingSetCallback.aidl24 void onOwnAddressRead(in int advertiserId, in int addressType, in String address); in onOwnAddressRead() argument
/aosp12/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
H A DPduComposer.java466 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()
H A DPduPersister.java1541 private void loadRecipients(final int addressType, final HashSet<String> recipients, in loadRecipients() argument
1543 final EncodedStringValue[] array = addressMap.get(addressType); in loadRecipients()
/aosp12/frameworks/base/telephony/common/com/google/android/mms/pdu/
H A DPduComposer.java480 int addressType = checkAddressType(address.getString()); in appendAddressType() local
482 if (PDU_PHONE_NUMBER_ADDRESS_TYPE == addressType) { in appendAddressType()
485 } else if (PDU_IPV4_ADDRESS_TYPE == addressType) { in appendAddressType()
488 } else if (PDU_IPV6_ADDRESS_TYPE == addressType) { in appendAddressType()
H A DPduPersister.java1436 private void loadRecipients(int addressType, HashSet<String> recipients, in loadRecipients() argument
1438 EncodedStringValue[] array = addressMap.get(addressType); in loadRecipients()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DAppScanStats.java462 private static String addressTypeToString(String address, int addressType) { in addressTypeToString() argument
463 switch (addressType) { in addressTypeToString()
478 return "INVALID[" + addressType + "]"; in addressTypeToString()
H A DAdvertiseManager.java212 void onOwnAddressRead(int advertiserId, int addressType, String address) in onOwnAddressRead() argument
225 callback.onOwnAddressRead(advertiserId, addressType, address); in onOwnAddressRead()
H A DPeriodicScanManager.java116 void onSyncStarted(int regId, int syncHandle, int sid, int addressType, String address, int phy, in onSyncStarted() argument
H A DGattService.java1157 void onScanResult(int eventType, int addressType, String address, int primaryPhy, in onScanResult() argument
1163 onScanResultInternal(eventType, addressType, address, primaryPhy, secondaryPhy, in onScanResult()
1167 void onScanResultInternal(int eventType, int addressType, String address, int primaryPhy, in onScanResultInternal() argument
1172 + ", addressType=" + addressType + ", address=" + address + ", primaryPhy=" in onScanResultInternal()
H A DScanManager.java1328 int scanIntervalUnit, int scanWindowUnit, int addressType, int discardRule); in gattClientStartBatchScanNative() argument
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/telephony/
H A DBluetoothInCallService.java678 int addressType = address == null ? -1 : PhoneNumberUtils.toaFromString(address); in sendClccForCall() local
686 + addressType); in sendClccForCall()
695 + addressType); in sendClccForCall()
698 index, direction, state, 0, isPartOfConference, address, addressType); in sendClccForCall()
/aosp12/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientAlternatesAdapter.java95 ArrayList<String> inAddresses, int addressType, Account account, in getMatchingRecipients() argument
99 if (addressType == QUERY_TYPE_EMAIL) { in getMatchingRecipients()