Home
last modified time | relevance | path

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

12345678910

/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.aidl46 String callingPackage, String packageName, in UserHandle user); in getLauncherActivities()
48 String callingPackage, in ComponentName component, in UserHandle user); in resolveActivity()
51 in UserHandle user); in startSessionDetailsActivityAsUser()
54 in Bundle opts, in UserHandle user); in startActivityAsUser()
57 in Bundle opts, in UserHandle user); in showAppDetailsAsUser()
58 boolean isPackageEnabled(String callingPackage, String packageName, in UserHandle user); in isPackageEnabled()
59 Bundle getSuspendedPackageLauncherExtras(String packageName, in UserHandle user); in getSuspendedPackageLauncherExtras()
61 String callingPackage, in ComponentName component, in UserHandle user); in isActivityEnabled()
63 String callingPackage, String packageName, int flags, in UserHandle user); in getApplicationInfo()
66 in UserHandle user); in getAppUsageLimit()
[all …]
DLauncherApps.java169 abstract public void onPackageRemoved(String packageName, UserHandle user); in onPackageRemoved()
180 abstract public void onPackageAdded(String packageName, UserHandle user); in onPackageAdded()
190 abstract public void onPackageChanged(String packageName, UserHandle user); in onPackageChanged()
203 abstract public void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable()
217 abstract public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable()
233 public void onPackagesSuspended(String[] packageNames, UserHandle user) { in onPackagesSuspended()
252 public void onPackagesSuspended(String[] packageNames, UserHandle user, in onPackagesSuspended()
266 public void onPackagesUnsuspended(String[] packageNames, UserHandle user) { in onPackagesUnsuspended()
285 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) { in onShortcutsChanged()
544 public List<LauncherActivityInfo> getActivityList(String packageName, UserHandle user) { in getActivityList()
[all …]
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/core/java/android/app/usage/
DStorageStatsManager.java205 @NonNull String packageName, @NonNull UserHandle user) in queryStatsForPackage()
222 UserHandle user) throws PackageManager.NameNotFoundException, IOException { in queryStatsForPackage()
286 @NonNull UserHandle user) throws IOException { in queryStatsForUser()
300 public StorageStats queryStatsForUser(String uuid, UserHandle user) throws IOException { in queryStatsForUser()
323 @NonNull UserHandle user) throws IOException { in queryExternalStatsForUser()
337 public ExternalStorageStats queryExternalStatsForUser(String uuid, UserHandle user) in queryExternalStatsForUser()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java100 public final UserHandle user; field in LauncherAppsService.BroadcastCookie
339 UserHandle user) { in getHiddenAppActivityInfo()
356 public boolean shouldHideFromSuggestions(String packageName, UserHandle user) { in shouldHideFromSuggestions()
368 String packageName, UserHandle user) throws RemoteException { in getLauncherActivities()
439 private boolean shouldShowSyntheticActivity(UserHandle user, ApplicationInfo appInfo) { in shouldShowSyntheticActivity()
481 private boolean isManagedProfileAdmin(UserHandle user, String packageName) { in isManagedProfileAdmin()
501 String callingPackage, ComponentName component, UserHandle user) in resolveActivity()
523 String callingPackage, String packageName, UserHandle user) in getShortcutConfigActivities()
530 Intent intent, UserHandle user) { in queryActivitiesForUser()
552 ComponentName component, UserHandle user) throws RemoteException { in getShortcutConfigActivityIntent()
[all …]
/frameworks/base/core/java/android/permission/
DPermissionManagerInternal.java56 public abstract @Nullable byte[] backupRuntimePermissions(@NonNull UserHandle user); in backupRuntimePermissions()
68 @NonNull UserHandle user); in restoreRuntimePermissions()
79 @NonNull UserHandle user); in restoreDelayedRuntimePermissions()
DPermissionControllerService.java104 public abstract void onGetRuntimePermissionsBackup(@NonNull UserHandle user, in onGetRuntimePermissionsBackup()
118 public abstract void onRestoreRuntimePermissionsBackup(@NonNull UserHandle user, in onRestoreRuntimePermissionsBackup()
131 @NonNull UserHandle user, @NonNull Consumer<Boolean> callback); in onRestoreDelayedRuntimePermissionsBackup()
260 public void getRuntimePermissionBackup(UserHandle user, ParcelFileDescriptor pipe) { in onBind()
278 public void restoreRuntimePermissionBackup(UserHandle user, ParcelFileDescriptor pipe) { in onBind()
296 public void restoreDelayedRuntimePermissionBackup(String packageName, UserHandle user, in onBind()
DIPermissionController.aidl32 void getRuntimePermissionBackup(in UserHandle user, in ParcelFileDescriptor pipe); in getRuntimePermissionBackup()
33 void restoreRuntimePermissionBackup(in UserHandle user, in ParcelFileDescriptor pipe); in restoreRuntimePermissionBackup()
34 void restoreDelayedRuntimePermissionBackup(String packageName, in UserHandle user, in restoreDelayedRuntimePermissionBackup()
/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/base/core/java/android/content/om/
DOverlayManager.java79 @NonNull UserHandle user) { in setEnabledExclusiveInCategory()
107 @NonNull UserHandle user) { in setEnabled()
159 @NonNull UserHandle user) { in getOverlayInfosForTarget()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHandlerManager.java57 @NonNull UserHandle user) { in showUsbAccessoryUriActivity()
90 UserHandle user = in confirmUsbHandler() local
116 @NonNull UserHandle user, @NonNull Intent intent) { in selectUsbHandler()
DUsbProfileGroupSettingsManager.java124 final @NonNull UserHandle user; field in UsbProfileGroupSettingsManager.UserPackage
135 private UserPackage(@NonNull String packageName, @NonNull UserHandle user) { in UserPackage()
209 UsbProfileGroupSettingsManager(@NonNull Context context, @NonNull UserHandle user, in UsbProfileGroupSettingsManager()
291 UserHandle user = mParentUser; in readPreference() local
863 UserHandle user = UserHandle.getUserHandleForUid( in resolveActivity() local
1045 private int getSerial(@NonNull UserHandle user) { in getSerial()
1057 @NonNull UserHandle user) { in setDevicePackage()
1085 @NonNull UserHandle user) { in setAccessoryPackage()
1113 boolean hasDefaults(@NonNull String packageName, @NonNull UserHandle user) { in hasDefaults()
1127 void clearDefaults(@NonNull String packageName, @NonNull UserHandle user) { in clearDefaults()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java272 public void sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user, in sendBroadcastAsUserMultiplePermissions()
319 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser()
332 UserHandle user, @Nullable String receiverPermission, @Nullable Bundle options) { in sendBroadcastAsUser()
337 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission) { in sendBroadcastAsUser()
342 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, in sendBroadcastAsUser()
348 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
357 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
366 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
392 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user) { in sendStickyBroadcastAsUser()
397 public void sendStickyOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendStickyOrderedBroadcastAsUser()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java82 public Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa) { in Client()
86 Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa, in Client()
231 private Context getContextForUser(UserHandle user) { in getContextForUser()
/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/core/java/android/app/role/
DRoleManager.java284 public List<String> getRoleHoldersAsUser(@NonNull String roleName, @NonNull UserHandle user) { in getRoleHoldersAsUser()
319 @ManageHoldersFlags int flags, @NonNull UserHandle user, in addRoleHolderAsUser()
358 @ManageHoldersFlags int flags, @NonNull UserHandle user, in removeRoleHolderAsUser()
396 @NonNull UserHandle user, @CallbackExecutor @NonNull Executor executor, in clearRoleHoldersAsUser()
443 @NonNull OnRoleHoldersChangedListener listener, @NonNull UserHandle user) { in addOnRoleHoldersChangedListenerAsUser()
489 @NonNull OnRoleHoldersChangedListener listener, @NonNull UserHandle user) { in removeOnRoleHoldersChangedListenerAsUser()
/frameworks/base/core/java/android/os/
DUserManager.java1419 UserInfo user = getUserInfo(UserHandle.myUserId()); in isPrimaryUser() local
1455 UserInfo user = getUserInfo(userId); in isUserAdmin() local
1496 public boolean isRestrictedProfile(@NonNull UserHandle user) { in isRestrictedProfile()
1537 UserInfo user = getUserInfo(id); in isGuestUser() local
1550 UserInfo user = getUserInfo(UserHandle.myUserId()); in isGuestUser() local
1644 final UserInfo user = getUserInfo(userId); in isUserEphemeral() local
1665 public boolean isUserRunning(UserHandle user) { in isUserRunning()
1694 public boolean isUserRunningOrStopping(UserHandle user) { in isUserRunningOrStopping()
1740 public boolean isUserUnlocked(UserHandle user) { in isUserUnlocked()
1755 public boolean isUserUnlockingOrUnlocked(UserHandle user) { in isUserUnlockingOrUnlocked()
[all …]
/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()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBroadcastInterceptingContext.java178 public void sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user, in sendBroadcastAsUserMultiplePermissions()
184 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser()
189 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser()
200 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user) { in sendStickyBroadcastAsUser()
205 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user, Bundle options) { in sendStickyBroadcastAsUser()
/frameworks/base/core/java/android/app/prediction/
DAppTarget.java54 @Nullable String className, @NonNull UserHandle user) { in AppTarget()
80 private AppTarget(AppTargetId id, String packageName, UserHandle user, in AppTarget()
226 @NonNull UserHandle user) { in Builder()
252 public Builder setTarget(@NonNull String packageName, @NonNull UserHandle user) { in setTarget()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/
DSUWProgressController.java56 public boolean isUserSetupInProgress(int user) { in isUserSetupInProgress()
89 private void startListening(int user) { in startListening()
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java315 public void onEscrowTokenAdded(byte[] token, long handle, UserHandle user) { in onEscrowTokenAdded()
478 public final void addEscrowToken(byte[] token, UserHandle user) { in addEscrowToken()
501 public final void isEscrowTokenActive(long handle, UserHandle user) { in isEscrowTokenActive()
524 public final void removeEscrowToken(long handle, UserHandle user) { in removeEscrowToken()
546 public final void unlockUserWithToken(long handle, byte[] token, UserHandle user) { in unlockUserWithToken()
650 public void onEscrowTokenAdded(byte[] token, long handle, UserHandle user) { in onEscrowTokenAdded()
/frameworks/base/core/java/android/content/
DContextWrapper.java391 public void startActivityAsUser(Intent intent, UserHandle user) { in startActivityAsUser()
413 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { in startActivityAsUser()
467 public void sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user, in sendBroadcastAsUserMultiplePermissions()
526 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser()
531 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser()
538 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser()
545 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser()
551 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
560 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
569 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
[all …]

12345678910