/packages/modules/NetworkStack/apishim/33/com/android/networkstack/apishim/api33/ |
D | ProcessShimImpl.java | 44 public int toSdkSandboxUid(int applicationUid) { in toSdkSandboxUid() method in ProcessShimImpl 45 return Process.toSdkSandboxUid(applicationUid); in toSdkSandboxUid()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | SdkSandboxPermissionTest.java | 50 Process.toSdkSandboxUid(19999)); in testSdkSandboxHasInternetPermission() 61 Process.toSdkSandboxUid(19999)); in testSdkSandboxDoesNotHaveFineLocationPermission()
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxMetricsHostTest/app/src/com/android/tests/sdksandbox/ |
D | SdkSandboxMetricsTestApp.java | 110 .isEqualTo(Process.toSdkSandboxUid(Process.myUid())); in testSdkCanAccessSdkSandboxExitReasons() 129 assertThat(info.getRealUid()).isEqualTo(Process.toSdkSandboxUid(Process.myUid())); in testAppWithDumpPermissionCanAccessSdkSandboxExitReasons() 150 assertThat(exitInfo.getRealUid()).isEqualTo(Process.toSdkSandboxUid(Process.myUid())); in testSdkCannotAccessExitReasonsFromOtherSdkSandboxUids()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | PermissionMonitor.java | 340 int sdkSandboxUid = sProcessShim.toSdkSandboxUid(uid); in makeUidsNetworkPerm() 361 appIdsPerm.put(sProcessShim.toSdkSandboxUid(appId), permission); in makeAppIdsTrafficPerm() 401 appIdsPerm.put(sProcessShim.toSdkSandboxUid(appId), permission); in getSystemTrafficPerm() 409 appIdsPerm.put(sProcessShim.toSdkSandboxUid(appId), permission); in getSystemTrafficPerm() 816 int sdkSandboxUid = sProcessShim.toSdkSandboxUid(uid); in onPackageAdded() 895 sdkSandboxUid = sProcessShim.toSdkSandboxUid(uid); in onPackageRemoved() 1142 int sdkSandboxAppId = sProcessShim.toSdkSandboxUid(appId); in sendPackagePermissionsForAppId() 1234 int sdkSandboxUid = sProcessShim.toSdkSandboxUid(uid); in onSettingChanged() 1242 int sdkSandboxUid = sProcessShim.toSdkSandboxUid(uid); in onSettingChanged()
|
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/ |
D | ProcessShim.java | 25 default int toSdkSandboxUid(int applicationUid) { in toSdkSandboxUid() method
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppDataUsagePreferenceController.java | 109 builder.addUid(Process.toSdkSandboxUid(uid)); in onCreateLoader()
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxManagerServiceUnitTest.java | 961 Process.toSdkSandboxUid(mClientAppUid), in testEnforceAllowedToHostSandboxedActivityFailIfCalledFromSandboxUid() 1245 .killUid(Mockito.eq(Process.toSdkSandboxUid(mClientAppUid)), Mockito.anyString()); in testNotifyInstrumentationStarted_killsSandboxProcess() 1329 Process.toSdkSandboxUid(mClientAppUid))) in testGetEffectiveTargetSdkVersion() 1392 Mockito.eq(Process.toSdkSandboxUid(mClientAppUid)), in testUnloadSdkThatIsLoaded() 1854 assertThat(activityInfo.applicationInfo.uid).isEqualTo(Process.toSdkSandboxUid(callingUid)); in testRegisterActivityInterceptorCallbackOnServiceStart() 1881 assertThat(activityInfo.applicationInfo.uid).isEqualTo(Process.toSdkSandboxUid(callingUid)); in testRegisterActivityInterceptionWithRightComponentSuccess()
|
D | SdkSandboxStatsdMetricsUnitTest.java | 880 new Intent(), Process.toSdkSandboxUid(Process.myUid()), TEST_PACKAGE); in testEnforceAllowedToHostSandboxedActivity_FailsForSandboxUid_CallsStatsd()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 579 final int sdkSandboxUid = mProcessShim.toSdkSandboxUid(uid); in assertBackgroundPermission() 631 int sdkSandboxAppId = mProcessShim.toSdkSandboxUid(appId); in expectTrafficPerm() 691 int sdkSandboxUid = mProcessShim.toSdkSandboxUid(uid); in expectNetworkPerm() 713 int sdkSandboxUid = mProcessShim.toSdkSandboxUid(uid); in expectNoNetworkPerm() 1132 netdPermissionsAppIds.put(mProcessShim.toSdkSandboxUid(MOCK_APPID1), in testPackagePermissionUpdate() 1137 netdPermissionsAppIds.put(mProcessShim.toSdkSandboxUid(MOCK_APPID2), in testPackagePermissionUpdate()
|
/packages/apps/Settings/src/com/android/settings/datausage/lib/ |
D | AppDataUsageRepository.kt | 227 set += Process.toSdkSandboxUid(uid) in <lambda>()
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/ |
D | SdkSandboxManagerService.java | 934 Process.toSdkSandboxUid(callingInfo.getUid()))); 1569 final int sdkSandboxUid = Process.toSdkSandboxUid(currentCallingInfo.getUid()); 1733 sdkSandboxInfoForInstrumentation.uid = Process.toSdkSandboxUid(uid); 1844 int sdkSandboxUid = Process.toSdkSandboxUid(callingInfo.getUid()); 1994 activityInfo.applicationInfo.uid = Process.toSdkSandboxUid(callingUid);
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 950 private static int toSdkSandboxUid(int appUid) { in toSdkSandboxUid() method in ConnectivityServiceTest 9539 excludedUids.add(toSdkSandboxUid(VPN_UID)); 10054 excludedUids.add(toSdkSandboxUid(VPN_UID)); 10099 excludedUids.add(toSdkSandboxUid(uid));
|