/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManagerInternal.java | 51 * @param userId user id that indicates who is using the specified input method and subtype. 55 public abstract void onInputMethodSubtypeChanged(int userId, argument
|
/frameworks/base/core/java/android/net/ |
H A D | IConnectivityManager.aidl | 55 NetworkCapabilities[] getDefaultNetworkCapabilitiesForUser(int userId); 111 boolean prepareVpn(String oldPackage, String newPackage, int userId); 113 void setVpnPackageAuthorization(String packageName, int userId, boolean authorized); 117 VpnConfig getVpnConfig(int userId); 121 LegacyVpnInfo getLegacyVpnInfo(int userId); 126 boolean isAlwaysOnVpnPackageSupported(int userId, String packageName); 127 boolean setAlwaysOnVpnPackage(int userId, String packageName, boolean lockdown); 128 String getAlwaysOnVpnPackage(int userId);
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardSecurityContainer.java | 189 private void showTimeoutDialog(int userId, int timeoutMs) { argument 193 switch (mSecurityModel.getSecurityMode(userId)) { 213 KeyguardUpdateMonitor.getInstance(mContext).getFailedUnlockAttempts(userId), 257 private void reportFailedUnlockAttempt(int userId, int timeoutMs) { argument 259 final int failedAttempts = monitor.getFailedUnlockAttempts(userId) + 1; // +1 for this time 265 dpm.getMaximumFailedPasswordsForWipe(null, userId); 275 final int expiringUser = dpm.getProfileWithMinimumFailedPasswordsForWipe(userId); 277 if (expiringUser == userId) { 293 monitor.reportFailedStrongAuthUnlockAttempt(userId); 294 mLockPatternUtils.reportFailedPasswordAttempt(userId); [all...] |
/frameworks/base/services/core/java/com/android/server/om/ |
H A D | IdmapManager.java | 52 @NonNull final PackageInfo overlayPackage, int userId) { 53 // unused userId: see comment in OverlayManagerServiceImpl.removeIdmapIfPossible 71 boolean removeIdmap(@NonNull final OverlayInfo oi, final int userId) { argument 72 // unused userId: see comment in OverlayManagerServiceImpl.removeIdmapIfPossible 86 // unused OverlayInfo.userId: see comment in OverlayManagerServiceImpl.removeIdmapIfPossible 90 boolean idmapExists(@NonNull final PackageInfo overlayPackage, final int userId) { argument 91 // unused userId: see comment in OverlayManagerServiceImpl.removeIdmapIfPossible 95 boolean isDangerous(@NonNull final PackageInfo overlayPackage, final int userId) { argument 96 // unused userId: see comment in OverlayManagerServiceImpl.removeIdmapIfPossible 51 createIdmap(@onNull final PackageInfo targetPackage, @NonNull final PackageInfo overlayPackage, int userId) argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskSnapshotCache.java | 58 @Nullable TaskSnapshot getSnapshot(int taskId, int userId, boolean restoreFromDisk, argument 73 return tryRestoreFromDisk(taskId, userId, reducedResolution); 79 private TaskSnapshot tryRestoreFromDisk(int taskId, int userId, boolean reducedResolution) { argument 80 final TaskSnapshot snapshot = mLoader.loadTask(taskId, userId, reducedResolution);
|
H A D | TaskSnapshotLoader.java | 62 * @param userId The id of the user the task belonged to. 66 TaskSnapshot loadTask(int taskId, int userId, boolean reducedResolution) { argument 67 final File protoFile = mPersister.getProtoFile(taskId, userId); 69 ? mPersister.getReducedResolutionBitmapFile(taskId, userId) 70 : mPersister.getBitmapFile(taskId, userId);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserLifecycleStressTest.java | 89 private void stopUser(int userId) throws RemoteException, InterruptedException { argument 93 stopUser(userId, true, 96 public void userStopped(int userId) throws RemoteException { 101 public void userStopAborted(int userId) throws RemoteException {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageInstallerService.java | 418 public int createSession(SessionParams params, String installerPackageName, int userId) { argument 420 return createSessionInternal(params, installerPackageName, userId); 426 private int createSessionInternal(SessionParams params, String installerPackageName, int userId) argument 429 mPm.enforceCrossUserPermission(callingUid, userId, true, true, "createSession"); 431 if (mPm.isUserRestricted(userId, UserManager.DISALLOW_INSTALL_APPS)) { 548 mInstallThread.getLooper(), sessionId, userId, installerPackageName, callingUid, 555 mCallbacks.notifySessionCreated(session.sessionId, session.userId); 690 public ParceledListSlice<SessionInfo> getAllSessions(int userId) { argument 691 mPm.enforceCrossUserPermission(Binder.getCallingUid(), userId, true, false, "getAllSessions"); 697 if (session.userId 706 getMySessions(String installerPackageName, int userId) argument 726 uninstall(VersionedPackage versionedPackage, String callerPackageName, int flags, IntentSender statusReceiver, int userId) argument 777 registerCallback(IPackageInstallerCallback callback, int userId) argument 815 PackageDeleteObserverAdapter(Context context, IntentSender target, String packageName, boolean showNotification, int userId) argument 873 PackageInstallObserverAdapter(Context context, IntentSender target, int sessionId, boolean showNotification, int userId) argument 940 buildSuccessNotification(Context context, String contentText, String basePackageName, int userId) argument 994 register(IPackageInstallerCallback callback, int userId) argument 1042 notifySessionCreated(int sessionId, int userId) argument 1046 notifySessionBadgingChanged(int sessionId, int userId) argument 1050 notifySessionActiveChanged(int sessionId, int userId, boolean active) argument 1054 notifySessionProgressChanged(int sessionId, int userId, float progress) argument 1058 notifySessionFinished(int sessionId, int userId, boolean success) argument [all...] |
H A D | ShortcutParser.java | 61 String packageName, @UserIdInt int userId) throws IOException, XmlPullParserException { 64 packageName, userId)); 66 final List<ResolveInfo> activities = service.injectGetMainActivities(packageName, userId); 83 activityInfoNoMetadata.getComponentName(), userId); 86 service, activityInfoWithMetadata, packageName, userId, result); 101 ActivityInfo activityInfo, String packageName, @UserIdInt int userId, 207 service, attrs, packageName, activity, userId, rank); 289 @UserIdInt int userId, int rank) { 316 userId, 332 @UserIdInt int userId, Strin 60 parseShortcuts(ShortcutService service, String packageName, @UserIdInt int userId) argument 99 parseShortcutsOneFile( ShortcutService service, ActivityInfo activityInfo, String packageName, @UserIdInt int userId, List<ShortcutInfo> result) argument 287 parseShortcutAttributes(ShortcutService service, AttributeSet attrs, String packageName, ComponentName activity, @UserIdInt int userId, int rank) argument 331 createShortcutFromManifest(ShortcutService service, @UserIdInt int userId, String id, String packageName, ComponentName activityComponent, int titleResId, int textResId, int disabledMessageResId, int rank, int iconResId, boolean enabled) argument [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityManager.java | 266 final int userId; 274 userId = UserHandle.USER_CURRENT; 276 userId = UserHandle.myUserId(); 278 sInstance = new AccessibilityManager(context, null, userId); 289 * @param userId User id under which to run. 293 public AccessibilityManager(Context context, IAccessibilityManager service, int userId) { argument 298 mUserId = userId; 309 * @param userId User id under which to run. 313 public AccessibilityManager(Handler handler, IAccessibilityManager service, int userId) { argument 316 mUserId = userId; [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | StorageStatsService.java | 237 public StorageStats queryStatsForPackage(String volumeUuid, String packageName, int userId, argument 239 if (userId != UserHandle.getCallingUserId()) { 247 PackageManager.MATCH_UNINSTALLED_PACKAGES, userId); 277 mInstaller.getAppSize(volumeUuid, packageNames, userId, 0, 288 final int userId = UserHandle.getUserId(uid); 291 if (userId != UserHandle.getCallingUserId()) { 309 PackageManager.MATCH_UNINSTALLED_PACKAGES, userId); 323 mInstaller.getAppSize(volumeUuid, packageNames, userId, getDefaultFlags(), 328 mInstaller.getAppSize(volumeUuid, packageNames, userId, 0, 339 public StorageStats queryStatsForUser(String volumeUuid, int userId, Strin argument 365 queryExternalStatsForUser(String volumeUuid, int userId, String callingPackage) argument 399 getAppIds(int userId) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | IActivityManager.aidl | 101 in String requiredPermission, int userId, int flags); 106 int appOp, in Bundle options, boolean serialized, boolean sticky, int userId); 107 void unbroadcastIntent(in IApplicationThread caller, in Intent intent, int userId); 123 in String name, int userId, boolean stable); 130 in String resolvedType, boolean requireForeground, in String callingPackage, int userId); 132 in String resolvedType, int userId); 135 in String callingPackage, int userId); 143 in IUiAutomationConnection connection, int userId, 168 int checkUriPermission(in Uri uri, int pid, int uid, int mode, int userId, 171 int mode, int userId); [all...] |
H A D | IAlarmManager.aidl | 39 AlarmManager.AlarmClockInfo getNextAlarmClock(int userId);
|
H A D | JobSchedulerImpl.java | 60 public int scheduleAsPackage(JobInfo job, String packageName, int userId, String tag) { argument 62 return mBinder.scheduleAsPackage(job, packageName, userId, tag);
|
H A D | TaskStackListener.java | 34 public void onActivityPinned(String packageName, int userId, int taskId) argument 94 public void onTaskProfileLocked(int taskId, int userId) { argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | TaskPersister.java | 199 SparseBooleanArray loadPersistedTaskIdsForUser(int userId) { argument 200 if (mTaskIdsInFile.get(userId) != null) { 201 return mTaskIdsInFile.get(userId).clone(); 208 reader = new BufferedReader(new FileReader(getUserPersistedTaskIdsFile(userId))); 218 Slog.e(TAG, "Error while reading taskIds file for user " + userId, e); 223 mTaskIdsInFile.put(userId, persistedTaskIds); 229 void writePersistedTaskIdsForUser(@NonNull SparseBooleanArray taskIds, int userId) { argument 230 if (userId < 0) { 233 final File persistedTaskIdsFile = getUserPersistedTaskIdsFile(userId); 245 Slog.e(TAG, "Error while writing taskIds file for user " + userId, 252 unloadUserDataFromMemory(int userId) argument 414 restoreTasksForUserLocked(final int userId, SparseBooleanArray preaddedTasks) argument 609 getUserPersistedTaskIdsFile(int userId) argument 617 getUserTasksDir(int userId) argument 629 getUserImagesDir(int userId) argument [all...] |
/frameworks/base/services/core/java/com/android/server/trust/ |
H A D | TrustAgentWrapper.java | 205 int userId = msg.getData().getInt(DATA_USER_ID); 206 long handle = mTrustManagerService.addEscrowToken(eToken, userId); 211 eToken, handle, UserHandle.of(userId)); 219 mTrustManagerService.removeEscrowToken(handle, userId); 225 int userId = msg.getData().getInt(DATA_USER_ID); 226 boolean active = mTrustManagerService.isEscrowTokenActive(handle, userId); 240 int userId = msg.getData().getInt(DATA_USER_ID); 241 boolean success = mTrustManagerService.removeEscrowToken(handle, userId); 253 int userId = msg.getData().getInt(DATA_USER_ID); 255 mTrustManagerService.unlockUserWithToken(handle, eToken, userId); [all...] |
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgePackageManager.java | 72 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) argument 90 int userId) { 173 public ApplicationInfo getApplicationInfoAsUser(String packageName, int flags, int userId) argument 213 public List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { argument 306 public List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) { argument 397 public ResolveInfo resolveActivityAsUser(Intent intent, int flags, int userId) { argument 407 public List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int flags, int userId) { argument 423 public List<ResolveInfo> queryBroadcastReceiversAsUser(Intent intent, int flags, int userId) { argument 438 public List<ResolveInfo> queryIntentServicesAsUser(Intent intent, int flags, int userId) { argument 444 int userId) { 89 getSharedLibrariesAsUser(@nstallFlags int flags, int userId) argument 443 queryIntentContentProvidersAsUser(Intent intent, int flags, int userId) argument 459 resolveContentProviderAsUser(String name, int flags, int userId) argument 608 getResourcesForApplicationAsUser(String appPackageName, int userId) argument 635 installExistingPackageAsUser(String packageName, int userId) argument 655 getIntentVerificationStatusAsUser(String packageName, int userId) argument 660 updateIntentVerificationStatusAsUser(String packageName, int status, int userId) argument 675 getDefaultBrowserPackageNameAsUser(int userId) argument 680 setDefaultBrowserPackageNameAsUser(String packageName, int userId) argument 697 deletePackageAsUser(String packageName, IPackageDeleteObserver observer, int flags, int userId) argument 715 deleteApplicationCacheFilesAsUser(String packageName, int userId, IPackageDataObserver observer) argument 790 flushPackageRestrictionsAsUser(int userId) argument 838 setPackagesSuspendedAsUser(String[] packageNames, boolean suspended, int userId) argument 844 isPackageSuspendedForUser(String packageName, int userId) argument [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | AccountManagerBackupHelper.java | 91 private final @IntRange(from = 0) int userId; field in class:AccountManagerBackupHelper.PendingAppPermission 94 String certDigest, int userId) { 98 this.userId = userId; 104 .getUserAccounts(userId); 127 PackageManager.GET_SIGNATURES, userId); 154 public byte[] backupAccountAccessPermissions(int userId) { argument 156 .getUserAccounts(userId); 186 PackageManager.GET_SIGNATURES, userId); 216 public void restoreAccountAccessPermissions(byte[] data, int userId) { argument 93 PendingAppPermission(String accountDigest, String packageName, String certDigest, int userId) argument [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | AccessibilityShortcutController.java | 71 Context context, int userId) { 74 userId); 88 public void onChange(boolean selfChange, Uri uri, int userId) { 89 if (userId == mUserId) { 139 final int userId = ActivityManager.getCurrentUser(); 141 cr, Settings.Secure.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0, userId); 172 mAlertDialog = createShortcutWarningDialog(userId); 182 cr, Settings.Secure.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 1, userId); 212 private AlertDialog createShortcutWarningDialog(int userId) { argument 233 userId); 70 getTargetServiceComponentNameString( Context context, int userId) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | TextServicesManagerService.java | 136 void onSwitchUser(@UserIdInt int userId) { argument 138 resetInternalState(userId); 142 void onUnlockUser(@UserIdInt int userId) { argument 145 if (userId != currentUserId) { 163 int userId = UserHandle.USER_SYSTEM; 165 userId = ActivityManager.getService().getCurrentUser().id; 172 !mSystemReady || !mUserManager.isUserUnlockingOrUnlocked(userId); 173 mSettings = new TextServicesSettings(context.getContentResolver(), userId, 177 resetInternalState(userId); 180 private void resetInternalState(@UserIdInt int userId) { argument 776 SessionRequest(@serIdInt final int userId, @Nullable String locale, @NonNull ITextServicesSessionListener tsListener, @NonNull ISpellCheckerSessionListener scListener, @Nullable Bundle bundle) argument 1025 TextServicesSettings(ContentResolver resolver, @UserIdInt int userId, boolean copyOnWrite) argument 1039 switchCurrentUser(@serIdInt int userId, boolean copyOnWrite) argument 1099 isCurrentProfile(@serIdInt int userId) argument [all...] |
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 375 private int translateUserId(int userId, String logContext) { argument 377 userId, true, true, logContext, "pm command"); 432 params.installerPackageName, params.userId); 472 installParams.installerPackageName, installParams.userId); 500 int userId = UserHandle.USER_ALL; field in class:Pm.InstallParams 577 params.userId = UserHandle.parseUserArg(nextOptionData()); 599 private int doCreateSession(SessionParams params, String installerPackageName, int userId) argument 601 userId = translateUserId(userId, "runInstallCreate"); 602 if (userId 1503 displayPackageFilePath(String pckg, int userId) argument [all...] |
/frameworks/av/media/libaaudio/src/binding/ |
H A D | AAudioStreamRequest.h | 43 void setUserId(uid_t userId) { argument 44 mUserId = userId;
|
/frameworks/base/core/java/android/app/job/ |
H A D | IJobScheduler.aidl | 29 int scheduleAsPackage(in JobInfo job, String packageName, int userId, String tag);
|
/frameworks/base/core/java/android/companion/ |
H A D | ICompanionDeviceManager.aidl | 37 List<String> getAssociations(String callingPackage, int userId);
|