/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | FastPairAccountKeyStorageTest.java | 243 ArrayList<AccountKey> expectedKeys = in testAddKeyWhileStorageEmpty_keyAdded() local 246 assertThat(returnedKeys).isEqualTo(expectedKeys); in testAddKeyWhileStorageEmpty_keyAdded() 247 assertPersistedKeys(expectedKeys); in testAddKeyWhileStorageEmpty_keyAdded() 262 ArrayList<AccountKey> expectedKeys = new ArrayList<AccountKey>(List.of( in testAddKeyWhileStorageAtMax_keyAddedAndLruDropped() local 269 assertThat(returnedKeys).isEqualTo(expectedKeys); in testAddKeyWhileStorageAtMax_keyAddedAndLruDropped() 270 assertPersistedKeys(expectedKeys); in testAddKeyWhileStorageAtMax_keyAddedAndLruDropped() 285 ArrayList<AccountKey> expectedKeys = new ArrayList<AccountKey>(List.of( in testAddKeyAlreadyInStorage_KeysLruPositionReset() local 292 assertThat(returnedKeys).isEqualTo(expectedKeys); in testAddKeyAlreadyInStorage_KeysLruPositionReset() 293 assertPersistedKeys(expectedKeys); in testAddKeyAlreadyInStorage_KeysLruPositionReset() 308 ArrayList<AccountKey> expectedKeys = new ArrayList<AccountKey>(List.of( in testAddNullKey_nothingHappens() local [all …]
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkDexVerifierUnitTest.java | 85 String[] expectedKeys = { in getApiTokens_fullyQualifiedRule() local 97 assertThat(keys).isEqualTo(expectedKeys); in getApiTokens_fullyQualifiedRule() 107 String[] expectedKeys = { in getApiTokens_classAndMethodRule() local 118 assertThat(keys).isEqualTo(expectedKeys); in getApiTokens_classAndMethodRule() 131 String[] expectedKeys = { in getApiTokens_multiParam() local 144 assertThat(keys).isEqualTo(expectedKeys); in getApiTokens_multiParam() 154 String[] expectedKeys = { in getApiTokens_classReturn() local 160 assertThat(keys).isEqualTo(expectedKeys); in getApiTokens_classReturn() 170 String[] expectedKeys = { in getApiTokens_classAndParams() local 176 assertThat(keys).isEqualTo(expectedKeys); in getApiTokens_classAndParams()
|
/packages/modules/SdkExtensions/javatests/com/android/os/ext/ |
D | SdkExtensionsTest.java | 169 Set<Integer> expectedKeys = new HashSet<>(); in testGetAllExtensionVersionsKeys() local 170 expectedKeys.add(VERSION_CODES.R); in testGetAllExtensionVersionsKeys() 172 expectedKeys.add(VERSION_CODES.S); in testGetAllExtensionVersionsKeys() 175 expectedKeys.add(VERSION_CODES.TIRAMISU); in testGetAllExtensionVersionsKeys() 176 expectedKeys.add(AD_SERVICES); in testGetAllExtensionVersionsKeys() 179 expectedKeys.add(UPSIDE_DOWN_CAKE); in testGetAllExtensionVersionsKeys() 182 expectedKeys.add(VANILLA_ICE_CREAM); in testGetAllExtensionVersionsKeys() 185 expectedKeys.add(BAKLAVA); in testGetAllExtensionVersionsKeys() 188 assertThat(actualKeys).containsExactlyElementsIn(expectedKeys); in testGetAllExtensionVersionsKeys()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/vendor/ |
D | OnDevicePersonalizationVendorDataDaoTest.java | 137 Set<String> expectedKeys = new HashSet<>(); in testGetAllVendorKeys() local 138 expectedKeys.add("key"); in testGetAllVendorKeys() 139 expectedKeys.add("key2"); in testGetAllVendorKeys() 140 expectedKeys.add("large"); in testGetAllVendorKeys() 141 expectedKeys.add("large2"); in testGetAllVendorKeys() 142 expectedKeys.add("xlarge"); in testGetAllVendorKeys() 143 assertEquals(expectedKeys, keys); in testGetAllVendorKeys()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | ExpectedKeyboardBuilder.java | 222 final ExpectedKey[] expectedKeys = joinKeys(keys); in insertKeysAtRow() local 224 setElementAt(row, column + index, expectedKeys[index], true /* insert */); in insertKeysAtRow() 239 final ExpectedKey[] expectedKeys = joinKeys(keys); in addKeysOnTheLeftOfRow() local 242 setElementAt(row, 1, expectedKeys[index], true /* insert */); in addKeysOnTheLeftOfRow()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | ToggleReduceBrightColorsPreferenceFragmentTest.java | 52 String[] expectedKeys = {KEY_SHORTCUT, KEY_SWITCH}; in getRawDataToIndex_flagOn_returnPreferencesCreatedInCodes() local 67 assertThat(keysResultList).containsAtLeastElementsIn(expectedKeys); in getRawDataToIndex_flagOn_returnPreferencesCreatedInCodes()
|
D | ToggleDaltonizerPreferenceFragmentTest.java | 170 String[] expectedKeys = {KEY_SHORTCUT_PREFERENCE, KEY_SWITCH_PREFERENCE}; in getRawDataToIndex_flagOn_returnAllIndexablePreferences() local 185 assertThat(keysResultList).containsExactly(expectedKeys); in getRawDataToIndex_flagOn_returnAllIndexablePreferences()
|
D | ToggleColorInversionPreferenceFragmentTest.java | 205 String[] expectedKeys = {KEY_SHORTCUT_PREFERENCE, KEY_SWITCH_PREFERENCE}; in getRawDataToIndex_flagOn_returnAllIndexablePreferences() local 220 assertThat(keysResultList).containsExactly(expectedKeys); in getRawDataToIndex_flagOn_returnAllIndexablePreferences()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/aggregation/ |
D | AggregateEncryptionKeyManagerTest.java | 142 List<AggregateEncryptionKey> expectedKeys = getExpectedKeys(LOCALHOST); in getAggregateEncryptionKeys_localhostCoordinator_doesNotCacheKeys() local 144 doReturn(Optional.of(expectedKeys)).when(mFetcher).fetch(any(), any(Uri.class), anyLong()); in getAggregateEncryptionKeys_localhostCoordinator_doesNotCacheKeys() 159 AggregateEncryptionKeyTestUtil.isSuperset(expectedKeys, providedKeys) in getAggregateEncryptionKeys_localhostCoordinator_doesNotCacheKeys()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactLocaleUtilsTest.java | 308 private void verifyKeys(final Iterator<String> resultKeys, final String[] expectedKeys) in verifyKeys() argument 314 assertEquals(new HashSet<String>(Arrays.asList(expectedKeys)), allKeys); in verifyKeys()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | PreprocessingManagerTest.java | 679 String[] expectedKeys = new String[expected.size()]; in onAdditionalGroupAndRank_isGroupSummary_returnsTheSameGroupsAsStandardGroup() local 680 for (int i = 0; i < expectedKeys.length; i++) { in onAdditionalGroupAndRank_isGroupSummary_returnsTheSameGroupsAsStandardGroup() 681 expectedKeys[i] = expected.get(i).getGroupKey(); in onAdditionalGroupAndRank_isGroupSummary_returnsTheSameGroupsAsStandardGroup() 693 Arrays.sort(expectedKeys); in onAdditionalGroupAndRank_isGroupSummary_returnsTheSameGroupsAsStandardGroup() 694 assertThat(actualKeys).isEqualTo(expectedKeys); in onAdditionalGroupAndRank_isGroupSummary_returnsTheSameGroupsAsStandardGroup()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | UserSettingsTest.java | 229 String[] expectedKeys = {KEY_ALLOW_MULTIPLE_USERS, KEY_USER_SETTINGS_SCREEN, KEY_ADD_USER}; in testGetRawDataToIndex_returnAllIndexablePreferences() local 239 assertThat(keysResultList).containsExactly(expectedKeys); in testGetRawDataToIndex_returnAllIndexablePreferences()
|