/frameworks/base/core/tests/packagemonitortests/src/com/android/internal/content/ |
D | PackageMonitorTest.java | 124 intent.putExtra(Intent.EXTRA_UID, FAKE_PACKAGE_UID); in testPackageMonitorDoHandlePackageEventUidRemoved() 210 intent.putExtra(Intent.EXTRA_UID, FAKE_PACKAGE_UID); in testPackageMonitorDoHandlePackageEventPackageRestarted() 229 intent.putExtra(Intent.EXTRA_UID, FAKE_PACKAGE_UID); in testPackageMonitorDoHandlePackageEventPackageUnstopped() 256 intent.putExtra(Intent.EXTRA_UID, FAKE_PACKAGE_UID); in testPackageMonitorDoHandlePackageEventPackageQueryRestarted() 272 intent.putExtra(Intent.EXTRA_UID, FAKE_PACKAGE_UID); in testPackageMonitorDoHandlePackageEventPackageDataClear() 288 intent.putExtra(Intent.EXTRA_UID, FAKE_PACKAGE_UID); in testPackageMonitorDoHandlePackageEventPackageChanged() 307 assertThat(capturedExtras.getInt(Intent.EXTRA_UID)) in testPackageMonitorDoHandlePackageEventPackageChanged() 308 .isEqualTo(expectedExtras.getInt(Intent.EXTRA_UID)); in testPackageMonitorDoHandlePackageEventPackageChanged() 323 intent.putExtra(Intent.EXTRA_UID, FAKE_PACKAGE_UID); in testPackageMonitorDoHandlePackageEventPackageRemovedReplacing() 342 assertThat(capturedExtras.getInt(Intent.EXTRA_UID)) in testPackageMonitorDoHandlePackageEventPackageRemovedReplacing() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/ |
D | TileRequestTrackerTest.java | 138 intent.putExtra(Intent.EXTRA_UID, USER_UID); in testPackageUninstallRemovesDenials_allComponents() 154 intent.putExtra(Intent.EXTRA_UID, USER_OTHER_UID); in testPackageUninstallRemoveDenials_differentUsers() 172 intent.putExtra(Intent.EXTRA_UID, USER_UID); in testPackageUninstallRemoveDenials_differentPackages() 190 intent.putExtra(Intent.EXTRA_UID, USER_UID); in testPackageUpdateDoesntRemoveDenials() 204 intent.putExtra(Intent.EXTRA_UID, USER_UID); in testClearPackageDataRemovesDenials()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 458 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in doHandlePackageEvent() 483 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in doHandlePackageEvent() 516 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in doHandlePackageEvent() 532 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in doHandlePackageEvent() 541 intent.getIntExtra(Intent.EXTRA_UID, 0), false, intent.getExtras()); in doHandlePackageEvent() 547 intent.getIntExtra(Intent.EXTRA_UID, 0), true, intent.getExtras()); in doHandlePackageEvent() 549 onUidRemoved(intent.getIntExtra(Intent.EXTRA_UID, 0)); in doHandlePackageEvent() 586 onPackageUnstopped(pkgName, intent.getIntExtra(Intent.EXTRA_UID, 0), in doHandlePackageEvent()
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | TileRequestTracker.java | 65 if (!intent.hasExtra(Intent.EXTRA_UID)) { 68 int userId = UserHandle.getUserId(intent.getIntExtra(Intent.EXTRA_UID, -1));
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageMonitorCallbackHelper.java | 105 extras.putInt(Intent.EXTRA_UID, uid); in notifyPackageAddedForNewUsers() 139 extras.putInt(Intent.EXTRA_UID, packageUid); in notifyPackageChanged() 224 int uid = intent.getIntExtra(Intent.EXTRA_UID, -1); in doNotifyCallbacksByAction() 227 intent.putExtra(Intent.EXTRA_UID, uid); in doNotifyCallbacksByAction()
|
D | BroadcastHelper.java | 180 int uid = intent.getIntExtra(Intent.EXTRA_UID, -1); in doSendBroadcast() 183 intent.putExtra(Intent.EXTRA_UID, uid); in doSendBroadcast() 315 extras.putInt(Intent.EXTRA_UID, packageUid); in sendPackageChangedBroadcast() 466 extras.putInt(Intent.EXTRA_UID, request.getAppId()); in sendPostInstallBroadcasts() 675 extras.putInt(Intent.EXTRA_UID, uid); in sendPackageAddedForNewUsers() 869 extras.putInt(Intent.EXTRA_UID, packageRemovedInfo.mUid); in sendSystemPackageUpdatedBroadcasts() 926 extras.putInt(Intent.EXTRA_UID, packageRemovedInfo.mUid); in sendPackageRemovedBroadcasts()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | PackageMonitorCallbackHelperTest.java | 127 result.putInt(Intent.EXTRA_UID, FAKE_PACKAGE_UID); in testPackageMonitorCallback_SuspendCallbackCalled() 216 assertThat(intent.getIntExtra(Intent.EXTRA_UID, -1)).isEqualTo(FAKE_PACKAGE_UID); in testNotifyPackageChanged_callbackCalled() 245 assertThat(intent.getIntExtra(Intent.EXTRA_UID, -1)).isEqualTo(FAKE_PACKAGE_UID); in testNotifyPackageAddedForNewUsers_callbackCalled() 354 bundle.putInt(Intent.EXTRA_UID, FAKE_PACKAGE_UID); in createFakeBundle()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | HeapDumpReceiver.java | 135 final int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in showDumpNotification() 165 shareIntent.putExtra(Intent.EXTRA_UID, uid); in showDumpNotification()
|
D | HeapDumpActivity.java | 59 final int uid = getIntent().getIntExtra(Intent.EXTRA_UID, 0); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/logcat/ |
D | LogAccessDialogActivity.java | 160 if (!intent.hasExtra(Intent.EXTRA_UID)) { in readIntentInfo() 165 mUid = intent.getIntExtra(Intent.EXTRA_UID, 0); in readIntentInfo()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ComponentController.java | 70 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1); 82 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
|
D | BackgroundJobsController.java | 88 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BundleMergerTest.java | 329 first.putInt(Intent.EXTRA_UID, 10001); in testMerge_PackageChanged() 335 second.putInt(Intent.EXTRA_UID, 10001); in testMerge_PackageChanged() 342 assertEquals(10001, res.getInt(Intent.EXTRA_UID)); in testMerge_PackageChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/logcat/ |
D | LogAccessDialogActivityTest.java | 85 intent.putExtra(Intent.EXTRA_UID, 1); in getIntent()
|
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 255 intent.putExtra(Intent.EXTRA_UID, uid); in getShowRestrictedSettingsIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbDialogHelper.java | 87 mUid = intent.getIntExtra(Intent.EXTRA_UID, -1); in UsbDialogHelper()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | OneTimePermissionUserManager.java | 66 int uid = intent.getIntExtra(Intent.EXTRA_UID, -1);
|
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 214 int uid = intent.getIntExtra(Intent.EXTRA_UID, -1); in handlePackageEvent() 226 final int uid = intent.getIntExtra(Intent.EXTRA_UID, -1);
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | QuotaTracker.java | 132 final int uid = intent.getIntExtra(Intent.EXTRA_UID, -1);
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | BackgroundJobsControllerTest.java | 182 intent.putExtra(Intent.EXTRA_UID, uid); in sendPackageStoppedBroadcast()
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/ |
D | VpnManagerServiceTest.java | 226 intent.putExtra(Intent.EXTRA_UID, uid); in buildIntent()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 1700 .putExtra(Intent.EXTRA_UID, UID_1) in testStateClearedOnPackageRemoved() 1712 .putExtra(Intent.EXTRA_UID, UID_2) in testStateClearedOnPackageRemoved() 1724 .putExtra(Intent.EXTRA_UID, UID_1) in testStateClearedOnPackageRemoved() 1735 .putExtra(Intent.EXTRA_UID, UID_2) in testStateClearedOnPackageRemoved()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | NativeTombstoneManager.java | 248 final int uid = intent.getIntExtra(Intent.EXTRA_UID, UserHandle.USER_NULL); in registerForPackageRemoval()
|
/frameworks/base/services/core/java/com/android/server/logcat/ |
D | LogcatManagerService.java | 566 intent.putExtra(Intent.EXTRA_UID, client.mUid); in createIntent()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppRestrictionController.java | 379 final int uid = intent.getIntExtra(Intent.EXTRA_UID, -1); 386 final int uid = intent.getIntExtra(Intent.EXTRA_UID, -1); 396 final int uid = intent.getIntExtra(Intent.EXTRA_UID, -1); 2512 final int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); 2577 trampoline.putExtra(Intent.EXTRA_UID, uid);
|