Home
last modified time | relevance | path

Searched refs:entry3 (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/componenttests/src/com/android/settingslib/applications/
DApplicationStateComponentTest.java86 ApplicationsState.AppEntry entry3 = createAppEntry("Info01", "Package2", 0); 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()
92 assertThat(ApplicationsState.ALPHA_COMPARATOR.compare(entry3, entry3)).isEqualTo(0); in test_all_apps_sorting_alpha()
93 assertThat(ApplicationsState.ALPHA_COMPARATOR.compare(entry1, entry3)).isEqualTo(-1); in test_all_apps_sorting_alpha()
95 assertThat(ApplicationsState.ALPHA_COMPARATOR.compare(entry5, entry3)).isEqualTo(1); in test_all_apps_sorting_alpha()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java797 NetworkStats.Entry entry3 = new NetworkStats.Entry( in testFilter_NoFilter() local
804 .insertEntry(entry3); in testFilter_NoFilter()
810 assertEquals(entry3, stats.getValues(2, null)); in testFilter_NoFilter()
824 NetworkStats.Entry entry3 = new NetworkStats.Entry( in testFilter_UidFilter() local
831 .insertEntry(entry3); in testFilter_UidFilter()
836 assertEquals(entry3, stats.getValues(1, null)); in testFilter_UidFilter()
851 NetworkStats.Entry entry3 = new NetworkStats.Entry( in testFilter_InterfaceFilter() local
862 .insertEntry(entry3) in testFilter_InterfaceFilter()
868 assertEquals(entry3, stats.getValues(1, null)); in testFilter_InterfaceFilter()
902 NetworkStats.Entry entry3 = new NetworkStats.Entry( in testFilter_TagFilter() local
[all …]
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/tzs2range/
DSuffixTableBlockTest.java203 SuffixTableRange entry3 = new SuffixTableRange(entry3StartCellId, entry3EndCellId, 4); in suffixTableBlock_populated_findEntryByCellId() local
204 suffixTableWriter.addRange(entry3); in suffixTableBlock_populated_findEntryByCellId()
225 assertEquals(entry3, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 4000)); in suffixTableBlock_populated_findEntryByCellId()
226 assertEquals(entry3, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 4999)); in suffixTableBlock_populated_findEntryByCellId()
243 assertEquals(entry3, suffixTableBlock.getEntryByIndex(2).getSuffixTableRange()); in suffixTableBlock_populated_findEntryByCellId()
DTzS2RangeFileTest.java71 TzS2RangeFileReader.Entry entry3 = in findEntryByCellId() local
73 assertEquals(range3, entry3.getTzS2Range()); in findEntryByCellId()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DTlvBufferUtilsTest.java97 byte[] entry3 = new byte[0]; in testTlvListOperations()
101 data.add(entry3); in testTlvListOperations()
110 equalTo(entry1.length + 1 + entry2.length + 1 + entry3.length + 1 + 1)); in testTlvListOperations()
114 collector.checkThat("parsedList-entry3", parsedList.get(2), equalTo(entry3)); in testTlvListOperations()
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/table/packed/
DPackedTableReaderWriterTest.java476 PackedTableReader.Entry entry3 = tableReader.getEntry(3); in entryFindNearbyEntry_intMatcher() local
489 for (PackedTableReader.Entry baseEntry : Arrays.asList(entry3, entry5, entry7)) { in entryFindNearbyEntry_intMatcher()
492 assertEquals(entry3, baseEntry.findNearbyEntry(entryMatcher3)); in entryFindNearbyEntry_intMatcher()
516 PackedTableReader.Entry entry3 = tableReader.getEntry(3); in entryFindNearbyEntry_longMatcher() local
529 for (PackedTableReader.Entry baseEntry : Arrays.asList(entry3, entry5, entry7)) { in entryFindNearbyEntry_longMatcher()
532 assertEquals(entry3, baseEntry.findNearbyEntry(entryMatcher3)); in entryFindNearbyEntry_longMatcher()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DConvertUtils.java354 BatteryHistEntry entry3) { in selectBatteryHistEntry() argument
360 return entry3 != null && entry3 != EMPTY_BATTERY_HIST_ENTRY in selectBatteryHistEntry()
361 ? entry3 : null; in selectBatteryHistEntry()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAppGridViewTest.java84 final AppGridView.ActivityEntry entry3 = in appEntry_compare_shouldCompareIgnoreCase() local
88 assertThat(entry1.compareTo(entry3)).isNotEqualTo(0); in appEntry_compare_shouldCompareIgnoreCase()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java929 NetworkStats.Entry entry3 = new NetworkStats.Entry(
938 .insertEntry(entry3));
948 assertEquals(entry3, stats.getValues(2, null));