/frameworks/base/media/java/android/media/tv/ |
D | ITvInputManager.aidl | 43 List<TvInputInfo> getTvInputList(int userId); in getTvInputList() 44 TvInputInfo getTvInputInfo(in String inputId, int userId); in getTvInputInfo() 45 void updateTvInputInfo(in TvInputInfo inputInfo, int userId); in updateTvInputInfo() 46 int getTvInputState(in String inputId, int userId); in getTvInputState() 48 List<TvContentRatingSystemInfo> getTvContentRatingSystemList(int userId); in getTvContentRatingSystemList() 50 void registerCallback(in ITvInputManagerCallback callback, int userId); in registerCallback() 51 void unregisterCallback(in ITvInputManagerCallback callback, int userId); in unregisterCallback() 53 boolean isParentalControlsEnabled(int userId); in isParentalControlsEnabled() 54 void setParentalControlsEnabled(boolean enabled, int userId); in setParentalControlsEnabled() 55 boolean isRatingBlocked(in String rating, int userId); in isRatingBlocked() [all …]
|
/frameworks/base/core/java/android/print/ |
D | IPrintManager.aidl | 40 List<PrintJobInfo> getPrintJobInfos(int appId, int userId); in getPrintJobInfos() 41 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId, int appId, int userId); in getPrintJobInfo() 43 in PrintAttributes attributes, String packageName, int appId, int userId); in print() 44 void cancelPrintJob(in PrintJobId printJobId, int appId, int userId); in cancelPrintJob() 45 void restartPrintJob(in PrintJobId printJobId, int appId, int userId); in restartPrintJob() 48 int appId, int userId); in addPrintJobStateChangeListener() 50 int userId); in removePrintJobStateChangeListener() 61 int userId); in addPrintServicesChangeListener() 72 int userId); in removePrintServicesChangeListener() 82 List<PrintServiceInfo> getPrintServices(int selectionFlags, int userId); in getPrintServices() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UserManagerInternal.java | 39 void onUserRestrictionsChanged(int userId, Bundle newRestrictions, Bundle prevRestrictions); in onUserRestrictionsChanged() 53 public abstract void setDevicePolicyUserRestrictions(int userId, @Nullable Bundle restrictions, in setDevicePolicyUserRestrictions() 62 public abstract Bundle getBaseUserRestrictions(int userId); in getBaseUserRestrictions() 68 public abstract void setBaseUserRestrictionsByDpmsForMigration(int userId, in setBaseUserRestrictionsByDpmsForMigration() 72 public abstract boolean getUserRestriction(int userId, String key); in getUserRestriction() 90 public abstract void setUserManaged(int userId, boolean isManaged); in setUserManaged() 99 public abstract void setUserIcon(int userId, Bitmap bitmap); in setUserIcon() 125 public abstract void onEphemeralUserStop(int userId); in onEphemeralUserStop() 143 public abstract boolean removeUserEvenWhenDisallowed(int userId); in removeUserEvenWhenDisallowed() 150 public abstract boolean isUserUnlockingOrUnlocked(int userId); in isUserUnlockingOrUnlocked() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | IShortcutService.aidl | 30 int userId); in setDynamicShortcuts() 32 ParceledListSlice getDynamicShortcuts(String packageName, int userId); in getDynamicShortcuts() 34 ParceledListSlice getManifestShortcuts(String packageName, int userId); in getManifestShortcuts() 37 int userId); in addDynamicShortcuts() 39 void removeDynamicShortcuts(String packageName, in List shortcutIds, int userId); in removeDynamicShortcuts() 41 void removeAllDynamicShortcuts(String packageName, int userId); in removeAllDynamicShortcuts() 43 ParceledListSlice getPinnedShortcuts(String packageName, int userId); in getPinnedShortcuts() 45 boolean updateShortcuts(String packageName, in ParceledListSlice shortcuts, int userId); in updateShortcuts() 48 in IntentSender resultIntent, int userId); in requestPinShortcut() 50 Intent createShortcutResultIntent(String packageName, in ShortcutInfo shortcut, int userId); in createShortcutResultIntent() [all …]
|
D | PackageManagerInternal.java | 100 int checkPermission(String permName, String pkgName, int userId, in checkPermission() 125 public String[] getPackages(int userId); in getPackages() 139 public String[] getPackages(String authority, int userId); in getPackages() 155 String getDefaultBrowser(@UserIdInt int userId); in getDefaultBrowser() 165 boolean setDefaultBrowser(@Nullable String packageName, @UserIdInt int userId); in setDefaultBrowser() 173 void setDefaultBrowserAsync(@Nullable String packageName, @UserIdInt int userId); in setDefaultBrowserAsync() 189 String getDefaultDialer(@UserIdInt int userId); in getDefaultDialer() 205 String getDefaultHome(@UserIdInt int userId); in getDefaultHome() 214 void setDefaultHomeAsync(@Nullable String packageName, @UserIdInt int userId, in setDefaultHomeAsync() 254 public void onDefaultSmsAppChanged(String packageName, int userId) {} in onDefaultSmsAppChanged() [all …]
|
D | IPackageManager.aidl | 65 void checkPackageStartable(String packageName, int userId); in checkPackageStartable() 67 boolean isPackageAvailable(String packageName, int userId); in isPackageAvailable() 69 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo() 71 int flags, int userId); in getPackageInfoVersioned() 73 int getPackageUid(String packageName, int flags, int userId); in getPackageUid() 74 int[] getPackageGids(String packageName, int flags, int userId); in getPackageGids() 91 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo() 94 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); in getActivityInfo() 100 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); in getReceiverInfo() 103 ServiceInfo getServiceInfo(in ComponentName className, int flags, int userId); in getServiceInfo() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | Trampoline.java | 144 protected File getRememberActivatedFileForNonSystemUser(int userId) { in getRememberActivatedFileForNonSystemUser() 149 protected File getActivatedFileForNonSystemUser(int userId) { in getActivatedFileForNonSystemUser() 182 private void deactivateBackupForUserLocked(int userId) throws IOException { in deactivateBackupForUserLocked() 197 private void activateBackupForUserLocked(int userId) throws IOException { in activateBackupForUserLocked() 207 private boolean isUserReadyForBackup(int userId) { in isUserReadyForBackup() 217 private boolean isBackupActivatedForUser(int userId) { in isBackupActivatedForUser() 269 void unlockUser(int userId) { in unlockUser() 273 private void startServiceForUser(int userId) { in startServiceForUser() 286 void stopUser(int userId) { in stopUser() 301 private void enforcePermissionsOnUser(int userId) throws SecurityException { in enforcePermissionsOnUser() [all …]
|
D | BackupManagerService.java | 133 private void onRemovedNonSystemUser(int userId) { in onRemovedNonSystemUser() 148 private void enforceCallingPermissionOnUserId(@UserIdInt int userId, String message) { in enforceCallingPermissionOnUserId() 164 protected void startServiceForUser(int userId) { in startServiceForUser() 180 void startServiceForUser(int userId, UserBackupManagerService userBackupManagerService) { in startServiceForUser() 190 protected void stopServiceForUser(int userId) { in stopServiceForUser() 223 UserBackupManagerService getServiceForUserIfCallerHasPermission( in getServiceForUserIfCallerHasPermission() 249 public void dataChanged(@UserIdInt int userId, String packageName) { in dataChanged() 262 public void agentConnected(@UserIdInt int userId, String packageName, IBinder agentBinder) { in agentConnected() 275 public void agentDisconnected(@UserIdInt int userId, String packageName) { in agentDisconnected() 288 public void opComplete(@UserIdInt int userId, int token, long result) { in opComplete() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 189 public boolean isTrustUsuallyManaged(int userId) { in isTrustUsuallyManaged() 201 public void setTrustUsuallyManaged(boolean managed, int userId) { in setTrustUsuallyManaged() 209 public void userPresent(int userId) { in userPresent() 284 public int getRequestedMinimumPasswordLength(int userId) { in getRequestedMinimumPasswordLength() 296 public int getRequestedPasswordQuality(int userId) { in getRequestedPasswordQuality() 300 private int getRequestedPasswordHistoryLength(int userId) { in getRequestedPasswordHistoryLength() 304 public int getRequestedPasswordMinimumLetters(int userId) { in getRequestedPasswordMinimumLetters() 308 public int getRequestedPasswordMinimumUpperCase(int userId) { in getRequestedPasswordMinimumUpperCase() 312 public int getRequestedPasswordMinimumLowerCase(int userId) { in getRequestedPasswordMinimumLowerCase() 316 public int getRequestedPasswordMinimumNumeric(int userId) { in getRequestedPasswordMinimumNumeric() [all …]
|
D | ILockSettings.aidl | 34 void setBoolean(in String key, in boolean value, in int userId); in setBoolean() 36 void setLong(in String key, in long value, in int userId); in setLong() 38 void setString(in String key, in String value, in int userId); in setString() 40 boolean getBoolean(in String key, in boolean defaultValue, in int userId); in getBoolean() 42 long getLong(in String key, in long defaultValue, in int userId); in getLong() 44 String getString(in String key, in String defaultValue, in int userId); in getString() 45 …credential, int type, in byte[] savedCredential, int requestedQuality, int userId, boolean allowUn… in setLockCredential() 46 void resetKeyStore(int userId); in resetKeyStore() 47 VerifyCredentialResponse checkCredential(in byte[] credential, int type, int userId, in checkCredential() 49 …ifyCredentialResponse verifyCredential(in byte[] credential, int type, long challenge, int userId); in verifyCredential() [all …]
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleManagerService.java | 116 List<String> getRoleHolders(@NonNull String roleName, @UserIdInt int userId); in getRoleHolders() 211 public void onStartUser(@UserIdInt int userId) { in onStartUser() 215 private CompletableFuture<Void> performInitialGrantsIfNecessaryAsync(@UserIdInt int userId) { in performInitialGrantsIfNecessaryAsync() 253 private void performInitialGrantsIfNecessary(@UserIdInt int userId) { in performInitialGrantsIfNecessary() 262 private void migrateRoleIfNecessary(String role, @UserIdInt int userId) { in migrateRoleIfNecessary() 280 private static String computeComponentStateHash(@UserIdInt int userId) { in computeComponentStateHash() 312 private RoleUserState getOrCreateUserState(@UserIdInt int userId) { in getOrCreateUserState() 324 private RoleControllerManager getOrCreateController(@UserIdInt int userId) { in getOrCreateController() 345 private RemoteCallbackList<IOnRoleHoldersChangedListener> getListeners(@UserIdInt int userId) { in getListeners() 352 private RemoteCallbackList<IOnRoleHoldersChangedListener> getOrCreateListeners( in getOrCreateListeners() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | IBackupManager.aidl | 52 void dataChangedForUser(int userId, String packageName); in dataChangedForUser() 72 void clearBackupDataForUser(int userId, String transportName, String packageName); in clearBackupDataForUser() 91 void initializeTransportsForUser(int userId, in String[] transportNames, in initializeTransportsForUser() 103 void agentConnectedForUser(int userId, String packageName, IBinder agent); in agentConnectedForUser() 119 void agentDisconnectedForUser(int userId, String packageName); in agentDisconnectedForUser() 135 void restoreAtInstallForUser(int userId, String packageName, int token); in restoreAtInstallForUser() 155 void setBackupEnabledForUser(int userId, boolean isEnabled); in setBackupEnabledForUser() 179 void setAutoRestoreForUser(int userId, boolean doAutoRestore); in setAutoRestoreForUser() 196 boolean isBackupEnabledForUser(int userId); in isBackupEnabledForUser() 235 void backupNowForUser(int userId); in backupNowForUser() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 273 private PackageUserState modifyUserState(int userId) { in modifyUserState() 282 public PackageUserState readUserState(int userId) { in readUserState() 291 void setEnabled(int state, int userId, String callingPackage) { in setEnabled() 297 int getEnabled(int userId) { in getEnabled() 301 String getLastDisabledAppCaller(int userId) { in getLastDisabledAppCaller() 305 void setInstalled(boolean inst, int userId) { in setInstalled() 309 boolean getInstalled(int userId) { in getInstalled() 313 int getInstallReason(int userId) { in getInstallReason() 317 void setInstallReason(int installReason, int userId) { in setInstallReason() 321 void setOverlayPaths(List<String> overlayPaths, int userId) { in setOverlayPaths() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStatsManagerInternal.java | 47 public abstract void reportEvent(ComponentName component, @UserIdInt int userId, int eventType, in reportEvent() 58 public abstract void reportEvent(String packageName, @UserIdInt int userId, int eventType); in reportEvent() 65 public abstract void reportConfigurationChange(Configuration config, @UserIdInt int userId); in reportConfigurationChange() 75 @UserIdInt int userId); in reportInterruptiveNotification() 87 @UserIdInt int userId); in reportShortcutUsage() 96 @UserIdInt int userId); in reportContentProviderUsage() 118 public abstract boolean isAppIdle(String packageName, int uidForAppId, @UserIdInt int userId); in isAppIdle() 131 @UserIdInt int userId, long nowElapsed); in getAppStandbyBucket() 138 public abstract int[] getIdleUidsForUser(@UserIdInt int userId); in getIdleUidsForUser() 163 public abstract void onAppIdleStateChanged(String packageName, @UserIdInt int userId, in onAppIdleStateChanged() [all …]
|
/frameworks/base/services/core/java/com/android/server/infra/ |
D | ServiceNameResolver.java | 42 void onNameResolved(@UserIdInt int userId, @Nullable String serviceName, in onNameResolved() 64 String getDefaultServiceName(@UserIdInt int userId); in getDefaultServiceName() 74 default String getServiceName(@UserIdInt int userId) { in getServiceName() 81 default boolean isTemporary(@SuppressWarnings("unused") @UserIdInt int userId) { in isTemporary() 95 default void setTemporaryService(@UserIdInt int userId, @NonNull String componentName, in setTemporaryService() 107 default void resetTemporaryService(@UserIdInt int userId) { in resetTemporaryService() 125 default boolean setDefaultServiceEnabled(@UserIdInt int userId, boolean enabled) { in setDefaultServiceEnabled() 139 default boolean isDefaultServiceEnabled(@UserIdInt int userId) { in isDefaultServiceEnabled() 153 void dumpShort(@NonNull PrintWriter pw, @UserIdInt int userId); in dumpShort()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDbTest.java | 81 int userId = 12; in insertKey_replacesOldKey() local 114 int userId = 6; in insertKey_allowsTwoUidsToHaveSameAlias() local 140 int userId = 6; in removeKey_removesAKey() local 165 int userId = 12; in getKey_returnsInsertedKey() local 188 int userId = 12; in getAllKeys_getsKeysWithUserIdAndGenerationId() local 226 int userId = 12; in getAllKeys_doesNotReturnKeysWithBadGenerationId() local 260 int userId = 42; in getPlatformKeyGenerationId_returnsGenerationId() local 274 int userId = 42; in setPlatformKeyGenerationId_replacesOldEntry() local 283 int userId = 42; in getUserSerialNumbers_returnsSerialNumbers() local 297 int userId = 42; in getUserSerialNumbers_returnsMinusOneIfNoEntry() local [all …]
|
/frameworks/base/core/java/android/content/om/ |
D | IOverlayManager.aidl | 41 Map getAllOverlays(in int userId); in getAllOverlays() 53 List getOverlayInfosForTarget(in String targetPackageName, in int userId); in getOverlayInfosForTarget() 65 OverlayInfo getOverlayInfo(in String packageName, in int userId); in getOverlayInfo() 90 boolean setEnabled(in String packageName, in boolean enable, in int userId); in setEnabled() 103 boolean setEnabledExclusive(in String packageName, in boolean enable, in int userId); in setEnabledExclusive() 115 boolean setEnabledExclusiveInCategory(in String packageName, in int userId); in setEnabledExclusiveInCategory() 130 boolean setPriority(in String packageName, in String newParentPackageName, in int userId); in setPriority() 142 boolean setHighestPriority(in String packageName, in int userId); in setHighestPriority() 154 boolean setLowestPriority(in String packageName, in int userId); in setLowestPriority()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 287 public boolean wereDefaultPermissionsGrantedSinceBoot(int userId) { in wereDefaultPermissionsGrantedSinceBoot() 293 public void grantDefaultPermissions(int userId) { in grantDefaultPermissions() 302 private void grantRuntimePermissionsForSystemPackage(int userId, PackageInfo pkg) { in grantRuntimePermissionsForSystemPackage() 322 private void grantPermissionsToSysComponentsAndPrivApps(int userId) { in grantPermissionsToSysComponentsAndPrivApps() 340 private final void grantIgnoringSystemPackage(String packageName, int userId, in grantIgnoringSystemPackage() 347 private final void grantSystemFixedPermissionsToSystemPackage(String packageName, int userId, in grantSystemFixedPermissionsToSystemPackage() 355 String packageName, int userId, Set<String>... permissionGroups) { in grantPermissionsToSystemPackage() 361 private final void grantPermissionsToSystemPackage(String packageName, int userId, in grantPermissionsToSystemPackage() 367 userId, systemFixed, false /* ignoreSystemPackage */, in grantPermissionsToSystemPackage() local 372 private final void grantPermissionsToPackage(String packageName, int userId, in grantPermissionsToPackage() [all …]
|
/frameworks/base/core/java/android/app/trust/ |
D | ITrustManager.aidl | 28 void reportUnlockAttempt(boolean successful, int userId); in reportUnlockAttempt() 29 void reportUnlockLockout(int timeoutMs, int userId); in reportUnlockLockout() 30 void reportEnabledTrustAgentsChanged(int userId); in reportEnabledTrustAgentsChanged() 34 void setDeviceLockedForUser(int userId, boolean locked); in setDeviceLockedForUser() 35 boolean isDeviceLocked(int userId); in isDeviceLocked() 36 boolean isDeviceSecure(int userId); in isDeviceSecure() 37 boolean isTrustUsuallyManaged(int userId); in isTrustUsuallyManaged() 38 void unlockedByBiometricForUser(int userId, in BiometricSourceType source); in unlockedByBiometricForUser()
|
/frameworks/base/core/java/android/content/ |
D | IClipboard.aidl | 29 void setPrimaryClip(in ClipData clip, String callingPackage, int userId); in setPrimaryClip() 30 void clearPrimaryClip(String callingPackage, int userId); in clearPrimaryClip() 31 ClipData getPrimaryClip(String pkg, int userId); in getPrimaryClip() 32 ClipDescription getPrimaryClipDescription(String callingPackage, int userId); in getPrimaryClipDescription() 33 boolean hasPrimaryClip(String callingPackage, int userId); in hasPrimaryClip() 35 String callingPackage, int userId); in addPrimaryClipChangedListener() 37 String callingPackage, int userId); in removePrimaryClipChangedListener() 42 boolean hasClipboardText(String callingPackage, int userId); in hasClipboardText()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | PlatformKeyManager.java | 127 public int getGenerationId(int userId) { in getGenerationId() 139 public boolean isAvailable(int userId) { in isAvailable() 152 public void invalidatePlatformKey(int userId, int generationId) { in invalidatePlatformKey() 178 void regenerate(int userId) in regenerate() 211 public PlatformEncryptionKey getEncryptKey(int userId) in getEncryptKey() 240 private PlatformEncryptionKey getEncryptKeyInternal(int userId) throws KeyStoreException, in getEncryptKeyInternal() 266 public PlatformDecryptionKey getDecryptKey(int userId) in getDecryptKey() 294 private PlatformDecryptionKey getDecryptKeyInternal(int userId) throws KeyStoreException, in getDecryptKeyInternal() 313 private void ensureDecryptionKeyIsValid(int userId, PlatformDecryptionKey decryptionKey) in ensureDecryptionKeyIsValid() 341 void init(int userId) in init() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 261 protected void handleStrongAuthRequiredChanged(int strongAuthFlags, int userId) { in handleStrongAuthRequiredChanged() 268 public int getStrongAuthForUser(int userId) { in getStrongAuthForUser() 477 private void maybeShowEncryptionNotificationForUser(@UserIdInt int userId) { in maybeShowEncryptionNotificationForUser() 560 public void onCleanupUser(int userId) { in onCleanupUser() 569 public void onStartUser(final int userId) { in onStartUser() 578 private void ensureProfileKeystoreUnlocked(int userId) { in ensureProfileKeystoreUnlocked() 594 public void onUnlockUser(final int userId) { in onUnlockUser() 619 private void tryDeriveAuthTokenForUnsecuredPrimaryUser(@UserIdInt int userId) { in tryDeriveAuthTokenForUnsecuredPrimaryUser() 717 final int userId = users.get(user).id; in migrateOldData() local 751 int userId = users.get(i).id; in migrateOldData() local [all …]
|
D | LockSettingsStorage.java | 191 public void writeKeyValue(String key, String value, int userId) { in writeKeyValue() 192 writeKeyValue(mOpenHelper.getWritableDatabase(), key, value, userId); in writeKeyValue() local 195 public void writeKeyValue(SQLiteDatabase db, String key, String value, int userId) { in writeKeyValue() 214 public String readKeyValue(String key, String defaultValue, int userId) { in readKeyValue() 239 public void prefetchUser(int userId) { in prefetchUser() 267 private CredentialHash readPasswordHashIfExists(int userId) { in readPasswordHashIfExists() 282 private CredentialHash readPatternHashIfExists(int userId) { in readPatternHashIfExists() 302 public CredentialHash readCredentialHash(int userId) { in readCredentialHash() 320 public void removeChildProfileLock(int userId) { in removeChildProfileLock() 330 public void writeChildProfileLock(int userId, byte[] lock) { in writeChildProfileLock() [all …]
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | IAccountAuthenticatorCache.java | 43 AuthenticatorDescription type, int userId); in getServiceInfo() 49 int userId); in getAllServices() 55 void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId); in dump() 66 void invalidateCache(int userId); in invalidateCache() 72 void updateServices(int userId); in updateServices() 74 boolean getBindInstantServiceAllowed(int userId); in getBindInstantServiceAllowed() 75 void setBindInstantServiceAllowed(int userId, boolean allowed); in setBindInstantServiceAllowed()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 246 void onUserRemoved(final int userId) { in onUserRemoved() 253 void onTargetPackageAdded(@NonNull final String packageName, final int userId) { in onTargetPackageAdded() 261 void onTargetPackageChanged(@NonNull final String packageName, final int userId) { in onTargetPackageChanged() 269 void onTargetPackageReplacing(@NonNull final String packageName, final int userId) { in onTargetPackageReplacing() 278 void onTargetPackageReplaced(@NonNull final String packageName, final int userId) { in onTargetPackageReplaced() 286 void onTargetPackageRemoved(@NonNull final String packageName, final int userId) { in onTargetPackageRemoved() 298 final int userId, final int flags) { in updateAndRefreshOverlaysForTarget() 362 void onOverlayPackageAdded(@NonNull final String packageName, final int userId) { in onOverlayPackageAdded() 389 void onOverlayPackageChanged(@NonNull final String packageName, final int userId) { in onOverlayPackageChanged() 404 void onOverlayPackageReplacing(@NonNull final String packageName, final int userId) { in onOverlayPackageReplacing() [all …]
|