Home
last modified time | relevance | path

Searched refs:testUids (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBatteryStatsCpuTimesTest.java223 for (int i = 0; i < testUids.length; ++i) { in testUpdateClusterSpeedTimes()
237 for (int i = 0; i < testUids.length; ++i) { in testUpdateClusterSpeedTimes()
280 for (int i = 0; i < testUids.length; ++i) { in testReadKernelUidCpuTimesLocked()
290 updatedUids.delete(testUids[i]); in testReadKernelUidCpuTimesLocked()
314 for (int i = 0; i < testUids.length; ++i) { in testReadKernelUidCpuTimesLocked()
354 for (int i = 0; i < testUids.length; ++i) { in testReadKernelUidCpuTimesLocked_isolatedUid()
389 for (int i = 0; i < testUids.length; ++i) { in testReadKernelUidCpuTimesLocked_isolatedUid()
445 for (int i = 0; i < testUids.length; ++i) { in testReadKernelUidCpuTimesLocked_invalidUid()
494 for (int i = 0; i < testUids.length; ++i) { in testReadKernelUidCpuTimesLocked_withPartialTimers()
505 updatedUids.delete(testUids[i]); in testReadKernelUidCpuTimesLocked_withPartialTimers()
[all …]
H A DBatteryStatsImplTest.java88 addPendingUids(testUids, testProcStates); in testUpdateProcStateCpuTimes()
95 for (int i = 0; i < testUids.length; ++i) { in testUpdateProcStateCpuTimes()
109 for (int i = 0; i < testUids.length; ++i) { in testUpdateProcStateCpuTimes()
128 for (int i = 0; i < testUids.length; ++i) { in testUpdateProcStateCpuTimes()
131 addPendingUids(testUids, testProcStates); in testUpdateProcStateCpuTimes()
136 for (int i = 0; i < testUids.length; ++i) { in testUpdateProcStateCpuTimes()
160 for (int i = 0; i < testUids.length; ++i) { in testUpdateProcStateCpuTimes()
163 addPendingUids(testUids, testProcStates); in testUpdateProcStateCpuTimes()
168 for (int i = 0; i < testUids.length; ++i) { in testUpdateProcStateCpuTimes()
197 addPendingUids(testUids, testProcStates); in testUpdateProcStateCpuTimes()
[all …]
/aosp12/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DHelpersTest.java527 final int[] testUids = { in testHandleRemovedUidEntries() local
536 for (int uid : testUids) { in testHandleRemovedUidEntries()
545 final MatrixCursor cursor = prepareData(testUids, unknownUids, in testHandleRemovedUidEntries()
/aosp12/system/netd/tests/
H A Dbinder_test.cpp1929 const std::vector<int32_t> testUids = {testUid}; in TEST_F() local
1949 EXPECT_TRUE(mNetd->networkSetPermissionForUser(INetd::PERMISSION_SYSTEM, testUids).isOk()); in TEST_F()
1958 EXPECT_TRUE(mNetd->networkClearPermissionForUser(testUids).isOk()); in TEST_F()
1992 EXPECT_TRUE(mNetd->networkSetPermissionForUser(INetd::PERMISSION_SYSTEM, testUids).isOk()); in TEST_F()
2017 EXPECT_TRUE(mNetd->networkClearPermissionForUser(testUids).isOk()); in TEST_F()