/frameworks/base/cmds/incident_helper/tests/ |
D | KernelWakesParser_test.cpp | 57 KernelWakeSourcesProto::WakeupSource* record1 = expected.add_wakeup_sources(); in TEST_F() local 58 record1->set_name("ab"); in TEST_F() 59 record1->set_active_count(8); in TEST_F() 60 record1->set_last_change(123456123456LL); in TEST_F() 81 KernelWakeSourcesProto::WakeupSource* record1 = expected.add_wakeup_sources(); in TEST_F() local 82 record1->set_name("ipc000000ab_ATFWD-daemon"); in TEST_F() 83 record1->set_active_count(8); in TEST_F() 84 record1->set_event_count(8); in TEST_F() 85 record1->set_wakeup_count(0); in TEST_F() 86 record1->set_expire_count(0); in TEST_F() [all …]
|
D | PsParser_test.cpp | 58 PsProto::Process* record1 = expected.add_processes(); in TEST_F() local 59 record1->set_label("u:r:init:s0"); in TEST_F() 60 record1->set_user("root"); in TEST_F() 61 record1->set_pid(1); in TEST_F() 62 record1->set_tid(1); in TEST_F() 63 record1->set_ppid(0); in TEST_F() 64 record1->set_vsz(15816); in TEST_F() 65 record1->set_rss(2636); in TEST_F() 66 record1->set_wchan("SyS_epoll_wait"); in TEST_F() 67 record1->set_addr("0"); in TEST_F() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ActivityManagerInternalTest.java | 99 final UidRecord record1 = addActiveUidRecord(TEST_UID1, curProcStateSeq, in verifyNetworkUpdatedProcStateSeq() local 104 final CustomThread thread1 = new CustomThread(record1.networkStateLock); in verifyNetworkUpdatedProcStateSeq() 105 thread1.startAndWait("Unexpected state for " + record1); in verifyNetworkUpdatedProcStateSeq() 110 assertEquals(record1 + " should be updated", in verifyNetworkUpdatedProcStateSeq() 111 expectedProcStateSeq, record1.lastNetworkUpdatedProcStateSeq); in verifyNetworkUpdatedProcStateSeq() 116 thread1.assertTerminated("Unexpected state for " + record1); in verifyNetworkUpdatedProcStateSeq() 117 assertTrue("Threads waiting for network should be notified: " + record1, in verifyNetworkUpdatedProcStateSeq() 120 thread1.assertWaiting("Unexpected state for " + record1); in verifyNetworkUpdatedProcStateSeq()
|
D | BroadcastRecordTest.java | 497 final BroadcastRecord record1 = createBroadcastRecord(receivers, UserHandle.USER_ALL, in testMatchesDeliveryGroup() local 507 assertTrue(record2.matchesDeliveryGroup(record1)); in testMatchesDeliveryGroup() 519 final BroadcastRecord record1 = createBroadcastRecord(receivers, UserHandle.USER_ALL, in testMatchesDeliveryGroup_withMatchingKey() local 540 assertFalse(record2.matchesDeliveryGroup(record1)); in testMatchesDeliveryGroup_withMatchingKey() 546 assertTrue(record3.matchesDeliveryGroup(record1)); in testMatchesDeliveryGroup_withMatchingKey() 564 final BroadcastRecord record1 = createBroadcastRecord(receivers, UserHandle.USER_ALL, in testMatchesDeliveryGroup_withMatchingFilter() local 597 assertFalse(record2.matchesDeliveryGroup(record1)); in testMatchesDeliveryGroup_withMatchingFilter() 602 assertTrue(record3.matchesDeliveryGroup(record1)); in testMatchesDeliveryGroup_withMatchingFilter()
|
D | BroadcastQueueModernImplTest.java | 1441 final BroadcastRecord record1 = makeBroadcastRecord(userPresent, List.of( in testCleanupDisabledPackageReceiversLocked() local 1453 mImpl.enqueueBroadcastLocked(record1); in testCleanupDisabledPackageReceiversLocked() 1459 for (BroadcastRecord record : new BroadcastRecord[] {record1, record2}) { in testCleanupDisabledPackageReceiversLocked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UidObserverControllerTest.java | 91 final ChangeRecord record1 = getLatestPendingChange(TEST_UID1); in testEnqueueUidChange() local 105 change = mUidObserverController.enqueueUidChange(record1, TEST_UID1, in testEnqueueUidChange() 111 PROCESS_STATE_TOP, PROCESS_CAPABILITY_ALL, 0, false, record1); in testEnqueueUidChange()
|
/frameworks/av/media/utils/tests/ |
D | inplace_function_tests.cpp | 222 Record record1; in TEST() local 224 InPlaceFunction<size_t()> func1 = Noisy{record1, 5}; in TEST() 226 EXPECT_EQ(record1, Record(1, 0, 1)); // move, copy, dtor in TEST() 231 EXPECT_EQ(record1, Record(2, 0, 2)); // move, copy, dtor in TEST()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | BackNavigationControllerTests.java | 920 ActivityRecord record1 = createActivityRecord(task); 925 WindowState window1 = createWindow(null, FIRST_APPLICATION_WINDOW, record1, "window1"); 928 when(record1.mSurfaceControl.isValid()).thenReturn(true); 931 Mockito.doNothing().when(record1).reparentSurfaceControl(any(), any()); 933 mAtm.setFocusedTask(task.mTaskId, record1); 942 testCase.recordBack = record1; 946 record1.setState(STOPPED, "stopped");
|