Home
last modified time | relevance | path

Searched refs:expectedValues (Results 1 – 16 of 16) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java976 protected void assertStoredValues(Uri rowUri, ContentValues expectedValues) { in assertStoredValues() argument
977 assertStoredValues(rowUri, null, null, expectedValues); in assertStoredValues()
980 protected void assertStoredValues(Uri rowUri, ContentValues... expectedValues) { in assertStoredValues() argument
981 assertStoredValues(rowUri, null, null, expectedValues); in assertStoredValues()
985 ContentValues expectedValues) { in assertStoredValues() argument
990 assertCursorValues(c, expectedValues); in assertStoredValues()
999 protected void assertContainsValues(Uri rowUri, ContentValues expectedValues) { in assertContainsValues() argument
1004 assertCursorValuesPartialMatch(c, expectedValues); in assertContainsValues()
1013 protected void assertStoredValuesWithProjection(Uri rowUri, ContentValues expectedValues) { in assertStoredValuesWithProjection() argument
1014 assertStoredValuesWithProjection(rowUri, new ContentValues[] {expectedValues}); in assertStoredValuesWithProjection()
[all …]
DLegacyContactsProviderTest.java469 ContentValues[] expectedValues = new ContentValues[1]; in testPhonesUpdate() local
470 expectedValues[0] = values; in testPhonesUpdate()
471 expectedValues[0].put(Phones.NUMBER_KEY, "36645550081"); in testPhonesUpdate()
472 assertStoredValues(uri, expectedValues); in testPhonesUpdate()
491 ContentValues[] expectedValues = new ContentValues[1]; in testPhonesFilterQuery() local
492 expectedValues[0] = values; in testPhonesFilterQuery()
493 expectedValues[0].put(Phones.NUMBER_KEY, "1144664008"); in testPhonesFilterQuery()
494 assertStoredValues(filterUri1, expectedValues); in testPhonesFilterQuery()
DContactsProvider2Test.java4577 ContentValues expectedValues = new ContentValues(values); in testSettingsLocalAccount() local
4579 expectedValues.put(Settings.UNGROUPED_VISIBLE, "1"); in testSettingsLocalAccount()
4580 expectedValues.put(Settings.SHOULD_SYNC, "0"); in testSettingsLocalAccount()
4582 assertStoredValues(Settings.CONTENT_URI, expectedValues); in testSettingsLocalAccount()
4588 expectedValues.put(Settings.UNGROUPED_VISIBLE, "0"); in testSettingsLocalAccount()
4589 expectedValues.put(Settings.SHOULD_SYNC, "1"); in testSettingsLocalAccount()
4590 assertStoredValues(Settings.CONTENT_URI, expectedValues); in testSettingsLocalAccount()
6094 ContentValues expectedValues = new ContentValues(); in testStreamItemInsertedOnStatusUpdate() local
6095 expectedValues.put(StreamItems.RAW_CONTACT_ID, rawContactId); in testStreamItemInsertedOnStatusUpdate()
6096 expectedValues.put(StreamItems.TEXT, "hacking"); in testStreamItemInsertedOnStatusUpdate()
[all …]
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/broadcast/
DBroadcastDispatcherTest.kt95 val expectedValues = listOf(testIntent to capturedReceiver?.broadcastReceiver) in <lambda>() constant
96 assertThat(expectedValues).isEqualTo(collectedValues) in <lambda>()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/
DAdvancedVolumeFragmentTest.java205 List<Boolean> expectedValues = Arrays.asList( in testOnPreferenceTreeClick_withDTSFormatsDisabled_disablesFormatInAudioManager() local
208 assertThat(formatEnabled.getAllValues()).containsExactlyElementsIn(expectedValues); in testOnPreferenceTreeClick_withDTSFormatsDisabled_disablesFormatInAudioManager()
252 List<Boolean> expectedValues = Arrays.asList( in testOnPreferenceTreeClick_withDTSFormatsEnabled_enablesFormatInAudioManager() local
255 assertThat(formatEnabled.getAllValues()).containsExactlyElementsIn(expectedValues); in testOnPreferenceTreeClick_withDTSFormatsEnabled_enablesFormatInAudioManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardManagerTest.java529 final List<Integer> expectedValues = Arrays.asList(VIEW_TYPE_FULL_WIDTH, in getCardsWithViewType_twoConsecutiveSuggestionCards_shouldHaveTwoHalfCards() local
538 assertThat(result.get(i).getViewType()).isEqualTo(expectedValues.get(i)); in getCardsWithViewType_twoConsecutiveSuggestionCards_shouldHaveTwoHalfCards()
574 final List<Integer> expectedValues = Arrays.asList(VIEW_TYPE_FULL_WIDTH, in getCardsWithViewType_threeConsecutiveSuggestionCards_shouldHaveTwoHalfCards() local
583 assertThat(result.get(i).getViewType()).isEqualTo(expectedValues.get(i)); in getCardsWithViewType_threeConsecutiveSuggestionCards_shouldHaveTwoHalfCards()
598 final List<Integer> expectedValues = Arrays.asList(VIEW_TYPE_FULL_WIDTH, in getCardsWithViewType_fourConsecutiveSuggestionCards_shouldHaveFourHalfCards() local
607 assertThat(result.get(i).getViewType()).isEqualTo(expectedValues.get(i)); in getCardsWithViewType_fourConsecutiveSuggestionCards_shouldHaveFourHalfCards()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/recentaccess/
DRecentAccessViewModelTest.kt587 expectedValues: List<RecentAccessEntry> in <lambda>()
592 assertThat(actualValues).hasSize(expectedValues.size) in <lambda>()
593 actualValues.zip(expectedValues).forEach { pair -> in <lambda>()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactDeltaListTests.java215 ContentValues expectedValues = expected.getOperation().resolveValueBackReferences( in assertDiffPattern() local
219 expectedValues.remove(BaseColumns._ID); in assertDiffPattern()
221 assertEquals("Unexpected values", expectedValues, foundValues); in assertDiffPattern()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java3697 int[] expectedValues = mTestUnusableEvents[index]; in verifyUnusableEvent() local
3698 assertEquals(expectedValues[0], event.type); in verifyUnusableEvent()
3699 assertEquals(expectedValues[1], event.lastScore); in verifyUnusableEvent()
3700 assertEquals(expectedValues[2], event.txSuccessDelta); in verifyUnusableEvent()
3701 assertEquals(expectedValues[3], event.txRetriesDelta); in verifyUnusableEvent()
3702 assertEquals(expectedValues[4], event.txBadDelta); in verifyUnusableEvent()
3703 assertEquals(expectedValues[5], event.rxSuccessDelta); in verifyUnusableEvent()
3704 assertEquals(expectedValues[6], event.packetUpdateTimeDelta); in verifyUnusableEvent()
3705 assertEquals(expectedValues[7], event.firmwareAlertCode); in verifyUnusableEvent()
3706 assertEquals(expectedValues[8], event.lastWifiUsabilityScore); in verifyUnusableEvent()
[all …]
/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp70 vector<int> expectedValues(expectedValuesList); in assertPastBucketValuesSingleKey() local
76 ASSERT_EQ(expectedValues.size(), expectedDurationNs.size()); in assertPastBucketValuesSingleKey()
77 ASSERT_EQ(expectedValues.size(), expectedStartTimeNs.size()); in assertPastBucketValuesSingleKey()
78 ASSERT_EQ(expectedValues.size(), expectedEndTimeNs.size()); in assertPastBucketValuesSingleKey()
79 ASSERT_EQ(expectedValues.size(), expectedCorrectionNs.size()); in assertPastBucketValuesSingleKey()
81 if (expectedValues.size() == 0) { in assertPastBucketValuesSingleKey()
87 ASSERT_EQ(expectedValues.size(), mPastBuckets.begin()->second.size()); in assertPastBucketValuesSingleKey()
90 for (int i = 0; i < expectedValues.size(); i++) { in assertPastBucketValuesSingleKey()
91 EXPECT_EQ(expectedValues[i], buckets[i].aggregates[0].long_value) in assertPastBucketValuesSingleKey()
/packages/apps/TV/libs/
Dtruth-0.45.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...