Home
last modified time | relevance | path

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

/frameworks/base/cmds/incident_helper/tests/
DKernelWakesParser_test.cpp62 KernelWakeSourcesProto::WakeupSource* record2 = expected.add_wakeup_sources(); in TEST_F() local
63 record2->set_name("df"); in TEST_F()
64 record2->set_active_count(143); in TEST_F()
65 record2->set_last_change(0LL); in TEST_F()
93 KernelWakeSourcesProto::WakeupSource* record2 = expected.add_wakeup_sources(); in TEST_F() local
94 record2->set_name("ipc000000aa_ATFWD-daemon"); in TEST_F()
95 record2->set_active_count(143); in TEST_F()
96 record2->set_event_count(143); in TEST_F()
97 record2->set_wakeup_count(0); in TEST_F()
98 record2->set_expire_count(0); in TEST_F()
[all …]
DPsParser_test.cpp77 PsProto::Process* record2 = expected.add_processes(); in TEST_F() local
78 record2->set_label("u:r:kernel:s0"); in TEST_F()
79 record2->set_user("root"); in TEST_F()
80 record2->set_pid(2); in TEST_F()
81 record2->set_tid(2); in TEST_F()
82 record2->set_ppid(0); in TEST_F()
83 record2->set_vsz(0); in TEST_F()
84 record2->set_rss(0); in TEST_F()
85 record2->set_wchan("kthreadd"); in TEST_F()
86 record2->set_addr("0"); in TEST_F()
[all …]
/frameworks/av/media/utils/tests/
Dinplace_function_tests.cpp103 Record record2; in TEST() local
104 Noisy noisy2{record2, 13}; in TEST()
106 EXPECT_EQ(record2, Record(1, 0, 0)); // move, copy, dtor in TEST()
152 Record record2; in TEST() local
154 Noisy noisy2{record2, 5}; in TEST()
160 EXPECT_EQ(record2, Record(0, 1, 0)); // move, copy, dtor in TEST()
165 Record record2; in TEST() local
167 Noisy noisy2{record2, 5}; in TEST()
173 EXPECT_EQ(record2, Record(1, 0, 0)); // move, copy, dtor in TEST()
179 Record record2; in TEST() local
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerInternalTest.java101 final UidRecord record2 = addActiveUidRecord(TEST_UID2, curProcStateSeq, in verifyNetworkUpdatedProcStateSeq() local
106 final CustomThread thread2 = new CustomThread(record2.networkStateLock); in verifyNetworkUpdatedProcStateSeq()
107 thread2.startAndWait("Unexpected state for " + record2); in verifyNetworkUpdatedProcStateSeq()
112 assertEquals(record2 + " should not be updated", in verifyNetworkUpdatedProcStateSeq()
113 lastNetworkUpdatedProcStateSeq, record2.lastNetworkUpdatedProcStateSeq); in verifyNetworkUpdatedProcStateSeq()
123 thread2.assertWaiting("Unexpected state for " + record2); in verifyNetworkUpdatedProcStateSeq()
DBroadcastRecordTest.java504 final BroadcastRecord record2 = createBroadcastRecord(receivers, UserHandle.USER_ALL, in testMatchesDeliveryGroup() local
507 assertTrue(record2.matchesDeliveryGroup(record1)); in testMatchesDeliveryGroup()
527 final BroadcastRecord record2 = createBroadcastRecord(receivers, UserHandle.USER_ALL, in testMatchesDeliveryGroup_withMatchingKey() local
540 assertFalse(record2.matchesDeliveryGroup(record1)); in testMatchesDeliveryGroup_withMatchingKey()
543 assertFalse(record3.matchesDeliveryGroup(record2)); in testMatchesDeliveryGroup_withMatchingKey()
578 final BroadcastRecord record2 = createBroadcastRecord(receivers, UserHandle.USER_ALL, in testMatchesDeliveryGroup_withMatchingFilter() local
597 assertFalse(record2.matchesDeliveryGroup(record1)); in testMatchesDeliveryGroup_withMatchingFilter()
600 assertFalse(record3.matchesDeliveryGroup(record2)); in testMatchesDeliveryGroup_withMatchingFilter()
DBroadcastQueueModernImplTest.java1447 final BroadcastRecord record2 = makeBroadcastRecord(timeTick, List.of( in testCleanupDisabledPackageReceiversLocked() local
1454 mImpl.enqueueBroadcastLocked(record2); in testCleanupDisabledPackageReceiversLocked()
1459 for (BroadcastRecord record : new BroadcastRecord[] {record1, record2}) { in testCleanupDisabledPackageReceiversLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUidObserverControllerTest.java94 final ChangeRecord record2 = new ChangeRecord(); in testEnqueueUidChange() local
95 change = mUidObserverController.enqueueUidChange(record2, TEST_UID2, in testEnqueueUidChange()
103 PROCESS_CAPABILITY_NONE, 99, true, record2); in testEnqueueUidChange()
113 PROCESS_CAPABILITY_NONE, 99, true, record2); in testEnqueueUidChange()
DFgsLoggerTest.java397 ServiceRecord record2 = ServiceRecord.newEmptyInstanceForTest(ams); in testMultipleFGS() local
398 record2.foregroundServiceType = ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA; in testMultipleFGS()
418 mFgsLogger.logForegroundServiceStart(1, 1, record2); in testMultipleFGS()
470 ServiceRecord record2 = ServiceRecord.newEmptyInstanceForTest(ams); in testMultipleUid() local
471 record2.foregroundServiceType = ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA; in testMultipleUid()
513 mFgsLogger.logForegroundServiceStart(1, 1, record2); in testMultipleUid()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBackNavigationControllerTests.java921 ActivityRecord record2 = createActivityRecord(task);
923 record2.info.applicationInfo.privateFlagsExt |=
926 WindowState window2 = createWindow(null, FIRST_APPLICATION_WINDOW, record2, "window2");
929 when(record2.mSurfaceControl.isValid()).thenReturn(true);
932 Mockito.doNothing().when(record2).reparentSurfaceControl(any(), any());
934 mAtm.setFocusedTask(task.mTaskId, record2);
943 testCase.recordFront = record2;