Searched refs:testUid (Results 1 – 6 of 6) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
H A D | AccountsDbTest.java | 224 int testUid = 100500; in testGrantsInsertFindDelete() local 225 long grantId = mAccountsDb.insertGrant(accId, "tokenType", testUid); in testGrantsInsertFindDelete() 228 List<Integer> expectedUids = Arrays.asList(testUid); in testGrantsInsertFindDelete() 232 testUid, "tokenType", account); in testGrantsInsertFindDelete() 236 testUid, "noSuchType", account); in testGrantsInsertFindDelete() 239 matchingGrantsCount = mAccountsDb.findMatchingGrantsCountAnyToken(testUid, account); in testGrantsInsertFindDelete() 245 assertEquals(testUid, (int)allAccountGrants.get(0).second); in testGrantsInsertFindDelete() 247 mAccountsDb.deleteGrantsByUid(testUid); in testGrantsInsertFindDelete() 272 int testUid = 100500; in testMetaInsertFindDelete() local 274 mAccountsDb.insertOrReplaceMetaAuthTypeAndUid(authenticatorType, testUid); in testMetaInsertFindDelete() [all …]
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
H A D | BackgroundRestrictionTest.java | 536 mUidObservers.onUidActive(testUid); in testTogglingBackgroundRestrictInternal() 554 mUidObservers.onUidIdle(testUid, false); in testTogglingBackgroundRestrictInternal() 620 final int testUid = UserHandle.getUid(testUser, in testBgCurrentDrainMonitor() local 657 final int[] uids = new int[]{testUid, testUid2}; in testBgCurrentDrainMonitor() 950 eq(testUid)); in testBgCurrentDrainMonitor() 988 eq(testUid)); in testBgCurrentDrainMonitor() 1027 eq(testUid)); in testBgCurrentDrainMonitor() 1045 listener.verify(timeout, testUid, testPkgName, in testBgCurrentDrainMonitor() 1120 eq(testUid)); in testBgCurrentDrainMonitor() 1156 eq(testUid)); in testBgCurrentDrainMonitor() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/ |
H A D | BatteryStatsImplTest.java | 369 private void mockKernelSingleUidTimeReader(int testUid, long[] cpuTimes) { in mockKernelSingleUidTimeReader() argument 378 }).when(mKernelSingleUidTimeReader).addDelta(eq(testUid), in mockKernelSingleUidTimeReader() 397 }).when(mKernelSingleUidTimeReader).addDelta(eq(testUid), in mockKernelSingleUidTimeReader() 404 final int testUid = 10032; in testMulticastWakelockAcqRel() local 412 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStatsLocked(testUid); in testMulticastWakelockAcqRel() 428 final int testUid = 10032; in testMulticastWakelockAcqNoRel() local 435 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStatsLocked(testUid); in testMulticastWakelockAcqNoRel() 450 final int testUid = 10032; in testMulticastWakelockAcqAcqRelRel() local 461 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStatsLocked(testUid); in testMulticastWakelockAcqAcqRelRel() 480 final int testUid = 10032; in testMulticastWakelockAcqRelAcqRel() local [all …]
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | PermissionHelperTest.java | 363 int testUid = -1; in testSetNotificationPermission_doesntRequestNotChanged() local 367 .thenReturn(testUid); in testSetNotificationPermission_doesntRequestNotChanged() 375 eq(Manifest.permission.POST_NOTIFICATIONS), eq(-1), eq(testUid)); in testSetNotificationPermission_doesntRequestNotChanged()
|
/aosp14/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
H A D | RawBatteryStatsTest.java | 68 @Test public void testUid() throws Exception { in testUid() method in RawBatteryStatsTest
|
/aosp14/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | MediaFocusControl.java | 954 String attributionTag, int flags, int sdk, boolean forceDuck, int testUid) { in requestAudioFocus() argument 970 ? testUid : Binder.getCallingUid(); in requestAudioFocus()
|