Home
last modified time | relevance | path

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

123

/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/events/
DDockPackageChangeReceiverTest.kt44 whenever(intentMock.getIntExtra(eq(Intent.EXTRA_UID), anyInt())) in onReceive_uidNotSent_noop()
54 whenever(intentMock.getIntExtra(eq(Intent.EXTRA_UID), anyInt())).thenReturn(TEST_UID) in onReceive_pkgNotSend_noop()
67 whenever(intentMock.getIntExtra(eq(Intent.EXTRA_UID), anyInt())).thenReturn(TEST_UID) in onReceive_actionPackageRemoved_replacing_noop()
80 whenever(intentMock.getIntExtra(eq(Intent.EXTRA_UID), anyInt())).thenReturn(TEST_UID) in onReceive_actionPackageRemoved_notReplacing_packageRemovedCalled()
93 whenever(intentMock.getIntExtra(eq(Intent.EXTRA_UID), anyInt())).thenReturn(TEST_UID) in onReceive_actionPackageAdded_replacing_noop()
106 whenever(intentMock.getIntExtra(eq(Intent.EXTRA_UID), anyInt())).thenReturn(TEST_UID) in onReceive_actionPackageAdded_notReplacing_packageAddedCalled()
117 whenever(intentMock.getIntExtra(eq(Intent.EXTRA_UID), anyInt())).thenReturn(TEST_UID) in onReceive_actionPackageChanged_isEnabled_noop()
130 whenever(intentMock.getIntExtra(eq(Intent.EXTRA_UID), anyInt())).thenReturn(TEST_UID) in onReceive_actionPackageChanged_isDisabled_packageRemovedCalled()
143 whenever(intentMock.getIntExtra(eq(Intent.EXTRA_UID), anyInt())).thenReturn(TEST_UID) in onReceive_actionPackageChanged_isDisabledForUser_packageRemovedCalled()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailActivity.java21 import static com.android.settings.fuelgauge.AdvancedPowerUsageDetail.EXTRA_UID;
58 args.putInt(EXTRA_UID, packageManager.getPackageUid(packageName, 0 /* no flag */)); in onCreate()
DAdvancedPowerUsageDetail.java74 public static final String EXTRA_UID = "extra_uid"; field in AdvancedPowerUsageDetail
192 args.putInt(EXTRA_UID, launchArgs.mUid); in startBatteryDetailPage()
227 args.putInt(EXTRA_UID, packageManager.getPackageUid(packageName, 0 /* no flag */)); in startBatteryDetailPage()
386 final int uid = bundle.getInt(EXTRA_UID, 0); in createPreferenceControllers()
494 getContext(), getArguments().getInt(EXTRA_UID), packageName); in onCreateBackgroundUsageState()
DPowerBackgroundUsageDetail.java60 public static final String EXTRA_UID = "extra_uid"; field in PowerBackgroundUsageDetail
162 final int uid = bundle.getInt(EXTRA_UID, 0); in createPreferenceControllers()
286 getContext(), getArguments().getInt(EXTRA_UID), packageName); in onCreateBackgroundUsageState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/
DNotificationListenerCheck.kt598 putExtra(Intent.EXTRA_UID, uid) in getNotificationDeletePendingIntent()
626 putExtra(Intent.EXTRA_UID, uid) in getSafetyCenterActivityPendingIntent()
812 putExtra(Intent.EXTRA_UID, uid) in getDisableNlsPendingIntent()
836 putExtra(Intent.EXTRA_UID, uid) in getNotificationListenerDetailSettingsPendingIntent()
852 putExtra(Intent.EXTRA_UID, uid) in getActionCardDismissalPendingIntent()
1002 val uid = intent.getIntExtra(Intent.EXTRA_UID, -1) in onReceive()
1033 val uid = intent.getIntExtra(Intent.EXTRA_UID, -1) in onReceive()
1098 val uid = intent.getIntExtra(Intent.EXTRA_UID, -1) in onReceive()
DAccessibilitySourceService.kt192 putExtra(Intent.EXTRA_UID, uid) in sendNotification()
323 putExtra(Intent.EXTRA_UID, uid) in createSafetySourceIssue()
368 putExtra(Intent.EXTRA_UID, uid) in getRemoveAccessPendingIntent()
390 intent.putExtra(Intent.EXTRA_UID, uid) in getAccessibilityActivityPendingIntent()
414 intent.putExtra(Intent.EXTRA_UID, uid) in getSafetyCenterActivityIntent()
732 val uid = intent.getIntExtra(Intent.EXTRA_UID, -1) in onReceive()
759 val uid = intent.getIntExtra(Intent.EXTRA_UID, -1) in onReceive()
815 val uid = intent.getIntExtra(Intent.EXTRA_UID, -1) in onReceive()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DPermissionPackageChangesOrchestrator.java100 final int uid = intent.getIntExtra(Intent.EXTRA_UID, /* default value= */ -1); in onReceive()
161 final int uid = intent.getIntExtra(Intent.EXTRA_UID, -1); in getUserHandle()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DLocationAccessCheck.java32 import static android.content.Intent.EXTRA_UID;
988 primaryActionIntent.putExtra(EXTRA_UID, uid); in createSafetySourceIssue()
1040 dismissIntent.putExtra(EXTRA_UID, uid); in createNotificationDismissIntent()
1065 clickIntent.putExtra(EXTRA_UID, uid); in createNotificationClickIntent()
1076 dismissIntent.putExtra(EXTRA_UID, uid); in createWarningCardDismissalIntent()
1249 int uid = intent.getIntExtra(EXTRA_UID, -1); in onReceive()
1283 int uid = intent.getIntExtra(EXTRA_UID, -1); in onReceive()
1325 int uid = intent.getIntExtra(EXTRA_UID, -1); in onReceive()
1357 UserHandle user = getUserHandleForUid(intent.getIntExtra(EXTRA_UID, 0)); in onReceive()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppsIndexerManagerServiceTest.java239 fakeIntent.putExtra(Intent.EXTRA_UID, userInfo.id); in testAddPackage()
293 fakeIntent.putExtra(Intent.EXTRA_UID, userInfo.id); in testUpdatePackage()
358 fakeIntent.putExtra(Intent.EXTRA_UID, userInfo.id); in testRemovePackage()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/
DUidPackageMapperTest.java199 intent.putExtra(Intent.EXTRA_UID, packageInfo.applicationInfo.uid); in broadcastAppAdded()
206 intent.putExtra(Intent.EXTRA_UID, packageInfo.applicationInfo.uid); in broadcastAppRemoved()
/packages/apps/Settings/src/com/android/settings/
DActionDisabledByAppOpsDialog.java45 final int uid = intent.getIntExtra(Intent.EXTRA_UID, android.os.Process.INVALID_UID); in updateAppOps()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DPackageChangedReceiverTest.java202 intent.putExtra(Intent.EXTRA_UID, 0); in createIntentSentByAdServiceSystemService()
375 intent.removeExtra(Intent.EXTRA_UID); in testReceivePackageFullyRemoved_consent_noPackageUid()
393 intent.putExtra(Intent.EXTRA_UID, DEFAULT_PACKAGE_UID); in testReceivePackageFullyRemoved_consent_packageUidIsExplicitlyDefault()
405 intent.removeExtra(Intent.EXTRA_UID); in testReceivePackageFullyRemoved_consent_noPackageUid_backCompat()
417 intent.putExtra(Intent.EXTRA_UID, DEFAULT_PACKAGE_UID); in testReceivePackageFullyRemoved_consent_packageUidIsExplicitlyDefault_backCompat()
1039 intent.putExtra(Intent.EXTRA_UID, DEFAULT_PACKAGE_UID); in testClearConsentNotCalled_WhenPackageUidInvalid_OnTPlus()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/ecm/
DEnhancedConfirmationDialogActivity.kt72 val uid = intent.getIntExtra(Intent.EXTRA_UID, Process.INVALID_UID) in <lambda>()
194 uid = intent.getIntExtra(Intent.EXTRA_UID, Process.INVALID_UID), in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java291 assertThat(mBundle.getInt(AdvancedPowerUsageDetail.EXTRA_UID)).isEqualTo(UID); in startBatteryDetailPage_invalidToShowSummary_noFGBDData()
314 assertThat(mBundle.getInt(AdvancedPowerUsageDetail.EXTRA_UID)).isEqualTo(UID); in startBatteryDetailPage_showSummary_hasFGBDData()
359 assertThat(mBundle.getInt(AdvancedPowerUsageDetail.EXTRA_UID)).isEqualTo(UID); in startBatteryDetailPage_batteryEntryNotExisted_extractUidFromPackageName()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceTest.java323 i.putExtra(Intent.EXTRA_UID, PACKAGE_UID); in testSendBroadcastForPackageFullyRemoved()
340 assertThat(argumentIntent.getValue().getIntExtra(Intent.EXTRA_UID, -1)) in testSendBroadcastForPackageFullyRemoved()
421 i.putExtra(Intent.EXTRA_UID, PACKAGE_UID); in testSendBroadcastForPackageAdded()
438 assertThat(argumentIntent.getValue().getIntExtra(Intent.EXTRA_UID, -1)) in testSendBroadcastForPackageAdded()
449 i.putExtra(Intent.EXTRA_UID, PACKAGE_UID); in testSendBroadcastForPackageDataCleared()
466 assertThat(argumentIntent.getValue().getIntExtra(Intent.EXTRA_UID, -1)) in testSendBroadcastForPackageDataCleared()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DPhotoPickerBaseTest.java129 extras.putInt(Intent.EXTRA_UID, Process.myUid()); in extras.putInt() argument
140 extras.putInt(Intent.EXTRA_UID, Process.myUid()); in extras.putInt() argument
/packages/providers/TvProvider/src/com/android/providers/tv/
DPackageRemovedReceiver.java64 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
DPackageChangedReceiver.java57 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppForceStopRepository.kt86 putExtra(Intent.EXTRA_UID, app.uid) in <lambda>()
DAppBatteryPreference.kt141 AdvancedPowerUsageDetail.EXTRA_UID to app.uid, in fallbackStartBatteryDetailPage()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigratorPackageChangesReceiver.java112 final int uid = intent.getIntExtra(Intent.EXTRA_UID, -1); in getUserHandle()
/packages/modules/Virtualization/java/service/src/com/android/system/virtualmachine/
DVirtualizationSystemService.java133 int uid = intent.getIntExtra(Intent.EXTRA_UID, -1); in onPackageRemoved()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DForceStopPreferenceController.java98 intent.putExtra(Intent.EXTRA_UID, mAppEntry.info.uid); in update()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DForceStopPreference.java85 intent.putExtra(Intent.EXTRA_UID, mEntry.info.uid); in refresh()
/packages/modules/Permission/framework-s/java/android/app/ecm/
DEnhancedConfirmationManager.java347 intent.putExtra(Intent.EXTRA_UID, getPackageUid(packageName)); in createRestrictedSettingDialogIntent()

123