/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/ |
PacService.java | 96 if (Binder.getCallingUid() != Process.SYSTEM_UID) { 105 if (Binder.getCallingUid() != Process.SYSTEM_UID) { 114 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
|
/frameworks/base/core/tests/coretests/src/android/os/ |
ProcessTest.java | 32 assertEquals(android.os.Process.SYSTEM_UID, Process.getUidForName("system")); 35 assertEquals(UserHandle.getUid(1, Process.SYSTEM_UID), Process.getUidForName("u1_system"));
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
ProviderUtil.java | 47 return (uid != Process.SYSTEM_UID 60 return (uid != Process.SYSTEM_UID && uid != Process.PHONE_UID) || 73 return (uid != Process.SYSTEM_UID && uid != Process.PHONE_UID) &&
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
ActivityRecognitionProviderClient.java | 43 if (callingUid != Process.SYSTEM_UID) {
|
ActivityRecognitionProviderWatcher.java | 59 if (callingUid != Process.SYSTEM_UID) {
|
/cts/tests/tests/os/src/android/os/health/cts/ |
SystemHealthManagerTest.java | 65 healthy.takeUidSnapshot(Process.SYSTEM_UID); 114 Process.SYSTEM_UID,
|
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkStatsAccess.java | 117 || UserHandle.getAppId(callingUid) == android.os.Process.SYSTEM_UID) { 155 return uid == android.os.Process.SYSTEM_UID || uid == UID_REMOVED 161 return uid == android.os.Process.SYSTEM_UID || uid == UID_REMOVED
|
/frameworks/base/core/java/android/net/ |
TrafficStats.java | 529 if (callingUid == android.os.Process.SYSTEM_UID || callingUid == uid) { 558 if (callingUid == android.os.Process.SYSTEM_UID || callingUid == uid) { 587 if (callingUid == android.os.Process.SYSTEM_UID || callingUid == uid) { 616 if (callingUid == android.os.Process.SYSTEM_UID || callingUid == uid) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsObserversTest.java | 140 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); 152 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); 163 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); 169 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); 187 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); 193 mStatsObservers.unregister(request, Process.SYSTEM_UID); 221 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); 251 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); 288 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE);
|
NetworkStatsCollectionTest.java | 183 collection.recordData(identSet, Process.SYSTEM_UID, SET_DEFAULT, TAG_NONE, 0, 194 MoreAsserts.assertEquals(new int[] { Process.SYSTEM_UID, myUid, otherUidInSameUser }, 197 new int[] { Process.SYSTEM_UID, myUid, otherUidInSameUser, uidInDifferentUser },
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
SenderFilter.java | 41 if (callerUid == Process.SYSTEM_UID || callerUid == 0 ||
|
/frameworks/base/services/core/java/com/android/server/am/ |
UserController.java | 26 import static android.os.Process.SYSTEM_UID; 253 AppOpsManager.OP_NONE, null, true, false, MY_PID, SYSTEM_UID, userId); 335 null, null, AppOpsManager.OP_NONE, null, false, false, MY_PID, SYSTEM_UID, 349 null, false, false, MY_PID, SYSTEM_UID, 413 null, true, false, MY_PID, SYSTEM_UID, userId); 426 AppOpsManager.OP_NONE, null, true, false, MY_PID, SYSTEM_UID, userId); 543 null, true, false, MY_PID, SYSTEM_UID, UserHandle.USER_ALL); 585 null, true, false, MY_PID, SYSTEM_UID, userId); 673 null, false, false, MY_PID, SYSTEM_UID, UserHandle.USER_ALL); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
RingtonePlayer.java | 166 if (Binder.getCallingUid() != Process.SYSTEM_UID) { 178 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageUsage.java | 20 import static android.os.Process.SYSTEM_UID; 62 0640, SYSTEM_UID, PACKAGE_INFO_GID);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
DpmMockContext.java | 89 public static final int SYSTEM_UID = android.os.Process.SYSTEM_UID; 102 callingUid = SYSTEM_UID; 125 return callingUid == SYSTEM_UID; 437 if (binder.getCallingUid() == SYSTEM_UID) {
|
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/ |
PackageValidator.java | 94 if (Process.SYSTEM_UID == callingUid || Process.myUid() == callingUid) {
|
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/ |
PackageValidator.java | 94 if (Process.SYSTEM_UID == callingUid || Process.myUid() == callingUid) {
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
PackageValidator.java | 94 if (Process.SYSTEM_UID == callingUid || Process.myUid() == callingUid) {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
RecentLocationApps.java | 82 (uid == Process.SYSTEM_UID) && ANDROID_SYSTEM_PACKAGE_NAME.equals(packageName);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
KeyguardService.java | 57 if (Binder.getCallingUid() == Process.SYSTEM_UID) return;
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
PackageValidator.java | 96 if (Process.SYSTEM_UID == callingUid || Process.myUid() == callingUid) {
|
/packages/apps/Settings/src/com/android/settings/ |
AppPicker.java | 101 if (ai.uid == Process.SYSTEM_UID) {
|
/packages/services/Car/service/src/com/android/car/ |
CarRadioService.java | 204 if (getCallingUid() != Process.SYSTEM_UID &&
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
Utils.java | 217 ok = (systemUiUid == callingUid) || (Process.SYSTEM_UID == callingUid); 252 ok = (systemUiUid == callingUid) || (Process.SYSTEM_UID == callingUid);
|
/frameworks/base/core/java/com/android/internal/os/ |
ZygoteConnection.java | 605 * uid 1000 (Process.SYSTEM_UID) may specify any uid > 1000 in normal 616 if (peer.getUid() == Process.SYSTEM_UID) { 620 /* In normal operation, SYSTEM_UID can only specify a restricted 621 * set of UIDs. In factory test mode, SYSTEM_UID may specify any uid. 625 if (uidRestricted && args.uidSpecified && (args.uid < Process.SYSTEM_UID)) { 628 + Process.SYSTEM_UID);
|