Home
last modified time | relevance | path

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

12345678910>>...16

/frameworks/base/media/java/android/media/tv/
DITvInputManager.aidl42 List<TvInputInfo> getTvInputList(int userId); in getTvInputList()
43 TvInputInfo getTvInputInfo(in String inputId, int userId); in getTvInputInfo()
44 void updateTvInputInfo(in TvInputInfo inputInfo, int userId); in updateTvInputInfo()
45 int getTvInputState(in String inputId, int userId); in getTvInputState()
47 List<TvContentRatingSystemInfo> getTvContentRatingSystemList(int userId); in getTvContentRatingSystemList()
49 void registerCallback(in ITvInputManagerCallback callback, int userId); in registerCallback()
50 void unregisterCallback(in ITvInputManagerCallback callback, int userId); in unregisterCallback()
52 boolean isParentalControlsEnabled(int userId); in isParentalControlsEnabled()
53 void setParentalControlsEnabled(boolean enabled, int userId); in setParentalControlsEnabled()
54 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/com/android/internal/widget/
DILockSettings.aidl25 void setBoolean(in String key, in boolean value, in int userId); in setBoolean()
26 void setLong(in String key, in long value, in int userId); in setLong()
27 void setString(in String key, in String value, in int userId); in setString()
28 boolean getBoolean(in String key, in boolean defaultValue, in int userId); in getBoolean()
29 long getLong(in String key, in long defaultValue, in int userId); in getLong()
30 String getString(in String key, in String defaultValue, in int userId); in getString()
31 void setLockPattern(in String pattern, in String savedPattern, int userId); in setLockPattern()
32 void resetKeyStore(int userId); in resetKeyStore()
33 VerifyCredentialResponse checkPattern(in String pattern, int userId, in checkPattern()
35 VerifyCredentialResponse verifyPattern(in String pattern, long challenge, int userId); in verifyPattern()
[all …]
DLockPatternUtils.java159 public boolean isTrustUsuallyManaged(int userId) { in isTrustUsuallyManaged()
171 public void setTrustUsuallyManaged(boolean managed, int userId) { in setTrustUsuallyManaged()
179 public void userPresent(int userId) { in userPresent()
248 public int getRequestedMinimumPasswordLength(int userId) { in getRequestedMinimumPasswordLength()
256 public int getRequestedPasswordQuality(int userId) { in getRequestedPasswordQuality()
260 private int getRequestedPasswordHistoryLength(int userId) { in getRequestedPasswordHistoryLength()
264 public int getRequestedPasswordMinimumLetters(int userId) { in getRequestedPasswordMinimumLetters()
268 public int getRequestedPasswordMinimumUpperCase(int userId) { in getRequestedPasswordMinimumUpperCase()
272 public int getRequestedPasswordMinimumLowerCase(int userId) { in getRequestedPasswordMinimumLowerCase()
276 public int getRequestedPasswordMinimumNumeric(int userId) { in getRequestedPasswordMinimumNumeric()
[all …]
/frameworks/base/core/java/android/content/pm/
DIShortcutService.aidl27 int userId); in setDynamicShortcuts()
29 ParceledListSlice getDynamicShortcuts(String packageName, int userId); in getDynamicShortcuts()
31 ParceledListSlice getManifestShortcuts(String packageName, int userId); in getManifestShortcuts()
34 int userId); in addDynamicShortcuts()
36 void removeDynamicShortcuts(String packageName, in List shortcutIds, int userId); in removeDynamicShortcuts()
38 void removeAllDynamicShortcuts(String packageName, int userId); in removeAllDynamicShortcuts()
40 ParceledListSlice getPinnedShortcuts(String packageName, int userId); in getPinnedShortcuts()
42 boolean updateShortcuts(String packageName, in ParceledListSlice shortcuts, int userId); in updateShortcuts()
45 int disabledMessageResId, int userId); in disableShortcuts()
47 void enableShortcuts(String packageName, in List shortcutIds, int userId); in enableShortcuts()
[all …]
DIPackageManager.aidl63 void checkPackageStartable(String packageName, int userId); in checkPackageStartable()
64 boolean isPackageAvailable(String packageName, int userId); in isPackageAvailable()
65 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo()
66 int getPackageUid(String packageName, int flags, int userId); in getPackageUid()
67 int[] getPackageGids(String packageName, int flags, int userId); in getPackageGids()
80 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo()
82 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); in getActivityInfo()
87 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); in getReceiverInfo()
89 ServiceInfo getServiceInfo(in ComponentName className, int flags, int userId); in getServiceInfo()
91 ProviderInfo getProviderInfo(in ComponentName className, int flags, int userId); in getProviderInfo()
[all …]
DPackageManagerInternal.java42 public String[] getPackages(int userId); in getPackages()
56 public String[] getPackages(String authority, int userId); in getPackages()
100 public abstract void grantDefaultPermissionsToDefaultSmsApp(String packageName, int userId); in grantDefaultPermissionsToDefaultSmsApp()
107 public abstract void grantDefaultPermissionsToDefaultDialerApp(String packageName, int userId); in grantDefaultPermissionsToDefaultDialerApp()
115 int userId); in grantDefaultPermissionsToDefaultSimCallManager()
131 public abstract boolean isPermissionsReviewRequired(String packageName, int userId); in isPermissionsReviewRequired()
144 public abstract ApplicationInfo getApplicationInfo(String packageName, int userId); in getApplicationInfo()
150 int userId); in getHomeActivitiesAsUser()
162 public abstract boolean isPackageDataProtected(int userId, String packageName); in isPackageDataProtected()
170 public abstract boolean wasPackageEverLaunched(String packageName, int userId); in wasPackageEverLaunched()
DRegisteredServicesCache.java104 private UserServices<V> findOrCreateUserLocked(int userId) { in findOrCreateUserLocked()
109 private UserServices<V> findOrCreateUserLocked(int userId, boolean loadFromFileIfNew) { in findOrCreateUserLocked()
173 private final void handlePackageEvent(Intent intent, int userId) { in handlePackageEvent()
233 public void invalidateCache(int userId) { in invalidateCache()
241 public void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId) { in dump()
271 private void notifyListener(final V type, final int userId, final boolean removed) { in notifyListener()
322 public ServiceInfo<V> getServiceInfo(V type, int userId) { in getServiceInfo()
337 public Collection<ServiceInfo<V>> getAllServices(int userId) { in getAllServices()
349 public void updateServices(int userId) { in updateServices()
408 protected List<ResolveInfo> queryIntentServices(int userId) { in queryIntentServices()
[all …]
/frameworks/base/core/java/android/os/
DUserManagerInternal.java35 void onUserRestrictionsChanged(int userId, Bundle newRestrictions, Bundle prevRestrictions); in onUserRestrictionsChanged()
49 public abstract void setDevicePolicyUserRestrictions(int userId, in setDevicePolicyUserRestrictions()
57 public abstract Bundle getBaseUserRestrictions(int userId); in getBaseUserRestrictions()
63 public abstract void setBaseUserRestrictionsByDpmsForMigration(int userId, in setBaseUserRestrictionsByDpmsForMigration()
67 public abstract boolean getUserRestriction(int userId, String key); in getUserRestriction()
85 public abstract void setUserManaged(int userId, boolean isManaged); in setUserManaged()
94 public abstract void setUserIcon(int userId, Bitmap bitmap); in setUserIcon()
120 public abstract void onEphemeralUserStop(int userId); in onEphemeralUserStop()
135 public abstract boolean isUserUnlockingOrUnlocked(int userId); in isUserUnlockingOrUnlocked()
141 public abstract boolean isUserUnlocked(int userId); in isUserUnlocked()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java263 private PackageUserState modifyUserState(int userId) { in modifyUserState()
272 public PackageUserState readUserState(int userId) { in readUserState()
280 void setEnabled(int state, int userId, String callingPackage) { in setEnabled()
286 int getEnabled(int userId) { in getEnabled()
290 String getLastDisabledAppCaller(int userId) { in getLastDisabledAppCaller()
294 void setInstalled(boolean inst, int userId) { in setInstalled()
298 boolean getInstalled(int userId) { in getInstalled()
329 long getCeDataInode(int userId) { in getCeDataInode()
333 void setCeDataInode(long ceDataInode, int userId) { in setCeDataInode()
337 boolean getStopped(int userId) { in getStopped()
[all …]
DPermissionsState.java143 public boolean isPermissionReviewRequired(int userId) { in isPermissionReviewRequired()
180 public int grantRuntimePermission(BasePermission permission, int userId) { in grantRuntimePermission()
197 public int revokeRuntimePermission(BasePermission permission, int userId) { in revokeRuntimePermission()
213 public boolean hasRuntimePermission(String name, int userId) { in hasRuntimePermission()
236 public boolean hasPermission(String name, int userId) { in hasPermission()
270 public Set<String> getPermissions(int userId) { in getPermissions()
315 public PermissionState getRuntimePermissionState(String name, int userId) { in getRuntimePermissionState()
334 public List<PermissionState> getRuntimePermissionStates(int userId) { in getRuntimePermissionStates()
346 public int getPermissionFlags(String name, int userId) { in getPermissionFlags()
366 public boolean updatePermissionFlags(BasePermission permission, int userId, in updatePermissionFlags()
[all …]
DShortcutService.java457 public String injectGetLocaleTagsForUser(@UserIdInt int userId) { in injectGetLocaleTagsForUser()
549 public void onUnlockUser(int userId) { in onUnlockUser()
570 void handleUnlockUser(int userId) { in handleUnlockUser()
595 void handleCleanupUser(int userId) { in handleCleanupUser()
606 private void unloadUserLocked(int userId) { in unloadUserLocked()
906 final File getUserFile(@UserIdInt int userId) { in getUserFile()
910 private void saveUserLocked(@UserIdInt int userId) { in saveUserLocked()
933 private void saveUserInternalLocked(@UserIdInt int userId, OutputStream os, in saveUserInternalLocked()
960 private ShortcutUser loadUserLocked(@UserIdInt int userId) { in loadUserLocked()
987 private ShortcutUser loadUserInternal(@UserIdInt int userId, InputStream is, in loadUserInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStorage.java108 public void writeKeyValue(String key, String value, int userId) { in writeKeyValue()
109 writeKeyValue(mOpenHelper.getWritableDatabase(), key, value, userId); in writeKeyValue() local
112 public void writeKeyValue(SQLiteDatabase db, String key, String value, int userId) { in writeKeyValue()
131 public String readKeyValue(String key, String defaultValue, int userId) { in readKeyValue()
156 public void prefetchUser(int userId) { in prefetchUser()
185 public int getStoredCredentialType(int userId) { in getStoredCredentialType()
217 public CredentialHash readPasswordHash(int userId) { in readPasswordHash()
231 public CredentialHash readPatternHash(int userId) { in readPatternHash()
250 public void removeChildProfileLock(int userId) { in removeChildProfileLock()
260 public void writeChildProfileLock(int userId, byte[] lock) { in writeChildProfileLock()
[all …]
DLockSettingsService.java149 void setCredential(String credential, String savedCredential, int userId) in setCredential()
151 byte[] toHash(String credential, int userId); in toHash()
198 protected void handleStrongAuthRequiredChanged(int strongAuthFlags, int userId) { in handleStrongAuthRequiredChanged()
205 public int getStrongAuthForUser(int userId) { in getStrongAuthForUser()
386 public void onCleanupUser(int userId) { in onCleanupUser()
390 public void onUnlockUser(final int userId) { in onUnlockUser()
482 final int userId = users.get(user).id; in migrateOldData() local
516 int userId = users.get(i).id; in migrateOldData() local
617 private final void checkWritePermission(int userId) { in checkWritePermission()
621 private final void checkPasswordReadPermission(int userId) { in checkPasswordReadPermission()
[all …]
DLockSettingsStrongAuth.java84 private void handleRequireStrongAuth(int strongAuthReason, int userId) { in handleRequireStrongAuth()
95 private void handleRequireStrongAuthOneUser(int strongAuthReason, int userId) { in handleRequireStrongAuthOneUser()
106 private void handleRemoveUser(int userId) { in handleRemoveUser()
114 private void notifyStrongAuthTrackers(int strongAuthReason, int userId) { in notifyStrongAuthTrackers()
136 public void removeUser(int userId) { in removeUser()
140 public void requireStrongAuth(int strongAuthReason, int userId) { in requireStrongAuth()
150 public void reportUnlock(int userId) { in reportUnlock()
/frameworks/base/core/java/android/view/accessibility/
DIAccessibilityManager.aidl38 int addClient(IAccessibilityManagerClient client, int userId); in addClient()
40 boolean sendAccessibilityEvent(in AccessibilityEvent uiEvent, int userId); in sendAccessibilityEvent()
42 List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(int userId); in getInstalledAccessibilityServiceList()
44 List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType, int userId); in getEnabledAccessibilityServiceList()
46 void interrupt(int userId); in interrupt()
49 in IAccessibilityInteractionConnection connection, int userId); in addAccessibilityInteractionConnection()
61 IBinder getWindowToken(int windowId, int userId); in getWindowToken()
63 void enableAccessibilityService(in ComponentName service, int userId); in enableAccessibilityService()
65 void disableAccessibilityService(in ComponentName service, int userId); in disableAccessibilityService()
/frameworks/base/core/java/android/app/trust/
DITrustManager.aidl27 void reportUnlockAttempt(boolean successful, int userId); in reportUnlockAttempt()
28 void reportEnabledTrustAgentsChanged(int userId); in reportEnabledTrustAgentsChanged()
32 void setDeviceLockedForUser(int userId, boolean locked); in setDeviceLockedForUser()
33 boolean isDeviceLocked(int userId); in isDeviceLocked()
34 boolean isDeviceSecure(int userId); in isDeviceSecure()
35 boolean isTrustUsuallyManaged(int userId); in isTrustUsuallyManaged()
DTrustManager.java60 public void setDeviceLockedForUser(int userId, boolean locked) { in setDeviceLockedForUser()
75 public void reportUnlockAttempt(boolean successful, int userId) { in reportUnlockAttempt()
88 public void reportEnabledTrustAgentsChanged(int userId) { in reportEnabledTrustAgentsChanged()
161 public boolean isTrustUsuallyManaged(int userId) { in isTrustUsuallyManaged()
193 void onTrustChanged(boolean enabled, int userId, int flags); in onTrustChanged()
200 void onTrustManagedChanged(boolean enabled, int userId); in onTrustManagedChanged()
/frameworks/base/core/java/com/android/server/
DWidgetBackupProvider.java29 public List<String> getWidgetParticipants(int userId); in getWidgetParticipants()
30 public byte[] getWidgetState(String packageName, int userId); in getWidgetState()
31 public void restoreStarting(int userId); in restoreStarting()
32 public void restoreWidgetState(String packageName, byte[] restoredState, int userId); in restoreWidgetState()
33 public void restoreFinished(int userId); in restoreFinished()
DAppWidgetBackupBridge.java34 public static List<String> getWidgetParticipants(int userId) { in getWidgetParticipants()
40 public static byte[] getWidgetState(String packageName, int userId) { in getWidgetState()
46 public static void restoreStarting(int userId) { in restoreStarting()
52 public static void restoreWidgetState(String packageName, byte[] restoredState, int userId) { in restoreWidgetState()
58 public static void restoreFinished(int userId) { in restoreFinished()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java174 int userId; field in TrustManagerService.AgentInfo
198 public void updateTrust(int userId, int flags) { in updateTrust()
217 private void updateTrustUsuallyManaged(int userId, boolean managed) { in updateTrustUsuallyManaged()
319 boolean isDeviceLockedInner(int userId) { in isDeviceLockedInner()
325 private void refreshDeviceLockedForUser(int userId) { in refreshDeviceLockedForUser()
373 private void dispatchDeviceLocked(int userId, boolean isLocked) { in dispatchDeviceLocked()
418 public void resetAgent(ComponentName name, int userId) { in resetAgent()
493 private void maybeEnableFactoryTrustAgents(LockPatternUtils utils, int userId) { in maybeEnableFactoryTrustAgents()
518 Settings.Secure.TRUST_AGENTS_INITIALIZED, 1, userId); in maybeEnableFactoryTrustAgents() local
521 private List<ResolveInfo> resolveAllowedTrustAgents(PackageManager pm, int userId) { in resolveAllowedTrustAgents()
[all …]
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java118 PrintAttributes attributes, String packageName, int appId, int userId) { in print()
146 public List<PrintJobInfo> getPrintJobInfos(int appId, int userId) { in getPrintJobInfos()
167 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId, int userId) { in getPrintJobInfo()
192 public Icon getCustomPrinterIcon(PrinterId printerId, int userId) { in getCustomPrinterIcon()
213 public void cancelPrintJob(PrintJobId printJobId, int appId, int userId) { in cancelPrintJob()
238 public void restartPrintJob(PrintJobId printJobId, int appId, int userId) { in restartPrintJob()
263 public List<PrintServiceInfo> getPrintServices(int selectionFlags, int userId) { in getPrintServices()
285 public void setPrintServiceEnabled(ComponentName service, boolean isEnabled, int userId) { in setPrintServiceEnabled()
319 public List<RecommendationInfo> getPrintServiceRecommendations(int userId) { in getPrintServiceRecommendations()
339 int userId) { in createPrinterDiscoverySession()
[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()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManagerInternal.java39 public abstract void reportEvent(ComponentName component, int userId, int eventType); in reportEvent()
49 public abstract void reportEvent(String packageName, int userId, int eventType); in reportEvent()
56 public abstract void reportConfigurationChange(Configuration config, int userId); in reportConfigurationChange()
67 public abstract void reportShortcutUsage(String packageName, String shortcutId, int userId); in reportShortcutUsage()
75 public abstract void reportContentProviderUsage(String name, String pkgName, int userId); in reportContentProviderUsage()
91 public abstract boolean isAppIdle(String packageName, int uidForAppId, int userId); in isAppIdle()
98 public abstract int[] getIdleUidsForUser(int userId); in getIdleUidsForUser()
121 public abstract void onAppIdleStateChanged(String packageName, int userId, boolean idle); in onAppIdleStateChanged()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java231 final int userId = uss.mHandle.getIdentifier(); in finishUserBoot() local
286 final int userId = uss.mHandle.getIdentifier(); in finishUserUnlocking() local
322 final int userId = uss.mHandle.getIdentifier(); in finishUserUnlocked() local
374 new PreBootBroadcaster(mService, userId, null, quiet) { in finishUserUnlocked() argument
388 final int userId = uss.mHandle.getIdentifier(); in finishUserUnlockedCompleted() local
450 int stopUser(final int userId, final boolean force, final IStopUserCallback callback) { in stopUser()
474 private int stopUsersLocked(final int userId, boolean force, final IStopUserCallback callback) { in stopUsersLocked()
505 private void stopSingleUserLocked(final int userId, final IStopUserCallback callback) { in stopSingleUserLocked()
570 void finishUserStopping(final int userId, final UserState uss) { in finishUserStopping()
610 final int userId = uss.mHandle.getIdentifier(); in finishUserStopped() local
[all …]

12345678910>>...16