Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/
DSettingsEntryTest.kt176 val entry3 = entryBuilder.build() in testSetAttributes() constant
177 assertThat(entry3.id).isEqualTo(genEntryId("myEntry", owner)) in testSetAttributes()
178 assertThat(entry3.label).isEqualTo("myEntryDisplay") in testSetAttributes()
179 assertThat(entry3.fromPage).isNull() in testSetAttributes()
180 assertThat(entry3.toPage).isNull() in testSetAttributes()
181 assertThat(entry3.isAllowSearch).isFalse() in testSetAttributes()
182 assertThat(entry3.isSearchDataDynamic).isFalse() in testSetAttributes()
183 assertThat(entry3.hasMutableStatus).isTrue() in testSetAttributes()
184 assertThat(entry3.hasSliceSupport).isFalse() in testSetAttributes()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLooperStatsTest.java234 LooperStats.ExportedEntry entry3 = entries.get(2); in testMultipleMessagesDispatched() local
235 assertThat(entry3.workSourceUid).isEqualTo(-1); in testMultipleMessagesDispatched()
236 assertThat(entry3.threadName).isEqualTo("TestThread2"); in testMultipleMessagesDispatched()
237 assertThat(entry3.handlerClassName).isEqualTo( in testMultipleMessagesDispatched()
239 assertThat(entry3.messageName).startsWith( in testMultipleMessagesDispatched()
241 assertThat(entry3.messageCount).isEqualTo(1); in testMultipleMessagesDispatched()
242 assertThat(entry3.recordedMessageCount).isEqualTo(1); in testMultipleMessagesDispatched()
243 assertThat(entry3.exceptionCount).isEqualTo(0); in testMultipleMessagesDispatched()
244 assertThat(entry3.totalLatencyMicros).isEqualTo(10); in testMultipleMessagesDispatched()
245 assertThat(entry3.maxLatencyMicros).isEqualTo(10); in testMultipleMessagesDispatched()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java274 NotificationEntry entry3 = buildNotif(TEST_PACKAGE, 3) in testEventDispatchedWhenNotifBatchPosted() local
281 new CoalescedEvent(entry3.getKey(), 2, entry3.getSbn(), entry3.getRanking(), null) in testEventDispatchedWhenNotifBatchPosted()
292 assertEquals(entry3.getSbn(), capturedAdds.get(1).getSbn()); in testEventDispatchedWhenNotifBatchPosted()
293 assertEquals(entry3.getRanking(), capturedAdds.get(1).getRanking()); in testEventDispatchedWhenNotifBatchPosted()
418 final NotificationEntry entry3 = buildNotif(TEST_PACKAGE, 3) in testCancelScheduledBuildNotificationListEventWhenNotifUpdatedSynchronously() local
425 new CoalescedEvent(entry3.getKey(), 2, entry3.getSbn(), entry3.getRanking(), null) in testCancelScheduledBuildNotificationListEventWhenNotifUpdatedSynchronously()
496 NotificationEntry entry3 = mCollectionListener.getEntry(notif3.key); in testRankingUpdateIsProperlyIssuedToEveryone() local
524 assertEquals(newRanking3, entry3.getRanking()); in testRankingUpdateIsProperlyIssuedToEveryone()
527 assertEquals(newOverrideGroupKey, entry3.getSbn().getOverrideGroupKey()); in testRankingUpdateIsProperlyIssuedToEveryone()
528 assertNotNull(entry3.getSbn().getGroupKey()); in testRankingUpdateIsProperlyIssuedToEveryone()
[all …]
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DKernelWakelockReaderTest.java419 KernelWakelockStats.Entry entry3 = staleStats.get("WakeLock3"); in testAggregateStatsUpdate() local
420 assertEquals(10, entry3.count); in testAggregateStatsUpdate()
421 assertEquals(1000 * 1000, entry3.totalTimeUs); // Microseconds in testAggregateStatsUpdate()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp1979 camera_metadata_entry entry3 = results.find(ANDROID_STATISTICS_HOT_PIXEL_MAP); in DngCreator_setup() local
1980 if (entry3.count == 0) { in DngCreator_setup()
1981 entry3 = characteristics.find(ANDROID_STATISTICS_HOT_PIXEL_MAP); in DngCreator_setup()
1984 if ((entry3.count % 2) != 0) { in DngCreator_setup()
1994 for (size_t i = 0; i < entry3.count; i += 2) { in DngCreator_setup()
1995 int32_t x = entry3.data.i32[i]; in DngCreator_setup()
1996 int32_t y = entry3.data.i32[i + 1]; in DngCreator_setup()
2058 camera_metadata_entry entry3 = in DngCreator_setup() local
2060 if (entry3.count == 5) { in DngCreator_setup()
2065 for (size_t i = 0; i < entry3.count; i++) { in DngCreator_setup()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java276 AppOpsManager.OpEntry entry3 = mock(AppOpsManager.OpEntry.class); in startListening_fetchesCurrentActive_multipleEntries() local
277 when(entry3.getOpStr()).thenReturn(AppOpsManager.OPSTR_FINE_LOCATION); in startListening_fetchesCurrentActive_multipleEntries()
280 when(entry3.getAttributedOpEntries()).thenReturn(Map.of("tag", attributed3)); in startListening_fetchesCurrentActive_multipleEntries()
282 when(packageOps.getOps()).thenReturn(List.of(entry1, entry2, entry3)); in startListening_fetchesCurrentActive_multipleEntries()
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DChipsTest.java1052 final RecipientEntry entry3 = view.createTokenizedEntry(phone3); in testCreateTokenizedEntryForPhone() local
1053 final String destination3 = entry3.getDestination(); in testCreateTokenizedEntryForPhone()