Home
last modified time | relevance | path

Searched defs:userId (Results 1 – 25 of 774) sorted by relevance

12345678910>>...31

/frameworks/base/media/java/android/media/tv/
DITvInputManager.aidl43 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/
DIPrintManager.aidl40 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/
DUserManagerInternal.java39 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/
DIShortcutService.aidl30 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 …]
DPackageManagerInternal.java102 int checkPermission(String permName, String pkgName, int userId, in checkPermission()
127 public String[] getPackages(int userId); in getPackages()
141 public String[] getPackages(String authority, int userId); in getPackages()
157 String getDefaultBrowser(@UserIdInt int userId); in getDefaultBrowser()
167 boolean setDefaultBrowser(@Nullable String packageName, @UserIdInt int userId); in setDefaultBrowser()
175 void setDefaultBrowserAsync(@Nullable String packageName, @UserIdInt int userId); in setDefaultBrowserAsync()
191 String getDefaultDialer(@UserIdInt int userId); in getDefaultDialer()
207 String getDefaultHome(@UserIdInt int userId); in getDefaultHome()
216 void setDefaultHomeAsync(@Nullable String packageName, @UserIdInt int userId, in setDefaultHomeAsync()
256 public void onDefaultSmsAppChanged(String packageName, int userId) {} in onDefaultSmsAppChanged()
[all …]
DIPackageManager.aidl66 void checkPackageStartable(String packageName, int userId); in checkPackageStartable()
68 boolean isPackageAvailable(String packageName, int userId); in isPackageAvailable()
70 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo()
72 int flags, int userId); in getPackageInfoVersioned()
74 int getPackageUid(String packageName, int flags, int userId); in getPackageUid()
75 int[] getPackageGids(String packageName, int flags, int userId); in getPackageGids()
92 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo()
95 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); in getActivityInfo()
101 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); in getReceiverInfo()
104 ServiceInfo getServiceInfo(in ComponentName className, int flags, int userId); in getServiceInfo()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DTrampoline.java144 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 …]
DBackupManagerService.java133 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/services/core/java/com/android/server/role/
DRoleManagerService.java115 List<String> getRoleHolders(@NonNull String roleName, @UserIdInt int userId); in getRoleHolders()
210 public void onStartUser(@UserIdInt int userId) { in onStartUser()
214 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/com/android/internal/widget/
DLockPatternUtils.java189 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 …]
DILockSettings.aidl34 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/pm/
DPackageSettingBase.java274 PackageUserState modifyUserState(int userId) { in modifyUserState()
283 public PackageUserState readUserState(int userId) { in readUserState()
292 void setEnabled(int state, int userId, String callingPackage) { in setEnabled()
298 int getEnabled(int userId) { in getEnabled()
302 String getLastDisabledAppCaller(int userId) { in getLastDisabledAppCaller()
306 void setInstalled(boolean inst, int userId) { in setInstalled()
310 boolean getInstalled(int userId) { in getInstalled()
314 int getInstallReason(int userId) { in getInstallReason()
318 void setInstallReason(int installReason, int userId) { in setInstallReason()
322 void setOverlayPaths(List<String> overlayPaths, int userId) { in setOverlayPaths()
[all …]
/frameworks/base/services/core/java/com/android/server/infra/
DServiceNameResolver.java42 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/core/java/android/app/backup/
DIBackupManager.aidl52 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/core/java/android/app/usage/
DUsageStatsManagerInternal.java47 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/core/java/android/content/om/
DIOverlayManager.aidl41 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/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java81 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/
DIClipboard.aidl29 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/core/java/android/app/trust/
DITrustManager.aidl28 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/services/core/java/com/android/server/locksettings/
DLockSettingsService.java275 protected void handleStrongAuthRequiredChanged(int strongAuthFlags, int userId) { in handleStrongAuthRequiredChanged()
282 public int getStrongAuthForUser(int userId) { in getStrongAuthForUser()
296 PendingResetLockout(int userId, byte[] hat) { in PendingResetLockout()
446 public boolean hasEnrolledBiometrics(int userId) { in hasEnrolledBiometrics()
500 private void maybeShowEncryptionNotificationForUser(@UserIdInt int userId) { in maybeShowEncryptionNotificationForUser()
583 public void onCleanupUser(int userId) { in onCleanupUser()
592 public void onStartUser(final int userId) { in onStartUser()
601 private void ensureProfileKeystoreUnlocked(int userId) { in ensureProfileKeystoreUnlocked()
618 public void onUnlockUser(final int userId) { in onUnlockUser()
643 private void tryDeriveAuthTokenForUnsecuredPrimaryUser(@UserIdInt int userId) { in tryDeriveAuthTokenForUnsecuredPrimaryUser()
[all …]
DLockSettingsStorage.java193 public void writeKeyValue(String key, String value, int userId) { in writeKeyValue()
194 writeKeyValue(mOpenHelper.getWritableDatabase(), key, value, userId); in writeKeyValue() local
197 public void writeKeyValue(SQLiteDatabase db, String key, String value, int userId) { in writeKeyValue()
216 public String readKeyValue(String key, String defaultValue, int userId) { in readKeyValue()
241 public void prefetchUser(int userId) { in prefetchUser()
269 private CredentialHash readPasswordHashIfExists(int userId) { in readPasswordHashIfExists()
284 private CredentialHash readPatternHashIfExists(int userId) { in readPatternHashIfExists()
304 public CredentialHash readCredentialHash(int userId) { in readCredentialHash()
322 public void removeChildProfileLock(int userId) { in removeChildProfileLock()
332 public void writeChildProfileLock(int userId, byte[] lock) { in writeChildProfileLock()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java288 public boolean wereDefaultPermissionsGrantedSinceBoot(int userId) { in wereDefaultPermissionsGrantedSinceBoot()
294 public void grantDefaultPermissions(int userId) { in grantDefaultPermissions()
303 private void grantRuntimePermissionsForSystemPackage(int userId, PackageInfo pkg) { in grantRuntimePermissionsForSystemPackage()
323 private void grantPermissionsToSysComponentsAndPrivApps(int userId) { in grantPermissionsToSysComponentsAndPrivApps()
341 private final void grantIgnoringSystemPackage(String packageName, int userId, in grantIgnoringSystemPackage()
348 private final void grantSystemFixedPermissionsToSystemPackage(String packageName, int userId, in grantSystemFixedPermissionsToSystemPackage()
356 String packageName, int userId, Set<String>... permissionGroups) { in grantPermissionsToSystemPackage()
362 private final void grantPermissionsToSystemPackage(String packageName, int userId, in grantPermissionsToSystemPackage()
368 userId, systemFixed, false /* ignoreSystemPackage */, in grantPermissionsToSystemPackage() local
373 private final void grantPermissionsToPackage(String packageName, int userId, in grantPermissionsToPackage()
[all …]
/frameworks/base/services/core/java/com/android/server/accounts/
DIAccountAuthenticatorCache.java43 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/
DOverlayManagerServiceImpl.java246 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 …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java128 public int getGenerationId(int userId) { in getGenerationId()
140 public boolean isAvailable(int userId) { in isAvailable()
153 public void invalidatePlatformKey(int userId, int generationId) { in invalidatePlatformKey()
179 void regenerate(int userId) in regenerate()
212 public PlatformEncryptionKey getEncryptKey(int userId) in getEncryptKey()
241 private PlatformEncryptionKey getEncryptKeyInternal(int userId) throws KeyStoreException, in getEncryptKeyInternal()
267 public PlatformDecryptionKey getDecryptKey(int userId) in getDecryptKey()
295 private PlatformDecryptionKey getDecryptKeyInternal(int userId) throws KeyStoreException, in getDecryptKeyInternal()
314 private void ensureDecryptionKeyIsValid(int userId, PlatformDecryptionKey decryptionKey) in ensureDecryptionKeyIsValid()
342 void init(int userId) in init()
[all …]

12345678910>>...31