/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 128 return appId >= Process.FIRST_APPLICATION_UID && appId <= Process.LAST_APPLICATION_UID; in isApp() 201 - Process.FIRST_APPLICATION_UID; in getSharedAppGid() 209 final int appId = getAppId(gid) + Process.FIRST_APPLICATION_UID in getAppIdFromSharedAppGid() 223 - Process.FIRST_APPLICATION_UID; in getCacheAppGid() 232 if (uid < Process.FIRST_APPLICATION_UID) { in formatUid() 241 } else if (appId >= Process.FIRST_APPLICATION_UID) { in formatUid() 243 sb.append(appId - Process.FIRST_APPLICATION_UID); in formatUid() 268 if (uid < Process.FIRST_APPLICATION_UID) { in formatUid() 277 } else if (appId >= Process.FIRST_APPLICATION_UID) { in formatUid() 279 pw.print(appId - Process.FIRST_APPLICATION_UID); in formatUid()
|
D | Process.java | 159 public static final int FIRST_APPLICATION_UID = 10000; field in Process
|
D | StrictMode.java | 1234 if (android.os.Process.myUid() < android.os.Process.FIRST_APPLICATION_UID) { in conditionallyEnableDebugLogging()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | ProcessTest.java | 34 assertEquals(Process.FIRST_APPLICATION_UID, Process.getUidForName("u0_a0")); in testProcessGetUidFromName() 38 assertEquals(UserHandle.getUid(3, Process.FIRST_APPLICATION_UID + 100), in testProcessGetUidFromName()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBackupRestoreTest.java | 372 int nonSystemAppUid = Process.FIRST_APPLICATION_UID + 556; in testMultipleNetworksSystemAppBackupRestore() 625 nonSystemAppWepNetwork.creatorUid = Process.FIRST_APPLICATION_UID; in testMultipleNetworksSystemAppSupplicantBackupRestore() 634 nonSystemAppPskNetwork.creatorUid = Process.FIRST_APPLICATION_UID + 1; in testMultipleNetworksSystemAppSupplicantBackupRestore()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 247 private static final int APP_ID_A = android.os.Process.FIRST_APPLICATION_UID + 4; 248 private static final int APP_ID_B = android.os.Process.FIRST_APPLICATION_UID + 8; 249 private static final int APP_ID_C = android.os.Process.FIRST_APPLICATION_UID + 15; 250 private static final int APP_ID_D = android.os.Process.FIRST_APPLICATION_UID + 16; 251 private static final int APP_ID_E = android.os.Process.FIRST_APPLICATION_UID + 23; 252 private static final int APP_ID_F = android.os.Process.FIRST_APPLICATION_UID + 42;
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessRecord.java | 632 if (info.uid < Process.FIRST_APPLICATION_UID) { in toShortString() 638 if (appId >= Process.FIRST_APPLICATION_UID) { in toShortString() 640 sb.append(appId - Process.FIRST_APPLICATION_UID); in toShortString()
|
D | AppErrors.java | 717 >= Process.FIRST_APPLICATION_UID in handleShowAppErrorUi()
|
D | ActivityManagerService.java | 51 import static android.os.Process.FIRST_APPLICATION_UID; 2482 return st.vsize > 0 && st.uid < FIRST_APPLICATION_UID; 6085 if (uid >= FIRST_APPLICATION_UID) { in closeSystemDialogs() 6846 isRestrictedBackupMode = mBackupTarget.appInfo.uid >= FIRST_APPLICATION_UID in attachApplicationLocked() 18232 if (UserHandle.getAppId(aInfo.uid) >= FIRST_APPLICATION_UID) { 18537 if (UserHandle.getAppId(uid) < FIRST_APPLICATION_UID) {
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsState.java | 19 import static android.os.Process.FIRST_APPLICATION_UID; 1039 if (callingAppId < FIRST_APPLICATION_UID) { in isSystemPackage() 1062 if (UserHandle.getAppId(uid) < FIRST_APPLICATION_UID) { in isSystemPackage()
|
D | SettingsProvider.java | 1118 && UserHandle.getAppId(Binder.getCallingUid()) >= Process.FIRST_APPLICATION_UID; in isNewSsaidSetting() 1694 if (UserHandle.getAppId(Binder.getCallingUid()) < Process.FIRST_APPLICATION_UID) { 1708 if (UserHandle.getAppId(Binder.getCallingUid()) < Process.FIRST_APPLICATION_UID) {
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 579 && UserHandle.getAppId(uid) >= Process.FIRST_APPLICATION_UID) { in processAppUsage() 926 if (uid >= Process.ROOT_UID && uid < Process.FIRST_APPLICATION_UID) { in isTypeSystem()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 1188 if (uid >= Process.FIRST_APPLICATION_UID) { in addUserIdLPw() 1190 final int index = uid - Process.FIRST_APPLICATION_UID; in addUserIdLPw() 1215 if (uid >= Process.FIRST_APPLICATION_UID) { in getUserIdLPr() 1217 final int index = uid - Process.FIRST_APPLICATION_UID; in getUserIdLPr() 1225 if (uid >= Process.FIRST_APPLICATION_UID) { in removeUserIdLPw() 1227 final int index = uid - Process.FIRST_APPLICATION_UID; in removeUserIdLPw() 1236 if (uid >= Process.FIRST_APPLICATION_UID) { in replaceUserIdLPw() 1238 final int index = uid - Process.FIRST_APPLICATION_UID; in replaceUserIdLPw() 4327 return Process.FIRST_APPLICATION_UID + i; in newUserIdLPw() 4332 if (N > (Process.LAST_APPLICATION_UID-Process.FIRST_APPLICATION_UID)) { in newUserIdLPw() [all …]
|
D | DefaultPermissionGrantPolicy.java | 67 import static android.os.Process.FIRST_APPLICATION_UID; 1009 if (UserHandle.getAppId(pkg.applicationInfo.uid) < FIRST_APPLICATION_UID) { in isSysComponentOrPersistentPlatformSignedPrivAppLPr()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiBackupRestore.java | 712 if (creatorUid >= Process.FIRST_APPLICATION_UID) { in createWifiConfiguration()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Session.java | 108 if (mUid < Process.FIRST_APPLICATION_UID) { in Session()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsApplication.java | 185 < android.os.Process.FIRST_APPLICATION_UID) { in getIncomingUserId()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 784 if ((app.uid < Process.FIRST_APPLICATION_UID) && (app.backupAgentName == null)) { in appIsEligibleForBackup() 3789 if (app.uid >= Process.FIRST_APPLICATION_UID in tearDownAgentAndKill() 6366 if ((pkg.applicationInfo.uid < Process.FIRST_APPLICATION_UID) in installApk() 6562 … if ((pkgInfo.applicationInfo.uid >= Process.FIRST_APPLICATION_UID) in readAppManifest() 7770 if (app.uid >= Process.FIRST_APPLICATION_UID in tearDownAgent() 7917 if ((pkg.applicationInfo.uid < Process.FIRST_APPLICATION_UID) in installApk() 8086 … if ((pkgInfo.applicationInfo.uid >= Process.FIRST_APPLICATION_UID) in readAppManifest() 9594 (mCurrentPackage.applicationInfo.uid >= Process.FIRST_APPLICATION_UID) in keyValueAgentCleanup()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 1002 if (android.os.Process.myUid() < android.os.Process.FIRST_APPLICATION_UID) { in onServiceNotFound()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 943 if (appId < Process.FIRST_APPLICATION_UID) { in isAppIdleFiltered()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 1978 new UidRange(Process.FIRST_APPLICATION_UID, Integer.MAX_VALUE), in closeSocketsForFirewallChainLocked()
|
D | DeviceIdleController.java | 1705 if (callingAppId >= Process.FIRST_APPLICATION_UID) { in addPowerSaveTempWhitelistAppDirectInternal()
|
D | AppOpsService.java | 1867 typeVal + Process.FIRST_APPLICATION_UID); in parseUserPackageOp()
|
D | AlarmManagerService.java | 1337 } else if (workSource == null && (callingUid < Process.FIRST_APPLICATION_UID
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 2948 if (appid >= Process.FIRST_APPLICATION_UID) { in setWakeLockDisabledStateLocked()
|