Home
last modified time | relevance | path

Searched refs:currentUserHandle (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/list/
DRroListPanelReducer.kt58 private var currentUserHandle: UserHandle = UserHandle.CURRENT in <lambda>() variable in com.android.car.customization.tool.features.rro.list.RroListPanelReducer
113 overlayManager.setEnabled(action.rroPackage, action.newState, currentUserHandle) in <lambda>()
141 currentUserHandle = action.userHandle in <lambda>()
160 currentUserHandle in <lambda>()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomSystem.java152 UserHandle currentUserHandle = new UserHandle(userHandleId);
153 mPhoneAccountRegistrar.setCurrentUserHandle(currentUserHandle);
154 mCallsManager.onUserSwitch(currentUserHandle);
468 UserHandle currentUserHandle = UserHandle.of(ActivityManager.getCurrentUser()); in TelecomSystem() local
469 mPhoneAccountRegistrar.setCurrentUserHandle(currentUserHandle); in TelecomSystem()
470 mCallsManager.onUserSwitch(currentUserHandle); in TelecomSystem()
DVideoProviderProxy.java585 UserHandle currentUserHandle = mCurrentUserProxy.getCurrentUserHandle(); in canUseCamera() local
586 if (currentUserHandle != null && !currentUserHandle.equals(callingUser)) { in canUseCamera()
DRoleManagerAdapterImpl.java133 public void setCurrentUserHandle(UserHandle currentUserHandle) { in setCurrentUserHandle() argument
134 mCurrentUserHandle = currentUserHandle; in setCurrentUserHandle()
DRoleManagerAdapter.java125 void setCurrentUserHandle(UserHandle currentUserHandle); in setCurrentUserHandle() argument
DTelecomServiceImpl.java1864 UserHandle currentUserHandle = Binder.getCallingUserHandle();
1868 currentUserHandle);
DCallsManager.java2690 UserHandle currentUserHandle = call.getAssociatedUser();
2693 !phoneAccountHandle.getUserHandle().equals(currentUserHandle)) {
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DTestActivity.java67 public UserHandle currentUserHandle; field in TestActivity
96 currentUserHandle = env.userHandle; in init()
133 if (userHandle.equals(currentUserHandle)) { in startActivityAsUser()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/profiles/
DMultiProfilePagerAdapterTest.kt77 assertThat(pagerAdapter.currentUserHandle).isEqualTo(PERSONAL_USER_HANDLE) in <lambda>()
119 assertThat(pagerAdapter.currentUserHandle).isEqualTo(PERSONAL_USER_HANDLE) in <lambda>()
166 assertThat(pagerAdapter.currentUserHandle).isEqualTo(WORK_USER_HANDLE) in <lambda>()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java727 public void setCurrentUserHandle(UserHandle currentUserHandle) { in setCurrentUserHandle() argument
728 mCurrentUserHandle = currentUserHandle; in setCurrentUserHandle()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverActivity.java1088 private void maybeLogCrossProfileTargetLaunch(TargetInfo cti, UserHandle currentUserHandle) {
1090 if (!mProfiles.getWorkProfilePresent() || currentUserHandle.equals(getUser())) {
1096 currentUserHandle.equals(
DChooserActivity.java1103 private void maybeLogCrossProfileTargetLaunch(TargetInfo cti, UserHandle currentUserHandle) { in maybeLogCrossProfileTargetLaunch() argument
1104 if (!mProfiles.getWorkProfilePresent() || currentUserHandle.equals(getUser())) { in maybeLogCrossProfileTargetLaunch()
1109 .setBoolean(currentUserHandle.equals(mProfiles.getPersonalHandle())) in maybeLogCrossProfileTargetLaunch()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java5843 UserHandle currentUserHandle = android.os.Process.myUserHandle(); in doesCallingProviderUseCurrentUsersContacts() local
5844 boolean isCallerFromSameUser = callingUserHandle.equals(currentUserHandle); in doesCallingProviderUseCurrentUsersContacts()
5847 UserUtils.isParentUser(getContext(), currentUserHandle, callingUserHandle)); in doesCallingProviderUseCurrentUsersContacts()