/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsCpuTimesTest.java | 21 import static android.os.Process.FIRST_APPLICATION_UID; 253 FIRST_APPLICATION_UID + 22, in testReadKernelUidCpuTimesLocked() 254 FIRST_APPLICATION_UID + 27, in testReadKernelUidCpuTimesLocked() 255 FIRST_APPLICATION_UID + 33 in testReadKernelUidCpuTimesLocked() 328 FIRST_APPLICATION_UID + 22, in testReadKernelUidCpuTimesLocked_isolatedUid() 330 FIRST_APPLICATION_UID + 33 in testReadKernelUidCpuTimesLocked_isolatedUid() 366 final int ownerUid = UserHandle.getUid(testUserId, FIRST_APPLICATION_UID + 42); in testReadKernelUidCpuTimesLocked_isolatedUid() 414 final int invalidUid = UserHandle.getUid(invalidUserId, FIRST_APPLICATION_UID + 99); in testReadKernelUidCpuTimesLocked_invalidUid() 418 FIRST_APPLICATION_UID + 22, in testReadKernelUidCpuTimesLocked_invalidUid() 419 FIRST_APPLICATION_UID + 27, in testReadKernelUidCpuTimesLocked_invalidUid() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 120 public static final int AID_APP_START = android.os.Process.FIRST_APPLICATION_UID; 179 return appId >= Process.FIRST_APPLICATION_UID && appId <= Process.LAST_APPLICATION_UID; in isApp() 192 return appId < Process.FIRST_APPLICATION_UID; in isCore() 290 final int appId = getAppId(gid) + Process.FIRST_APPLICATION_UID in getAppIdFromSharedAppGid() 318 if (uid < Process.FIRST_APPLICATION_UID) { in formatUid() 332 } else if (appId >= Process.FIRST_APPLICATION_UID) { in formatUid() 334 sb.append(appId - Process.FIRST_APPLICATION_UID); in formatUid() 360 if (uid < Process.FIRST_APPLICATION_UID) { in formatUid() 374 } else if (appId >= Process.FIRST_APPLICATION_UID) { in formatUid() 376 pw.print(appId - Process.FIRST_APPLICATION_UID); in formatUid()
|
D | Process.java | 212 public static final int FIRST_APPLICATION_UID = 10000; field in Process
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | KeyguardDisableHandlerTest.java | 19 import static android.os.Process.FIRST_APPLICATION_UID; 108 mKeyguardDisable.disableKeyguard(new Binder(), "Tag", FIRST_APPLICATION_UID, USER_SYSTEM); in disable_fromApp_disables() 116 UserHandle.getUid(1, FIRST_APPLICATION_UID), 1); in disable_fromApp_secondaryUser_disables() 151 mKeyguardDisable.disableKeyguard(new Binder(), "Tag", FIRST_APPLICATION_UID, USER_SYSTEM); in disable_fromApp_secure_staysEnabled() 158 mKeyguardDisable.disableKeyguard(new Binder(), "Tag", FIRST_APPLICATION_UID, USER_SYSTEM); in disable_fromApp_dpmRequiresPassword_staysEnabled() 178 mKeyguardDisable.disableKeyguard(new Binder(), "Tag", FIRST_APPLICATION_UID, USER_SYSTEM); in disable_fromApp_thenSecure_reenables()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | AppBackupUtilsTest.java | 72 applicationInfo.uid = Process.FIRST_APPLICATION_UID; in appIsEligibleForBackup_backupNotAllowed_returnsFalse() 133 applicationInfo.uid = Process.FIRST_APPLICATION_UID; in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue() 150 applicationInfo.uid = Process.FIRST_APPLICATION_UID; in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue() 184 applicationInfo.uid = Process.FIRST_APPLICATION_UID; in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndDisabled_returnsFalse() 201 applicationInfo.uid = Process.FIRST_APPLICATION_UID; in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndDisbled_returnsFalse() 217 applicationInfo.uid = Process.FIRST_APPLICATION_UID; in appIsDisabled_stateDefaultManifestEnabled_returnsFalse() 234 applicationInfo.uid = Process.FIRST_APPLICATION_UID; in appIsDisabled_stateDefaultManifestDisabled_returnsTrue() 252 applicationInfo.uid = Process.FIRST_APPLICATION_UID; in appIsDisabled_stateEnabled_returnsFalse() 269 applicationInfo.uid = Process.FIRST_APPLICATION_UID; in appIsDisabled_stateDisabled_returnsTrue() 286 applicationInfo.uid = Process.FIRST_APPLICATION_UID; in appIsDisabled_stateDisabledUser_returnsTrue() [all …]
|
D | TarBackupReaderTest.java | 376 packageInfo.applicationInfo.uid = Process.FIRST_APPLICATION_UID; in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore() 451 packageInfo.applicationInfo.uid = Process.FIRST_APPLICATION_UID; in chooseRestorePolicy_restoreAnyVersion_returnsAccept() 492 packageInfo.applicationInfo.uid = Process.FIRST_APPLICATION_UID; in chooseRestorePolicy_notRestoreAnyVersionButVersionMatch_returnsAccept() 536 packageInfo.applicationInfo.uid = Process.FIRST_APPLICATION_UID; in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchButAllowApksAndHasApk_returnsAcceptIfApk() 576 packageInfo.applicationInfo.uid = Process.FIRST_APPLICATION_UID; in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchAndDoesNotAllowApks_returnsIgnore()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | ProcessTest.java | 29 assertEquals(Process.FIRST_APPLICATION_UID, Process.getUidForName("u0_a0")); in testProcessGetUidFromName() 33 assertEquals(UserHandle.getUid(3, Process.FIRST_APPLICATION_UID + 100), in testProcessGetUidFromName()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | PackageData.java | 108 Process.FIRST_APPLICATION_UID + identifier); in androidPackage()
|
/frameworks/base/core/java/android/net/metrics/ |
D | WakeupStats.java | 75 if (ev.uid >= Process.FIRST_APPLICATION_UID) { in countEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | BroadcastRecordTest.java | 151 UserHandle.getUid(userId, Process.FIRST_APPLICATION_UID + i))); in createReceiverInfos()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBackupRestoreTest.java | 619 int nonSystemAppUid = Process.FIRST_APPLICATION_UID + 556; in testMultipleNetworksSystemAppBackupRestore() 872 nonSystemAppWepNetwork.creatorUid = Process.FIRST_APPLICATION_UID; in testMultipleNetworksSystemAppSupplicantBackupRestore() 881 nonSystemAppPskNetwork.creatorUid = Process.FIRST_APPLICATION_UID + 1; in testMultipleNetworksSystemAppSupplicantBackupRestore()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 269 private static final int APP_ID_A = android.os.Process.FIRST_APPLICATION_UID + 4; 270 private static final int APP_ID_B = android.os.Process.FIRST_APPLICATION_UID + 8; 271 private static final int APP_ID_C = android.os.Process.FIRST_APPLICATION_UID + 15; 272 private static final int APP_ID_D = android.os.Process.FIRST_APPLICATION_UID + 16; 273 private static final int APP_ID_E = android.os.Process.FIRST_APPLICATION_UID + 23; 274 private static final int APP_ID_F = android.os.Process.FIRST_APPLICATION_UID + 42;
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsState.java | 19 import static android.os.Process.FIRST_APPLICATION_UID; 1199 if (callingAppId < FIRST_APPLICATION_UID) { in isSystemPackage() 1214 if (UserHandle.getAppId(uid) < FIRST_APPLICATION_UID) { in isSystemPackage()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessRecord.java | 795 if (UserHandle.getAppId(info.uid) >= Process.FIRST_APPLICATION_UID) { in writeToProto() 823 if (info.uid < Process.FIRST_APPLICATION_UID) { in toShortString() 829 if (appId >= Process.FIRST_APPLICATION_UID) { in toShortString() 831 sb.append(appId - Process.FIRST_APPLICATION_UID); in toShortString()
|
D | AppErrors.java | 814 >= Process.FIRST_APPLICATION_UID
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 610 && UserHandle.getAppId(uid) >= Process.FIRST_APPLICATION_UID) { in processAppUsage() 981 if (uid >= Process.ROOT_UID && uid < Process.FIRST_APPLICATION_UID) { in isTypeSystem()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 1060 if (appId >= Process.FIRST_APPLICATION_UID) { in registerExistingAppIdLPw() 1062 final int index = appId - Process.FIRST_APPLICATION_UID; in registerExistingAppIdLPw() 1089 if (appId >= Process.FIRST_APPLICATION_UID) { in getSettingLPr() 1091 final int index = appId - Process.FIRST_APPLICATION_UID; in getSettingLPr() 1100 if (appId >= Process.FIRST_APPLICATION_UID) { in removeAppIdLPw() 1102 final int index = appId - Process.FIRST_APPLICATION_UID; in removeAppIdLPw() 1111 if (appId >= Process.FIRST_APPLICATION_UID) { in replaceAppIdLPw() 1113 final int index = appId - Process.FIRST_APPLICATION_UID; in replaceAppIdLPw() 4140 return Process.FIRST_APPLICATION_UID + i; in acquireAndRegisterNewAppIdLPw() 4145 if (size > (Process.LAST_APPLICATION_UID - Process.FIRST_APPLICATION_UID)) { in acquireAndRegisterNewAppIdLPw() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 147 private static final int UID_1 = Process.FIRST_APPLICATION_UID + 1; 148 private static final int UID_2 = Process.FIRST_APPLICATION_UID + 2; 149 private static final int UID_3 = Process.FIRST_APPLICATION_UID + 3;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | TrampolineTest.java | 293 TrampolineTestable.sCallingUid = Process.FIRST_APPLICATION_UID; in setBackupServiceActive_forSystemUserAndCallerNonRootNonSystem_throws() 328 TrampolineTestable.sCallingUid = Process.FIRST_APPLICATION_UID; in setBackupServiceActive_forManagedProfileAndCallerNonRootNonSystem_throws()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiBackupRestore.java | 680 if (creatorUid >= Process.FIRST_APPLICATION_UID) { in createWifiConfiguration()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Session.java | 110 if (mUid < Process.FIRST_APPLICATION_UID) { in Session()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 59 private static final int SOME_UID = android.os.Process.FIRST_APPLICATION_UID;
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 19 import static android.os.Process.FIRST_APPLICATION_UID; 1330 if (UserHandle.getAppId(pkg.applicationInfo.uid) < FIRST_APPLICATION_UID) { in isSysComponentOrPersistentPlatformSignedPrivApp()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 1844 if (uid < FIRST_APPLICATION_UID) { in isUidActive() 1853 if (uid < FIRST_APPLICATION_UID) { in isUidActiveLocked()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsApplication.java | 203 < android.os.Process.FIRST_APPLICATION_UID) { in getIncomingUserId()
|