Home
last modified time | relevance | path

Searched refs:AccountKey (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
H A DBluetoothFastPairTest.java258 FastPairUtils.AccountKey testKey = new FastPairUtils.AccountKey(TEST_ACCOUNT_KEY_1); in testAccountKeyCreation()
275 FastPairUtils.AccountKey generatedKey = mTestGattServer in tessECDHKeyGeneration()
283 FastPairUtils.AccountKey testKey = new FastPairUtils.AccountKey(TEST_ACCOUNT_KEY_1); in testStoredKeySelection()
296 FastPairUtils.AccountKey testKey = new FastPairUtils.AccountKey(TEST_SHARED_SECRET); in testNoValidKey()
306 FastPairUtils.AccountKey testKey = new FastPairUtils.AccountKey(TEST_ACCOUNT_KEY_2); in testDisableAfter10Failures()
320 FastPairUtils.AccountKey testKey = new FastPairUtils.AccountKey(TEST_SHARED_SECRET); in testIgnoreAfterTimeout()
336 FastPairUtils.AccountKey testKey = new FastPairUtils.AccountKey(TEST_SHARED_SECRET); in testInvalidPairingKey()
352 FastPairUtils.AccountKey testKey = new FastPairUtils.AccountKey(TEST_SHARED_SECRET); in testNoPairingKey()
367 FastPairUtils.AccountKey testKey = new FastPairUtils.AccountKey(TEST_SHARED_SECRET); in testValidPairingKeyAutoAccept()
387 FastPairUtils.AccountKey testKey = new FastPairUtils.AccountKey(TEST_SHARED_SECRET); in testValidPairingKeyNoAutoAccept()
[all …]
/aosp12/packages/services/Car/service/src/com/android/car/
H A DFastPairUtils.java46 List<FastPairUtils.AccountKey> keys = new ArrayList<>(); in getAccountKeyAdvertisement()
66 static byte[] bloom(List<AccountKey> keys, byte salt) { in bloom()
70 for (AccountKey key : keys) { in bloom()
87 static List<AccountKey> readStoredAccountKeys(Context context) { in readStoredAccountKeys()
88 List<AccountKey> keys = new ArrayList<>(); in readStoredAccountKeys()
96 keys.add(new FastPairUtils.AccountKey(readAccountKey)); in readStoredAccountKeys()
133 static class AccountKey { class in FastPairUtils
137 AccountKey(byte[] newKey) { in AccountKey() method in FastPairUtils.AccountKey
141 AccountKey(String newKey) { in AccountKey() method in FastPairUtils.AccountKey
155 if (!(obj instanceof AccountKey)) { in equals()
[all …]
H A DFastPairGattServer.java18 import static com.android.car.bluetooth.FastPairUtils.AccountKey;
96 private ArrayList<AccountKey> mKeys = new ArrayList<>();
353 FastPairUtils.AccountKey receivedKey = new FastPairUtils.AccountKey(decodedAccountKey); in processAccountKey()
378 AccountKey calculateAntiSpoofing(byte[] localPrivateKey, byte[] remotePublicKey) { in calculateAntiSpoofing()
412 return new AccountKey(AESAntiSpoofingKey); in calculateAntiSpoofing()
439 List<AccountKey> storedAccountKeys = FastPairUtils.readStoredAccountKeys(mContext); in processKeyBasedPairing()
440 for (AccountKey key : storedAccountKeys) { in processKeyBasedPairing()
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/
H A DContactLoader.java738 static private class AccountKey { class in ContactLoader
743 public AccountKey(String accountName, String accountType, String dataSet) { in AccountKey() method in ContactLoader.AccountKey
756 if (!(obj instanceof AccountKey)) { in equals()
759 final AccountKey other = (AccountKey) obj; in equals()
773 final HashSet<AccountKey> accountsSeen = new HashSet<>(); in loadGroupMetaData()
778 final AccountKey accountKey = new AccountKey(accountName, accountType, dataSet); in loadGroupMetaData()
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/model/
H A DContactLoader.java597 final HashSet<AccountKey> accountsSeen = new HashSet<>(); in loadGroupMetaData()
602 final AccountKey accountKey = new AccountKey(accountName, accountType, dataSet); in loadGroupMetaData()
971 private static class AccountKey { class in ContactLoader
977 public AccountKey(String accountName, String accountType, String dataSet) { in AccountKey() method in ContactLoader.AccountKey
990 if (!(obj instanceof AccountKey)) { in equals()
993 final AccountKey other = (AccountKey) obj; in equals()