/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/events/ |
D | DockPackageChangeReceiverTest.kt | 44 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/ |
D | AdvancedPowerUsageDetailActivity.java | 21 import static com.android.settings.fuelgauge.AdvancedPowerUsageDetail.EXTRA_UID; 58 args.putInt(EXTRA_UID, packageManager.getPackageUid(packageName, 0 /* no flag */)); in onCreate()
|
D | AdvancedPowerUsageDetail.java | 74 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()
|
D | PowerBackgroundUsageDetail.java | 60 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/ |
D | NotificationListenerCheck.kt | 598 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()
|
D | AccessibilitySourceService.kt | 192 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/ |
D | PermissionPackageChangesOrchestrator.java | 100 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/ |
D | LocationAccessCheck.java | 32 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/ |
D | AppsIndexerManagerServiceTest.java | 239 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/ |
D | UidPackageMapperTest.java | 199 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/ |
D | ActionDisabledByAppOpsDialog.java | 45 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/ |
D | PackageChangedReceiverTest.java | 202 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/ |
D | EnhancedConfirmationDialogActivity.kt | 72 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/ |
D | AdvancedPowerUsageDetailTest.java | 291 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/ |
D | AdServicesManagerServiceTest.java | 323 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/ |
D | PhotoPickerBaseTest.java | 129 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/ |
D | PackageRemovedReceiver.java | 64 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
|
D | PackageChangedReceiver.java | 57 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
|
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/ |
D | AppForceStopRepository.kt | 86 putExtra(Intent.EXTRA_UID, app.uid) in <lambda>()
|
D | AppBatteryPreference.kt | 141 AdvancedPowerUsageDetail.EXTRA_UID to app.uid, in fallbackStartBatteryDetailPage()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/ |
D | MigratorPackageChangesReceiver.java | 112 final int uid = intent.getIntExtra(Intent.EXTRA_UID, -1); in getUserHandle()
|
/packages/modules/Virtualization/java/service/src/com/android/system/virtualmachine/ |
D | VirtualizationSystemService.java | 133 int uid = intent.getIntExtra(Intent.EXTRA_UID, -1); in onPackageRemoved()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/ |
D | ForceStopPreferenceController.java | 98 intent.putExtra(Intent.EXTRA_UID, mAppEntry.info.uid); in update()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | ForceStopPreference.java | 85 intent.putExtra(Intent.EXTRA_UID, mEntry.info.uid); in refresh()
|
/packages/modules/Permission/framework-s/java/android/app/ecm/ |
D | EnhancedConfirmationManager.java | 347 intent.putExtra(Intent.EXTRA_UID, getPackageUid(packageName)); in createRestrictedSettingDialogIntent()
|