Home
last modified time | relevance | path

Searched defs:user (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/frameworks/base/core/java/android/hardware/display/
DAmbientDisplayConfiguration.java47 public boolean enabled(int user) { in enabled()
59 public boolean pulseOnNotificationEnabled(int user) { in pulseOnNotificationEnabled()
70 public boolean pickupGestureEnabled(int user) { in pickupGestureEnabled()
81 public boolean tapGestureEnabled(int user) { in tapGestureEnabled()
92 public boolean doubleTapGestureEnabled(int user) { in doubleTapGestureEnabled()
109 public boolean wakeLockScreenGestureEnabled(int user) { in wakeLockScreenGestureEnabled()
115 public boolean wakeDisplayGestureEnabled(int user) { in wakeDisplayGestureEnabled()
141 public boolean pulseOnLongPressEnabled(int user) { in pulseOnLongPressEnabled()
156 public boolean alwaysOnEnabled(int user) { in alwaysOnEnabled()
178 public boolean alwaysOnAvailableForUser(int user) { in alwaysOnAvailableForUser()
[all …]
/frameworks/base/core/java/android/content/pm/
DIOnAppsChangedListener.aidl27 void onPackageRemoved(in UserHandle user, String packageName); in onPackageRemoved()
28 void onPackageAdded(in UserHandle user, String packageName); in onPackageAdded()
29 void onPackageChanged(in UserHandle user, String packageName); in onPackageChanged()
30 void onPackagesAvailable(in UserHandle user, in String[] packageNames, boolean replacing); in onPackagesAvailable()
31 void onPackagesUnavailable(in UserHandle user, in String[] packageNames, boolean replacing); in onPackagesUnavailable()
32 void onPackagesSuspended(in UserHandle user, in String[] packageNames, in onPackagesSuspended()
34 void onPackagesUnsuspended(in UserHandle user, in String[] packageNames); in onPackagesUnsuspended()
35 void onShortcutChanged(in UserHandle user, String packageName, in ParceledListSlice shortcuts); in onShortcutChanged()
DILauncherApps.aidl49 String callingPackage, String packageName, in UserHandle user); in getLauncherActivities()
51 String callingPackage, in ComponentName component, in UserHandle user); in resolveActivity()
54 in Rect sourceBounds, in Bundle opts, in UserHandle user); in startSessionDetailsActivityAsUser()
57 in Bundle opts, in UserHandle user); in startActivityAsUser()
60 in Bundle opts, in UserHandle user); in showAppDetailsAsUser()
61 boolean isPackageEnabled(String callingPackage, String packageName, in UserHandle user); in isPackageEnabled()
62 Bundle getSuspendedPackageLauncherExtras(String packageName, in UserHandle user); in getSuspendedPackageLauncherExtras()
64 String callingPackage, in ComponentName component, in UserHandle user); in isActivityEnabled()
66 String callingPackage, String packageName, int flags, in UserHandle user); in getApplicationInfo()
69 in UserHandle user); in getAppUsageLimit()
[all …]
DLauncherApps.java204 abstract public void onPackageRemoved(String packageName, UserHandle user); in onPackageRemoved()
215 abstract public void onPackageAdded(String packageName, UserHandle user); in onPackageAdded()
225 abstract public void onPackageChanged(String packageName, UserHandle user); in onPackageChanged()
238 abstract public void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable()
252 abstract public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable()
268 public void onPackagesSuspended(String[] packageNames, UserHandle user) { in onPackagesSuspended()
291 public void onPackagesSuspended(String[] packageNames, UserHandle user, in onPackagesSuspended()
305 public void onPackagesUnsuspended(String[] packageNames, UserHandle user) { in onPackagesUnsuspended()
324 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) { in onShortcutsChanged()
544 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) {} in onShortcutsAddedOrUpdated()
[all …]
DIShortcutChangeCallback.aidl33 in UserHandle user); in onShortcutsAddedOrUpdated()
36 in UserHandle user); in onShortcutsRemoved()
DRegisteredServicesCache.java122 UserInfo user = getUser(userId); in findOrCreateUserLocked() local
241 final UserServices<V> user = findOrCreateUserLocked(userId); in invalidateCache() local
249 final UserServices<V> user = findOrCreateUserLocked(userId); in dump() local
336 final UserServices<V> user = findOrCreateUserLocked(userId); in getServiceInfo() local
351 final UserServices<V> user = findOrCreateUserLocked(userId); in getAllServices() local
366 final UserServices<V> user = findOrCreateUserLocked(userId); in updateServices() local
410 final UserServices<V> user = findOrCreateUserLocked(userId); in getBindInstantServiceAllowed() local
424 final UserServices<V> user = findOrCreateUserLocked(userId); in setBindInstantServiceAllowed() local
455 final UserServices<V> user = findOrCreateUserLocked(userId); in queryIntentServices() local
492 final UserServices<V> user = findOrCreateUserLocked(userId); in generateServicesMap() local
[all …]
/frameworks/base/apex/permission/service/java/com/android/role/persistence/
DRolesPersistence.java43 RolesState readForUser(@NonNull UserHandle user); in readForUser()
53 void writeForUser(@NonNull RolesState roles, @NonNull UserHandle user); in writeForUser()
62 void deleteForUser(@NonNull UserHandle user); in deleteForUser()
/frameworks/base/apex/permission/service/java/com/android/permission/persistence/
DRuntimePermissionsPersistence.java43 RuntimePermissionsState readForUser(@NonNull UserHandle user); in readForUser()
54 @NonNull UserHandle user); in writeForUser()
63 void deleteForUser(@NonNull UserHandle user); in deleteForUser()
/frameworks/base/core/java/android/app/usage/
DStorageStatsManager.java210 @NonNull String packageName, @NonNull UserHandle user) in queryStatsForPackage()
227 UserHandle user) throws PackageManager.NameNotFoundException, IOException { in queryStatsForPackage()
291 @NonNull UserHandle user) throws IOException { in queryStatsForUser()
305 public StorageStats queryStatsForUser(String uuid, UserHandle user) throws IOException { in queryStatsForUser()
328 @NonNull UserHandle user) throws IOException { in queryExternalStatsForUser()
342 public ExternalStorageStats queryExternalStatsForUser(String uuid, UserHandle user) in queryExternalStatsForUser()
404 @NonNull String packageName, @NonNull UserHandle user) in queryCratesForPackage()
437 @NonNull UserHandle user) throws PackageManager.NameNotFoundException, IOException { in queryCratesForUser()
/frameworks/base/core/java/android/content/om/
DOverlayManager.java139 @NonNull UserHandle user) throws SecurityException, IllegalStateException { in setEnabledExclusiveInCategory()
174 @NonNull UserHandle user) throws SecurityException, IllegalStateException { in setEnabled()
227 @NonNull UserHandle user) { in getOverlayInfosForTarget()
250 @NonNull UserHandle user) { in invalidateCachesForOverlay()
/frameworks/base/services/core/java/com/android/server/
DSystemService.java240 public boolean isUserSupported(@NonNull TargetUser user) { in isUserSupported()
294 public void onUserStarting(@NonNull TargetUser user) { in onUserStarting()
335 public void onUserUnlocking(@NonNull TargetUser user) { in onUserUnlocking()
347 public void onUserUnlocked(@NonNull TargetUser user) { in onUserUnlocked()
404 public void onStopUser(@NonNull UserInfo user) { in onStopUser()
422 public void onUserStopping(@NonNull TargetUser user) { in onUserStopping()
442 public void onCleanupUser(@NonNull UserInfo user) { in onCleanupUser()
456 public void onUserStopped(@NonNull TargetUser user) { in onUserStopped()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java114 public final UserHandle user; field in LauncherAppsService.BroadcastCookie
363 UserHandle user) { in getHiddenAppActivityInfo()
381 public boolean shouldHideFromSuggestions(String packageName, UserHandle user) { in shouldHideFromSuggestions()
393 String packageName, UserHandle user) throws RemoteException { in getLauncherActivities()
464 private boolean shouldShowSyntheticActivity(UserHandle user, ApplicationInfo appInfo) { in shouldShowSyntheticActivity()
507 private boolean isManagedProfileAdmin(UserHandle user, String packageName) { in isManagedProfileAdmin()
527 String callingPackage, ComponentName component, UserHandle user) in resolveActivity()
549 String callingPackage, String packageName, UserHandle user) in getShortcutConfigActivities()
556 Intent intent, UserHandle user) { in queryActivitiesForUser()
579 ComponentName component, UserHandle user) throws RemoteException { in getShortcutConfigActivityIntent()
[all …]
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java37 public static EnforcedAdmin getProfileOrDeviceOwner(Context context, UserHandle user) { in getProfileOrDeviceOwner()
42 Context context, String enforcedRestriction, UserHandle user) { in getProfileOrDeviceOwner()
115 public UserHandle user = null; field in RestrictedLockUtils.EnforcedAdmin
127 public EnforcedAdmin(ComponentName component, UserHandle user) { in EnforcedAdmin()
132 public EnforcedAdmin(ComponentName component, String enforcedRestriction, UserHandle user) { in EnforcedAdmin()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java141 protected abstract long getSerialNumberForUser(UserHandle user); in getSerialNumberForUser()
190 private BitmapInfo makeDefaultIcon(UserHandle user) { in makeDefaultIcon()
199 public synchronized void remove(ComponentName componentName, UserHandle user) { in remove()
206 private void removeFromMemCacheLocked(String packageName, UserHandle user) { in removeFromMemCacheLocked()
222 public synchronized void removeIconsForPkg(String packageName, UserHandle user) { in removeIconsForPkg()
258 UserHandle user = cachingLogic.getUser(object); in addIconToDBAndMemCache() local
301 public synchronized BitmapInfo getDefaultIcon(UserHandle user) { in getDefaultIcon()
308 public boolean isDefaultIcon(BitmapInfo icon, UserHandle user) { in isDefaultIcon()
317 @NonNull ComponentName componentName, @NonNull UserHandle user, in cacheLocked()
383 protected synchronized void cachePackageInstallInfo(String packageName, UserHandle user, in cachePackageInstallInfo()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHandlerManager.java58 @NonNull UserHandle user) { in showUsbAccessoryUriActivity()
93 UserHandle user = in confirmUsbHandler() local
119 @NonNull UserHandle user, @NonNull Intent intent) { in selectUsbHandler()
DUsbService.java259 public void onUnlockUser(int user) { in onUnlockUser()
282 int user = UserHandle.getUserId(uid); in openDevice() local
319 int user = UserHandle.getUserId(uid); in openAccessory() local
353 UserHandle user = UserHandle.of(userId); in setDevicePackage() local
369 UserHandle user = UserHandle.of(userId); in setAccessoryPackage() local
382 UserHandle user) { in addDevicePackagesToPreferenceDenied()
400 String[] packageNames, UserHandle user) { in addAccessoryPackagesToPreferenceDenied()
418 UserHandle user) { in removeDevicePackagesFromPreferenceDenied()
436 String[] packageNames, UserHandle user) { in removeAccessoryPackagesFromPreferenceDenied()
453 public void setDevicePersistentPermission(UsbDevice device, int uid, UserHandle user, in setDevicePersistentPermission()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java292 public void sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user, in sendBroadcastAsUserMultiplePermissions()
339 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser()
352 UserHandle user, @Nullable String receiverPermission, @Nullable Bundle options) { in sendBroadcastAsUser()
357 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission) { in sendBroadcastAsUser()
362 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, in sendBroadcastAsUser()
368 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
377 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
386 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
412 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user) { in sendStickyBroadcastAsUser()
417 public void sendStickyOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendStickyOrderedBroadcastAsUser()
[all …]
/frameworks/base/core/java/android/content/
DApexEnvironment.java81 public File getDeviceProtectedDataDirForUser(@NonNull UserHandle user) { in getDeviceProtectedDataDirForUser()
95 public File getCredentialProtectedDataDirForUser(@NonNull UserHandle user) { in getCredentialProtectedDataDirForUser()
/frameworks/base/core/java/android/permission/
DPermissionControllerService.java120 public abstract void onGetRuntimePermissionsBackup(@NonNull UserHandle user, in onGetRuntimePermissionsBackup()
129 public void onRestoreRuntimePermissionsBackup(@NonNull UserHandle user, in onRestoreRuntimePermissionsBackup()
144 public void onStageAndApplyRuntimePermissionsBackup(@NonNull UserHandle user, in onStageAndApplyRuntimePermissionsBackup()
155 @NonNull UserHandle user, @NonNull Consumer<Boolean> callback) { in onRestoreDelayedRuntimePermissionsBackup()
168 @NonNull UserHandle user, @NonNull Consumer<Boolean> callback) { in onApplyStagedRuntimePermissionBackup()
351 public void getRuntimePermissionBackup(UserHandle user, ParcelFileDescriptor pipe) { in onBind()
369 public void stageAndApplyRuntimePermissionsBackup(UserHandle user, in onBind()
389 public void applyStagedRuntimePermissionBackup(String packageName, UserHandle user, in onBind()
DPermissionManagerInternal.java87 public abstract @Nullable byte[] backupRuntimePermissions(@NonNull UserHandle user); in backupRuntimePermissions()
99 @NonNull UserHandle user); in restoreRuntimePermissions()
110 @NonNull UserHandle user); in restoreDelayedRuntimePermissions()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java258 UsageGroup(UserData user, ObserverAppData observerApp, int observerId, String[] observed, in UsageGroup()
276 UserData user = mUserRef.get(); in remove() local
312 final UserData user = mUserRef.get(); in noteUsageStart() local
339 final UserData user = mUserRef.get(); in noteUsageStop() local
351 final UserData user = mUserRef.get(); in checkTimeout() local
387 UserData user = mUserRef.get(); in onLimitReached() local
413 public AppUsageGroup(UserData user, ObserverAppData observerApp, int observerId, in AppUsageGroup()
441 public SessionUsageGroup(UserData user, ObserverAppData observerApp, int observerId, in SessionUsageGroup()
491 UserData user = mUserRef.get(); in onSessionEnd() local
513 public AppUsageLimitGroup(UserData user, ObserverAppData observerApp, int observerId, in AppUsageLimitGroup()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java86 public Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa) { in Client()
90 Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa, in Client()
235 private Context getContextForUser(UserHandle user) { in getContextForUser()
/frameworks/base/core/java/android/hardware/usb/
DIUsbManager.aidl59 …evicePackagesToPreferenceDenied(in UsbDevice device, in String[] packageNames, in UserHandle user); in addDevicePackagesToPreferenceDenied()
62 …ackagesToPreferenceDenied(in UsbAccessory accessory, in String[] packageNames, in UserHandle user); in addAccessoryPackagesToPreferenceDenied()
65 …icePackagesFromPreferenceDenied(in UsbDevice device, in String[] packageNames, in UserHandle user); in removeDevicePackagesFromPreferenceDenied()
68 …PackagesFromPreferenceDenied(in UsbAccessory device, in String[] packageNames, in UserHandle user); in removeAccessoryPackagesFromPreferenceDenied()
72 …void setDevicePersistentPermission(in UsbDevice device, int uid, in UserHandle user, boolean shoul… in setDevicePersistentPermission()
76 …void setAccessoryPersistentPermission(in UsbAccessory accessory, int uid, in UserHandle user, bool… in setAccessoryPersistentPermission()
/frameworks/base/core/java/android/app/role/
DRoleManager.java285 public List<String> getRoleHoldersAsUser(@NonNull String roleName, @NonNull UserHandle user) { in getRoleHoldersAsUser()
320 @ManageHoldersFlags int flags, @NonNull UserHandle user, in addRoleHolderAsUser()
359 @ManageHoldersFlags int flags, @NonNull UserHandle user, in removeRoleHolderAsUser()
397 @NonNull UserHandle user, @CallbackExecutor @NonNull Executor executor, in clearRoleHoldersAsUser()
444 @NonNull OnRoleHoldersChangedListener listener, @NonNull UserHandle user) { in addOnRoleHoldersChangedListenerAsUser()
490 @NonNull OnRoleHoldersChangedListener listener, @NonNull UserHandle user) { in removeOnRoleHoldersChangedListenerAsUser()
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java26 public UserHandle user; field in StatusBarIcon
34 public StatusBarIcon(UserHandle user, String resPackage, Icon icon, int iconLevel, int number, in StatusBarIcon()
51 public StatusBarIcon(String iconPackage, UserHandle user, in StatusBarIcon()

12345678910>>...13