Home
last modified time | relevance | path

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

123456789

/frameworks/base/media/java/android/media/tv/
DITvInputManager.aidl39 List<TvInputInfo> getTvInputList(int userId); in getTvInputList()
40 TvInputInfo getTvInputInfo(in String inputId, int userId); in getTvInputInfo()
42 List<TvContentRatingSystemInfo> getTvContentRatingSystemList(int userId); in getTvContentRatingSystemList()
44 void registerCallback(in ITvInputManagerCallback callback, int userId); in registerCallback()
45 void unregisterCallback(in ITvInputManagerCallback callback, int userId); in unregisterCallback()
47 boolean isParentalControlsEnabled(int userId); in isParentalControlsEnabled()
48 void setParentalControlsEnabled(boolean enabled, int userId); in setParentalControlsEnabled()
49 boolean isRatingBlocked(in String rating, int userId); in isRatingBlocked()
50 List<String> getBlockedRatings(int userId); in getBlockedRatings()
51 void addBlockedRating(in String rating, int userId); in addBlockedRating()
[all …]
/frameworks/base/core/java/android/print/
DIPrintManager.aidl35 List<PrintJobInfo> getPrintJobInfos(int appId, int userId); in getPrintJobInfos()
36 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId, int appId, int userId); in getPrintJobInfo()
38 in PrintAttributes attributes, String packageName, int appId, int userId); in print()
39 void cancelPrintJob(in PrintJobId printJobId, int appId, int userId); in cancelPrintJob()
40 void restartPrintJob(in PrintJobId printJobId, int appId, int userId); in restartPrintJob()
43 int appId, int userId); in addPrintJobStateChangeListener()
45 int userId); in removePrintJobStateChangeListener()
47 List<PrintServiceInfo> getInstalledPrintServices(int userId); in getInstalledPrintServices()
48 List<PrintServiceInfo> getEnabledPrintServices(int userId); in getEnabledPrintServices()
50 void createPrinterDiscoverySession(in IPrinterDiscoveryObserver observer, int userId); in createPrinterDiscoverySession()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DILockSettings.aidl23 void setBoolean(in String key, in boolean value, in int userId); in setBoolean()
24 void setLong(in String key, in long value, in int userId); in setLong()
25 void setString(in String key, in String value, in int userId); in setString()
26 boolean getBoolean(in String key, in boolean defaultValue, in int userId); in getBoolean()
27 long getLong(in String key, in long defaultValue, in int userId); in getLong()
28 String getString(in String key, in String defaultValue, in int userId); in getString()
29 void setLockPattern(in String pattern, int userId); in setLockPattern()
30 boolean checkPattern(in String pattern, int userId); in checkPattern()
31 void setLockPassword(in String password, int userId); in setLockPassword()
32 boolean checkPassword(in String password, int userId); in checkPassword()
[all …]
DLockPatternUtilsCache.java67 public void setBoolean(String key, boolean value, int userId) throws RemoteException { in setBoolean()
73 public void setLong(String key, long value, int userId) throws RemoteException { in setLong()
79 public void setString(String key, String value, int userId) throws RemoteException { in setString()
85 public long getLong(String key, long defaultValue, int userId) throws RemoteException { in getLong()
95 public String getString(String key, String defaultValue, int userId) throws RemoteException { in getString()
105 public boolean getBoolean(String key, boolean defaultValue, int userId) throws RemoteException { in getBoolean()
116 public void setLockPattern(String pattern, int userId) throws RemoteException { in setLockPattern()
123 public boolean checkPattern(String pattern, int userId) throws RemoteException { in checkPattern()
128 public void setLockPassword(String password, int userId) throws RemoteException { in setLockPassword()
135 public boolean checkPassword(String password, int userId) throws RemoteException { in checkPassword()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java224 private PackageUserState modifyUserState(int userId) { in modifyUserState()
233 public PackageUserState readUserState(int userId) { in readUserState()
241 void setEnabled(int state, int userId, String callingPackage) { in setEnabled()
247 int getEnabled(int userId) { in getEnabled()
251 String getLastDisabledAppCaller(int userId) { in getLastDisabledAppCaller()
255 void setInstalled(boolean inst, int userId) { in setInstalled()
259 boolean getInstalled(int userId) { in getInstalled()
290 boolean getStopped(int userId) { in getStopped()
294 void setStopped(boolean stop, int userId) { in setStopped()
298 boolean getNotLaunched(int userId) { in getNotLaunched()
[all …]
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java165 final int userId = users.get(user).id; in migrateOldData() local
199 private final void checkWritePermission(int userId) { in checkWritePermission()
203 private final void checkPasswordReadPermission(int userId) { in checkPasswordReadPermission()
207 private final void checkReadPermission(String requestedKey, int userId) { in checkReadPermission()
221 public void setBoolean(String key, boolean value, int userId) throws RemoteException { in setBoolean()
228 public void setLong(String key, long value, int userId) throws RemoteException { in setLong()
235 public void setString(String key, String value, int userId) throws RemoteException { in setString()
242 public boolean getBoolean(String key, boolean defaultValue, int userId) throws RemoteException { in getBoolean()
251 public long getLong(String key, long defaultValue, int userId) throws RemoteException { in getLong()
259 public String getString(String key, String defaultValue, int userId) throws RemoteException { in getString()
[all …]
/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/usb/java/com/android/server/usb/
DUsbService.java84 private UsbSettingsManager getSettingsForUser(int userId) { in getSettingsForUser()
129 private void setCurrentUser(int userId) { in setCurrentUser()
187 public void setDevicePackage(UsbDevice device, String packageName, int userId) { in setDevicePackage()
193 public void setAccessoryPackage(UsbAccessory accessory, String packageName, int userId) { in setAccessoryPackage()
200 final int userId = UserHandle.getCallingUserId(); in hasDevicePermission() local
206 final int userId = UserHandle.getCallingUserId(); in hasAccessoryPermission() local
212 final int userId = UserHandle.getCallingUserId(); in requestDevicePermission() local
219 final int userId = UserHandle.getCallingUserId(); in requestAccessoryPermission() local
226 final int userId = UserHandle.getUserId(uid); in grantDevicePermission() local
233 final int userId = UserHandle.getUserId(uid); in grantAccessoryPermission() local
[all …]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardUpdateMonitorCallback.java115 public void onUserSwitching(int userId) { } in onUserSwitching()
120 public void onUserSwitchComplete(int userId) { } in onUserSwitchComplete()
131 public void onUserRemoved(int userId) { } in onUserRemoved()
136 public void onUserInfoChanged(int userId) { } in onUserInfoChanged()
174 public void onTrustChanged(int userId) { } in onTrustChanged()
179 public void onTrustManagedChanged(int userId) { } in onTrustManagedChanged()
184 public void onTrustInitiatedByUser(int userId) { } in onTrustInitiatedByUser()
190 public void onFingerprintRecognized(int userId) { } in onFingerprintRecognized()
200 public void onFaceUnlockStateChanged(boolean running, int userId) { } in onFaceUnlockStateChanged()
DMultiUserAvatarCache.java40 public void clear(int userId) { in clear()
44 public Drawable get(int userId) { in get()
48 public void put(int userId, Drawable image) { in put()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java119 PrintAttributes attributes, String packageName, int appId, int userId) { in print()
143 public List<PrintJobInfo> getPrintJobInfos(int appId, int userId) { in getPrintJobInfos()
164 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId, int userId) { in getPrintJobInfo()
185 public void cancelPrintJob(PrintJobId printJobId, int appId, int userId) { in cancelPrintJob()
206 public void restartPrintJob(PrintJobId printJobId, int appId, int userId) { in restartPrintJob()
227 public List<PrintServiceInfo> getEnabledPrintServices(int userId) { in getEnabledPrintServices()
246 public List<PrintServiceInfo> getInstalledPrintServices(int userId) { in getInstalledPrintServices()
266 int userId) { in createPrinterDiscoverySession()
286 int userId) { in destroyPrinterDiscoverySession()
306 List<PrinterId> priorityList, int userId) { in startPrinterDiscovery()
[all …]
/frameworks/base/core/java/android/service/fingerprint/
DIFingerprintService.aidl27 void enroll(IBinder token, long timeout, int userId); in enroll()
30 void enrollCancel(IBinder token, int userId); in enrollCancel()
33 void remove(IBinder token, int fingerprintId, int userId); in remove()
37 void startListening(IBinder token, IFingerprintServiceReceiver receiver, int userId); in startListening()
40 void stopListening(IBinder token, int userId); in stopListening()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java137 int userId; field in TrustManagerService.AgentInfo
161 public void updateTrust(int userId, boolean initiatedByUser) { in updateTrust()
162 dispatchOnTrustManagedChanged(aggregateIsTrustManaged(userId), userId); in updateTrust() local
163 dispatchOnTrustChanged(aggregateIsTrusted(userId), userId, initiatedByUser); in updateTrust() local
166 void refreshAgentList(int userId) { in refreshAgentList()
273 public void resetAgent(ComponentName name, int userId) { in resetAgent()
348 private void maybeEnableFactoryTrustAgents(LockPatternUtils utils, int userId) { in maybeEnableFactoryTrustAgents()
373 Settings.Secure.TRUST_AGENTS_INITIALIZED, 1, userId); in maybeEnableFactoryTrustAgents() local
376 private List<ResolveInfo> resolveAllowedTrustAgents(PackageManager pm, int userId) { in resolveAllowedTrustAgents()
398 private boolean aggregateIsTrusted(int userId) { in aggregateIsTrusted()
[all …]
DTrustArchive.java44 final int userId; field in TrustArchive.Event
56 private Event(int type, int userId, ComponentName agent, String message, in Event()
71 public void logGrantTrust(int userId, ComponentName agent, String message, in logGrantTrust()
77 public void logRevokeTrust(int userId, ComponentName agent) { in logRevokeTrust()
81 public void logTrustTimeout(int userId, ComponentName agent) { in logTrustTimeout()
85 public void logAgentDied(int userId, ComponentName agent) { in logAgentDied()
89 public void logAgentConnected(int userId, ComponentName agent) { in logAgentConnected()
93 public void logAgentStopped(int userId, ComponentName agent) { in logAgentStopped()
97 public void logManagingTrust(int userId, ComponentName agent, boolean managing) { in logManagingTrust()
108 public void dump(PrintWriter writer, int limit, int userId, String linePrefix, in dump()
/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()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl59 boolean isPackageAvailable(String packageName, int userId); in isPackageAvailable()
60 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo()
61 int getPackageUid(String packageName, int userId); in getPackageUid()
75 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo()
77 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); in getActivityInfo()
82 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); in getReceiverInfo()
84 ServiceInfo getServiceInfo(in ComponentName className, int flags, int userId); in getServiceInfo()
86 ProviderInfo getProviderInfo(in ComponentName className, int flags, int userId); in getProviderInfo()
118 ResolveInfo resolveIntent(in Intent intent, String resolvedType, int flags, int userId); in resolveIntent()
123 String resolvedType, int flags, int userId); in queryIntentActivities()
[all …]
DIPackageInstaller.aidl30 …t createSession(in PackageInstaller.SessionParams params, String installerPackageName, int userId); in createSession()
41 ParceledListSlice getAllSessions(int userId); in getAllSessions()
42 ParceledListSlice getMySessions(String installerPackageName, int userId); in getMySessions()
44 void registerCallback(IPackageInstallerCallback callback, int userId); in registerCallback()
47 void uninstall(String packageName, int flags, in IntentSender statusReceiver, int userId); in uninstall()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java266 private void buildTvInputListLocked(int userId, String[] updatedPackages) { in buildTvInputListLocked()
352 private void buildTvContentRatingSystemListLocked(int userId) { in buildTvContentRatingSystemListLocked()
379 private void switchUser(int userId) { in switchUser()
398 private void removeUser(int userId) { in removeUser()
441 private UserState getUserStateLocked(int userId) { in getUserStateLocked()
449 private ServiceState getServiceStateLocked(ComponentName component, int userId) { in getServiceStateLocked()
459 private SessionState getSessionStateLocked(IBinder sessionToken, int callingUid, int userId) { in getSessionStateLocked()
473 private ITvInputSession getSessionLocked(IBinder sessionToken, int callingUid, int userId) { in getSessionLocked()
497 private void updateServiceConnectionLocked(ComponentName component, int userId) { in updateServiceConnectionLocked()
538 String inputId, int userId) { in abortPendingCreateSessionRequestsLocked()
[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()
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintService.java83 int userId; field in FingerprintService.ClientData
216 void startEnroll(IBinder token, long timeout, int userId) { in startEnroll()
227 void startEnrollCancel(IBinder token, int userId) { in startEnrollCancel()
239 void startRemove(IBinder token, int fingerId, int userId) { in startRemove()
254 void addListener(IBinder token, IFingerprintServiceReceiver receiver, int userId) { in addListener()
273 void removeListener(IBinder token, int userId) { in removeListener()
291 public void enroll(IBinder token, long timeout, int userId) { in enroll()
297 public void enrollCancel(IBinder token,int userId) { in enrollCancel()
303 public void remove(IBinder token, int fingerprintId, int userId) { in remove()
309 public void startListening(IBinder token, IFingerprintServiceReceiver receiver, int userId) in startListening()
[all …]
/frameworks/base/core/java/android/app/trust/
DTrustManager.java54 public void reportUnlockAttempt(boolean successful, int userId) { in reportUnlockAttempt()
67 public void reportEnabledTrustAgentsChanged(int userId) { in reportEnabledTrustAgentsChanged()
82 public void reportRequireCredentialEntry(int userId) { in reportRequireCredentialEntry()
167 void onTrustChanged(boolean enabled, int userId, boolean initiatedByUser); in onTrustChanged()
174 void onTrustManagedChanged(boolean enabled, int userId); in onTrustManagedChanged()
DITrustManager.aidl27 void reportUnlockAttempt(boolean successful, int userId); in reportUnlockAttempt()
28 void reportEnabledTrustAgentsChanged(int userId); in reportEnabledTrustAgentsChanged()
29 void reportRequireCredentialEntry(int userId); in reportRequireCredentialEntry()
/frameworks/base/core/java/android/content/
DIContentService.aidl63 void syncAsUser(in SyncRequest request, int userId); in syncAsUser()
65 void cancelSyncAsUser(in Account account, String authority, in ComponentName cname, int userId); in cancelSyncAsUser()
76 boolean getSyncAutomaticallyAsUser(in Account account, String providerName, int userId); in getSyncAutomaticallyAsUser()
86 int userId); in setSyncAutomaticallyAsUser()
122 int getIsSyncableAsUser(in Account account, String providerName, int userId); in getIsSyncableAsUser()
131 void setMasterSyncAutomaticallyAsUser(boolean flag, int userId); in setMasterSyncAutomaticallyAsUser()
134 boolean getMasterSyncAutomaticallyAsUser(int userId); in getMasterSyncAutomaticallyAsUser()
137 List<SyncInfo> getCurrentSyncsAsUser(int userId); in getCurrentSyncsAsUser()
144 SyncAdapterType[] getSyncAdapterTypesAsUser(int userId); in getSyncAdapterTypesAsUser()
166 int userId); in getSyncStatusAsUser()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java126 public ArrayList<MediaSessionRecord> getActiveSessions(int userId) { in getActiveSessions()
142 public ArrayList<MediaSessionRecord> getTransportControlSessions(int userId) { in getTransportControlSessions()
156 public MediaSessionRecord getDefaultSession(int userId) { in getDefaultSession()
173 public MediaSessionRecord getDefaultMediaButtonSession(int userId) { in getDefaultMediaButtonSession()
188 public MediaSessionRecord getDefaultVolumeSession(int userId) { in getDefaultVolumeSession()
207 public MediaSessionRecord getDefaultRemoteSession(int userId) { in getDefaultRemoteSession()
251 int userId) { in getPriorityListLocked()

123456789