Home
last modified time | relevance | path

Searched defs:testUid (Results 1 – 25 of 48) sorted by relevance

12

/aosp_15_r20/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
H A DBatteryStatsImplTest.java439 private void mockKernelSingleUidTimeReader(int testUid, long[] cpuTimes) { in mockKernelSingleUidTimeReader()
449 private void mockKernelSingleUidTimeReader(int testUid, long[] cpuTimes, long[] delta) { in mockKernelSingleUidTimeReader()
464 final int testUid = 10032; in testMulticastWakelockAcqRel() local
488 final int testUid = 10032; in testMulticastWakelockAcqNoRel() local
510 final int testUid = 10032; in testMulticastWakelockAcqAcqRelRel() local
540 final int testUid = 10032; in testMulticastWakelockAcqRelAcqRel() local
/aosp_15_r20/cts/tests/tests/settings/src/android/settings/cts/
H A DWifiSliceTest.java138 final int testUid = pm.getPackageUid(packageName, 0); in wifiSlice_grantedPermissionToDefaultAssistant() local
169 final int testUid = pm.getPackageUid(packageName, 0); in wifiSlice_grantedPermissionToDefaultVoiceAssistant() local
/aosp_15_r20/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/batterystats/
H A DBatteryUsageStatsTests.java210 final int testUid = DeviceUtils.getStatsdTestAppUid(getDevice()); in assertBatteryUsageStatsAtom() local
253 final int testUid = DeviceUtils.getStatsdTestAppUid(getDevice()); in assertBatteryUsageStatsPerUidAtoms() local
/aosp_15_r20/frameworks/base/core/tests/coretests/AppThatUsesAppOps/src/android/app/appops/appthatusesappops/
H A DAppOpsUserService.kt39 private val testUid by lazy { in <lambda>() constant in android.app.appops.appthatusesappops.AppOpsUserService
/aosp_15_r20/packages/modules/DnsResolver/tests/
Dresolv_test_utils.h44 ScopeBlockedUIDRule(INetd* netSrv, uid_t testUid) in ScopeBlockedUIDRule()
116 ScopedChangeUID(uid_t testUid) : mTestUid(testUid), mSavedUid(getuid()) { in ScopedChangeUID()
Dresolv_callback_unit_test.cpp42 static uid_t testUid = 0; variable
/aosp_15_r20/packages/services/Car/tests/CarWatchdogLibUnitTest/src/android/car/watchdoglib/
DCarWatchdogDaemonHelperTest.java257 int testUid = 3; in testSetThreadPriority() local
272 int testUid = 3; in testGetThreadPriority() local
/aosp_15_r20/cts/tests/tests/appop/src/android/app/appops/cts/
H A DAppOpsMultiUserTest.kt158 val testUid = packageManager.getPackageUid(SHARED_UID_PKG1, 0) in <lambda>() constant
/aosp_15_r20/cts/tests/tests/appop/AppThatUsesAppOps/src/android/app/appops/cts/appthatusesappops/
H A DAppOpsUserService.kt39 private val testUid by lazy { in noteSyncOpFromNativeCode() constant
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountsDbTest.java222 int testUid = 100500; in testGrantsInsertFindDelete() local
270 int testUid = 100500; in testMetaInsertFindDelete() local
/aosp_15_r20/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DBackgroundRestrictionTest.java472 final int testUid = UserHandle.getUid(testUser, TEST_PACKAGE_APPID_BASE + testPkgIndex); in testTogglingBackgroundRestrictInternal() local
568 final int testUid = UserHandle.getUid(testUser, TEST_PACKAGE_APPID_BASE + testPkgIndex); in testTogglingStandbyBucket() local
619 final int testUid = UserHandle.getUid(testUser, in testBgCurrentDrainMonitor() local
2527 final int testUid = UserHandle.getUid(testUser, TEST_PACKAGE_APPID_BASE + testPkgIndex); in runTestExcessiveEvent() local
/aosp_15_r20/frameworks/base/ravenwood/tests/runtime-test/test/com/android/ravenwoodtest/runtimetest/
H A DIdentityTest.java36 public void testUid() { in testUid() method in IdentityTest
/aosp_15_r20/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/stats/
DPlatformLoggerTest.java71 final int testUid = 1234; in testGetPackageUidAsUser() local
/aosp_15_r20/system/netd/tests/
H A Dbinder_test.cpp2320 const int testUid = randomUid(); in TEST_F() local
5188 ScopedUidChange testUid(TEST_UID1); in TEST_F() local
5214 ScopedUidChange testUid(TEST_UID1); in TEST_F() local
5245 ScopedUidChange testUid(TEST_UID1); in TEST_F() local
5268 ScopedUidChange testUid(TEST_UID1); in TEST_F() local
5288 ScopedUidChange testUid(TEST_UID1); in TEST_F() local
5299 ScopedUidChange testUid(TEST_UID2); in TEST_F() local
5314 ScopedUidChange testUid(TEST_UID1); in TEST_F() local
5325 ScopedUidChange testUid(TEST_UID2); in TEST_F() local
/aosp_15_r20/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/
DPickerDataLayerV2Test.java470 int testUid = 123; in testQueryLocalMediaWithGrants() local
485 testUid))) { in testQueryLocalMediaWithGrants() argument
525 int testUid = 123; in testQueryLocalMediaForPreview() local
719 int testUid = 123; in testFetchMediaGrantsCount() local
/aosp_15_r20/cts/tests/tests/media/audio/src/android/media/audio/cts/
H A DAudioFocusTest.java671 final int testUid = android.os.Process.myUid(); in testAudioFocusExclusive() local
740 final int testUid = android.os.Process.myUid(); in testAudioFocusExclusiveAndRecording() local
/aosp_15_r20/frameworks/base/tools/powermodel/test/com/android/powermodel/
H A DRawBatteryStatsTest.java68 @Test public void testUid() throws Exception { in testUid() method in RawBatteryStatsTest
/aosp_15_r20/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogInternalHandlerTest.cpp683 int testUid = 3; in TEST_F() local
700 int testUid = 3; in TEST_F() local
/aosp_15_r20/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPickerUriResolverTest.java340 int testUid = Process.myUid() + 1; in testProcessUrisForSelection_permissionChecks() local
390 int testUid = Process.myUid() + 1; in testProcessUrisForSelection_cloudAuthorityChecks() local
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsageTest.java226 final int testUid = 123123; in updatePrefs_restrictedByAdmin_shouldDisablePreference() local
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/consent/
DAppConsentDaoTest.java94 int testUid = mAppConsentDao.getUidForInstalledPackageName(mSpyContext.getPackageName()); in testGetUidForInstalledPackageNameWithRealTestNameSuccess() local
/aosp_15_r20/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
H A DSuspendPackagesTest.java276 final int testUid = mPackageManager.getPackageUid(TEST_APP_PACKAGE_NAME, 0); in assertOpDisallowed() local
/aosp_15_r20/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DPermissionHelperTest.java370 int testUid = -1; in testSetNotificationPermission_doesntRequestNotChanged() local
/aosp_15_r20/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java1661 final int testUid = 54352; in testSetBackgroundNetworkingShellCommand() local
1677 final int testUid = 54312; in testGetBackgroundNetworkingShellCommand() local
/aosp_15_r20/frameworks/av/services/audiopolicy/tests/
H A Daudiopolicymanager_tests.cpp2217 const int testUid = 12345; in TEST_P() local
2238 const int testUid = 12345; in TEST_P() local
2266 const int testUid = 12345; in TEST_F() local
2314 const int testUid = 12345; in TEST_F() local

12