Home
last modified time | relevance | path

Searched refs:SYSTEM_UID (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/Bluetooth/jni/
Dpermission_helpers.cc34 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/
DProviderUtil.java47 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/
DBatteryEntryTest.java51 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()
DPowerUsageFeatureProviderImplTest.java80 when(mBatterySipper.getUid()).thenReturn(Process.SYSTEM_UID); in testIsTypeSystem_uidSystem_returnTrue()
/packages/modules/NetworkStack/src/com/android/server/util/
DPermissionUtil.java39 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/
DUserCredentialsSettings.java273 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/
DUserCredentialsSettings.java273 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/
DUtils.java260 || (Process.SYSTEM_UID == callingUid); in checkCaller()
279 || (sSystemUiUid == callingUid) || (Process.SYSTEM_UID == callingUid); in checkCallerAllowManagedProfiles()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DUserCredentialsTest.java40 Credential c = new Credential(alias, Process.SYSTEM_UID); in testCredentialIsParcelable()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java626 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/
DBatteryAppListPreferenceController.java282 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/
DBatteryAppListPreferenceController.java282 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/
DAdapterService.java826 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/
DAppPicker.java101 if (ai.uid == Process.SYSTEM_UID) { in onCreateActions()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DAppPicker.java104 if (ai.uid == Process.SYSTEM_UID) { in AppListAdapter()
/packages/apps/Settings/src/com/android/settings/development/
DAppPicker.java104 if (ai.uid == Process.SYSTEM_UID) { in AppListAdapter()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsPublisherClientService.java270 if (!(Binder.getCallingUid() == Process.SYSTEM_UID in assertSystemOrSelf()
/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java197 if (uid == android.os.Process.SYSTEM_UID) { in isSystemInternal()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java264 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/
DVmsBrokerServiceTest.java148 () -> Process.SYSTEM_UID); in testAddingHalSubscriberSavesPackageName()
/packages/apps/Settings/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelper.java207 if (UserHandle.isSameApp(Process.myUid(), Process.SYSTEM_UID)) { in setAdminSupportDetails()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DActionDisabledByAdminDialogHelper.java207 if (UserHandle.isSameApp(Process.myUid(), Process.SYSTEM_UID)) { in setAdminSupportDetails()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelperTest.java165 ShadowProcess.setUid(Process.SYSTEM_UID); in testSetAdminSupportDetails()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceController.java110 collapseKey = android.os.Process.SYSTEM_UID; in aggregateDataUsage()
/packages/apps/Settings/src/com/android/settings/security/
DCredentialStorage.java183 if (uid == Process.SYSTEM_UID || uid == KeyStore.UID_SELF) { in installIfAvailable()

12