Home
last modified time | relevance | path

Searched refs:EXTRA_UID (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/core/tests/packagemonitortests/src/com/android/internal/content/
DPackageMonitorTest.java124 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/
DTileRequestTrackerTest.java138 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/
DPackageMonitor.java458 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/
DTileRequestTracker.java65 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/
DPackageMonitorCallbackHelper.java105 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()
DBroadcastHelper.java180 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/
DPackageMonitorCallbackHelperTest.java127 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/
DHeapDumpReceiver.java135 final int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in showDumpNotification()
165 shareIntent.putExtra(Intent.EXTRA_UID, uid); in showDumpNotification()
DHeapDumpActivity.java59 final int uid = getIntent().getIntExtra(Intent.EXTRA_UID, 0); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/logcat/
DLogAccessDialogActivity.java160 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/
DComponentController.java70 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
82 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
DBackgroundJobsController.java88 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
/frameworks/base/core/tests/coretests/src/android/os/
DBundleMergerTest.java329 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/
DLogAccessDialogActivityTest.java85 intent.putExtra(Intent.EXTRA_UID, 1); in getIntent()
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java255 intent.putExtra(Intent.EXTRA_UID, uid); in getShowRestrictedSettingsIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDialogHelper.java87 mUid = intent.getIntExtra(Intent.EXTRA_UID, -1); in UsbDialogHelper()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DOneTimePermissionUserManager.java66 int uid = intent.getIntExtra(Intent.EXTRA_UID, -1);
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java214 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/
DQuotaTracker.java132 final int uid = intent.getIntExtra(Intent.EXTRA_UID, -1);
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DBackgroundJobsControllerTest.java182 intent.putExtra(Intent.EXTRA_UID, uid); in sendPackageStoppedBroadcast()
/frameworks/base/services/tests/VpnTests/java/com/android/server/
DVpnManagerServiceTest.java226 intent.putExtra(Intent.EXTRA_UID, uid); in buildIntent()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java1700 .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/
DNativeTombstoneManager.java248 final int uid = intent.getIntExtra(Intent.EXTRA_UID, UserHandle.USER_NULL); in registerForPackageRemoval()
/frameworks/base/services/core/java/com/android/server/logcat/
DLogcatManagerService.java566 intent.putExtra(Intent.EXTRA_UID, client.mUid); in createIntent()
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java379 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);

123