Home
last modified time | relevance | path

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

12

/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 enforceNetworkStackCallingPermission()
76 if (caller != Process.myUid() && 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/Settings/tests/unit/src/com/android/settings/
DUserCredentialsTest.java40 Credential c = new Credential(alias, Process.SYSTEM_UID); in testCredentialIsParcelable()
/packages/services/Mms/tests/robotests/src/com/android/mms/service/
DMmsServiceRoboTest.java57 ShadowBinder.setCallingUid(Process.SYSTEM_UID); in testSendMessage_DoesNotThrowIfSystemUid()
/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/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/Bluetooth/src/com/android/bluetooth/
DUtils.java339 || (UserHandle.getAppId(Process.SYSTEM_UID) == UserHandle.getAppId(callingUid)); in checkCaller()
359 || (UserHandle.getAppId(Process.SYSTEM_UID) == UserHandle.getAppId(callingUid)); in checkCallerAllowManagedProfiles()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java652 mTelephonyProviderTestable.fakeCallingUid(Process.SYSTEM_UID); in testEnforceManagedUri()
776 mTelephonyProviderTestable.fakeCallingUid(Process.SYSTEM_UID); in testTelephonyUriDpcRecordAccessControl()
856 mTelephonyProviderTestable.fakeCallingUid(Process.SYSTEM_UID); in testDpcUri()
949 mTelephonyProviderTestable.fakeCallingUid(Process.SYSTEM_UID); in testDpcUriOnConflict()
1021 mTelephonyProviderTestable.fakeCallingUid(Process.SYSTEM_UID + 123456); in testAccessUrlDpcThrowSecurityExceptionFromOtherUid()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DAppPicker.java101 if (ai.uid == Process.SYSTEM_UID) { in onCreateActions()
/packages/apps/Settings/src/com/android/settings/development/
DAppPicker.java104 if (ai.uid == Process.SYSTEM_UID) { in AppListAdapter()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DAppPicker.java104 if (ai.uid == Process.SYSTEM_UID) { in AppListAdapter()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsPublisherClientService.java265 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/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DActionDisabledByAdminDialogHelper.java207 if (UserHandle.isSameApp(Process.myUid(), Process.SYSTEM_UID)) { in setAdminSupportDetails()
/packages/apps/Settings/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelper.java207 if (UserHandle.isSameApp(Process.myUid(), Process.SYSTEM_UID)) { in setAdminSupportDetails()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java286 if (uid != Process.SYSTEM_UID) { in assertCallingFromSystemProcess()
299 if (uid != Process.SYSTEM_UID && pid != Process.myPid()) { in assertCallingFromSystemProcessOrSelf()
/packages/apps/Settings/src/com/android/settings/security/
DCredentialStorage.java281 if (mUid == Process.SYSTEM_UID || mUid == KeyStore.UID_SELF) { in doInBackground()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceController.java110 collapseKey = android.os.Process.SYSTEM_UID; in aggregateDataUsage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelperTest.java165 ShadowProcess.setUid(Process.SYSTEM_UID); in testSetAdminSupportDetails()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DCredentialStorage.java304 if (uid == Process.SYSTEM_UID || uid == KeyStore.UID_SELF) { in onKeyInstalled()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DCredentialStorageActivity.java326 if (uid == Process.SYSTEM_UID || uid == KeyStore.UID_SELF) { in onKeyInstalled()

12