Home
last modified time | relevance | path

Searched refs:EXTRA_USER_HANDLE (Results 1 – 25 of 103) sorted by relevance

12345

/frameworks/base/core/tests/packagemonitortests/src/com/android/internal/content/
DPackageMonitorTest.java123 intent.putExtra(Intent.EXTRA_USER_HANDLE, FAKE_USER_ID); in testPackageMonitorDoHandlePackageEventUidRemoved()
137 intent.putExtra(Intent.EXTRA_USER_HANDLE, FAKE_USER_ID); in testPackageMonitorDoHandlePackageEventPackageSuspended()
153 intent.putExtra(Intent.EXTRA_USER_HANDLE, FAKE_USER_ID); in testPackageMonitorDoHandlePackageEventPackageUnSuspended()
170 intent.putExtra(Intent.EXTRA_USER_HANDLE, FAKE_USER_ID); in testPackageMonitorDoHandlePackageEventExternalApplicationAvailable()
190 intent.putExtra(Intent.EXTRA_USER_HANDLE, FAKE_USER_ID); in testPackageMonitorDoHandlePackageEventExternalApplicationUnavailable()
209 intent.putExtra(Intent.EXTRA_USER_HANDLE, FAKE_USER_ID); in testPackageMonitorDoHandlePackageEventPackageRestarted()
228 intent.putExtra(Intent.EXTRA_USER_HANDLE, FAKE_USER_ID); in testPackageMonitorDoHandlePackageEventPackageUnstopped()
253 intent.putExtra(Intent.EXTRA_USER_HANDLE, FAKE_USER_ID); in testPackageMonitorDoHandlePackageEventPackageQueryRestarted()
271 intent.putExtra(Intent.EXTRA_USER_HANDLE, FAKE_USER_ID); in testPackageMonitorDoHandlePackageEventPackageDataClear()
287 intent.putExtra(Intent.EXTRA_USER_HANDLE, FAKE_USER_ID); in testPackageMonitorDoHandlePackageEventPackageChanged()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DUserUnlockedBlockingReceiver.java46 if (intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL) == mUserId) { in onReceive()
DCertificateMonitor.java134 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, getSendingUserId());
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageMonitorCallbackHelperTest.java171 assertThat(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1)).isEqualTo(0); in testRegisterPackageMonitorCallback_callbackCalled()
213 assertThat(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1)).isEqualTo(0); in testNotifyPackageChanged_callbackCalled()
242 assertThat(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1)).isEqualTo(0); in testNotifyPackageAddedForNewUsers_callbackCalled()
266 assertThat(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1)).isEqualTo(0); in testNotifyResourcesChanged_callbackCalled()
/frameworks/base/core/java/com/android/internal/app/
DUnlaunchableAppActivity.java67 mUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onCreate()
167 intent.putExtra(Intent.EXTRA_USER_HANDLE, userId); in createInQuietModeDialogIntent()
/frameworks/base/services/core/java/com/android/server/biometrics/
DAuthenticationStatsBroadcastReceiver.java57 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onReceive()
DAuthenticationStatsCollector.java71 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL);
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetProvider.java37 public static final String EXTRA_USER_HANDLE = "extra_user_handle"; field in PeopleSpaceWidgetProvider
DLaunchConversationActivity.java113 PeopleSpaceWidgetProvider.EXTRA_USER_HANDLE); in onCreate()
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java196 private static final String EXTRA_USER_HANDLE = "user_handle"; field in TrustAgentService
262 … UserHandle user = (UserHandle) data.getParcelable(EXTRA_USER_HANDLE, android.os.UserHandle.class);
772 msg.getData().putParcelable(EXTRA_USER_HANDLE, user); in onEscrowTokenAdded()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserRemovalWaiter.java62 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onReceive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/resume/
DMediaResumeListenerTest.kt362 intent.putExtra(Intent.EXTRA_USER_HANDLE, context.userId) in capture()
454 intent.putExtra(Intent.EXTRA_USER_HANDLE, context.userId) in capture()
487 intent.putExtra(Intent.EXTRA_USER_HANDLE, context.userId) in capture()
630 putExtra(Intent.EXTRA_USER_HANDLE, firstUserId) in capture()
667 putExtra(Intent.EXTRA_USER_HANDLE, context.userId) in capture()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DAuthenticationStatsBroadcastReceiverTest.java90 when(mIntent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL)) in setUp()
/frameworks/base/services/core/java/com/android/server/audio/
DSystemServerAdapter.java118 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in registerUserStartedReceiver()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallbackTest.java94 .putExtra(Intent.EXTRA_USER_HANDLE, mCurrentUserId + 1); in testActionDeviceLockedChangedWithDifferentUserIdCallsOnWorkChallengeChanged()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBroadcastWaiter.java77 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in registerBroadcastReceiver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/
DIssueRecordingService.kt136 .putExtra(Intent.EXTRA_USER_HANDLE, context.userId) in getStopIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java166 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, targetUserId);
/frameworks/base/services/core/java/com/android/server/pm/
DBroadcastHelper.java189 intent.putExtra(Intent.EXTRA_USER_HANDLE, userId); in doSendBroadcast()
257 lockedBcIntent.putExtra(Intent.EXTRA_USER_HANDLE, userId); in sendBootCompletedBroadcastToSystemApp()
271 bcIntent.putExtra(Intent.EXTRA_USER_HANDLE, userId); in sendBootCompletedBroadcastToSystemApp()
411 intent.putExtra(Intent.EXTRA_USER_HANDLE, userId); in sendPreferredActivityChangedBroadcast()
746 Intent.EXTRA_USER_HANDLE, UserHandle.getUserId(callingUid)); in filterExtrasChangedPackageList()
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java93 if (intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL) in unlockUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java204 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, USER_ID_NOT_SPECIFIED); in onStartCommand()
503 .putExtra(Intent.EXTRA_USER_HANDLE, context.getUserId()); in getStopIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserInfoControllerImpl.java109 intent.getIntExtra(Intent.EXTRA_USER_HANDLE, getSendingUserId());
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccConnectorTest.java212 intent.putExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_CURRENT); in testPackageChange_unavailableToAvailable()
232 intent.putExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_CURRENT); in testPackageChange_availableToUnavailable()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java704 intent.putExtra(Intent.EXTRA_USER_HANDLE, userId); in sendLockedBootCompletedBroadcast()
802 unlockedIntent.putExtra(Intent.EXTRA_USER_HANDLE, userId); in finishUserUnlocked()
926 bootIntent.putExtra(Intent.EXTRA_USER_HANDLE, userId); in finishUserUnlockedCompleted()
1202 stoppingIntent.putExtra(Intent.EXTRA_USER_HANDLE, userId);
1566 intent.putExtra(Intent.EXTRA_USER_HANDLE, userId);
2600 intent.putExtra(Intent.EXTRA_USER_HANDLE, userId);
2621 intent.putExtra(Intent.EXTRA_USER_HANDLE, userId);
2651 intent.putExtra(Intent.EXTRA_USER_HANDLE, profileUserId);
2670 intent.putExtra(Intent.EXTRA_USER_HANDLE, profileUserId);
2682 intent.putExtra(Intent.EXTRA_USER_HANDLE, newUserId);
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DComponentController.java89 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0);

12345