Home
last modified time | relevance | path

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

12

/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.java97 private static final void checkWritePermission(int userId) { in checkWritePermission()
105 private static final void checkPasswordReadPermission(int userId) { in checkPasswordReadPermission()
113 private static final void checkReadPermission(int userId) { in checkReadPermission()
123 public void setBoolean(String key, boolean value, int userId) throws RemoteException { in setBoolean()
130 public void setLong(String key, long value, int userId) throws RemoteException { in setLong()
137 public void setString(String key, String value, int userId) throws RemoteException { in setString()
144 public boolean getBoolean(String key, boolean defaultValue, int userId) throws RemoteException { in getBoolean()
153 public long getLong(String key, long defaultValue, int userId) throws RemoteException { in getLong()
161 public String getString(String key, String defaultValue, int userId) throws RemoteException { in getString()
167 private String getLockPatternFilename(int userId) { in getLockPatternFilename()
[all …]
DLockPatternUtils.java218 public void setCurrentUser(int userId) { in setCurrentUser()
234 public void removeUser(int userId) { in removeUser()
260 int userId = getCurrentOrCallingUserId(); in checkPattern() local
275 int userId = getCurrentOrCallingUserId(); in checkPassword() local
/frameworks/base/services/java/com/android/server/pm/
DPackageSettingBase.java182 void setEnabled(int state, int userId) { in setEnabled()
186 int getEnabled(int userId) { in getEnabled()
190 boolean getStopped(int userId) { in getStopped()
194 void setStopped(boolean stop, int userId) { in setStopped()
198 boolean getNotLaunched(int userId) { in getNotLaunched()
202 void setNotLaunched(boolean stop, int userId) { in setNotLaunched()
206 HashSet<String> getEnabledComponents(int userId) { in getEnabledComponents()
210 HashSet<String> getDisabledComponents(int userId) { in getDisabledComponents()
214 void setEnabledComponents(HashSet<String> components, int userId) { in setEnabledComponents()
218 void setDisabledComponents(HashSet<String> components, int userId) { in setDisabledComponents()
[all …]
DUserManager.java104 public UserInfo getUser(int userId) { in getUser()
111 public boolean exists(int userId) { in exists()
117 public void updateUserName(int userId, String name) { in updateUserName()
344 int userId = getNextAvailableId(); in createUser() local
DSharedUserSetting.java27 int userId; field in SharedUserSetting
DInstaller.java228 public int remove(String name, int userId) { in remove()
264 public int createUserData(String name, int uid, int userId) { in createUserData()
275 public int removeUserDataDirs(int userId) { in removeUserDataDirs()
282 public int clearUserData(String name, int userId) { in clearUserData()
DSettings.java465 int userId = user.id; in getPackageLPw() local
706 private File getUserPackagesStateFile(int userId) { in getUserPackagesStateFile()
711 private File getUserPackagesStateBackupFile(int userId) { in getUserPackagesStateBackupFile()
737 void readPackageRestrictionsLPr(int userId) { in readPackageRestrictionsLPr()
889 void writePackageRestrictionsLPr(int userId) { in writePackageRestrictionsLPr()
1937 int userId = idStr != null ? Integer.parseInt(idStr) : 0; in readPackageLPw() local
2064 int userId) throws IOException, XmlPullParserException { in readDisabledComponentsLPw()
2077 packageSetting.addDisabledComponent(name.intern(), userId); in readDisabledComponentsLPw() local
2092 int userId) throws IOException, XmlPullParserException { in readEnabledComponentsLPw()
2105 packageSetting.addEnabledComponent(name.intern(), userId); in readEnabledComponentsLPw() local
[all …]
DPackageManagerService.java827 void scheduleWritePackageRestrictionsLocked(int userId) { in scheduleWritePackageRestrictionsLocked()
1533 PackageInfo generatePackageInfo(PackageParser.Package p, int flags, int userId) { in generatePackageInfo()
1557 public PackageInfo getPackageInfo(String packageName, int flags, int userId) { in getPackageInfo()
1599 public int getPackageUid(String packageName, int userId) { in getPackageUid()
1710 int userId) { in generateApplicationInfoFromSettingsLPw()
1728 int userId) { in generatePackageInfoFromSettingsLPw()
1751 public ApplicationInfo getApplicationInfo(String packageName, int flags, int userId) { in getApplicationInfo()
1827 public ActivityInfo getActivityInfo(ComponentName component, int flags, int userId) { in getActivityInfo()
1847 public ActivityInfo getReceiverInfo(ComponentName component, int flags, int userId) { in getReceiverInfo()
1864 public ServiceInfo getServiceInfo(ComponentName component, int flags, int userId) { in getServiceInfo()
[all …]
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl53 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo()
54 int getPackageUid(String packageName, int userId); in getPackageUid()
68 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo()
70 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); in getActivityInfo()
72 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); in getReceiverInfo()
74 ServiceInfo getServiceInfo(in ComponentName className, int flags, int userId); in getServiceInfo()
76 ProviderInfo getProviderInfo(in ComponentName className, int flags, int userId); in getProviderInfo()
102 ResolveInfo resolveIntent(in Intent intent, String resolvedType, int flags, int userId); in resolveIntent()
105 String resolvedType, int flags, int userId); in queryIntentActivities()
110 String resolvedType, int flags, int userId); in queryIntentActivityOptions()
[all …]
/frameworks/base/core/java/android/accounts/
DAccountAndUser.java26 public int userId; field in AccountAndUser
28 public AccountAndUser(Account account, int userId) { in AccountAndUser()
/frameworks/base/core/java/android/content/
DSyncStorageEngine.java147 final int userId; field in SyncStorageEngine.PendingOperation
156 PendingOperation(Account account, int userId, int source, in PendingOperation()
190 final int userId; field in SyncStorageEngine.AuthorityInfo
223 AuthorityInfo(Account account, int userId, String authority, int ident) { in AuthorityInfo()
270 public void onSyncRequest(Account account, int userId, String authority, Bundle extras); in onSyncRequest()
458 public boolean getSyncAutomatically(Account account, int userId, String providerName) { in getSyncAutomatically()
480 public void setSyncAutomatically(Account account, int userId, String providerName, in setSyncAutomatically()
501 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable()
524 public void setIsSyncable(Account account, int userId, String providerName, int syncable) { in setIsSyncable()
549 public Pair<Long, Long> getBackoff(Account account, int userId, String providerName) { in getBackoff()
[all …]
DContentService.java168 int userId = UserId.getCallingUserId(); in notifyChange() local
236 int userId = UserId.getCallingUserId(); in requestSync() local
259 int userId = UserId.getCallingUserId(); in cancelSync() local
294 int userId = UserId.getCallingUserId(); in getSyncAutomatically() local
312 int userId = UserId.getCallingUserId(); in setSyncAutomatically() local
330 int userId = UserId.getCallingUserId(); in addPeriodicSync() local
344 int userId = UserId.getCallingUserId(); in removePeriodicSync() local
358 int userId = UserId.getCallingUserId(); in getPeriodicSyncs() local
372 int userId = UserId.getCallingUserId(); in getIsSyncable() local
390 int userId = UserId.getCallingUserId(); in setIsSyncable() local
[all …]
DSyncQueue.java120 public void removeUser(int userId) { in removeUser()
148 public void onBackoffChanged(Account account, int userId, String providerName, long backoff) { in onBackoffChanged()
171 public void remove(Account account, int userId, String authority) { in remove()
DSyncOperation.java29 public final int userId; field in SyncOperation
42 public SyncOperation(Account account, int userId, int source, String authority, Bundle extras, in SyncOperation()
DSyncManager.java221 private boolean containsAccountAndUser(AccountAndUser[] accounts, Account account, int userId) { in containsAccountAndUser()
500 public void scheduleSync(Account requestedAccount, int userId, String requestedAuthority, in scheduleSync()
646 public void scheduleLocalSync(Account account, int userId, String authority) { in scheduleLocalSync()
686 private void sendCancelSyncsMessage(final Account account, final int userId, in sendCancelSyncsMessage()
790 public void cancelActiveSync(Account account, int userId, String authority) { in cancelActiveSync()
823 public void clearScheduledSyncOperations(Account account, int userId, String authority) { in clearScheduledSyncOperations()
893 int userId = intent.getIntExtra(Intent.EXTRA_USERID, -1); in onUserRemoved() local
/frameworks/base/services/java/com/android/server/am/
DProviderMap.java61 ContentProviderRecord getProviderByName(String name, int userId) { in getProviderByName()
79 ContentProviderRecord getProviderByClass(ComponentName name, int userId) { in getProviderByClass()
101 final int userId = UserId.getUserId(record.appInfo.uid); in putProviderByName() local
114 final int userId = UserId.getUserId(record.appInfo.uid); in putProviderByClass() local
149 final int userId = optionalUserId >= 0 in getProvidersByName() local
162 final int userId = optionalUserId >= 0 in getProvidersByClass() local
DTaskRecord.java41 int userId; // user for which this task was created field in TaskRecord
DActivityStack.java503 final int userId = UserId.getUserId(info.applicationInfo.uid); in findTaskLocked() local
547 final int userId = UserId.getUserId(info.applicationInfo.uid); in findActivityLocked() local
576 final boolean switchUser(int userId) { in switchUser()
2407 final int userId = aInfo != null ? UserId.getUserId(aInfo.applicationInfo.uid) : 0; in startActivityLocked() local
2588 final int userId = r.userId; in startActivityUncheckedLocked() local
2952 String profileFile, ParcelFileDescriptor profileFd, int userId) { in resolveActivity()
3002 Bundle options, int userId) { in startActivityMayWait()
3163 Bundle options, int userId) { in startActivities()
/frameworks/base/services/java/com/android/server/
DWallpaperManagerService.java157 int userId; field in WallpaperManagerService.WallpaperData
202 WallpaperData(int userId) { in WallpaperData()
397 private static File getWallpaperDir(int userId) { in getWallpaperDir()
437 void removeUser(int userId) { in removeUser()
451 void switchUser(int userId) { in switchUser()
490 void clearWallpaperLocked(boolean defaultFailed, int userId) { in clearWallpaperLocked()
523 int userId = UserId.getCallingUserId(); in setDimensionHints() local
599 int userId = UserId.getCallingUserId(); in getWallpaperInfo() local
611 int userId = UserId.getCallingUserId(); in setWallpaper() local
654 int userId = UserId.getCallingUserId(); in setWallpaperComponent() local
[all …]
DClipboardService.java59 final int userId; field in ClipboardService.PerUserClipboard
69 PerUserClipboard(int userId) { in PerUserClipboard()
121 private PerUserClipboard getClipboard(int userId) { in getClipboard()
133 private void removeClipboard(int userId) { in removeClipboard()
DIntentResolver.java204 boolean defaultOnly, ArrayList<ArrayList<F>> listCut, int userId) { in queryIntentFromList()
222 int userId) { in queryIntent()
333 protected boolean isFilterStopped(F filter, int userId) { in isFilterStopped()
345 protected R newResult(F filter, int match, int userId) { in newResult()
508 String resolvedType, String scheme, List<F> src, List<R> dest, int userId) { in buildResolveList()
DAppWidgetService.java239 public void onUserRemoved(int userId) { in onUserRemoved()
251 final int userId = Binder.getOrigCallingUser(); in getImplForUser() local
/frameworks/base/core/java/android/os/
DUserId.java93 public static final int getUid(int userId, int appId) { in getUid()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DKeyguardUpdateMonitor.java326 protected void handleUserChanged(int userId) { in handleUserChanged()
566 void onUserChanged(int userId); in onUserChanged()
596 public void onUserChanged(int userId) { in onUserChanged()

12