Home
last modified time | relevance | path

Searched refs:FIRST_APPLICATION_UID (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/os/
DUserHandle.java128 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()
DProcess.java159 public static final int FIRST_APPLICATION_UID = 10000; field in Process
DStrictMode.java1234 if (android.os.Process.myUid() < android.os.Process.FIRST_APPLICATION_UID) { in conditionallyEnableDebugLogging()
/frameworks/base/core/tests/coretests/src/android/os/
DProcessTest.java34 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/
DWifiBackupRestoreTest.java372 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/
DNetworkPolicyManagerServiceTest.java247 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/
DProcessRecord.java632 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()
DAppErrors.java717 >= Process.FIRST_APPLICATION_UID in handleShowAppErrorUi()
DActivityManagerService.java51 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/
DSettingsState.java19 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()
DSettingsProvider.java1118 && 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/
DBatteryStatsHelper.java579 && 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/
DSettings.java1188 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 …]
DDefaultPermissionGrantPolicy.java67 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/
DWifiBackupRestore.java712 if (creatorUid >= Process.FIRST_APPLICATION_UID) { in createWifiConfiguration()
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java108 if (mUid < Process.FIRST_APPLICATION_UID) { in Session()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsApplication.java185 < android.os.Process.FIRST_APPLICATION_UID) { in getIncomingUserId()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java784 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/
DSystemServiceRegistry.java1002 if (android.os.Process.myUid() < android.os.Process.FIRST_APPLICATION_UID) { in onServiceNotFound()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java943 if (appId < Process.FIRST_APPLICATION_UID) { in isAppIdleFiltered()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1978 new UidRange(Process.FIRST_APPLICATION_UID, Integer.MAX_VALUE), in closeSocketsForFirewallChainLocked()
DDeviceIdleController.java1705 if (callingAppId >= Process.FIRST_APPLICATION_UID) { in addPowerSaveTempWhitelistAppDirectInternal()
DAppOpsService.java1867 typeVal + Process.FIRST_APPLICATION_UID); in parseUserPackageOp()
DAlarmManagerService.java1337 } else if (workSource == null && (callingUid < Process.FIRST_APPLICATION_UID
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java2948 if (appid >= Process.FIRST_APPLICATION_UID) { in setWakeLockDisabledStateLocked()

12