/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/ |
D | SafetyCenterEntryTest.kt | 58 private val entry1 = constant in android.safetycenter.cts.SafetyCenterEntryTest 68 assertThat(SafetyCenterEntry.Builder(entry1).setId("id_one").build().id).isEqualTo("id_one") in getId_returnsId() 69 assertThat(SafetyCenterEntry.Builder(entry1).setId("id_two").build().id).isEqualTo("id_two") in getId_returnsId() 74 assertThat(SafetyCenterEntry.Builder(entry1).setTitle("a title").build().title) in getTitle_returnsTitle() 76 assertThat(SafetyCenterEntry.Builder(entry1).setTitle("another title").build().title) in getTitle_returnsTitle() 82 assertThat(SafetyCenterEntry.Builder(entry1).setSummary("a summary").build().summary) in getSummary_returnsSummary() 84 assertThat(SafetyCenterEntry.Builder(entry1).setSummary("another summary").build().summary) in getSummary_returnsSummary() 86 assertThat(SafetyCenterEntry.Builder(entry1).setSummary(null).build().summary).isNull() in getSummary_returnsSummary() 92 SafetyCenterEntry.Builder(entry1) in getSeverityLevel_returnsSeverityLevel() 99 SafetyCenterEntry.Builder(entry1) in getSeverityLevel_returnsSeverityLevel() [all …]
|
D | SafetyCenterEntryOrGroupTest.kt | 41 private val entry1 = constant in android.safetycenter.cts.SafetyCenterEntryOrGroupTest 56 .setEntries(listOf(entry1)) 65 private val entryOrGroupWithEntry = SafetyCenterEntryOrGroup(entry1) 70 assertThat(entryOrGroupWithEntry.entry).isEqualTo(entry1) in getEntry_returnsEntry() 105 .addEqualityGroup(entryOrGroupWithEntry, SafetyCenterEntryOrGroup(entry1)) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
|
D | SafetyCenterEntryGroupTest.kt | 41 private val entry1 = constant in android.safetycenter.cts.SafetyCenterEntryGroupTest 59 .setEntries(listOf(entry1)) 127 assertThat(entryGroup1.entries).containsExactly(entry1) in getEntries_returnsEntries() 185 .setEntries(listOf(entry1)) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
|
D | SafetyCenterDataTest.kt | 74 private val entry1 = constant in android.safetycenter.cts.SafetyCenterDataTest 91 private val entryOrGroup1 = SafetyCenterEntryOrGroup(entry1)
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | TrafficStatsRateLimitCacheTest.kt | 67 val entry1 = mock(Entry::class.java) in testPutAndGet_retrievesCorrectEntryForDifferentKeys() constant 70 cache.put("iface1", 2, entry1) in testPutAndGet_retrievesCorrectEntryForDifferentKeys() 73 assertEquals(entry1, cache.get("iface1", 2)) in testPutAndGet_retrievesCorrectEntryForDifferentKeys() 79 val entry1 = mock(Entry::class.java) in testPut_overridesExistingEntry() constant 82 cache.put("iface", 2, entry1) in testPut_overridesExistingEntry() 91 val entry1 = mock(Entry::class.java) in testPut_removeLru() constant 95 cache.put("iface1", 2, entry1) in testPut_removeLru() 106 val entry1 = mock(Entry::class.java) in testGetOrCompute_cacheHit() constant 108 cache.put("iface1", 2, entry1) in testGetOrCompute_cacheHit() 119 assertEquals(entry1, result) // Should get the cached entry. in testGetOrCompute_cacheHit() [all …]
|
D | NetworkStatsServiceTest.java | 1402 final NetworkStats.Entry entry1 = new NetworkStats.Entry( in testUidStatsForTransport() local 1423 .insertEntry(entry1) in testUidStatsForTransport()
|
/packages/modules/Connectivity/tests/common/java/android/net/netstats/ |
D | NetworkStatsHistoryTest.kt | 41 val entry1 = NetworkStatsHistory.Entry(10, 30, 40, 4, 50, 5, 60) in <lambda>() constant 50 .addEntry(entry1) in <lambda>() 52 statsSingle.assertEntriesEqual(entry1) in <lambda>() 57 .addEntry(entry1).addEntry(entry2).addEntry(entry3) in <lambda>() 61 statsMultiple.assertEntriesEqual(entry3, entry1, entry2) in <lambda>() 66 val entry1 = NetworkStatsHistory.Entry(10, 30, 40, 4, 50, 5, 60) in <lambda>() constant 80 .addEntry(entry1).addEntry(entry2).addEntry(entry3) in <lambda>()
|
D | NetworkStatsCollectionTest.kt | 47 val entry1 = NetworkStatsHistory.Entry(10, 10, 40, 4, 50, 5, 60) in testBuilder() constant 50 .addEntry(entry1) in testBuilder()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeBypassingAppsPreferenceControllerTest.java | 123 ApplicationsState.AppEntry entry1 = mock(ApplicationsState.AppEntry.class); in testUpdateBypassingApps_multipleApps() local 124 entry1.info = new ApplicationInfo(); in testUpdateBypassingApps_multipleApps() 125 entry1.info.packageName = "test1"; in testUpdateBypassingApps_multipleApps() 126 entry1.label = "test1"; in testUpdateBypassingApps_multipleApps() 127 entry1.info.uid = 1; in testUpdateBypassingApps_multipleApps() 135 appEntries.add(entry1); in testUpdateBypassingApps_multipleApps() 143 when(mBackend.getNotificationChannelsBypassingDnd(entry1.info.packageName, in testUpdateBypassingApps_multipleApps() 144 entry1.info.uid)).thenReturn(new ParceledListSlice<>(channelsBypassing)); in testUpdateBypassingApps_multipleApps() 153 assertThat(mController.getSummary().contains(entry1.label)).isTrue(); in testUpdateBypassingApps_multipleApps()
|
D | ZenModeAllBypassingAppsPreferenceControllerTest.java | 86 ApplicationsState.AppEntry entry1 = mock(ApplicationsState.AppEntry.class); in testUpdateAppList() local 87 entry1.info = new ApplicationInfo(); in testUpdateAppList() 88 entry1.info.packageName = "test"; in testUpdateAppList() 89 entry1.info.uid = 0; in testUpdateAppList() 97 appEntries.add(entry1); in testUpdateAppList()
|
/packages/modules/GeoTZ/tzs2storage/src/test/java/com/android/timezone/location/storage/tzs2range/ |
D | SuffixTableBlockTest.java | 192 SuffixTableRange entry1 = new SuffixTableRange(entry1StartCellId, entry1EndCellId, 2); in suffixTableBlock_populated_findEntryByCellId() local 193 suffixTableWriter.addRange(entry1); in suffixTableBlock_populated_findEntryByCellId() 217 assertEquals(entry1, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 1000)); in suffixTableBlock_populated_findEntryByCellId() 218 assertEquals(entry1, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 1001)); in suffixTableBlock_populated_findEntryByCellId() 219 assertEquals(entry1, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 1999)); in suffixTableBlock_populated_findEntryByCellId() 241 assertEquals(entry1, suffixTableBlock.getEntryByIndex(0).getSuffixTableRange()); in suffixTableBlock_populated_findEntryByCellId() 264 SuffixTableRange entry1 = new SuffixTableRange(entry1StartCellId, entry1EndCellId, 2); in suffixTableBlock_populated_findEntryByCellId_cellIdOutOfRange() local 265 suffixTableWriter.addRange(entry1); in suffixTableBlock_populated_findEntryByCellId_cellIdOutOfRange() 293 SuffixTableRange entry1 = new SuffixTableRange( in suffixTableBlock_visit() local 297 suffixTableWriter.addRange(entry1); in suffixTableBlock_visit()
|
D | TzS2RangeFileTest.java | 63 TzS2RangeFileReader.Entry entry1 = in findEntryByCellId() local 65 assertEquals(range1, entry1.getTzS2Range()); in findEntryByCellId()
|
/packages/services/Telephony/utils/satellite/s2storage/src/test/java/com/android/telephony/sats2range/ |
D | SuffixTableBlockTest.java | 183 S2LevelRange entry1 = new S2LevelRange(entry1StartCellId, entry1EndCellId); in suffixTableBlock_populated_findEntryByCellId() local 184 suffixTableWriter.addRange(entry1); in suffixTableBlock_populated_findEntryByCellId() 208 assertEquals(entry1, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 1000)); in suffixTableBlock_populated_findEntryByCellId() 209 assertEquals(entry1, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 1001)); in suffixTableBlock_populated_findEntryByCellId() 210 assertEquals(entry1, findEntryByCellId(fileFormat, suffixTableBlock, tablePrefix, 1999)); in suffixTableBlock_populated_findEntryByCellId() 232 assertEquals(entry1, suffixTableBlock.getEntryByIndex(0).getSuffixTableRange()); in suffixTableBlock_populated_findEntryByCellId() 254 S2LevelRange entry1 = new S2LevelRange(entry1StartCellId, entry1EndCellId); in suffixTableBlock_populated_findEntryByCellId_cellIdOutOfRange() local 255 suffixTableWriter.addRange(entry1); in suffixTableBlock_populated_findEntryByCellId_cellIdOutOfRange() 279 S2LevelRange entry1 = new S2LevelRange( in suffixTableBlock_visit() local 282 suffixTableWriter.addRange(entry1); in suffixTableBlock_visit()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModeAllBypassingAppsPreferenceControllerTest.java | 86 ApplicationsState.AppEntry entry1 = mock(ApplicationsState.AppEntry.class); in testUpdateAppList() local 87 entry1.info = new ApplicationInfo(); in testUpdateAppList() 88 entry1.info.packageName = "test"; in testUpdateAppList() 89 entry1.info.uid = 0; in testUpdateAppList() 97 appEntries.add(entry1); in testUpdateAppList()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsTest.java | 797 NetworkStats.Entry entry1 = new NetworkStats.Entry( in testFilter_NoFilter() local 810 .insertEntry(entry1) in testFilter_NoFilter() 816 assertEquals(entry1, stats.getValues(0, null)); in testFilter_NoFilter() 824 NetworkStats.Entry entry1 = new NetworkStats.Entry( in testFilter_UidFilter() local 837 .insertEntry(entry1) in testFilter_UidFilter() 851 NetworkStats.Entry entry1 = new NetworkStats.Entry( in testFilter_InterfaceFilter() local 868 .insertEntry(entry1) in testFilter_InterfaceFilter() 875 assertEquals(entry1, stats.getValues(0, null)); in testFilter_InterfaceFilter() 882 NetworkStats.Entry entry1 = new NetworkStats.Entry( in testFilter_EmptyInterfaceFilter() local 891 .insertEntry(entry1) in testFilter_EmptyInterfaceFilter() [all …]
|
D | NetworkStatsCollectionTest.java | 597 final NetworkStatsHistory.Entry entry1 = new NetworkStatsHistory.Entry(10, 10, 40, in testRemoveHistoryBefore() local 605 .addEntry(entry1) in testRemoveHistoryBefore()
|
/packages/apps/Settings/tests/componenttests/src/com/android/settingslib/applications/ |
D | ApplicationStateComponentTest.java | 84 ApplicationsState.AppEntry entry1 = createAppEntry("Info01", "Package1", 0); in test_all_apps_sorting_alpha() 89 assertThat(ApplicationsState.ALPHA_COMPARATOR.compare(entry1, entry2)).isEqualTo(-1); in test_all_apps_sorting_alpha() 93 assertThat(ApplicationsState.ALPHA_COMPARATOR.compare(entry1, entry3)).isEqualTo(-1); in test_all_apps_sorting_alpha()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/ |
D | AppStateAppOpsBridgeTest.java | 242 ApplicationsState.AppEntry entry1 = createAppEntry(packageInfo1); in loadsAppOpsExtraInfo_multipleApps() local 250 mBridge.loadExtraInfo(Arrays.asList(entry1, entry2)); in loadsAppOpsExtraInfo_multipleApps() 252 assertThat(entry1.extraInfo).isNotNull(); in loadsAppOpsExtraInfo_multipleApps() 261 ApplicationsState.AppEntry entry1 = createAppEntry(packageInfo1); in loadsAppOpExtraInfo_multipleProfiles() local 286 mBridge.loadExtraInfo(Arrays.asList(entry1, entry2)); in loadsAppOpExtraInfo_multipleProfiles() 288 assertThat(entry1.extraInfo).isNotNull(); in loadsAppOpExtraInfo_multipleProfiles()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AppGridViewTest.java | 93 final AppGridView.ActivityEntry entry1 = in appEntry_compare_shouldCompareIgnoreCase() local 100 assertThat(entry1.compareTo(entry2)).isEqualTo(0); in appEntry_compare_shouldCompareIgnoreCase() 101 assertThat(entry1.compareTo(entry3)).isNotEqualTo(0); in appEntry_compare_shouldCompareIgnoreCase()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | TlvBufferUtilsTest.java | 95 byte[] entry1 = { 1, 2, 3 }; in testTlvListOperations() 99 data.add(entry1); in testTlvListOperations() 110 equalTo(entry1.length + 1 + entry2.length + 1 + entry3.length + 1 + 1)); in testTlvListOperations() 112 collector.checkThat("parsedList-entry1", parsedList.get(0), equalTo(entry1)); in testTlvListOperations()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/ |
D | CallLogPullRequestTest.java | 159 VCardEntry entry1 = new VCardEntry(); in onPullComplete_success() local 160 entry1.addProperty(createProperty(VCardConstants.PROPERTY_TEL, phoneNum)); in onPullComplete_success() 161 results.add(entry1); in onPullComplete_success()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/ |
D | NfcRoutingTableParseTest.java | 198 byte[] entry1 = hexStrToByteArray("FEFE"); in testParseSeveralValidSystemCodeEntry() 204 int ret1 = mRoutingTableParser.getCommitStatus(type, entry1); in testParseSeveralValidSystemCodeEntry()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AppManifestConfigMetricsLoggerTest.java | 273 String entry1 = in testDump_multipleEntries() local 301 ".*3 entries.*\n" + entry1 + entry2 + entry3, Pattern.DOTALL)); in testDump_multipleEntries()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryDiffEntryTest.java | 377 final BatteryDiffEntry entry1 = createBatteryDiffEntry(mMockDrawable); in testClearCache_switchLocale_clearCacheIconAndLabel() local 379 assertThat(entry1.getAppIcon()).isEqualTo(mMockDrawable); in testClearCache_switchLocale_clearCacheIconAndLabel()
|
/packages/apps/TV/libs/m2/ |
D | auto-value-1.5.3.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |