Home
last modified time | relevance | path

Searched refs:userId (Results 1 – 25 of 659) sorted by relevance

12345678910>>...27

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DCardEmulationManager.java173 public void onUserSwitched(int userId) { in onUserSwitched() argument
176 mPreferredServices.onUserSwitched(userId); in onUserSwitched()
180 mEnabledNfcFServices.onUserSwitched(userId); in onUserSwitched()
268 public void onServicesUpdated(int userId, List<ApduServiceInfo> services, in onServicesUpdated() argument
271 verifyDefaults(userId, services, validateInstalled); in onServicesUpdated()
273 mAidCache.onServicesUpdated(userId, services); in onServicesUpdated()
281 public void onNfcFServicesUpdated(int userId, List<NfcFServiceInfo> services) { in onNfcFServicesUpdated() argument
283 mT3tIdentifiersCache.onServicesUpdated(userId, services); in onNfcFServicesUpdated()
288 void verifyDefaults(int userId, List<ApduServiceInfo> services, boolean validateInstalled) { in verifyDefaults() argument
290 UserHandle.of(userId), /*flags=*/0).getSystemService(UserManager.class); in verifyDefaults()
[all …]
DRegisteredServicesCache.java97 void onServicesUpdated(int userId, List<ApduServiceInfo> services, in onServicesUpdated() argument
121 private UserServices findOrCreateUserLocked(int userId) { in findOrCreateUserLocked() argument
122 UserServices services = mUserServices.get(userId); in findOrCreateUserLocked()
125 mUserServices.put(userId, services); in findOrCreateUserLocked()
130 private int getProfileParentId(int userId) { in getProfileParentId() argument
132 UserHandle.of(userId), /*flags=*/0) in getProfileParentId()
134 UserHandle uh = um.getProfileParent(UserHandle.of(userId)); in getProfileParentId()
135 return uh == null ? userId : uh.getIdentifier(); in getProfileParentId()
242 public boolean hasService(int userId, ComponentName service) { in hasService() argument
243 return getService(userId, service) != null; in hasService()
[all …]
/packages/modules/Permission/service/java/com/android/role/
DRoleService.java166 int userId = intent.<UserHandle>getParcelableExtra(Intent.EXTRA_USER) in registerUserRemovedReceiver()
168 onRemoveUser(userId); in registerUserRemovedReceiver()
187 int userId = UserHandleCompat.getUserId(intent.getIntExtra(Intent.EXTRA_UID, -1)); in onStart()
190 + userId); in onStart()
197 maybeGrantDefaultRolesAsync(userId); in onStart()
208 private void maybeGrantDefaultRolesSync(@UserIdInt int userId) { in maybeGrantDefaultRolesSync() argument
209 AndroidFuture<Void> future = maybeGrantDefaultRolesInternal(userId); in maybeGrantDefaultRolesSync()
213 Log.e(LOG_TAG, "Failed to grant default roles for user " + userId, e); in maybeGrantDefaultRolesSync()
217 private void maybeGrantDefaultRolesAsync(@UserIdInt int userId) { in maybeGrantDefaultRolesAsync() argument
220 runnable = mGrantDefaultRolesThrottledRunnables.get(userId); in maybeGrantDefaultRolesAsync()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/
DFixedActivityServiceTest.java135 int userId = 100; in testStartFixedActivityModeForDisplayAndUser_noRunningActivity() local
137 Intent intent = expectComponentAvailable("test_package", "com.test.dude", userId); in testStartFixedActivityModeForDisplayAndUser_noRunningActivity()
138 mockAmGetCurrentUser(userId); in testStartFixedActivityModeForDisplayAndUser_noRunningActivity()
143 options, mValidDisplayId, userId); in testStartFixedActivityModeForDisplayAndUser_noRunningActivity()
145 eq(UserHandle.of(userId))); in testStartFixedActivityModeForDisplayAndUser_noRunningActivity()
152 int userId = 100; in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity() local
155 Intent intent = expectComponentAvailable("test_package", "com.test.dude", userId); in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity()
156 mockAmGetCurrentUser(userId); in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity()
159 createRootTaskInfo(intent, userId, mValidDisplayId, taskId) in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity()
164 options, mValidDisplayId, userId); in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity()
[all …]
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DRestrictedLockUtilsInternal.java81 String userRestriction, int userId) { in checkIfRestrictionEnforced() argument
89 um.getUserRestrictionSources(userRestriction, UserHandle.of(userId)); in checkIfRestrictionEnforced()
102 if (adminUserId == userId) { in checkIfRestrictionEnforced()
108 return (parentUser != null && parentUser.id == userId) in checkIfRestrictionEnforced()
115 return adminUserId == userId in checkIfRestrictionEnforced()
125 String userRestriction, int userId) { in hasBaseUserRestriction() argument
127 return um.hasBaseUserRestriction(userRestriction, UserHandle.of(userId)); in hasBaseUserRestriction()
143 int keyguardFeatures, final @UserIdInt int userId) { in checkIfKeyguardFeaturesDisabled() argument
146 if (checkUser != userId) { in checkIfKeyguardFeaturesDisabled()
151 if (UserManager.get(context).getUserInfo(userId).isManagedProfile()) { in checkIfKeyguardFeaturesDisabled()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestProvidersAccess.java57 UserId userId = TestProvidersAccess.USER_ID;
62 DOWNLOADS.userId = userId;
72 HOME.userId = userId;
83 HAMMY.userId = userId;
91 PICKLES.userId = userId;
105 RECENTS.userId = userId;
109 INSPECTOR.userId = userId;
117 IMAGE.userId = userId;
124 AUDIO.userId = userId;
131 VIDEO.userId = userId;
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersCache.java135 userId = rootUserId; in generateRecentsRoot()
145 private RootInfo createOrGetRecentsRoot(UserId userId) {
146 return createOrGetByUserId(mRecentsRoots, userId, user -> generateRecentsRoot(user));
149 private RootsChangedObserver createOrGetRootsChangedObserver(UserId userId) {
150 return createOrGetByUserId(mRootsChangedObservers, userId,
154 private static <T> T createOrGetByUserId(Map<UserId, T> map, UserId userId,
157 if (!map.containsKey(userId)) {
158 map.put(userId, supplier.apply(userId));
161 return map.get(userId);
168 RootsChangedObserver(UserId userId) {
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DMockedUserHandleBuilder.java29 @UserIdInt int userId) { in MockedUserHandleBuilder() argument
31 mUser = UserHandle.of(userId); in MockedUserHandleBuilder()
34 when(mUserHandleHelper.getExistingUserHandle(userId)).thenReturn(mUser); in MockedUserHandleBuilder()
87 @UserIdInt int userId) { in expectRegularUserExists() argument
88 return new MockedUserHandleBuilder(userHandleHelper, userId).build(); in expectRegularUserExists()
92 @NonNull UserHandleHelper userHandleHelper, @UserIdInt int userId) { in expectUserExistsButGettersFail() argument
93 return new MockedUserHandleBuilder(userHandleHelper, userId).expectGettersFail().build(); in expectUserExistsButGettersFail()
97 @UserIdInt int userId) { in expectSystemUserExists() argument
98 return new MockedUserHandleBuilder(userHandleHelper, userId).build(); in expectSystemUserExists()
102 @UserIdInt int userId) { in expectManagedProfileExists() argument
[all …]
/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/
DEventLogHelper.java43 public static void writeCarHelperUserStarting(int userId) { in writeCarHelperUserStarting() argument
44 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_STARTING, userId); in writeCarHelperUserStarting()
53 public static void writeCarHelperUserUnlocking(int userId) { in writeCarHelperUserUnlocking() argument
54 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_UNLOCKING, userId); in writeCarHelperUserUnlocking()
58 public static void writeCarHelperUserUnlocked(int userId) { in writeCarHelperUserUnlocked() argument
59 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_UNLOCKED, userId); in writeCarHelperUserUnlocked()
63 public static void writeCarHelperUserStopping(int userId) { in writeCarHelperUserStopping() argument
64 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_STOPPING, userId); in writeCarHelperUserStopping()
68 public static void writeCarHelperUserStopped(int userId) { in writeCarHelperUserStopped() argument
69 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_STOPPED, userId); in writeCarHelperUserStopped()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioSettings.java51 int getStoredVolumeGainIndexForUser(@UserIdInt int userId, int zoneId, int groupId) { in getStoredVolumeGainIndexForUser() argument
52 return getIntForUser(getVolumeSettingsKeyForGroup(zoneId, groupId), -1, userId); in getStoredVolumeGainIndexForUser()
55 void storeVolumeGainIndexForUser(@UserIdInt int userId, int zoneId, int groupId, in storeVolumeGainIndexForUser() argument
59 userId); in storeVolumeGainIndexForUser() local
73 void storeVolumeGroupMuteForUser(@UserIdInt int userId, int zoneId, int groupId, in storeVolumeGroupMuteForUser() argument
76 isMuted ? 1 : 0, userId); in storeVolumeGroupMuteForUser()
79 boolean getVolumeGroupMuteForUser(@UserIdInt int userId, int zoneId, int groupId) { in getVolumeGroupMuteForUser() argument
81 /* defaultValue= */ 0, userId) != 0; in getVolumeGroupMuteForUser()
84 boolean isPersistVolumeGroupMuteEnabled(@UserIdInt int userId) { in isPersistVolumeGroupMuteEnabled() argument
86 /* defaultValue= */ 0, userId) == 1; in isPersistVolumeGroupMuteEnabled()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DContactsIndexerMaintenanceService.java75 static void scheduleFullUpdateJob(Context context, @UserIdInt int userId, in scheduleFullUpdateJob() argument
77 int jobId = MIN_INDEXER_JOB_ID + userId; in scheduleFullUpdateJob()
82 extras.putInt(EXTRA_USER_ID, userId); in scheduleFullUpdateJob()
105 Log.v(TAG, "Scheduled full update job " + jobId + " for user " + userId); in scheduleFullUpdateJob()
109 static void cancelFullUpdateJob(Context context, @UserIdInt int userId) { in cancelFullUpdateJob() argument
110 int jobId = MIN_INDEXER_JOB_ID + userId; in cancelFullUpdateJob()
114 Log.v(TAG, "Canceled full update job " + jobId + " for user " + userId); in cancelFullUpdateJob()
120 int userId = params.getExtras().getInt(EXTRA_USER_ID, /*defaultValue=*/ -1); in onStartJob() local
121 if (userId == -1) { in onStartJob()
126 Log.v(TAG, "Full update job started for user " + userId); in onStartJob()
[all …]
/packages/apps/Settings/src/com/android/settings/utils/
DSensorPrivacyManagerHelper.java73 CallbackInfo(Callback callback, Executor executor, int sensor, int userId) { in CallbackInfo() argument
77 mUserId = userId; in CallbackInfo()
139 public boolean isSensorBlocked(int sensor, int userId) { in isSensorBlocked() argument
141 SparseArray<Boolean> userCachedState = createUserCachedStateIfNeededLocked(userId); in isSensorBlocked()
144 registerListenerIfNeeded(sensor, userId); in isSensorBlocked()
171 public void setSensorBlocked(int source, int sensor, boolean blocked, int userId) { in setSensorBlocked() argument
172 mSensorPrivacyManager.setSensorPrivacy(source, sensor, blocked, userId); in setSensorBlocked()
192 int userId) { in setSensorBlockedForProfileGroup() argument
193 mSensorPrivacyManager.setSensorPrivacyForProfileGroup(source, sensor, blocked, userId); in setSensorBlockedForProfileGroup()
215 public void addSensorBlockedListener(int sensor, int userId, Callback callback, in addSensorBlockedListener() argument
[all …]
/packages/services/Car/service/src/com/android/car/admin/
DCarDevicePolicyService.java101 int userId = ActivityManager.getCurrentUser();
102 Slogf.d(TAG, "Received intent for user " + userId + ": " + intent);
112 setUserDisclaimerStatus(userId, NEW_USER_DISCLAIMER_STATUS_RECEIVED);
113 showNewUserDisclaimer(userId);
145 public void removeUser(@UserIdInt int userId, AndroidFuture<UserRemovalResult> receiver) { in removeUser() argument
146 mCarUserService.removeUser(userId, /* hasCallerRestrictions= */ true, receiver); in removeUser()
178 public void startUserInBackground(@UserIdInt int userId, in startUserInBackground() argument
180 mCarUserService.startUserInBackground(userId, receiver); in startUserInBackground()
184 public void stopUser(@UserIdInt int userId, AndroidFuture<UserStopResult> receiver) { in stopUser() argument
185 mCarUserService.stopUser(userId, receiver); in stopUser()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DDefaultDialerCache.java46 String getDefaultDialerApplication(Context context, int userId); in getDefaultDialerApplication() argument
47 boolean setDefaultDialerApplication(Context context, String packageName, int userId); in setDefaultDialerApplication() argument
57 public String getDefaultDialerApplication(Context context, int userId) { in getDefaultDialerApplication() argument
58 return DefaultDialerManager.getDefaultDialerApplication(context, userId); in getDefaultDialerApplication()
63 int userId) { in setDefaultDialerApplication() argument
64 return DefaultDialerManager.setDefaultDialerApplication(context, packageName, userId); in setDefaultDialerApplication()
178 public String getDefaultDialerApplication(int userId) { in getDefaultDialerApplication() argument
179 if (userId == UserHandle.USER_CURRENT) { in getDefaultDialerApplication()
180 userId = ActivityManager.getCurrentUser(); in getDefaultDialerApplication()
183 if (userId < 0) { in getDefaultDialerApplication()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/android/car/cluster/renderer/
DInstrumentClusterRenderingServiceTest.java161 int userId = ActivityManager.getCurrentUser(); in setNavigationContextOwner_launchesNavigationComponent() local
170 .when(mService.mSpyPackageManager).getPackagesForUid(userId); in setNavigationContextOwner_launchesNavigationComponent()
176 eq(UserHandle.of(userId))); in setNavigationContextOwner_launchesNavigationComponent()
178 mRendererBinder.setNavigationContextOwner(userId, 123); in setNavigationContextOwner_launchesNavigationComponent()
187 int userId = ActivityManager.getCurrentUser(); in setNavigationContextOwner_navigationComponentAlreadyLaunched_doesNothing() local
193 mockPackageManagerInteraction(userId); in setNavigationContextOwner_navigationComponentAlreadyLaunched_doesNothing()
195 mRendererBinder.setNavigationContextOwner(userId, 123); in setNavigationContextOwner_navigationComponentAlreadyLaunched_doesNothing()
197 mRendererBinder.setNavigationContextOwner(userId, 123); in setNavigationContextOwner_navigationComponentAlreadyLaunched_doesNothing()
205 int userId = ActivityManager.getCurrentUser(); in setNavigationContextOwner_noPackages_doesNothing() local
211 doReturn(new String[]{}).when(mService.mSpyPackageManager).getPackagesForUid(userId); in setNavigationContextOwner_noPackages_doesNothing()
[all …]
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterService.java126 @UserIdInt int userId) { in setSafetySourceData() argument
130 userId, false, "setSafetySourceData", getContext()); in setSafetySourceData()
145 safetySourceId, safetySourceData, packageName, userId); in setSafetySourceData()
146 listeners = mSafetyCenterListeners.getListeners(userId); in setSafetySourceData()
165 @UserIdInt int userId) { in getSafetySourceData() argument
169 userId, false, "getSafetySourceData", getContext()); in getSafetySourceData()
180 safetySourceId, packageName, userId); in getSafetySourceData()
189 @UserIdInt int userId) { in reportSafetySourceError() argument
193 userId, false, "reportSafetySourceError", getContext()); in reportSafetySourceError()
204 listeners = mSafetyCenterListeners.getListeners(userId); in reportSafetySourceError()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowLockPatternUtils.java63 protected boolean isSecure(int userId) { in isSecure() argument
64 Boolean isSecure = sUserToIsSecureMap.get(userId); in isSecure()
71 public static void setIsSecure(int userId, boolean isSecure) { in setIsSecure() argument
72 sUserToIsSecureMap.put(userId, isSecure); in setIsSecure()
76 protected int getActivePasswordQuality(int userId) { in getActivePasswordQuality() argument
77 final Integer activePasswordQuality = sUserToActivePasswordQualityMap.get(userId); in getActivePasswordQuality()
95 protected List<ComponentName> getEnabledTrustAgents(int userId) { in getEnabledTrustAgents() argument
105 int userId) { in getPasswordHistoryHashFactor() argument
110 protected boolean checkPasswordHistory(byte[] passwordToCheck, byte[] hashFactor, int userId) { in checkPasswordHistory() argument
115 public @DevicePolicyManager.PasswordComplexity int getRequestedPasswordComplexity(int userId) { in getRequestedPasswordComplexity() argument
[all …]
/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DCarArgumentMatchers.java44 public static UserInfo isUserInfo(@UserIdInt int userId) { in isUserInfo() argument
45 return argThat(new UserInfoMatcher(userId)); in isUserInfo()
51 public static UserHandle isUserHandle(@UserIdInt int userId) { in isUserHandle() argument
52 return argThat(new UserHandleMatcher(userId)); in isUserHandle()
78 public final @UserIdInt int userId; field in CarArgumentMatchers.UserInfoMatcher
80 private UserInfoMatcher(@UserIdInt int userId) { in UserInfoMatcher() argument
81 this.userId = userId; in UserInfoMatcher()
90 if (argument.id != userId) { in matches()
91 Log.w(TAG, "isUserInfo(): argument mismatch (expected " + userId in matches()
100 return "isUserInfo(userId=" + userId + ")"; in toString()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocumentsAccess.java51 @Nullable DocumentInfo getDocument(Uri uri, UserId userId); in getDocument() argument
52 @Nullable DocumentInfo getArchiveDocument(Uri uri, UserId userId); in getArchiveDocument() argument
57 Path findDocumentPath(Uri uri, UserId userId) in findDocumentPath() argument
60 List<DocumentInfo> getDocuments(UserId userId, String authority, List<String> docIds) in getDocuments() argument
85 root.userId); in getRootDocument()
89 public @Nullable DocumentInfo getDocument(Uri uri, UserId userId) { in getDocument() argument
91 if (mState.canInteractWith(userId)) { in getDocument()
92 return DocumentInfo.fromUri(userId.getContentResolver(mContext), uri, userId); in getDocument()
102 public List<DocumentInfo> getDocuments(UserId userId, String authority, List<String> docIds) in getDocuments() argument
104 if (!mState.canInteractWith(userId)) { in getDocuments()
[all …]
DThumbnailCache.java73 public Result getThumbnail(Uri uri, UserId userId, Point size) { in getThumbnail() argument
75 sizeMap = mSizeIndex.get(new SizeIndexKey(uri, userId)); in getThumbnail()
127 public void putThumbnail(Uri uri, UserId userId, Point size, Bitmap thumbnail, in putThumbnail() argument
129 CacheKey cacheKey = new CacheKey(uri, userId, size); in putThumbnail()
133 sizeMap = mSizeIndex.get(new SizeIndexKey(uri, userId)); in putThumbnail()
136 mSizeIndex.put(new SizeIndexKey(uri, userId), sizeMap); in putThumbnail()
151 public void removeUri(Uri uri, UserId userId) { in removeUri() argument
154 sizeMap = mSizeIndex.get(new SizeIndexKey(uri, userId)); in removeUri()
170 sizeMap = mSizeIndex.get(new SizeIndexKey(cacheKey.uri, cacheKey.userId)); in removeKey()
328 final UserId userId; field in ThumbnailCache.SizeIndexKey
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DItemsProvider.java80 int limit, @Nullable String mimeType, @Nullable UserId userId) throws in getItems() argument
82 if (userId == null) { in getItems()
83 userId = UserId.CURRENT_USER; in getItems()
86 return queryMedia(limit, mimeType, category, userId); in getItems()
110 public Cursor getCategories(@Nullable String mimeType, @Nullable UserId userId) { in getCategories() argument
111 if (userId == null) { in getCategories()
112 userId = UserId.CURRENT_USER; in getCategories()
115 return queryAlbums(mimeType, userId); in getCategories()
119 @NonNull Category category, @NonNull UserId userId) in queryMedia() argument
122 try (ContentProviderClient client = userId.getContentResolver(mContext) in queryMedia()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/user/
DUserHelperTest.java66 int userId = 20; in testDefaultNonAdminRestrictions() local
67 UserInfo newNonAdmin = newUser(userId); in testDefaultNonAdminRestrictions()
73 UserManager.DISALLOW_FACTORY_RESET, /* enable= */ true, UserHandle.of(userId)); in testDefaultNonAdminRestrictions()
78 int userId = 20; in testDefaultNonAdminRestrictions_nullContext_throwsException() local
79 UserInfo newNonAdmin = newUser(userId); in testDefaultNonAdminRestrictions_nullContext_throwsException()
95 int userId = 20; in testAssignDefaultIcon() local
96 UserInfo newNonAdmin = newUser(userId); in testAssignDefaultIcon()
97 when(mUserManager.getUserInfo(userId)).thenReturn(newNonAdmin); in testAssignDefaultIcon()
101 verify(mUserManager).setUserIcon(userId, bitmap); in testAssignDefaultIcon()
106 int userId = 20; in testAssignDefaultIcon_nullContext_throwsException() local
[all …]
/packages/apps/Settings/src/com/android/settings/notification/
DRedactNotificationPreferenceController.java91 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in displayPreference() local
93 if (userId != UserHandle.USER_NULL) { in displayPreference()
94 mPreference.setDisabledByAdmin(getEnforcedAdmin(userId)); in displayPreference()
100 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in isChecked() local
103 return getAllowPrivateNotifications(userId); in isChecked()
108 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in setChecked() local
112 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, isChecked ? 1 : 0, userId); in setChecked()
124 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in getAvailabilityStatus() local
131 if (!utils.isSecure(userId)) { in getAvailabilityStatus()
136 if (!getLockscreenNotificationsEnabled(userId)) { in getAvailabilityStatus()
[all …]
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java713 mHalTimeoutMs, usersInfo.currentUser.userId, usersInfo.currentUser.flags, in initBootUser()
719 status, resp.action, resp.userToSwitchOrCreate.userId, in initBootUser()
726 int userId = resp.userToSwitchOrCreate.userId; in initBootUser()
727 if (userId <= 0) { in initBootUser()
728 Slogf.w(TAG, "invalid (or missing) user id sent by HAL: %d", userId); in initBootUser()
735 .setSwitchUserId(userId) in initBootUser()
1073 public void removeUser(@UserIdInt int userId, AndroidFuture<UserRemovalResult> receiver) { in removeUser() argument
1074 removeUser(userId, /* hasCallerRestrictions= */ false, receiver); in removeUser()
1086 public void removeUser(@UserIdInt int userId, boolean hasCallerRestrictions, in removeUser() argument
1089 EventLogHelper.writeCarUserServiceRemoveUserReq(userId, in removeUser()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentInfo.java60 public UserId userId; field in DocumentInfo
80 userId = UserId.UNSPECIFIED_USER; in reset()
98 userId = UserId.read(in); in read()
101 userId = UserId.CURRENT_USER; in read()
124 UserId.write(out, userId); in write()
163 final UserId userId = UserId.of(getCursorInt(cursor, RootCursorWrapper.COLUMN_USER_ID)); in fromDirectoryCursor() local
165 return fromCursor(cursor, userId, authority); in fromDirectoryCursor()
168 public static DocumentInfo fromCursor(Cursor cursor, UserId userId, String authority) { in fromCursor() argument
171 info.updateFromCursor(cursor, userId, authority); in fromCursor()
175 public void updateFromCursor(Cursor cursor, UserId userId, String authority) { in updateFromCursor() argument
[all …]

12345678910>>...27