Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/base/core/java/android/hardware/display/
DAmbientDisplayConfiguration.java47 public boolean enabled(int user) { in enabled()
61 public boolean pulseOnNotificationEnabled(int user) { in pulseOnNotificationEnabled()
72 public boolean pickupGestureEnabled(int user) { in pickupGestureEnabled()
83 public boolean tapGestureEnabled(int user) { in tapGestureEnabled()
94 public boolean doubleTapGestureEnabled(int user) { in doubleTapGestureEnabled()
105 public boolean quickPickupSensorEnabled(int user) { in quickPickupSensorEnabled()
110 public boolean screenOffUdfpsEnabled(int user) { in screenOffUdfpsEnabled()
122 public boolean wakeLockScreenGestureEnabled(int user) { in wakeLockScreenGestureEnabled()
128 public boolean wakeDisplayGestureEnabled(int user) { in wakeDisplayGestureEnabled()
164 public boolean pulseOnLongPressEnabled(int user) { in pulseOnLongPressEnabled()
[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()
36 void onPackageLoadingProgressChanged(in UserHandle user, String packageName, float progress); in onPackageLoadingProgressChanged()
DILauncherApps.aidl50 String callingPackage, String packageName, in UserHandle user); in getLauncherActivities()
52 String callingPackage, in ComponentName component, in UserHandle user); in resolveLauncherActivityInternal()
55 in Rect sourceBounds, in Bundle opts, in UserHandle user); in startSessionDetailsActivityAsUser()
58 in Bundle opts, in UserHandle user); in startActivityAsUser()
60 in UserHandle user); in getActivityLaunchIntent()
63 in Bundle opts, in UserHandle user); in showAppDetailsAsUser()
64 boolean isPackageEnabled(String callingPackage, String packageName, in UserHandle user); in isPackageEnabled()
65 Bundle getSuspendedPackageLauncherExtras(String packageName, in UserHandle user); in getSuspendedPackageLauncherExtras()
67 String callingPackage, in ComponentName component, in UserHandle user); in isActivityEnabled()
69 String callingPackage, String packageName, int flags, in UserHandle user); in getApplicationInfo()
[all …]
DLauncherApps.java211 abstract public void onPackageRemoved(String packageName, UserHandle user); in onPackageRemoved()
222 abstract public void onPackageAdded(String packageName, UserHandle user); in onPackageAdded()
232 abstract public void onPackageChanged(String packageName, UserHandle user); in onPackageChanged()
245 abstract public void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable()
259 abstract public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable()
275 public void onPackagesSuspended(String[] packageNames, UserHandle user) { in onPackagesSuspended()
298 public void onPackagesSuspended(String[] packageNames, UserHandle user, in onPackagesSuspended()
312 public void onPackagesUnsuspended(String[] packageNames, UserHandle user) { in onPackagesUnsuspended()
331 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) { in onShortcutsChanged()
342 @NonNull UserHandle user, float progress) {} in onPackageLoadingProgressChanged()
[all …]
DIShortcutChangeCallback.aidl33 in UserHandle user); in onShortcutsAddedOrUpdated()
36 in UserHandle user); in onShortcutsRemoved()
DRegisteredServicesCache.java122 UserInfo user = getUser(userId); in findOrCreateUserLocked() local
243 final UserServices<V> user = findOrCreateUserLocked(userId); in invalidateCache() local
251 final UserServices<V> user = findOrCreateUserLocked(userId); in dump() local
338 final UserServices<V> user = findOrCreateUserLocked(userId); in getServiceInfo() local
353 final UserServices<V> user = findOrCreateUserLocked(userId); in getAllServices() local
368 final UserServices<V> user = findOrCreateUserLocked(userId); in updateServices() local
412 final UserServices<V> user = findOrCreateUserLocked(userId); in getBindInstantServiceAllowed() local
426 final UserServices<V> user = findOrCreateUserLocked(userId); in setBindInstantServiceAllowed() local
457 final UserServices<V> user = findOrCreateUserLocked(userId); in queryIntentServices() local
494 final UserServices<V> user = findOrCreateUserLocked(userId); in generateServicesMap() local
[all …]
/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/permission/
DLegacyPermissionManager.java132 @NonNull String packageName, @NonNull UserHandle user, in grantDefaultPermissionsToLuiApp()
153 @NonNull String[] packageNames, @NonNull UserHandle user, in revokeDefaultPermissionsFromLuiApps()
174 @NonNull String[] packageNames, @NonNull UserHandle user, in grantDefaultPermissionsToEnabledImsServices()
195 @NonNull String[] packageNames, @NonNull UserHandle user, in grantDefaultPermissionsToEnabledTelephonyDataServices()
216 @NonNull String[] packageNames, @NonNull UserHandle user, in revokeDefaultPermissionsFromDisabledTelephonyDataServices()
237 @NonNull UserHandle user, @NonNull @CallbackExecutor Executor executor, in grantDefaultPermissionsToEnabledCarrierApps()
DPermissionControllerService.java121 public abstract void onGetRuntimePermissionsBackup(@NonNull UserHandle user, in onGetRuntimePermissionsBackup()
130 public void onRestoreRuntimePermissionsBackup(@NonNull UserHandle user, in onRestoreRuntimePermissionsBackup()
145 public void onStageAndApplyRuntimePermissionsBackup(@NonNull UserHandle user, in onStageAndApplyRuntimePermissionsBackup()
156 @NonNull UserHandle user, @NonNull Consumer<Boolean> callback) { in onRestoreDelayedRuntimePermissionsBackup()
169 @NonNull UserHandle user, @NonNull Consumer<Boolean> callback) { in onApplyStagedRuntimePermissionBackup()
408 public void getRuntimePermissionBackup(UserHandle user, ParcelFileDescriptor pipe) { in onBind()
426 public void stageAndApplyRuntimePermissionsBackup(UserHandle user, in onBind()
446 public void applyStagedRuntimePermissionBackup(String packageName, UserHandle user, in onBind()
/frameworks/base/core/java/android/content/om/
DOverlayManager.java138 @NonNull UserHandle user) throws SecurityException, IllegalStateException { in setEnabledExclusiveInCategory()
173 @NonNull UserHandle user) throws SecurityException, IllegalStateException { in setEnabled()
245 @NonNull UserHandle user) { in getOverlayInfosForTarget()
267 @NonNull UserHandle user) { in invalidateCachesForOverlay()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java127 public final UserHandle user; field in LauncherAppsService.BroadcastCookie
396 int callingUid, UserHandle user) { in getHiddenAppActivityInfo()
409 public boolean shouldHideFromSuggestions(String packageName, UserHandle user) { in shouldHideFromSuggestions()
420 String callingPackage, String packageName, UserHandle user) throws RemoteException { in getLauncherActivities()
492 private boolean shouldShowSyntheticActivity(UserHandle user, ApplicationInfo appInfo) { in shouldShowSyntheticActivity()
531 private boolean isManagedProfileAdmin(UserHandle user, String packageName) { in isManagedProfileAdmin()
551 String callingPackage, ComponentName component, UserHandle user) in resolveLauncherActivityInternal()
586 String callingPackage, String packageName, UserHandle user) in getShortcutConfigActivities()
593 String callingPackage, Intent intent, UserHandle user) { in queryActivitiesForUser()
608 Intent intent, int callingUid, UserHandle user) { in queryIntentLauncherActivities()
[all …]
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java43 public static EnforcedAdmin getProfileOrDeviceOwner(Context context, UserHandle user) { in getProfileOrDeviceOwner()
52 Context context, String enforcedRestriction, UserHandle user) { in getProfileOrDeviceOwner()
130 public UserHandle user = null; field in RestrictedLockUtils.EnforcedAdmin
142 public EnforcedAdmin(ComponentName component, UserHandle user) { in EnforcedAdmin()
147 public EnforcedAdmin(ComponentName component, String enforcedRestriction, UserHandle user) { in EnforcedAdmin()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java130 protected abstract long getSerialNumberForUser(UserHandle user); in getSerialNumberForUser()
179 private BitmapInfo makeDefaultIcon(UserHandle user) { in makeDefaultIcon()
188 public synchronized void remove(ComponentName componentName, UserHandle user) { in remove()
195 private void removeFromMemCacheLocked(String packageName, UserHandle user) { in removeFromMemCacheLocked()
211 public synchronized void removeIconsForPkg(String packageName, UserHandle user) { in removeIconsForPkg()
247 UserHandle user = cachingLogic.getUser(object); in addIconToDBAndMemCache() local
290 public synchronized BitmapInfo getDefaultIcon(UserHandle user) { in getDefaultIcon()
297 public boolean isDefaultIcon(BitmapInfo icon, UserHandle user) { in isDefaultIcon()
306 @NonNull ComponentName componentName, @NonNull UserHandle user, in cacheLocked()
372 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 …]
DUsbProfileGroupSettingsManager.java139 final @NonNull UserHandle user; field in UsbProfileGroupSettingsManager.UserPackage
150 private UserPackage(@NonNull String packageName, @NonNull UserHandle user) { in UserPackage()
224 UsbProfileGroupSettingsManager(@NonNull Context context, @NonNull UserHandle user, in UsbProfileGroupSettingsManager()
337 UserHandle user = mParentUser; in readPreference() local
994 UserHandle user = UserHandle in resolveActivity() local
1029 UserHandle user = UserHandle.getUserHandleForUid( in resolveActivity() local
1211 private int getSerial(@NonNull UserHandle user) { in getSerial()
1223 @NonNull UserHandle user) { in setDevicePackage()
1251 @NonNull UserHandle user) { in addDevicePackagesToDenied()
1289 @NonNull String[] packageNames, @NonNull UserHandle user) { in addAccessoryPackagesToDenied()
[all …]
/frameworks/base/services/core/java/com/android/server/
DSystemService.java292 public boolean isUserSupported(@NonNull TargetUser user) { in isUserSupported()
326 public void onUserStarting(@NonNull TargetUser user) { in onUserStarting()
346 public void onUserUnlocking(@NonNull TargetUser user) { in onUserUnlocking()
357 public void onUserUnlocked(@NonNull TargetUser user) { in onUserUnlocked()
390 public void onUserStopping(@NonNull TargetUser user) { in onUserStopping()
403 public void onUserStopped(@NonNull TargetUser user) { in onUserStopped()
DVpnManagerService.java244 int user = UserHandle.getUserId(mDeps.getCallingUid()); in establishVpn() local
253 int user = UserHandle.getUserId(mDeps.getCallingUid()); in addVpnAddress() local
262 int user = UserHandle.getUserId(mDeps.getCallingUid()); in removeVpnAddress() local
271 int user = UserHandle.getUserId(mDeps.getCallingUid()); in setUnderlyingNetworksForVpn() local
293 final int user = UserHandle.getUserId(mDeps.getCallingUid()); in provisionVpnProfile() local
311 final int user = UserHandle.getUserId(mDeps.getCallingUid()); in deleteVpnProfile() local
350 final int user = UserHandle.getUserId(callingUid); in startVpnProfile() local
369 final int user = UserHandle.getUserId(callingUid); in stopVpnProfile() local
390 int user = UserHandle.getUserId(mDeps.getCallingUid()); in startLegacyVpn() local
472 int user = UserHandle.getUserId(mDeps.getCallingUid()); in updateLockdownVpn() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java298 public void sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user, in sendBroadcastAsUserMultiplePermissions()
345 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser()
358 UserHandle user, @Nullable String receiverPermission, @Nullable Bundle options) { in sendBroadcastAsUser()
363 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission) { in sendBroadcastAsUser()
368 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, in sendBroadcastAsUser()
374 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
383 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
392 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
418 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user) { in sendStickyBroadcastAsUser()
423 public void sendStickyOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendStickyOrderedBroadcastAsUser()
[all …]
/frameworks/base/core/java/android/content/
DApexEnvironment.java79 public File getDeviceProtectedDataDirForUser(@NonNull UserHandle user) { in getDeviceProtectedDataDirForUser()
93 public File getCredentialProtectedDataDirForUser(@NonNull UserHandle user) { in getCredentialProtectedDataDirForUser()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java264 UsageGroup(UserData user, ObserverAppData observerApp, int observerId, String[] observed, in UsageGroup()
282 UserData user = mUserRef.get(); in remove() local
318 final UserData user = mUserRef.get(); in noteUsageStart() local
345 final UserData user = mUserRef.get(); in noteUsageStop() local
357 final UserData user = mUserRef.get(); in checkTimeout() local
393 UserData user = mUserRef.get(); in onLimitReached() local
419 public AppUsageGroup(UserData user, ObserverAppData observerApp, int observerId, in AppUsageGroup()
447 public SessionUsageGroup(UserData user, ObserverAppData observerApp, int observerId, in SessionUsageGroup()
496 UserData user = mUserRef.get(); in onSessionEnd() local
525 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()
237 private Context getContextForUser(UserHandle user) { in getContextForUser()
/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/libs/systemui/iconloaderlib/src/com/android/launcher3/util/
DComponentKey.java30 public final UserHandle user; field in ComponentKey
34 public ComponentKey(ComponentName componentName, UserHandle user) { in ComponentKey()
/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()

12345678910>>...15