Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/com/android/internal/widget/
DILockSettings.aidl21 void setBoolean(in String key, in boolean value, in int userId); in setBoolean()
22 void setLong(in String key, in long value, in int userId); in setLong()
23 void setString(in String key, in String value, in int userId); in setString()
24 boolean getBoolean(in String key, in boolean defaultValue, in int userId); in getBoolean()
25 long getLong(in String key, in long defaultValue, in int userId); in getLong()
26 String getString(in String key, in String defaultValue, in int userId); in getString()
27 void setLockPattern(in byte[] hash, int userId); in setLockPattern()
28 boolean checkPattern(in byte[] hash, int userId); in checkPattern()
29 void setLockPassword(in byte[] hash, int userId); in setLockPassword()
30 boolean checkPassword(in byte[] hash, int userId); in checkPassword()
[all …]
DLockSettingsService.java99 private static final void checkWritePermission(int userId) { in checkWritePermission()
107 private static final void checkPasswordReadPermission(int userId) { in checkPasswordReadPermission()
115 private static final void checkReadPermission(int userId) { in checkReadPermission()
125 public void setBoolean(String key, boolean value, int userId) throws RemoteException { in setBoolean()
132 public void setLong(String key, long value, int userId) throws RemoteException { in setLong()
139 public void setString(String key, String value, int userId) throws RemoteException { in setString()
146 public boolean getBoolean(String key, boolean defaultValue, int userId) throws RemoteException { in getBoolean()
155 public long getLong(String key, long defaultValue, int userId) throws RemoteException { in getLong()
163 public String getString(String key, String defaultValue, int userId) throws RemoteException { in getString()
169 private String getLockPatternFilename(int userId) { in getLockPatternFilename()
[all …]
/frameworks/base/services/java/com/android/server/pm/
DPackageSettingBase.java175 private PackageUserState modifyUserState(int userId) { in modifyUserState()
184 public PackageUserState readUserState(int userId) { in readUserState()
192 void setEnabled(int state, int userId) { in setEnabled()
196 int getEnabled(int userId) { in getEnabled()
200 void setInstalled(boolean inst, int userId) { in setInstalled()
204 boolean getInstalled(int userId) { in getInstalled()
235 boolean getStopped(int userId) { in getStopped()
239 void setStopped(boolean stop, int userId) { in setStopped()
243 boolean getNotLaunched(int userId) { in getNotLaunched()
247 void setNotLaunched(boolean stop, int userId) { in setNotLaunched()
[all …]
DInstaller.java228 public int remove(String name, int userId) { in remove()
257 public int deleteCacheFiles(String name, int userId) { in deleteCacheFiles()
266 public int createUserData(String name, int uid, int userId) { in createUserData()
277 public int removeUserDataDirs(int userId) { in removeUserDataDirs()
284 public int clearUserData(String name, int userId) { in clearUserData()
372 public int linkNativeLibraryDirectory(String dataPath, String nativeLibPath, int userId) { in linkNativeLibraryDirectory()
DSettings.java475 int userId = user.id; in getPackageLPw() local
477 dis.getDisabledComponents(userId), userId); in getPackageLPw() local
479 dis.getEnabledComponents(userId), userId); in getPackageLPw() local
737 PreferredIntentResolver editPreferredActivitiesLPw(int userId) { in editPreferredActivitiesLPw()
746 private File getUserPackagesStateFile(int userId) { in getUserPackagesStateFile()
750 private File getUserPackagesStateBackupFile(int userId) { in getUserPackagesStateBackupFile()
776 private void readPreferredActivitiesLPw(XmlPullParser parser, int userId) in readPreferredActivitiesLPw()
805 void readPackageRestrictionsLPr(int userId) { in readPackageRestrictionsLPr()
974 void writePreferredActivitiesLPr(XmlSerializer serializer, int userId) in writePreferredActivitiesLPr()
988 void writePackageRestrictionsLPr(int userId) { in writePackageRestrictionsLPr()
[all …]
/frameworks/base/services/java/com/android/server/usb/
DUsbService.java60 private UsbSettingsManager getSettingsForUser(int userId) { in getSettingsForUser()
105 private void setCurrentUser(int userId) { in setCurrentUser()
163 public void setDevicePackage(UsbDevice device, String packageName, int userId) { in setDevicePackage()
169 public void setAccessoryPackage(UsbAccessory accessory, String packageName, int userId) { in setAccessoryPackage()
176 final int userId = UserHandle.getCallingUserId(); in hasDevicePermission() local
182 final int userId = UserHandle.getCallingUserId(); in hasAccessoryPermission() local
188 final int userId = UserHandle.getCallingUserId(); in requestDevicePermission() local
195 final int userId = UserHandle.getCallingUserId(); in requestAccessoryPermission() local
202 final int userId = UserHandle.getUserId(uid); in grantDevicePermission() local
209 final int userId = UserHandle.getUserId(uid); in grantAccessoryPermission() local
[all …]
/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/accounts/
DIAccountAuthenticatorCache.java42 AuthenticatorDescription type, int userId); in getServiceInfo()
48 int userId); in getAllServices()
54 void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId); in dump()
65 void invalidateCache(int userId); in invalidateCache()
DAccountAndUser.java26 public int userId; field in AccountAndUser
28 public AccountAndUser(Account account, int userId) { in AccountAndUser()
/frameworks/base/services/java/com/android/server/am/
DProviderMap.java64 ContentProviderRecord getProviderByName(String name, int userId) { in getProviderByName()
82 ContentProviderRecord getProviderByClass(ComponentName name, int userId) { in getProviderByClass()
104 final int userId = UserHandle.getUserId(record.appInfo.uid); in putProviderByName() local
117 final int userId = UserHandle.getUserId(record.appInfo.uid); in putProviderByClass() local
122 void removeProviderByName(String name, int userId) { in removeProviderByName()
141 void removeProviderByClass(ComponentName name, int userId) { in removeProviderByClass()
160 private HashMap<String, ContentProviderRecord> getProvidersByName(int userId) { in getProvidersByName()
172 HashMap<ComponentName, ContentProviderRecord> getProvidersByClass(int userId) { in getProvidersByClass()
187 boolean doit, boolean evenPersistent, int userId, in collectForceStopProvidersLocked()
205 boolean doit, boolean evenPersistent, int userId, in collectForceStopProviders()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl56 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo()
57 int getPackageUid(String packageName, int userId); in getPackageUid()
71 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo()
73 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); in getActivityInfo()
75 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); in getReceiverInfo()
77 ServiceInfo getServiceInfo(in ComponentName className, int flags, int userId); in getServiceInfo()
79 ProviderInfo getProviderInfo(in ComponentName className, int flags, int userId); in getProviderInfo()
105 ResolveInfo resolveIntent(in Intent intent, String resolvedType, int flags, int userId); in resolveIntent()
108 String resolvedType, int flags, int userId); in queryIntentActivities()
113 String resolvedType, int flags, int userId); in queryIntentActivityOptions()
[all …]
DRegisteredServicesCache.java94 private UserServices<V> findOrCreateUserLocked(int userId) { in findOrCreateUserLocked()
161 public void invalidateCache(int userId) { in invalidateCache()
168 public void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId) { in dump()
198 private void notifyListener(final V type, final int userId, final boolean removed) { in notifyListener()
247 public ServiceInfo<V> getServiceInfo(V type, int userId) { in getServiceInfo()
262 public Collection<ServiceInfo<V>> getAllServices(int userId) { in getAllServices()
294 private void generateServicesMap(int userId) { in generateServicesMap()
507 final int userId = UserHandle.getUserId(uid); in readPersistentServicesLocked() local
DPackageCleanItem.java24 public final int userId; field in PackageCleanItem
28 public PackageCleanItem(int userId, String packageName, boolean andCode) { in PackageCleanItem()
/frameworks/base/core/java/android/app/
DIStopUserCallback.aidl25 void userStopped(int userId); in userStopped()
26 void userStopAborted(int userId); in userStopAborted()
DINotificationManager.aidl27 void cancelAllNotifications(String pkg, int userId); in cancelAllNotifications()
32 in Notification notification, inout int[] idReceived, int userId); in enqueueNotificationWithTag()
33 void cancelNotificationWithTag(String pkg, String tag, int id, int userId); in cancelNotificationWithTag()
/frameworks/base/services/java/com/android/server/dreams/
DDreamManagerService.java112 final int userId = UserHandle.getCallingUserId(); in getDreamComponents() local
125 final int userId = UserHandle.getCallingUserId(); in setDreamComponents() local
131 userId); in setDreamComponents() local
141 final int userId = UserHandle.getCallingUserId(); in getDefaultDreamComponent() local
258 int userId = ActivityManager.getCurrentUser(); in startDream() local
276 private ComponentName chooseDreamForUser(int userId) { in chooseDreamForUser()
281 private ComponentName[] getDreamComponentsForUser(int userId) { in getDreamComponentsForUser()
319 final boolean isTest, final int userId) { in startDreamLocked()
/frameworks/base/core/java/android/content/
DSyncStorageEngine.java149 final int userId; field in SyncStorageEngine.PendingOperation
158 PendingOperation(Account account, int userId, int source, in PendingOperation()
192 final int userId; field in SyncStorageEngine.AuthorityInfo
225 AuthorityInfo(Account account, int userId, String authority, int ident) { in AuthorityInfo()
272 public void onSyncRequest(Account account, int userId, String authority, Bundle extras); in onSyncRequest()
464 public boolean getSyncAutomatically(Account account, int userId, String providerName) { in getSyncAutomatically()
486 public void setSyncAutomatically(Account account, int userId, String providerName, in setSyncAutomatically()
511 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable()
534 public void setIsSyncable(Account account, int userId, String providerName, int syncable) { in setIsSyncable()
563 public Pair<Long, Long> getBackoff(Account account, int userId, String providerName) { in getBackoff()
[all …]
DContentService.java302 int userId = UserHandle.getCallingUserId(); in requestSync() local
325 int userId = UserHandle.getCallingUserId(); in cancelSync() local
348 final int userId = UserHandle.getCallingUserId(); in getSyncAdapterTypes() local
361 int userId = UserHandle.getCallingUserId(); in getSyncAutomatically() local
379 int userId = UserHandle.getCallingUserId(); in setSyncAutomatically() local
397 int userId = UserHandle.getCallingUserId(); in addPeriodicSync() local
411 int userId = UserHandle.getCallingUserId(); in removePeriodicSync() local
425 int userId = UserHandle.getCallingUserId(); in getPeriodicSyncs() local
439 int userId = UserHandle.getCallingUserId(); in getIsSyncable() local
457 int userId = UserHandle.getCallingUserId(); in setIsSyncable() local
[all …]
DSyncQueue.java56 public void addPendingOperations(int userId) { in addPendingOperations()
129 public void removeUser(int userId) { in removeUser()
157 public void onBackoffChanged(Account account, int userId, String providerName, long backoff) { in onBackoffChanged()
180 public void remove(Account account, int userId, String authority) { in remove()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java156 int userId = UserHandle.USER_OWNER; in parseInsertCommand() local
182 int userId = UserHandle.USER_OWNER; in parseDeleteCommand() local
204 int userId = UserHandle.USER_OWNER; in parseUpdateCommand() local
233 int userId = UserHandle.USER_OWNER; in parseQueryCommand() local
318 public Command(Uri uri, int userId) { in Command()
354 public InsertCommand(Uri uri, int userId, ContentValues contentValues) { in InsertCommand()
368 public DeleteCommand(Uri uri, int userId, String where) { in DeleteCommand()
384 Uri uri, int userId, String[] projection, String where, String sortOrder) { in QueryCommand()
447 public UpdateCommand(Uri uri, int userId, ContentValues contentValues, String where) { in UpdateCommand()
/frameworks/base/core/java/android/hardware/usb/
DIUsbManager.aidl47 void setDevicePackage(in UsbDevice device, String packageName, int userId); in setDevicePackage()
52 void setAccessoryPackage(in UsbAccessory accessory, String packageName, int userId); in setAccessoryPackage()
80 boolean hasDefaults(String packageName, int userId); in hasDefaults()
83 void clearDefaults(String packageName, int userId); in clearDefaults()
/frameworks/base/services/java/com/android/server/
DAppWidgetService.java200 int userId) throws RemoteException { in bindRemoteViewsService()
219 List<RemoteViews> updatedViews, int userId) throws RemoteException { in startListeningAsUser()
228 public void onUserRemoved(int userId) { in onUserRemoved()
242 public void onUserStopping(int userId) { in onUserStopping()
253 private AppWidgetServiceImpl getImplForUser(int userId) { in getImplForUser()
325 public void stopListeningAsUser(int hostId, int userId) throws RemoteException { in stopListeningAsUser()
335 public void unbindRemoteViewsService(int appWidgetId, Intent intent, int userId) in unbindRemoteViewsService()
DWallpaperManagerService.java169 int userId; field in WallpaperManagerService.WallpaperData
207 WallpaperData(int userId) { in WallpaperData()
439 private static File getWallpaperDir(int userId) { in getWallpaperDir()
503 void onStoppingUser(int userId) { in onStoppingUser()
517 void onRemoveUser(int userId) { in onRemoveUser()
528 void switchUser(int userId, IRemoteCallback reply) { in switchUser()
570 void clearWallpaperLocked(boolean defaultFailed, int userId, IRemoteCallback reply) { in clearWallpaperLocked()
633 int userId = UserHandle.getCallingUserId(); in setDimensionHints() local
708 int userId = UserHandle.getCallingUserId(); in getWallpaperInfo() local
722 int userId = UserHandle.getCallingUserId(); in setWallpaper() local
[all …]
/frameworks/base/core/java/android/ddm/
DDdmHandleAppName.java72 public static void setAppName(String name, int userId) { in setAppName()
89 private static void sendAPNM(String appName, int userId) { in sendAPNM()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
DKeyguardUpdateMonitorCallback.java84 void onUserSwitched(int userId) { } in onUserSwitched()
95 void onUserRemoved(int userId) { } in onUserRemoved()

12345