Home
last modified time | relevance | path

Searched defs:userId (Results 151 – 175 of 774) sorted by relevance

12345678910>>...31

/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java247 private List<MediaSessionRecord> getActiveSessionsLocked(int userId) { in getActiveSessionsLocked()
271 List<Session2Token> getSession2TokensLocked(int userId) { in getSession2TokensLocked()
328 public void onStartUser(int userId) { in onStartUser()
334 public void onSwitchUser(int userId) { in onSwitchUser()
341 public void onStopUser(int userId) { in onStopUser()
534 private boolean isEnabledNotificationListener(ComponentName compName, int userId, in isEnabledNotificationListener()
554 private MediaSessionRecord createSessionInternal(int callerPid, int callerUid, int userId, in createSessionInternal()
570 private MediaSessionRecord createSessionLocked(int callerPid, int callerUid, int userId, in createSessionLocked()
613 private void pushSessionsChanged(int userId) { in pushSessionsChanged()
642 private void pushRemoteVolumeUpdateLocked(int userId) { in pushRemoteVolumeUpdateLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/om/
DIdmapDaemon.java107 int userId) throws Exception { in createIdmap()
113 boolean removeIdmap(String overlayPath, int userId) throws Exception { in removeIdmap()
119 boolean verifyIdmap(String overlayPath, int policies, boolean enforce, int userId) in verifyIdmap()
126 String getIdmapPath(String overlayPath, int userId) throws Exception { in getIdmapPath()
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java169 protected List<ApplicationInfo> getAllApps(int userId) { in getAllApps()
180 protected List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int userId) { in queryIntentActivitiesAsUser()
194 protected List<ResolveInfo> queryIntentServicesAsUser(Intent intent, int userId) { in queryIntentServicesAsUser()
209 protected List<PackageInfo> getPackagesHoldingPermission(String perm, int userId) { in getPackagesHoldingPermission()
/frameworks/base/core/java/android/app/trust/
DITrustListener.aidl25 void onTrustChanged(boolean enabled, int userId, int flags); in onTrustChanged()
26 void onTrustManagedChanged(boolean managed, int userId); in onTrustManagedChanged()
/frameworks/base/core/java/android/accounts/
DAccountAndUser.java30 public int userId; field in AccountAndUser
33 public AccountAndUser(Account account, int userId) { in AccountAndUser()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricServiceBase.java147 protected abstract boolean hasReachedEnrollmentLimit(int userId); in hasReachedEnrollmentLimit()
154 protected abstract void updateActiveGroup(int userId, String clientPackage); in updateActiveGroup()
176 protected abstract boolean hasEnrolledBiometrics(int userId); in hasEnrolledBiometrics()
196 int userId); in getEnrolledTemplates()
283 IBinder token, ServiceListener listener, int userId, int groupId, in EnrollClientImpl()
303 ServiceListener listener, int templateId, int groupId, int userId, in InternalRemovalClient()
329 ServiceListener listener, int groupId, int userId, boolean restricted, in InternalEnumerateClient()
410 BiometricAuthenticator.Identifier biometric, int userId) throws RemoteException { in onAuthenticationSucceeded()
627 UserTemplate(BiometricAuthenticator.Identifier identifier, int userId) { in UserTemplate()
767 int userId = mCurrentUserId; in handleRemoved() local
[all …]
/frameworks/base/core/java/android/app/
DDisabledWallpaperManager.java131 public Bitmap getBitmapAsUser(int userId, boolean hardware) { in getBitmapAsUser()
147 int userId) { in addOnColorsChangedListener()
157 public void removeOnColorsChangedListener(OnColorsChangedListener callback, int userId) { in removeOnColorsChangedListener()
167 public WallpaperColors getWallpaperColors(int which, int userId) { in getWallpaperColors()
172 public ParcelFileDescriptor getWallpaperFile(int which, int userId) { in getWallpaperFile()
187 public WallpaperInfo getWallpaperInfo(int userId) { in getWallpaperInfo()
197 public int getWallpaperIdForUser(int which, int userId) { in getWallpaperIdForUser()
235 int userId) throws IOException { in setBitmap()
292 public void clearWallpaper(int which, int userId) { in clearWallpaper()
302 public boolean setWallpaperComponent(ComponentName name, int userId) { in setWallpaperComponent()
/frameworks/base/core/java/android/os/storage/
DIStorageManager.aidl172 void createUserKey(int userId, int serialNumber, boolean ephemeral) = 61; in createUserKey()
173 void destroyUserKey(int userId) = 62; in destroyUserKey()
174 void unlockUserKey(int userId, int serialNumber, in byte[] token, in byte[] secret) = 63; in unlockUserKey()
175 void lockUserKey(int userId) = 64; in lockUserKey()
176 boolean isUserKeyUnlocked(int userId) = 65; in isUserKeyUnlocked()
177 void prepareUserStorage(in String volumeUuid, int userId, int serialNumber, int flags) = 66; in prepareUserStorage()
178 void destroyUserStorage(in String volumeUuid, int userId, int flags) = 67; in destroyUserStorage()
180 void addUserKeyAuth(int userId, int serialNumber, in byte[] token, in byte[] secret) = 70; in addUserKeyAuth()
181 void fixateNewestUserKeyAuth(int userId) = 71; in fixateNewestUserKeyAuth()
196 void clearUserKeyAuth(int userId, int serialNumber, in byte[] token, in byte[] secret) = 88; in clearUserKeyAuth()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java150 public abstract ComponentName getHomeActivityForUser(int userId); in getHomeActivityForUser()
206 int userId, Intent[] intents, Bundle bOptions); in startActivitiesAsPackage()
225 SafeActivityOptions options, int userId, boolean validateIncomingUser, in startActivitiesInPackage()
232 int userId, TaskRecord inTask, String reason, boolean validateIncomingUser, in startActivityInPackage()
244 Intent intent, @Nullable Bundle options, int userId); in startActivityAsUser()
284 public abstract boolean isRecentsComponentHomeActivity(int userId); in isRecentsComponentHomeActivity()
311 public abstract void setAllowAppSwitches(@NonNull String type, int uid, int userId); in setAllowAppSwitches()
320 public abstract void onUserStopped(int userId); in onUserStopped()
404 int callingUid, int userId, IBinder token, String resultWho, in getIntentSender()
413 public abstract boolean startHomeActivity(int userId, String reason); in startHomeActivity()
[all …]
DLockTaskController.java332 private boolean isRecentsAllowed(int userId) { in isRecentsAllowed()
337 private boolean isKeyguardAllowed(int userId) { in isKeyguardAllowed()
482 private void performStopLockTask(int userId) { in performStopLockTask()
606 private void performStartLockTask(String packageName, int userId, int lockTaskModeState) { in performStartLockTask()
630 void updateLockTaskPackages(int userId, String[] packages) { in updateLockTaskPackages()
677 boolean isPackageWhitelisted(int userId, String pkg) { in isPackageWhitelisted()
700 void updateLockTaskFeatures(int userId, int flags) { in updateLockTaskFeatures()
721 private void setStatusBarState(int lockTaskModeState, int userId) { in setStatusBarState()
754 private void setKeyguardState(int lockTaskModeState, int userId) { in setKeyguardState()
853 private int getLockTaskFeaturesForUser(int userId) { in getLockTaskFeaturesForUser()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java152 int userId = getChangingUserId(); in registerPackageMonitor() local
244 int userId = getCallingUserId(); in associate() local
270 public List<String> getAssociations(String callingPackage, int userId) in getAssociations()
293 private void checkCallerIsSystemOr(String pkg, int userId) throws RemoteException { in checkCallerIsSystemOr()
308 int userId = getCallingUserId(); in requestNotificationAccess() local
340 int userId = getCallingUserId(); in checkCanCallNotificationApi() local
346 private void checkUsesFeature(String pkg, int userId) { in checkUsesFeature()
440 public void onDeviceSelected(String packageName, int userId, String deviceAddress) { in getServiceCallback()
/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java94 public synchronized void add(@UserIdInt int userId, float newAmbientBrightness) { in add()
123 public synchronized ArrayList<AmbientBrightnessDayStats> getUserStats(int userId) { in getUserStats()
152 public void log(@UserIdInt int userId, LocalDate localDate, float ambientBrightness, in log()
159 public ArrayList<AmbientBrightnessDayStats> getUserStats(@UserIdInt int userId) { in getUserStats()
249 int userId = mInjector.getUserId(mUserManager, in readFromXML() local
281 Map<Integer, Deque<AmbientBrightnessDayStats>> stats, @UserIdInt int userId) { in getOrCreateUserStats()
351 public int getUserSerialNumber(UserManager userManager, int userId) { in getUserSerialNumber()
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java175 public long createAppData(String uuid, String packageName, int userId, int flags, int appId, in createAppData()
186 public void restoreconAppData(String uuid, String packageName, int userId, int flags, int appId, in restoreconAppData()
196 public void migrateAppData(String uuid, String packageName, int userId, int flags) in migrateAppData()
206 public void clearAppData(String uuid, String packageName, int userId, int flags, in clearAppData()
216 public void destroyAppData(String uuid, String packageName, int userId, int flags, in destroyAppData()
247 public void getAppSize(String uuid, String[] packageNames, int userId, int flags, int appId, in getAppSize()
270 public void getUserSize(String uuid, int userId, int flags, int[] appIds, PackageStats stats) in getUserSize()
286 public long[] getExternalSize(String uuid, int userId, int flags, int[] appIds) in getExternalSize()
296 public void setAppQuota(String uuid, int userId, int appId, long cacheQuota) in setAppQuota()
418 public void createUserData(String uuid, int userId, int userSerial, int flags) in createUserData()
[all …]
DPackageInstallerService.java469 public int createSession(SessionParams params, String installerPackageName, int userId) { in createSession()
477 private int createSessionInternal(SessionParams params, String installerPackageName, int userId) in createSessionInternal()
781 public ParceledListSlice<SessionInfo> getAllSessions(int userId) { in getAllSessions()
783 Binder.getCallingUid(), userId, true, false, "getAllSessions"); in getAllSessions() local
798 public ParceledListSlice<SessionInfo> getMySessions(String installerPackageName, int userId) { in getMySessions()
800 Binder.getCallingUid(), userId, true, false, "getMySessions"); in getMySessions() local
820 IntentSender statusReceiver, int userId) { in uninstall()
871 IntentSender statusReceiver, int userId, List<String> whiteListedPermissions) { in installExistingPackage()
889 public void registerCallback(IPackageInstallerCallback callback, int userId) { in registerCallback()
891 Binder.getCallingUid(), userId, true, false, "registerCallback"); in registerCallback() local
[all …]
DComponentResolver.java223 List<ResolveInfo> queryActivities(Intent intent, String resolvedType, int flags, int userId) { in queryActivities()
230 List<PackageParser.Activity> activities, int userId) { in queryActivities()
237 List<ResolveInfo> queryProviders(Intent intent, String resolvedType, int flags, int userId) { in queryProviders()
244 List<PackageParser.Provider> providers, int userId) { in queryProviders()
251 int userId) { in queryProviders()
289 ProviderInfo queryProvider(String authority, int flags, int userId) { in queryProvider()
304 int userId) { in querySyncProviders()
330 List<ResolveInfo> queryReceivers(Intent intent, String resolvedType, int flags, int userId) { in queryReceivers()
337 List<PackageParser.Activity> receivers, int userId) { in queryReceivers()
343 List<ResolveInfo> queryServices(Intent intent, String resolvedType, int flags, int userId) { in queryServices()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java432 public void onTrustChanged(boolean enabled, int userId, int flags) { in onTrustChanged()
555 public void onTrustManagedChanged(boolean managed, int userId) { in onTrustManagedChanged()
614 protected void onFingerprintAuthenticated(int userId) { in onFingerprintAuthenticated()
665 final int userId; in handleFingerprintAuthenticated() local
764 protected void onFaceAuthenticated(int userId) { in onFaceAuthenticated()
822 final int userId; in handleFaceAuthenticated() local
924 private void handleFaceUnlockStateChanged(boolean running, int userId) { in handleFaceUnlockStateChanged()
935 public boolean isFaceUnlockRunning(int userId) { in isFaceUnlockRunning()
947 private boolean isTrustDisabled(int userId) { in isTrustDisabled()
955 private boolean isFingerprintDisabled(int userId) { in isFingerprintDisabled()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUserAvatarView.java114 public void setAvatarWithBadge(Bitmap avatar, int userId) { in setAvatarWithBadge()
116 mDrawable.setBadgeIfManagedUser(getContext(), userId); in setAvatarWithBadge() local
127 public void setDrawableWithBadge(Drawable d, int userId) { in setDrawableWithBadge()
132 mDrawable.setBadgeIfManagedUser(getContext(), userId); in setDrawableWithBadge() local
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsManagerServiceShellCommand.java101 final int userId = Integer.parseInt(getNextArgRequired()); in setTemporaryService() local
115 final int userId = getNextIntArgRequired(); in setDefaultServiceEnabled() local
122 final int userId = getNextIntArgRequired(); in getDefaultServiceEnabled() local
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerInternal.java49 public abstract List<InputMethodInfo> getInputMethodListAsUser(@UserIdInt int userId); in getInputMethodListAsUser()
57 public abstract List<InputMethodInfo> getEnabledInputMethodListAsUser(@UserIdInt int userId); in getEnabledInputMethodListAsUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DTransferOwnershipMetadataManager.java138 int userId = 0; in parseMetadataFile() local
179 final int userId; field in TransferOwnershipMetadataManager.Metadata
185 @NonNull int userId, @NonNull String adminType) { in Metadata()
196 @NonNull int userId, @NonNull String adminType) { in Metadata()
198 unflattenComponentUnchecked(flatTargetComponent), userId, adminType); in Metadata() local
/frameworks/base/core/java/android/database/
DContentObserver.java146 public void onChange(boolean selfChange, Uri uri, int userId) { in onChange()
196 private void dispatchChange(boolean selfChange, Uri uri, int userId) { in dispatchChange()
210 public NotificationRunnable(boolean selfChange, Uri uri, int userId) { in NotificationRunnable()
230 public void onChange(boolean selfChange, Uri uri, int userId) { in onChange()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyInternal.java39 void onInitialized(@UserIdInt int userId); in onInitialized()
57 public abstract boolean isInitialized(@UserIdInt int userId); in isInitialized()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/shadow/
DShadowActivityManager.java44 protected boolean switchUser(int userId) { in switchUser()
57 public static void setCurrentUser(int userId) { in setCurrentUser()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java204 private final int userId; field in AccountManagerService.UserAccounts
244 UserAccounts(Context context, int userId, File preNDbFile, File deDbFile) { in UserAccounts()
379 final int userId = UserHandle.getUserId(uid); in AccountManagerService() local
411 boolean getBindInstantServiceAllowed(int userId) { in getBindInstantServiceAllowed()
415 void setBindInstantServiceAllowed(int userId, boolean allowed) { in setBindInstantServiceAllowed()
461 int userId = UserHandle.getCallingUserId(); in addAccountExplicitlyWithVisibility() local
493 int userId = UserHandle.getCallingUserId(); in getAccountsAndVisibilityForPackage() local
549 int userId = UserHandle.getCallingUserId(); in getPackagesAndVisibilityForAccount() local
596 int userId = UserHandle.getCallingUserId(); in getAccountVisibility() local
761 int userId = UserHandle.getCallingUserId(); in setAccountVisibility() local
[all …]
/frameworks/base/tests/testables/src/android/testing/
DTestableSettingsProvider.java52 int userId = UserHandle.myUserId(); in clearValuesAndCheck() local
74 final int userId = extras.getInt(Settings.CALL_METHOD_USER_KEY, UserHandle.myUserId()); in call() local
112 private static String key(String table, String key, int userId) { in key()

12345678910>>...31