Home
last modified time | relevance | path

Searched refs:expectedIndex (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/database/
DIndexInfo.java112 public boolean isEqual(IndexInfo expectedIndex) { in isEqual() argument
113 if (mIndexName.equals(expectedIndex.mIndexName) in isEqual()
114 && mTableName.equals(expectedIndex.mTableName) in isEqual()
115 && mCheckUniqueFlag == expectedIndex.mCheckUniqueFlag) { in isEqual()
117 List<String> expectedColumnList = expectedIndex.mColumnList; in isEqual()
130 IndexInfo expectedIndex, List<String> modificationOfIndex, String tableName) { in checkIndexDiff() argument
133 if (!expectedIndex.mColumnList.contains(columnName)) { in checkIndexDiff()
144 for (String columnName : expectedIndex.mColumnList) { in checkIndexDiff()
156 if (mCheckUniqueFlag != expectedIndex.mCheckUniqueFlag) { in checkIndexDiff()
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/
DPrivateIndexCalculationsTest.java48 int expectedIndex = 5; in testDoubleToIndex_maxValue_equalsMaxIndex() local
53 .isEqualTo(expectedIndex); in testDoubleToIndex_maxValue_equalsMaxIndex()
62 int expectedIndex = 0; in testDoubleToIndex_minValue_equalsMinIndex() local
67 .isEqualTo(expectedIndex); in testDoubleToIndex_minValue_equalsMinIndex()
76 int expectedIndex = 1; in testDoubleToIndex_middleValue_equalsInteriorIndex() local
81 .isEqualTo(expectedIndex); in testDoubleToIndex_middleValue_equalsInteriorIndex()
92 int expectedIndex = 2; in testDoubleToIndex_distanceAboveLambda_returnsUpperIndex() local
97 .isEqualTo(expectedIndex); in testDoubleToIndex_distanceAboveLambda_returnsUpperIndex()
108 int expectedIndex = 1; in testDoubleToIndex_distanceBelowLambda_returnsLowerIndex() local
113 .isEqualTo(expectedIndex); in testDoubleToIndex_distanceBelowLambda_returnsLowerIndex()
/packages/apps/Settings/src/com/android/settings/notification/app/
DChannelListPreferenceController.java169 @NonNull PreferenceCategory groupPrefsList, @Nullable String key, int expectedIndex) { in findOrCreateGroupCategoryForKey() argument
174 if (expectedIndex < preferenceCount) { in findOrCreateGroupCategoryForKey()
175 Preference preference = groupPrefsList.getPreference(expectedIndex); in findOrCreateGroupCategoryForKey()
183 preference.setOrder(expectedIndex); in findOrCreateGroupCategoryForKey()
188 groupCategory.setOrder(expectedIndex); in findOrCreateGroupCategoryForKey()
229 @NonNull PreferenceGroup groupPrefGroup, @NonNull String key, int expectedIndex) { in findOrCreateChannelPrefForKey() argument
231 if (expectedIndex < preferenceCount) { in findOrCreateChannelPrefForKey()
232 Preference preference = groupPrefGroup.getPreference(expectedIndex); in findOrCreateChannelPrefForKey()
240 preference.setOrder(expectedIndex); in findOrCreateChannelPrefForKey()
245 channelPref.setOrder(expectedIndex); in findOrCreateChannelPrefForKey()
/packages/inputmethods/LatinIME/native/jni/tests/utils/
Dint_array_view_test.cpp39 size_t expectedIndex = 0; in TEST() local
41 EXPECT_EQ(intVector[expectedIndex], element); in TEST()
42 ++expectedIndex; in TEST()
44 EXPECT_EQ(expectedIndex, intArrayView.size()); in TEST()
/packages/apps/Contacts/tests/src/com/android/contacts/format/
DFormatUtilsTests.java112 private void checkIndexOfWordPrefix(String text, String wordPrefix, int expectedIndex) { in checkIndexOfWordPrefix() argument
113 assertEquals(expectedIndex, FormatUtils.indexOfWordPrefix(text, wordPrefix)); in checkIndexOfWordPrefix()
/packages/apps/TV/libs/
Dtruth-0.45.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...