Home
last modified time | relevance | path

Searched refs:entry2 (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DTrafficStatsRateLimitCacheTest.kt68 val entry2 = mock(Entry::class.java) in testPutAndGet_retrievesCorrectEntryForDifferentKeys() constant
71 cache.put("iface2", 4, entry2) in testPutAndGet_retrievesCorrectEntryForDifferentKeys()
74 assertEquals(entry2, cache.get("iface2", 4)) in testPutAndGet_retrievesCorrectEntryForDifferentKeys()
80 val entry2 = mock(Entry::class.java) in testPut_overridesExistingEntry() constant
83 cache.put("iface", 2, entry2) // Put with the same key in testPut_overridesExistingEntry()
85 assertEquals(entry2, cache.get("iface", 2)) in testPut_overridesExistingEntry()
92 val entry2 = mock(Entry::class.java) in testPut_removeLru() constant
96 cache.put("iface2", 4, entry2) in testPut_removeLru()
100 assertEquals(entry2, cache.get("iface2", 4)) in testPut_removeLru()
DNetworkStatsServiceTest.java1405 final NetworkStats.Entry entry2 = new NetworkStats.Entry( in testUidStatsForTransport() local
1424 .insertEntry(entry2) in testUidStatsForTransport()
/packages/modules/Connectivity/tests/common/java/android/net/netstats/
DNetworkStatsHistoryTest.kt42 val entry2 = NetworkStatsHistory.Entry(30, 15, 3, 41, 7, 1, 0) in <lambda>() constant
57 .addEntry(entry1).addEntry(entry2).addEntry(entry3) in <lambda>()
61 statsMultiple.assertEntriesEqual(entry3, entry1, entry2) in <lambda>()
67 val entry2 = NetworkStatsHistory.Entry(30, 15, 3, 41, 7, 1, 0) in <lambda>() constant
80 .addEntry(entry1).addEntry(entry2).addEntry(entry3) in <lambda>()
DNetworkStatsCollectionTest.kt48 val entry2 = NetworkStatsHistory.Entry(30, 10, 3, 41, 7, 1, 0) in testBuilder() constant
51 .addEntry(entry2) in testBuilder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeBypassingAppsPreferenceControllerTest.java128 ApplicationsState.AppEntry entry2 = mock(ApplicationsState.AppEntry.class); in testUpdateBypassingApps_multipleApps() local
129 entry2.info = new ApplicationInfo(); in testUpdateBypassingApps_multipleApps()
130 entry2.info.packageName = "test2"; in testUpdateBypassingApps_multipleApps()
131 entry2.label = "test2"; in testUpdateBypassingApps_multipleApps()
132 entry2.info.uid = 2; in testUpdateBypassingApps_multipleApps()
136 appEntries.add(entry2); in testUpdateBypassingApps_multipleApps()
145 when(mBackend.getNotificationChannelsBypassingDnd(entry2.info.packageName, in testUpdateBypassingApps_multipleApps()
146 entry2.info.uid)).thenReturn(new ParceledListSlice<>(channelsBypassing)); in testUpdateBypassingApps_multipleApps()
154 assertThat(mController.getSummary().contains(entry2.label)).isTrue(); in testUpdateBypassingApps_multipleApps()
DZenModeAllBypassingAppsPreferenceControllerTest.java91 ApplicationsState.AppEntry entry2 = mock(ApplicationsState.AppEntry.class); in testUpdateAppList() local
92 entry2.info = new ApplicationInfo(); in testUpdateAppList()
93 entry2.info.packageName = "test2"; in testUpdateAppList()
94 entry2.info.uid = 0; in testUpdateAppList()
98 appEntries.add(entry2); in testUpdateAppList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeAllBypassingAppsPreferenceControllerTest.java91 ApplicationsState.AppEntry entry2 = mock(ApplicationsState.AppEntry.class); in testUpdateAppList() local
92 entry2.info = new ApplicationInfo(); in testUpdateAppList()
93 entry2.info.packageName = "test2"; in testUpdateAppList()
94 entry2.info.uid = 0; in testUpdateAppList()
98 appEntries.add(entry2); in testUpdateAppList()
/packages/modules/GeoTZ/tzs2storage/src/test/java/com/android/timezone/location/storage/tzs2range/
DSuffixTableBlockTest.java197 SuffixTableRange entry2 = new SuffixTableRange(entry2StartCellId, entry2EndCellId, 3); in suffixTableBlock_populated_findEntryByCellId() local
198 suffixTableWriter.addRange(entry2); in suffixTableBlock_populated_findEntryByCellId()
220 assertEquals(entry2, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 2000)); in suffixTableBlock_populated_findEntryByCellId()
221 assertEquals(entry2, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 2001)); in suffixTableBlock_populated_findEntryByCellId()
222 assertEquals(entry2, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 2999)); in suffixTableBlock_populated_findEntryByCellId()
242 assertEquals(entry2, suffixTableBlock.getEntryByIndex(1).getSuffixTableRange()); in suffixTableBlock_populated_findEntryByCellId()
299 SuffixTableRange entry2 = new SuffixTableRange( in suffixTableBlock_visit() local
303 suffixTableWriter.addRange(entry2); in suffixTableBlock_visit()
DTzS2RangeFileTest.java67 TzS2RangeFileReader.Entry entry2 = in findEntryByCellId() local
69 assertEquals(range2, entry2.getTzS2Range()); in findEntryByCellId()
/packages/services/Telephony/utils/satellite/s2storage/src/test/java/com/android/telephony/sats2range/
DSuffixTableBlockTest.java188 S2LevelRange entry2 = new S2LevelRange(entry2StartCellId, entry2EndCellId); in suffixTableBlock_populated_findEntryByCellId() local
189 suffixTableWriter.addRange(entry2); in suffixTableBlock_populated_findEntryByCellId()
211 assertEquals(entry2, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 2000)); in suffixTableBlock_populated_findEntryByCellId()
212 assertEquals(entry2, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 2001)); in suffixTableBlock_populated_findEntryByCellId()
213 assertEquals(entry2, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 2999)); in suffixTableBlock_populated_findEntryByCellId()
233 assertEquals(entry2, suffixTableBlock.getEntryByIndex(1).getSuffixTableRange()); in suffixTableBlock_populated_findEntryByCellId()
284 S2LevelRange entry2 = new S2LevelRange( in suffixTableBlock_visit() local
287 suffixTableWriter.addRange(entry2); in suffixTableBlock_visit()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterEntryGroupTest.kt46 private val entry2 = constant
65 .setEntries(listOf(entry2))
128 assertThat(entryGroup2.entries).containsExactly(entry2) in getEntries_returnsEntries()
135 assertFailsWith(UnsupportedOperationException::class) { mutatedEntries.add(entry2) } in getEntries_mutationsAreNotAllowed()
211 SafetyCenterEntryGroup.Builder(entryGroup1).setEntries(listOf(entry2)).build() in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
DSafetyCenterEntryOrGroupTest.kt46 private val entry2 = constant
62 .setEntries(listOf(entry2))
107 .addEqualityGroup(SafetyCenterEntryOrGroup(entry2)) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
DSafetyCenterDataTest.kt79 private val entry2 = constant
88 .setEntries(listOf(entry2))
/packages/apps/Settings/tests/componenttests/src/com/android/settingslib/applications/
DApplicationStateComponentTest.java85 ApplicationsState.AppEntry entry2 = createAppEntry("Info02", "Package1", 0); in test_all_apps_sorting_alpha()
89 assertThat(ApplicationsState.ALPHA_COMPARATOR.compare(entry1, entry2)).isEqualTo(-1); in test_all_apps_sorting_alpha()
90 assertThat(ApplicationsState.ALPHA_COMPARATOR.compare(entry2, entry3)).isEqualTo(1); in test_all_apps_sorting_alpha()
91 assertThat(ApplicationsState.ALPHA_COMPARATOR.compare(entry3, entry2)).isEqualTo(-1); in test_all_apps_sorting_alpha()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DCallLogPullRequestTest.java163 VCardEntry entry2 = new VCardEntry(); in onPullComplete_success() local
164 entry2.addProperty(createProperty(VCardConstants.PROPERTY_TEL, phoneNum)); in onPullComplete_success()
165 entry2.addProperty( in onPullComplete_success()
167 results.add(entry2); in onPullComplete_success()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java801 NetworkStats.Entry entry2 = new NetworkStats.Entry( in testFilter_NoFilter() local
811 .insertEntry(entry2) in testFilter_NoFilter()
817 assertEquals(entry2, stats.getValues(1, null)); in testFilter_NoFilter()
828 NetworkStats.Entry entry2 = new NetworkStats.Entry( in testFilter_UidFilter() local
838 .insertEntry(entry2) in testFilter_UidFilter()
843 assertEquals(entry2, stats.getValues(0, null)); in testFilter_UidFilter()
855 NetworkStats.Entry entry2 = new NetworkStats.Entry( in testFilter_InterfaceFilter() local
869 .insertEntry(entry2) in testFilter_InterfaceFilter()
886 NetworkStats.Entry entry2 = new NetworkStats.Entry( in testFilter_EmptyInterfaceFilter() local
892 .insertEntry(entry2); in testFilter_EmptyInterfaceFilter()
[all …]
DNetworkStatsCollectionTest.java599 final NetworkStatsHistory.Entry entry2 = new NetworkStatsHistory.Entry(20, 10, 3, in testRemoveHistoryBefore() local
606 .addEntry(entry2) in testRemoveHistoryBefore()
609 .addEntry(entry2) in testRemoveHistoryBefore()
627 .addEntry(entry2) in testRemoveHistoryBefore()
630 .addEntry(entry2) in testRemoveHistoryBefore()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridgeTest.java247 ApplicationsState.AppEntry entry2 = createAppEntry(packageInfo2); in loadsAppOpsExtraInfo_multipleApps() local
250 mBridge.loadExtraInfo(Arrays.asList(entry1, entry2)); in loadsAppOpsExtraInfo_multipleApps()
253 assertThat(entry2.extraInfo).isNotNull(); in loadsAppOpsExtraInfo_multipleApps()
276 ApplicationsState.AppEntry entry2 = createAppEntry(packageInfo2); in loadsAppOpExtraInfo_multipleProfiles() local
286 mBridge.loadExtraInfo(Arrays.asList(entry1, entry2)); in loadsAppOpExtraInfo_multipleProfiles()
289 assertThat(entry2.extraInfo).isNotNull(); in loadsAppOpExtraInfo_multipleProfiles()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DTlvBufferUtilsTest.java96 byte[] entry2 = { 4, 5 }; in testTlvListOperations()
100 data.add(entry2); in testTlvListOperations()
110 equalTo(entry1.length + 1 + entry2.length + 1 + entry3.length + 1 + 1)); in testTlvListOperations()
113 collector.checkThat("parsedList-entry2", parsedList.get(1), equalTo(entry2)); in testTlvListOperations()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAppGridViewTest.java95 final AppGridView.ActivityEntry entry2 = in appEntry_compare_shouldCompareIgnoreCase() local
100 assertThat(entry1.compareTo(entry2)).isEqualTo(0); in appEntry_compare_shouldCompareIgnoreCase()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/
DNfcRoutingTableParseTest.java199 byte[] entry2 = hexStrToByteArray("EEEE"); in testParseSeveralValidSystemCodeEntry()
205 int ret2 = mRoutingTableParser.getCommitStatus(type, entry2); in testParseSeveralValidSystemCodeEntry()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffEntryTest.java383 final BatteryDiffEntry entry2 = createBatteryDiffEntry(mMockDrawable2); in testClearCache_switchLocale_clearCacheIconAndLabel() local
387 assertThat(entry2.getAppIcon()).isEqualTo(mMockDrawable2); in testClearCache_switchLocale_clearCacheIconAndLabel()
390 BatteryDiffEntry.sResourceCache.get(entry2.getKey()); in testClearCache_switchLocale_clearCacheIconAndLabel()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAppManifestConfigMetricsLoggerTest.java281 String entry2 = in testDump_multipleEntries() local
301 ".*3 entries.*\n" + entry1 + entry2 + entry3, Pattern.DOTALL)); in testDump_multipleEntries()
/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- ...

12