Home
last modified time | relevance | path

Searched refs:mCurrentUser (Results 1 – 8 of 8) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DUserIdManager.java84 private final UserId mCurrentUser; field in UserIdManager.RuntimeUserIdManager
112 mCurrentUser = checkNotNull(currentUser); in RuntimeUserIdManager()
154 result.add(mCurrentUser); in getUserIdsInternal()
186 if (mCurrentUser.isSystem()) { in getUserIdsInternal()
191 } else if (mCurrentUser.isManagedProfile(userManager)) { in getUserIdsInternal()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DUserItemsCombiner.java39 private UserId mCurrentUser; field in UserItemsCombiner
46 mCurrentUser = UserId.CURRENT_USER; in UserItemsCombiner()
53 mCurrentUser = checkNotNull(userId); in overrideCurrentUserForTest()
81 if (mCurrentUser.isSystem()) { in createPresentableList()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationSbnAdapter.java73 private @UserIdInt int mCurrentUser; field in NotificationSbnAdapter
89 mCurrentUser = ActivityManager.getCurrentUser(); in NotificationSbnAdapter()
90 int[] enabledUsers = um.getEnabledProfileIds(mCurrentUser); in NotificationSbnAdapter()
254 userId = mCurrentUser; in normalizeUserId()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DUserFragment.java78 private UserInfoView mCurrentUser; field in UserFragment
108 mCurrentUser = view.findViewById(R.id.current_user); in onViewCreated()
271 mCurrentUser.update(user); in updateState()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/admin/
DDevicePolicyFragment.java72 private UserInfoView mCurrentUser; field in DevicePolicyFragment
121 mCurrentUser = view.findViewById(R.id.current_user); in onViewCreated()
169 mCurrentUser.update(user); in updateState()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java120 private int mCurrentUser; field in WifiPermissionsUtilTest
183 mCurrentUser = UserHandle.USER_SYSTEM; in testCanReadPeersMacAddressCurrentUserAndAllPermissions()
296 mCurrentUser = UserHandle.USER_SYSTEM; in testLegacyForegroundAppWithOtherPermissionsDenied()
1362 mCurrentUser = UserHandle.USER_SYSTEM;
1378 when(mMockPermissionsWrapper.getCurrentUser()).thenReturn(mCurrentUser);
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java592 private final int mCurrentUser; field in CarMediaService.SessionChangedListener
595 mCurrentUser = currentUser; in SessionChangedListener()
600 if (ActivityManager.getCurrentUser() != mCurrentUser) { in onActiveSessionsChanged()
601 Slog.e(CarLog.TAG_MEDIA, "Active session callback for old user: " + mCurrentUser); in onActiveSessionsChanged()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsFullSheet.java99 private final UserHandle mCurrentUser = Process.myUserHandle(); field in WidgetsFullSheet
101 entry -> mCurrentUser.equals(entry.mPkgItem.user);