Searched refs:AccountKey (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | BluetoothFastPairTest.java | 206 List<FastPairUtils.AccountKey> testKeys = new ArrayList(); in bloomFilterOneKeyTest() 207 testKeys.add(new FastPairUtils.AccountKey(TEST_ACCOUNT_KEY_1)); in bloomFilterOneKeyTest() 215 List<FastPairUtils.AccountKey> testKeys = new ArrayList(); in bloomFilterTwoKeyTest() 216 testKeys.add(new FastPairUtils.AccountKey(TEST_ACCOUNT_KEY_1)); in bloomFilterTwoKeyTest() 217 testKeys.add(new FastPairUtils.AccountKey(TEST_ACCOUNT_KEY_2)); in bloomFilterTwoKeyTest() 225 List<FastPairUtils.AccountKey> testKeys = FastPairUtils.readStoredAccountKeys(mMockContext); in readAccountKeysTest() 235 List<FastPairUtils.AccountKey> testKeys = new ArrayList(); in getAccountKeyTest() 236 testKeys.add(new FastPairUtils.AccountKey(TEST_ACCOUNT_KEY_1)); in getAccountKeyTest() 237 testKeys.add(new FastPairUtils.AccountKey(TEST_ACCOUNT_KEY_2)); in getAccountKeyTest() 255 FastPairUtils.AccountKey testKey = new FastPairUtils.AccountKey(TEST_ACCOUNT_KEY_1); in testAccountKeyCreation() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | FastPairUtils.java | 46 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() 106 static void writeStoredAccountKeys(Context context, List<AccountKey> keys) { in writeStoredAccountKeys() 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 [all …]
|
D | FastPairGattServer.java | 18 import static com.android.car.bluetooth.FastPairUtils.AccountKey; 95 private ArrayList<AccountKey> mKeys = new ArrayList<>(); 348 FastPairUtils.AccountKey receivedKey = new FastPairUtils.AccountKey(decodedAccountKey); in processAccountKey() 373 AccountKey calculateAntiSpoofing(byte[] localPrivateKey, byte[] remotePublicKey) { in calculateAntiSpoofing() 407 return new AccountKey(AESAntiSpoofingKey); in calculateAntiSpoofing() 434 List<AccountKey> storedAccountKeys = FastPairUtils.readStoredAccountKeys(mContext); in processKeyBasedPairing() 435 for (AccountKey key : storedAccountKeys) { in processKeyBasedPairing()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ContactLoader.java | 738 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()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | ContactLoader.java | 597 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()
|