/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/ |
D | StatusBarManagerServiceTest.java | 160 int user = 0; in testRequestActive_changeEnabled_OKCall() local 185 int user = 0; in testRequestActive_changeEnabled_notCurrentUser_fail() local 200 int user = 0; in testRequestActive_changeDisabled_pass() local 223 int user = 0; in testRequestActive_changeDisabled_notCurrentUser_pass() local 311 int user = 0; in testCurrentUser_fail() local 324 int user = 0; in testCurrentUser_pass() local 336 int user = 10; in testValidComponent_fail_noComponentFound() local 352 int user = 10; in testValidComponent_fail_notEnabled() local 375 int user = 10; in testValidComponent_fail_noPermission() local 397 int user = 10; in testValidComponent_fail_notExported() local [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | AmbientDisplayConfiguration.java | 74 public boolean enabled(int user) { in enabled() 88 public boolean pulseOnNotificationEnabled(int user) { in pulseOnNotificationEnabled() 100 public boolean pickupGestureEnabled(int user) { in pickupGestureEnabled() 112 public boolean tapGestureEnabled(int user) { in tapGestureEnabled() 128 public boolean doubleTapGestureEnabled(int user) { in doubleTapGestureEnabled() 139 public boolean quickPickupSensorEnabled(int user) { in quickPickupSensorEnabled() 147 public boolean screenOffUdfpsEnabled(int user) { in screenOffUdfpsEnabled() 159 public boolean wakeLockScreenGestureEnabled(int user) { in wakeLockScreenGestureEnabled() 165 public boolean wakeDisplayGestureEnabled(int user) { in wakeDisplayGestureEnabled() 210 public boolean pulseOnLongPressEnabled(int user) { in pulseOnLongPressEnabled() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | IOnAppsChangedListener.aidl | 27 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()
|
D | ILauncherApps.aidl | 54 String callingPackage, String packageName, in UserHandle user); in getLauncherActivities() 56 String callingPackage, in ComponentName component, in UserHandle user); in resolveLauncherActivityInternal() 59 in Rect sourceBounds, in Bundle opts, in UserHandle user); in startSessionDetailsActivityAsUser() 62 in Bundle opts, in UserHandle user); in startActivityAsUser() 64 in UserHandle user); in getActivityLaunchIntent() 67 in Bundle opts, in UserHandle user); in showAppDetailsAsUser() 68 boolean isPackageEnabled(String callingPackage, String packageName, in UserHandle user); in isPackageEnabled() 69 Bundle getSuspendedPackageLauncherExtras(String packageName, in UserHandle user); in getSuspendedPackageLauncherExtras() 71 String callingPackage, in ComponentName component, in UserHandle user); in isActivityEnabled() 73 String callingPackage, String packageName, int flags, in UserHandle user); in getApplicationInfo() [all …]
|
D | LauncherApps.java | 216 abstract public void onPackageRemoved(String packageName, UserHandle user); in onPackageRemoved() 227 abstract public void onPackageAdded(String packageName, UserHandle user); in onPackageAdded() 237 abstract public void onPackageChanged(String packageName, UserHandle user); in onPackageChanged() 250 abstract public void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable() 264 abstract public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable() 280 public void onPackagesSuspended(String[] packageNames, UserHandle user) { in onPackagesSuspended() 303 public void onPackagesSuspended(String[] packageNames, UserHandle user, in onPackagesSuspended() 317 public void onPackagesUnsuspended(String[] packageNames, UserHandle user) { in onPackagesUnsuspended() 336 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) { in onShortcutsChanged() 347 @NonNull UserHandle user, float progress) {} in onPackageLoadingProgressChanged() [all …]
|
D | IShortcutChangeCallback.aidl | 33 in UserHandle user); in onShortcutsAddedOrUpdated() 36 in UserHandle user); in onShortcutsRemoved()
|
D | RegisteredServicesCache.java | 122 UserInfo user = getUser(userId); in findOrCreateUserLocked() local 254 final UserServices<V> user = findOrCreateUserLocked(userId); in invalidateCache() local 262 final UserServices<V> user = findOrCreateUserLocked(userId); in dump() local 349 final UserServices<V> user = findOrCreateUserLocked(userId); in getServiceInfo() local 364 final UserServices<V> user = findOrCreateUserLocked(userId); in getAllServices() local 379 final UserServices<V> user = findOrCreateUserLocked(userId); in updateServices() local 423 final UserServices<V> user = findOrCreateUserLocked(userId); in getBindInstantServiceAllowed() local 437 final UserServices<V> user = findOrCreateUserLocked(userId); in setBindInstantServiceAllowed() local 468 final UserServices<V> user = findOrCreateUserLocked(userId); in queryIntentServices() local 505 final UserServices<V> user = findOrCreateUserLocked(userId); in generateServicesMap() local [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/ |
D | PendingRemovalStoreTest.kt | 39 val user = 10 in testTagForRemoval_logged() constant 47 val user = UserHandle.USER_ALL in testClearedPendingRemoval_logged() constant 55 val user = 10 in testTaggedReceiverMarkedAsPending_specificUser() constant 65 val user = 10 in testTaggedReceiverMarkedAsPending_allUsers() constant 75 val user = 10 in testOnlyBlockCorrectReceiver() constant
|
/frameworks/base/core/java/android/app/usage/ |
D | StorageStatsManager.java | 210 @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/ |
D | LegacyPermissionManager.java | 133 @NonNull String packageName, @NonNull UserHandle user, in grantDefaultPermissionsToLuiApp() 154 @NonNull String[] packageNames, @NonNull UserHandle user, in revokeDefaultPermissionsFromLuiApps() 175 @NonNull String[] packageNames, @NonNull UserHandle user, in grantDefaultPermissionsToEnabledImsServices() 196 @NonNull String[] packageNames, @NonNull UserHandle user, in grantDefaultPermissionsToEnabledTelephonyDataServices() 217 @NonNull String[] packageNames, @NonNull UserHandle user, in revokeDefaultPermissionsFromDisabledTelephonyDataServices() 238 @NonNull UserHandle user, @NonNull @CallbackExecutor Executor executor, in grantDefaultPermissionsToEnabledCarrierApps()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameServiceController.java | 88 void notifyUserStarted(@NonNull SystemService.TargetUser user) { in notifyUserStarted() 96 void notifyNewForegroundUser(@NonNull SystemService.TargetUser user) { in notifyNewForegroundUser() 100 void notifyUserUnlocking(@NonNull SystemService.TargetUser user) { in notifyUserUnlocking() 115 void notifyUserStopped(@NonNull SystemService.TargetUser user) { in notifyUserStopped() 136 private void setCurrentForegroundUserAndEvaluateProvider( in setCurrentForegroundUserAndEvaluateProvider()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | BaseIconCache.java | 171 protected abstract long getSerialNumberForUser(@NonNull final UserHandle user); in getSerialNumberForUser() 229 @NonNull final UserHandle user) { in remove() 237 @Nullable final UserHandle user) { in removeFromMemCacheLocked() 254 @NonNull final UserHandle user) { in removeIconsForPkg() 284 public CharSequence getUserBadgedLabel(CharSequence label, UserHandle user) { in getUserBadgedLabel() 310 UserHandle user = cachingLogic.getUser(object); in addIconToDBAndMemCache() local 361 public synchronized BitmapInfo getDefaultIcon(@NonNull final UserHandle user) { in getDefaultIcon() 371 protected FlagOp getUserFlagOpLocked(@NonNull final UserHandle user) { in getUserFlagOpLocked() 385 public boolean isDefaultIcon(@NonNull final BitmapInfo icon, @NonNull final UserHandle user) { in isDefaultIcon() 395 @NonNull final ComponentName componentName, @NonNull final UserHandle user, in cacheLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemService.java | 387 public boolean isUserSupported(@NonNull TargetUser user) { in isUserSupported() 400 final UserInfo user = allUsers.get(i); in dumpSupportedUsers() local 424 public void onUserStarting(@NonNull TargetUser user) { in onUserStarting() 444 public void onUserUnlocking(@NonNull TargetUser user) { in onUserUnlocking() 455 public void onUserUnlocked(@NonNull TargetUser user) { in onUserUnlocked() 488 public void onUserStopping(@NonNull TargetUser user) { in onUserStopping() 501 public void onUserStopped(@NonNull TargetUser user) { in onUserStopped() 528 public void onUserCompletedEvent(@NonNull TargetUser user, UserCompletedEventType eventType) { in onUserCompletedEvent()
|
D | VpnManagerService.java | 274 int user = UserHandle.getUserId(mDeps.getCallingUid()); in establishVpn() local 283 int user = UserHandle.getUserId(mDeps.getCallingUid()); in addVpnAddress() local 292 int user = UserHandle.getUserId(mDeps.getCallingUid()); in removeVpnAddress() local 301 int user = UserHandle.getUserId(mDeps.getCallingUid()); in setUnderlyingNetworksForVpn() local 323 final int user = UserHandle.getUserId(mDeps.getCallingUid()); in provisionVpnProfile() local 341 final int user = UserHandle.getUserId(mDeps.getCallingUid()); in deleteVpnProfile() local 381 final int user = UserHandle.getUserId(callingUid); in startVpnProfile() local 400 final int user = UserHandle.getUserId(callingUid); in stopVpnProfile() local 418 final int user = UserHandle.getUserId(callingUid); in getProvisionedVpnProfileState() local 439 int user = UserHandle.getUserId(mDeps.getCallingUid()); in startLegacyVpn() local [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbHandlerManager.java | 58 @NonNull UserHandle user) { in showUsbAccessoryUriActivity() 93 UserHandle user = in confirmUsbHandler() local 119 @NonNull UserHandle user, @NonNull Intent intent) { in selectUsbHandler()
|
/frameworks/base/core/java/android/content/om/ |
D | OverlayManager.java | 174 @NonNull UserHandle user) throws SecurityException, IllegalStateException { in setEnabledExclusiveInCategory() 209 @NonNull UserHandle user) throws SecurityException, IllegalStateException { in setEnabled() 281 @NonNull UserHandle user) { in getOverlayInfosForTarget() 303 @NonNull UserHandle user) { in invalidateCachesForOverlay()
|
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 43 public static EnforcedAdmin getProfileOrDeviceOwner(Context context, UserHandle user) { in getProfileOrDeviceOwner() 52 Context context, String enforcedRestriction, UserHandle user) { in getProfileOrDeviceOwner() 156 public UserHandle user = null; field in RestrictedLockUtils.EnforcedAdmin 173 public EnforcedAdmin(ComponentName component, UserHandle user) { in EnforcedAdmin() 178 public EnforcedAdmin(ComponentName component, String enforcedRestriction, UserHandle user) { in EnforcedAdmin()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSTileHostTest.java | 560 int user = mUserTracker.getUserId(); in testIsTileAdded_true() local 571 int user = mUserTracker.getUserId(); in testIsTileAdded_false() local 582 int user = mUserTracker.getUserId(); in testIsTileAdded_notSet() local 589 int user = mUserTracker.getUserId(); in testIsTileAdded_differentUser() local 600 int user = mUserTracker.getUserId(); in testSetTileAdded_true() local 609 int user = mUserTracker.getUserId(); in testSetTileAdded_false() local 618 int user = mUserTracker.getUserId(); in testSetTileAdded_differentUser() local 627 int user = mUserTracker.getUserId(); in testSetTileRemoved_afterCustomTileChangedByUser() local 640 int user = mUserTracker.getUserId(); in testSetTileRemoved_removedByUser() local 654 int user = mUserTracker.getUserId(); in testSetTileRemoved_removedBySystem() local [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 167 public final UserHandle user; field in LauncherAppsService.BroadcastCookie 475 int callingUid, UserHandle user) { in getHiddenAppActivityInfo() 488 public boolean shouldHideFromSuggestions(String packageName, UserHandle user) { in shouldHideFromSuggestions() 504 String callingPackage, String packageName, UserHandle user) throws RemoteException { in getLauncherActivities() 576 private boolean shouldShowSyntheticActivity(UserHandle user, ApplicationInfo appInfo) { in shouldShowSyntheticActivity() 615 private boolean isManagedProfileAdmin(UserHandle user, String packageName) { in isManagedProfileAdmin() 635 String callingPackage, ComponentName component, UserHandle user) in resolveLauncherActivityInternal() 670 String callingPackage, String packageName, UserHandle user) in getShortcutConfigActivities() 677 String callingPackage, Intent intent, UserHandle user) { in queryActivitiesForUser() 692 Intent intent, int callingUid, UserHandle user) { in queryIntentLauncherActivities() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/ |
D | NoteTaskControllerTest.kt | 684 val user = UserHandle.of(0) in <lambda>() constant 693 val user = userTracker.userHandle in <lambda>() constant 706 val user = UserHandle.CURRENT in <lambda>() constant 719 val user = UserHandle.CURRENT in <lambda>() constant 827 val user = createNoteTaskController().getUserForHandlingNotesTaking(QUICK_AFFORDANCE) in <lambda>() constant 845 val user = createNoteTaskController().getUserForHandlingNotesTaking(TAIL_BUTTON) in <lambda>() constant 863 val user = createNoteTaskController().getUserForHandlingNotesTaking(TAIL_BUTTON) in <lambda>() constant 873 val user = createNoteTaskController().getUserForHandlingNotesTaking(APP_CLIPS) in <lambda>() constant 882 val user = createNoteTaskController().getUserForHandlingNotesTaking(QUICK_AFFORDANCE) in <lambda>() constant 891 val user = createNoteTaskController().getUserForHandlingNotesTaking(TAIL_BUTTON) in <lambda>() constant [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmMockContext.java | 317 public void sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user, in sendBroadcastAsUserMultiplePermissions() 364 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() 377 UserHandle user, @Nullable String receiverPermission, @Nullable Bundle options) { in sendBroadcastAsUser() 382 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission) { in sendBroadcastAsUser() 387 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, in sendBroadcastAsUser() 393 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser() 402 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser() 411 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser() 437 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user) { in sendStickyBroadcastAsUser() 442 public void sendStickyOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendStickyOrderedBroadcastAsUser() [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | BroadcastResponseStatsTracker.java | 141 void reportNotificationPosted(@NonNull String packageName, UserHandle user, in reportNotificationPosted() 146 void reportNotificationUpdated(@NonNull String packageName, UserHandle user, in reportNotificationUpdated() 152 void reportNotificationCancelled(@NonNull String packageName, UserHandle user, in reportNotificationCancelled() 158 @NonNull String packageName, UserHandle user, @ElapsedRealtimeLong long timestampMs) { in reportNotificationEvent() 292 boolean doesPackageHoldExemptedRole(@NonNull String packageName, @NonNull UserHandle user) { in doesPackageHoldExemptedRole() 307 @NonNull UserHandle user) { in doesPackageHoldExemptedPermission() 322 private List<String> getRoleHoldersLocked(@NonNull String roleName, @NonNull UserHandle user) { in getRoleHoldersLocked() 337 private void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged() 389 @NonNull String packageName, UserHandle user) { in getBroadcastEventsLocked() 401 @NonNull String packageName, UserHandle user) { in getOrCreateBroadcastEventsLocked()
|
D | AppTimeLimitController.java | 264 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/core/java/android/content/ |
D | ApexEnvironment.java | 79 public File getDeviceProtectedDataDirForUser(@NonNull UserHandle user) { in getDeviceProtectedDataDirForUser() 93 public File getCredentialProtectedDataDirForUser(@NonNull UserHandle user) { in getCredentialProtectedDataDirForUser()
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
D | StatusBarIcon.java | 26 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()
|