/packages/apps/Bluetooth/jni/ |
D | permission_helpers.cc | 34 static uid_t SYSTEM_UID = 1000; variable 59 (SYSTEM_UID == callingUid); in isCallerActiveUser() 71 (SYSTEM_UID == callingUid)) in isCallerActiveUserOrManagedProfile()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | ProviderUtil.java | 47 return (uid != Process.SYSTEM_UID in isAccessRestricted() 60 return (uid != Process.SYSTEM_UID && uid != Process.PHONE_UID) || in shouldSetCreator() 73 return (uid != Process.SYSTEM_UID && uid != Process.PHONE_UID) && in shouldRemoveCreator()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryEntryTest.java | 51 private static final int SYSTEM_UID = Process.SYSTEM_UID; field in BatteryEntryTest 98 new BatterySipper(DrainType.APP, new FakeUid(SYSTEM_UID), 0 /* power use */); in createSipperForSystem()
|
D | PowerUsageFeatureProviderImplTest.java | 80 when(mBatterySipper.getUid()).thenReturn(Process.SYSTEM_UID); in testIsTypeSystem_uidSystem_returnTrue()
|
/packages/modules/NetworkStack/src/com/android/server/util/ |
D | PermissionUtil.java | 39 if (caller == Process.SYSTEM_UID) { in checkNetworkStackCallingPermission() 75 if (caller != Process.SYSTEM_UID && caller != Process.ROOT_UID in checkDumpPermission()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UserCredentialsSettings.java | 273 final int systemUid = UserHandle.getUid(myUserId, Process.SYSTEM_UID); in doInBackground() 306 if (UserHandle.getAppId(uid) == Process.SYSTEM_UID) { in getCredentialsForUid() 512 return UserHandle.getAppId(uid) == Process.SYSTEM_UID; in isSystem()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | UserCredentialsSettings.java | 273 final int systemUid = UserHandle.getUid(myUserId, Process.SYSTEM_UID); in doInBackground() 306 if (UserHandle.getAppId(uid) == Process.SYSTEM_UID) { in getCredentialsForUid() 512 return UserHandle.getAppId(uid) == Process.SYSTEM_UID; in isSystem()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | Utils.java | 260 || (Process.SYSTEM_UID == callingUid); in checkCaller() 279 || (sSystemUiUid == callingUid) || (Process.SYSTEM_UID == callingUid); in checkCallerAllowManagedProfiles()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
D | UserCredentialsTest.java | 40 Credential c = new Credential(alias, Process.SYSTEM_UID); in testCredentialIsParcelable()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyProviderTest.java | 626 mTelephonyProviderTestable.fakeCallingUid(Process.SYSTEM_UID); in testEnforceManagedUri() 748 mTelephonyProviderTestable.fakeCallingUid(Process.SYSTEM_UID); in testTelephonyUriDpcRecordAccessControl() 826 mTelephonyProviderTestable.fakeCallingUid(Process.SYSTEM_UID); in testDpcUri() 917 mTelephonyProviderTestable.fakeCallingUid(Process.SYSTEM_UID); in testDpcUriOnConflict() 987 mTelephonyProviderTestable.fakeCallingUid(Process.SYSTEM_UID + 123456); in testAccessUrlDpcThrowSecurityExceptionFromOtherUid()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryAppListPreferenceController.java | 282 realUid = Process.SYSTEM_UID; in getCoalescedUsageList() 405 return appUid >= Process.SYSTEM_UID && appUid < Process.FIRST_APPLICATION_UID; in isSystemUid()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryAppListPreferenceController.java | 282 realUid = Process.SYSTEM_UID; in getCoalescedUsageList() 400 return appUid >= Process.SYSTEM_UID && appUid < Process.FIRST_APPLICATION_UID; in isSystemUid()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 826 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && (!Utils.checkCaller())) { in enable() 839 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && (!Utils.checkCaller())) { in enableNoAutoConnect() 853 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && (!Utils.checkCaller())) { in disable() 867 if ((Binder.getCallingUid() != Process.SYSTEM_UID) in getAddress() 896 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && (!Utils.checkCaller())) { in getName()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | AppPicker.java | 101 if (ai.uid == Process.SYSTEM_UID) { in onCreateActions()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | AppPicker.java | 104 if (ai.uid == Process.SYSTEM_UID) { in AppListAdapter()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AppPicker.java | 104 if (ai.uid == Process.SYSTEM_UID) { in AppListAdapter()
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsPublisherClientService.java | 270 if (!(Binder.getCallingUid() == Process.SYSTEM_UID in assertSystemOrSelf()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 197 if (uid == android.os.Process.SYSTEM_UID) { in isSystemInternal()
|
/packages/services/Car/service/src/com/android/car/ |
D | ICarImpl.java | 264 if (uid != Process.SYSTEM_UID) { in assertCallingFromSystemProcess() 277 if (uid != Process.SYSTEM_UID && pid != Process.myPid()) { in assertCallingFromSystemProcessOrSelf()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/vms/ |
D | VmsBrokerServiceTest.java | 148 () -> Process.SYSTEM_UID); in testAddingHalSubscriberSavesPackageName()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelper.java | 207 if (UserHandle.isSameApp(Process.myUid(), Process.SYSTEM_UID)) { in setAdminSupportDetails()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/ |
D | ActionDisabledByAdminDialogHelper.java | 207 if (UserHandle.isSameApp(Process.myUid(), Process.SYSTEM_UID)) { in setAdminSupportDetails()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelperTest.java | 165 ShadowProcess.setUid(Process.SYSTEM_UID); in testSetAdminSupportDetails()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | AppDataUsagePreferenceController.java | 110 collapseKey = android.os.Process.SYSTEM_UID; in aggregateDataUsage()
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | CredentialStorage.java | 183 if (uid == Process.SYSTEM_UID || uid == KeyStore.UID_SELF) { in installIfAvailable()
|