/frameworks/base/core/java/android/content/pm/ |
H A D | PackageParser.java | 291 HashSet<String> grantedPermissions, PackageUserState state, int userId) { 302 pi.applicationInfo = generateApplicationInfo(p, flags, state, userId); 344 state, userId); 366 state, userId); 388 state, userId); 410 state, userId); 3790 PackageUserState state, Bundle metaData, int userId) { 3791 if (userId != 0) { 3852 PackageUserState state, int userId) { 3857 if (!copyNeeded(flags, p, state, null, userId) 289 generatePackageInfo(PackageParser.Package p, int gids[], int flags, long firstInstallTime, long lastUpdateTime, HashSet<String> grantedPermissions, PackageUserState state, int userId) argument 3789 copyNeeded(int flags, Package p, PackageUserState state, Bundle metaData, int userId) argument 3851 generateApplicationInfo(Package p, int flags, PackageUserState state, int userId) argument 3939 generateActivityInfo(Activity a, int flags, PackageUserState state, int userId) argument 3980 generateServiceInfo(Service s, int flags, PackageUserState state, int userId) argument 4029 generateProviderInfo(Provider p, int flags, PackageUserState state, int userId) argument [all...] |
H A D | PackageManager.java | 1713 * @param userId The user for whom the installed packages are to be listed 1735 public abstract List<PackageInfo> getInstalledPackages(int flags, int userId); argument 2043 * @param userId The user id. 2057 public abstract ResolveInfo resolveActivityAsUser(Intent intent, int flags, int userId); argument 2100 int flags, int userId); 2158 * @param userId The userId of the user being queried. 2170 int flags, int userId); 2211 * @param userId The user id. 2225 int flags, int userId); 2099 queryIntentActivitiesAsUser(Intent intent, int flags, int userId) argument 2169 queryBroadcastReceivers(Intent intent, int flags, int userId) argument 2224 queryIntentServicesAsUser(Intent intent, int flags, int userId) argument 2228 queryIntentContentProvidersAsUser( Intent intent, int flags, int userId) argument 2582 getResourcesForApplicationAsUser(String appPackageName, int userId) argument 3015 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument 3216 getDataDirForUser(int userId, String packageName) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViewsAdapter.java | 801 final int userId; field in class:RemoteViewsAdapter.RemoteViewsCacheKey 803 RemoteViewsCacheKey(Intent.FilterComparison filter, int widgetId, int userId) { argument 806 this.userId = userId; 816 && other.userId == userId; 821 return (filter == null ? 0 : filter.hashCode()) ^ (widgetId << 2) ^ (userId << 10); 881 private static void checkInteractAcrossUsersPermission(Context context, int userId) { argument 882 if (context.getUserId() != userId
|
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetServiceImpl.java | 206 AppWidgetServiceImpl(Context context, int userId, Handler saveStateHandler) { argument 210 mUserId = userId; 748 int userId = UserHandle.getUserId(id.provider.uid); 749 if (userId != mUserId) { 751 + " binding to provider on user " + userId); 759 new UserHandle(userId)); 845 int userId = UserHandle.getUserId(id.provider.uid); 851 new UserHandle(userId)); 1172 int userId = UserHandle.getUserId(id.provider.uid); 1177 new UserHandle(userId)); 1927 getSettingsFile(int userId) argument [all...] |
H A D | DevicePolicyManagerService.java | 2781 throw new IllegalArgumentException("Invalid userId " + userHandle); 2792 private void enableIfNecessary(String packageName, int userId) { argument 2797 userId); 2802 PackageManager.DONT_KILL_APP, userId, "DevicePolicyManager");
|
H A D | LocationManagerService.java | 452 * @param userId the new active user's UserId 454 private void switchUser(int userId) { argument 455 mBlacklist.switchUser(userId); 463 mCurrentUserId = userId; 1165 private void updateProviderListenersLocked(String provider, boolean enabled, int userId) { argument 1178 if (UserHandle.getUserId(record.mReceiver.mUid) == userId) {
|
H A D | MountService.java | 253 final int userId = UserHandle.getUserId(callingUid); 254 this.ownerPath = buildObbPath(canonicalPath, userId, false); 255 this.voldPath = buildObbPath(canonicalPath, userId, true); 576 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1); 577 if (userId == -1) return; 578 final UserHandle user = new UserHandle(userId); 2162 final int userId = UserHandle.getUserId(Binder.getCallingUid()); 2163 final UserEnvironment userEnv = new UserEnvironment(userId); 2721 public static String buildObbPath(final String canonicalPath, int userId, boolean forVold) { argument 2733 final UserEnvironment userEnv = new UserEnvironment(userId); [all...] |
H A D | NotificationManagerService.java | 317 final Iterator<StatusBarNotification> iter, final String pkg, final int userId) { 325 && (userId == UserHandle.USER_ALL || nr.getUserId() == userId)) { 366 public StatusBarNotification[] getArray(int count, String pkg, int userId) { argument 370 Iterator<StatusBarNotification> iter = filter(descendingIterator(), pkg, userId); 933 pw.println(prefix + " uid=" + sbn.getUid() + " userId=" + sbn.getUserId()); 1621 Notification notification, int[] idOut, int userId) 1624 tag, id, notification, idOut, userId); 1644 final int userId = ActivityManager.handleIncomingUser(callingPid, 1646 final UserHandle user = new UserHandle(userId); 316 filter( final Iterator<StatusBarNotification> iter, final String pkg, final int userId) argument 1620 enqueueNotificationWithTag(String pkg, String basePkg, String tag, int id, Notification notification, int[] idOut, int userId) argument 2056 cancelNotification(final String pkg, final String tag, final int id, final int mustHaveFlags, final int mustNotHaveFlags, final boolean sendDelete, final int userId) argument 2095 notificationMatchesUserId(NotificationRecord r, int userId) argument 2109 cancelAllNotificationsInt(String pkg, int mustHaveFlags, int mustNotHaveFlags, boolean doit, int userId) argument 2149 cancelNotificationWithTag(String pkg, String tag, int id, int userId) argument 2159 cancelAllNotifications(String pkg, int userId) argument 2206 cancelAll(int userId) argument 2261 indexOfNotificationLocked(String pkg, String tag, int id, int userId) argument [all...] |
H A D | InputMethodManagerService.java | 453 final int userId = getChangingUserId(); 454 final boolean retval = userId == mSettings.getCurrentUserId(); 457 Slog.d(TAG, "--- ignore this call back from a background user: " + userId); 649 int userId = 0; 670 userId = ActivityManagerNative.getDefault().getCurrentUser().id; 678 mRes, context.getContentResolver(), mMethodMap, mMethodList, userId); 679 mFileManager = new InputMethodFileManager(mMethodMap, userId); 900 final int userId = UserHandle.getUserId(uid); 904 + " calling userId = " + userId 3317 InputMethodFileManager(HashMap<String, InputMethodInfo> methodMap, int userId) argument [all...] |
H A D | ConnectivityService.java | 4802 private void onUserStart(int userId) { argument 4804 Vpn userVpn = mVpns.get(userId); 4809 userVpn = new Vpn(mContext, mVpnCallback, mNetd, this, userId); 4810 mVpns.put(userId, userVpn); 4815 private void onUserStop(int userId) { argument 4817 Vpn userVpn = mVpns.get(userId); 4822 mVpns.delete(userId); 4830 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); 4831 if (userId == UserHandle.USER_NULL) return; 4834 onUserStart(userId); [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityRecord.java | 68 final int userId; // Which user is this running for? field in class:ActivityRecord 153 pw.print(" userId="); pw.println(userId); 356 userId = UserHandle.getUserId(aInfo.applicationInfo.uid); 439 realTheme, com.android.internal.R.styleable.Window, userId); 517 AttributeCache.instance().get(packageName, realTheme, styleable.Window, userId); 833 userId, System.identityHashCode(this), shortComponentName, 864 userId, System.identityHashCode(this), shortComponentName, 1060 sb.append(userId);
|
H A D | ActivityStack.java | 341 return r.userId == mCurrentUser 479 final int userId = UserHandle.getUserId(info.applicationInfo.uid); 484 if (task.userId != userId) { 490 if (r == null || r.finishing || r.userId != userId || 536 final int userId = UserHandle.getUserId(info.applicationInfo.uid); 540 if (task.userId != mCurrentUser) { 546 if (!r.finishing && r.intent.getComponent().equals(cls) && r.userId == userId) { 561 switchUserLocked(int userId) argument 3379 forceStopPackageLocked(String name, boolean doit, boolean evenPersistent, int userId) argument [all...] |
H A D | ActivityStackSupervisor.java | 206 /** Stack id of the front stack when user switched, indexed by userId. */ 584 String profileFile, ParcelFileDescriptor profileFd, int userId) { 592 | ActivityManagerService.STOCK_PM_FLAGS, userId); 640 Bundle options, int userId) { 652 profileFile, profileFd, userId); 697 realCallingUid, userId, null, null, 0, new Intent[] { intent }, 731 | ActivityManagerService.STOCK_PM_FLAGS, userId); 733 aInfo = mService.getActivityInfoForUser(aInfo, userId); 796 Bundle options, int userId) { 839 0, null, null, userId); 583 resolveActivity(Intent intent, String resolvedType, int startFlags, String profileFile, ParcelFileDescriptor profileFd, int userId) argument 636 startActivityMayWait(IApplicationThread caller, int callingUid, String callingPackage, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, String profileFile, ParcelFileDescriptor profileFd, WaitResult outResult, Configuration config, Bundle options, int userId) argument 794 startActivities(IApplicationThread caller, int callingUid, String callingPackage, Intent[] intents, String[] resolvedTypes, IBinder resultTo, Bundle options, int userId) argument 1958 removeUserLocked(int userId) argument 1965 forceStopPackageLocked(String name, boolean doit, boolean evenPersistent, int userId) argument 2282 switchUserLocked(int userId, UserStartedState uss) argument [all...] |
/frameworks/base/services/java/com/android/server/content/ |
H A D | SyncManager.java | 262 private boolean containsAccountAndUser(AccountAndUser[] accounts, Account account, int userId) { argument 265 if (accounts[i].userId == userId 284 currentSyncContext.mSyncOperation.userId)) { 346 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); 347 if (userId == UserHandle.USER_NULL) return; 350 onUserRemoved(userId); 352 onUserStarting(userId); 354 onUserStopping(userId); 387 public void onSyncRequest(Account account, int userId, in 509 getIsSyncable(Account account, int userId, String providerName) argument 586 scheduleSync(Account requestedAccount, int userId, int reason, String requestedAuthority, Bundle extras, long beforeRuntimeMillis, long runtimeMillis, boolean onlyThoseWithUnkownSyncableState) argument 749 scheduleLocalSync(Account account, int userId, int reason, String authority) argument 758 getSyncAdapterTypes(int userId) argument 790 sendCancelSyncsMessage(final Account account, final int userId, final String authority) argument 895 cancelActiveSync(Account account, int userId, String authority) argument 928 clearScheduledSyncOperations(Account account, int userId, String authority) argument 1000 onUserStarting(int userId) argument 1023 onUserStopping(int userId) argument 1032 onUserRemoved(int userId) argument 1116 bindToSyncAdapter(RegisteredServicesCache.ServiceInfo info, int userId) argument 2464 cancelActiveSyncLocked(Account account, int userId, String authority) argument 2781 installHandleTooManyDeletesNotification(Account account, String authority, long numDeletes, int userId) argument [all...] |
H A D | SyncStorageEngine.java | 160 final int userId; field in class:SyncStorageEngine.PendingOperation 171 PendingOperation(Account account, int userId, int reason, int source, argument 174 this.userId = userId; 186 this.userId = other.userId; 210 final int userId; field in class:SyncStorageEngine.AuthorityInfo 228 userId = toCopy.userId; 249 * @param userId whic 253 AuthorityInfo(Account account, int userId, String authority, int ident) argument 278 AuthorityInfo(ComponentName cname, int userId, int ident) argument 333 onSyncRequest(Account account, int userId, int reason, String authority, Bundle extras) argument 555 getSyncAutomatically(Account account, int userId, String providerName) argument 577 setSyncAutomatically(Account account, int userId, String providerName, boolean sync) argument 603 getIsSyncable(Account account, int userId, String providerName) argument 626 setIsSyncable(Account account, int userId, String providerName, int syncable) argument 656 getBackoff(Account account, int userId, String providerName) argument 667 setBackoff(Account account, int userId, String providerName, long nextSyncTime, long nextDelay) argument 748 setDelayUntilTime(Account account, int userId, String providerName, long delayUntil) argument 766 getDelayUntilTime(Account account, int userId, String providerName) argument 777 updateOrRemovePeriodicSync(PeriodicSync toUpdate, int userId, boolean add) argument 857 addPeriodicSync(PeriodicSync toAdd, int userId) argument 861 removePeriodicSync(PeriodicSync toRemove, int userId) argument 865 getPeriodicSyncs(Account account, int userId, String providerName) argument 880 setMasterSyncAutomatically(boolean flag, int userId) argument 897 getMasterSyncAutomatically(int userId) argument 904 removeAuthority(Account account, int userId, String authority) argument 920 isSyncActive(Account account, int userId, String authority) argument 1048 doDatabaseCleanup(Account[] accounts, int userId) argument 1131 removeActiveSync(SyncInfo syncInfo, int userId) argument 1154 insertStartSyncEvent(Account accountName, int userId, int reason, String authorityName, long now, int source, boolean initialization, Bundle extras) argument 1302 getCurrentSyncs(int userId) argument 1312 getCurrentSyncsCopy(int userId) argument 1323 getCurrentSyncsLocked(int userId) argument 1351 getCopyOfAuthorityWithSyncStatus( Account account, int userId, String authority) argument 1382 getStatusByAccountAndAuthority(Account account, int userId, String authority) argument 1406 isSyncPending(Account account, int userId, String authority) argument 1484 getAuthorityLocked(Account accountName, int userId, String authorityName, String tag) argument 1517 getAuthorityLocked(ComponentName service, int userId, String tag) argument 1539 getOrCreateAuthorityLocked(ComponentName cname, int userId, int ident, boolean doWrite) argument 1568 getOrCreateAuthorityLocked(Account accountName, int userId, String authorityName, int ident, boolean doWrite) argument 1599 removeAuthorityLocked(Account account, int userId, String authorityName, boolean doWrite) argument 2527 requestSync(Account account, int userId, int reason, String authority, Bundle extras) argument [all...] |
/frameworks/base/services/java/com/android/server/media/ |
H A D | MediaRouterService.java | 118 public void registerClientAsUser(IMediaRouterClient client, String packageName, int userId) { argument 129 final int resolvedUserId = ActivityManager.handleIncomingUser(pid, uid, userId, 286 int userId = ActivityManager.getCurrentUser(); 287 if (mCurrentUserId != userId) { 289 mCurrentUserId = userId; // do this first 297 UserRecord newUser = mUserRecords.get(userId); 312 int pid, String packageName, int userId, boolean trusted) { 317 UserRecord userRecord = mUserRecords.get(userId); 319 userRecord = new UserRecord(userId); 330 mUserRecords.put(userId, userRecor 311 registerClientLocked(IMediaRouterClient client, int pid, String packageName, int userId, boolean trusted) argument 555 UserRecord(int userId) argument [all...] |
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 476 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1); 477 if (userId == -1) return; 481 removePoliciesForUserLocked(userId); 1396 private void removePoliciesForUserLocked(int userId) { argument 1402 if (UserHandle.getUserId(uid) == userId) {
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | Settings.java | 253 s.userId = newUserIdLPw(s); 254 Log.i(PackageManagerService.TAG, "New shared user " + name + ": id=" + s.userId); 257 if (s.userId >= 0) { 338 if (s.userId == uid) { 346 s.userId = uid; 491 p.appId = sharedUser.userId; 510 int userId = user.id; 512 dis.getDisabledComponents(userId), userId); 514 dis.getEnabledComponents(userId), userI 773 editPreferredActivitiesLPw(int userId) argument 782 getUserPackagesStateFile(int userId) argument 786 getUserPackagesStateBackupFile(int userId) argument 812 readPreferredActivitiesLPw(XmlPullParser parser, int userId) argument 841 readPackageRestrictionsLPr(int userId) argument 1016 writePreferredActivitiesLPr(XmlSerializer serializer, int userId, boolean full) argument 1030 writePackageRestrictionsLPr(int userId) argument 1865 readDefaultPreferredAppsLPw(PackageManagerService service, int userId) argument 1939 applyDefaultPreferredActivityLPw(PackageManagerService service, IntentFilter tmpPa, ComponentName cn, int userId) argument 2051 applyDefaultPreferredActivityLPw(PackageManagerService service, Intent intent, int flags, ComponentName cn, String scheme, PatternMatcher ssp, IntentFilter.AuthorityEntry auth, PatternMatcher path, String mimeType, int userId) argument 2126 readDefaultPreferredActivitiesLPw(PackageManagerService service, XmlPullParser parser, int userId) argument 2527 readDisabledComponentsLPw(PackageSettingBase packageSetting, XmlPullParser parser, int userId) argument 2555 readEnabledComponentsLPw(PackageSettingBase packageSetting, XmlPullParser parser, int userId) argument 2688 removeUserLPr(int userId) argument 2746 isEnabledLPr(ComponentInfo componentInfo, int flags, int userId) argument 2795 getApplicationEnabledSettingLPr(String packageName, int userId) argument 2803 getComponentEnabledSettingLPr(ComponentName componentName, int userId) argument 2813 setPackageStoppedStateLPw(String packageName, boolean stopped, boolean allowedByPermission, int uid, int userId) argument [all...] |
H A D | UserManagerService.java | 261 public UserInfo getUserInfo(int userId) { argument 264 return getUserInfoLocked(userId); 278 private UserInfo getUserInfoLocked(int userId) { argument 279 UserInfo ui = mUsers.get(userId); 281 if (ui != null && ui.partial && !mRemovingUserIds.get(userId)) { 282 Slog.w(LOG_TAG, "getUserInfo: unknown user #" + userId); 288 public boolean exists(int userId) { argument 290 return ArrayUtils.contains(mUserIds, userId); 295 public void setUserName(int userId, String name) { argument 299 UserInfo info = mUsers.get(userId); 316 setUserIcon(int userId, Bitmap bitmap) argument 330 sendUserInfoChangedBroadcast(int userId) argument 338 getUserIcon(int userId) argument 390 makeInitialized(int userId) argument 405 getUserRestrictions(int userId) argument 415 setUserRestrictions(Bundle restrictions, int userId) argument 886 isPackageInstalled(String pkg, int userId) argument 901 cleanAppRestrictions(int userId, boolean all) argument 927 cleanAppRestrictionsForPackage(String pkg, int userId) argument 1101 getApplicationRestrictionsForUser(String packageName, int userId) argument 1113 setApplicationRestrictions(String packageName, Bundle restrictions, int userId) argument 1203 hasRestrictionsPinLocked(int userId) argument 1302 readApplicationRestrictionsLocked(String packageName, int userId) argument 1367 writeApplicationRestrictionsLocked(String packageName, Bundle restrictions, int userId) argument 1462 userForeground(int userId) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaRouter.java | 336 void rebindAsUser(int userId) { argument 337 if (mCurrentUserId != userId || userId < 0 || mClient == null) { 347 mCurrentUserId = userId; 352 mAppContext.getPackageName(), userId); 1170 public void rebindAsUser(int userId) { argument 1171 sStatic.rebindAsUser(userId);
|
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | AccessibilityManagerService.java | 205 private UserState getUserStateLocked(int userId) { argument 206 UserState state = mUserStates.get(userId); 208 state = new UserState(userId); 209 mUserStates.put(userId, state); 260 final int userId = getChangingUserId(); 261 if (userId != mCurrentUserId) { 264 UserState userState = getUserStateLocked(userId); 274 userState.mEnabledServices, userId); 280 userState.mTouchExplorationGrantedServices, userId); 295 final int userId 355 addClient(IAccessibilityManagerClient client, int userId) argument 383 sendAccessibilityEvent(AccessibilityEvent event, int userId) argument 408 getInstalledAccessibilityServiceList(int userId) argument 426 getEnabledAccessibilityServiceList(int feedbackType, int userId) argument 459 interrupt(int userId) argument 481 addAccessibilityInteractionConnection(IWindow windowToken, IAccessibilityInteractionConnection connection, int userId) argument 775 switchUser(int userId) argument 818 removeUser(int userId) argument 895 removeAccessibilityInteractionConnectionLocked(int windowId, int userId) argument 1095 readComponentNamesFromSettingLocked(String settingName, int userId, Set<ComponentName> outComponentNames) argument 1123 persistComponentNamesToSettingLocked(String settingName, Set<ComponentName> componentNames, int userId) argument 1537 AccessibilityConnectionWrapper(int windowId, IAccessibilityInteractionConnection connection, int userId) argument 1644 sendStateToClientsForUser(int clientState, int userId) argument 1757 Service(int userId, ComponentName componentName, AccessibilityServiceInfo accessibilityServiceInfo) argument 2826 resolveCallingUserIdEnforcingPermissionsLocked(int userId) argument 2851 isCallerInteractingAcrossUsers(int userId) argument 2973 UserState(int userId) argument [all...] |
/frameworks/base/services/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 181 private final int userId; field in class:AccountManagerService.UserAccounts 199 UserAccounts(Context context, int userId) { argument 200 this.userId = userId; 202 openHelper = new DatabaseHelper(context, userId); 297 private UserAccounts initUserLocked(int userId) { argument 298 UserAccounts accounts = mUsers.get(userId); 300 accounts = new UserAccounts(mContext, userId); 301 mUsers.append(userId, accounts); 344 public void validateAccounts(int userId) { argument 425 getUserAccounts(int userId) argument 474 onServiceChanged(AuthenticatorDescription desc, int userId, boolean removed) argument 1140 sendAccountsChangedBroadcast(int userId) argument 1419 createNoCredentialsPermissionNotification(Account account, Intent intent, int userId) argument 1564 confirmCredentialsAsUser(IAccountManagerResponse response, final Account account, final Bundle options, final boolean expectActivityLaunch, int userId) argument 1782 getAccounts(int userId) argument 1841 getAccountsAsUser(String type, int userId) argument 1845 getAccountsAsUser(String type, int userId, String callingPackage, int packageUid) argument 1881 addSharedAccountAsUser(Account account, int userId) argument 1899 removeSharedAccountAsUser(Account account, int userId) argument 1912 getSharedAccountsAsUser(int userId) argument 2352 getDatabaseName(int userId) argument 2379 DatabaseHelper(Context context, int userId) argument 2576 doNotification(UserAccounts accounts, Account account, CharSequence message, Intent intent, int userId) argument 2642 handleIncomingUser(int userId) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 94 static public void broadcastStickyIntent(Intent intent, String permission, int userId) { argument 98 null /*permission*/, AppOpsManager.OP_NONE, false, true, userId); 160 int userId = data.readInt(); 163 profileFile, profileFd, options, userId); 186 int userId = data.readInt(); 189 profileFile, profileFd, options, userId); 210 int userId = data.readInt(); 212 resultTo, resultWho, requestCode, startFlags, config, options, userId); 311 int userId = data.readInt(); 312 Intent intent = registerReceiver(app, packageName, rec, filter, perm, userId); 2103 startActivityAsUser(IApplicationThread caller, String callingPackage, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, String profileFile, ParcelFileDescriptor profileFd, Bundle options, int userId) argument 2139 startActivityAndWait(IApplicationThread caller, String callingPackage, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, String profileFile, ParcelFileDescriptor profileFd, Bundle options, int userId) argument 2175 startActivityWithConfig(IApplicationThread caller, String callingPackage, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, Configuration config, Bundle options, int userId) argument 2316 registerReceiver(IApplicationThread caller, String packageName, IIntentReceiver receiver, IntentFilter filter, String perm, int userId) argument 2351 broadcastIntent(IApplicationThread caller, Intent intent, String resolvedType, IIntentReceiver resultTo, int resultCode, String resultData, Bundle map, String requiredPermission, int appOp, boolean serialized, boolean sticky, int userId) argument 2379 unbroadcastIntent(IApplicationThread caller, Intent intent, int userId) argument 2554 getRecentTasks(int maxNum, int flags, int userId) argument 2838 getContentProvider(IApplicationThread caller, String name, int userId, boolean stable) argument 2858 getContentProviderExternal(String name, int userId, IBinder token) argument 2968 startService(IApplicationThread caller, Intent service, String resolvedType, int userId) argument 2985 stopService(IApplicationThread caller, Intent service, String resolvedType, int userId) argument 3037 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument 3174 startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection connection, int userId) argument 3281 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument 3350 handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll, boolean requireFull, String name, String callerPackage) argument 3420 clearApplicationUserData(final String packageName, final IPackageDataObserver observer, final int userId) argument 3753 killBackgroundProcesses(String packageName, int userId) argument 3775 forceStopPackage(String packageName, int userId) argument 3813 profileControl(String process, int userId, boolean start, String path, ParcelFileDescriptor fd, int profileType) argument 4054 getProviderMimeType(Uri uri, int userId) argument 4134 dumpHeap(String process, int userId, boolean managed, String path, ParcelFileDescriptor fd) argument 4157 startActivities(IApplicationThread caller, String callingPackage, Intent[] intents, String[] resolvedTypes, IBinder resultTo, Bundle options, int userId) argument [all...] |
H A D | ActivityThread.java | 213 final int userId; field in class:ActivityThread.ProviderKey 215 public ProviderKey(String authority, int userId) { argument 217 this.userId = userId; 224 return Objects.equal(authority, other.authority) && userId == other.userId; 231 return ((authority != null) ? authority.hashCode() : 0) ^ userId; 1548 int flags, int userId) { 1577 PackageManager.GET_SHARED_LIBRARY_FILES, userId); 4401 Context c, String auth, int userId, boolea 1547 getPackageInfo(String packageName, CompatibilityInfo compatInfo, int flags, int userId) argument 4400 acquireProvider( Context c, String auth, int userId, boolean stable) argument 4499 acquireExistingProvider( Context c, String auth, int userId, boolean stable) argument [all...] |
H A D | IActivityManager.java | 66 ParcelFileDescriptor profileFd, Bundle options, int userId) throws RemoteException; 70 ParcelFileDescriptor profileFd, Bundle options, int userId) throws RemoteException; 74 Bundle options, int userId) throws RemoteException; 88 String requiredPermission, int userId) throws RemoteException; 93 int appOp, boolean serialized, boolean sticky, int userId) throws RemoteException; 94 public void unbroadcastIntent(IApplicationThread caller, Intent intent, int userId) throws RemoteException; argument 110 int flags, int userId) throws RemoteException; 132 String name, int userId, boolean stable) throws RemoteException; 133 public ContentProviderHolder getContentProviderExternal(String name, int userId, IBinder token) argument 146 String resolvedType, int userId) throw 63 startActivityAsUser(IApplicationThread caller, String callingPackage, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int flags, String profileFile, ParcelFileDescriptor profileFd, Bundle options, int userId) argument 67 startActivityAndWait(IApplicationThread caller, String callingPackage, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int flags, String profileFile, ParcelFileDescriptor profileFd, Bundle options, int userId) argument 71 startActivityWithConfig(IApplicationThread caller, String callingPackage, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, Configuration newConfig, Bundle options, int userId) argument 86 registerReceiver(IApplicationThread caller, String callerPackage, IIntentReceiver receiver, IntentFilter filter, String requiredPermission, int userId) argument 90 broadcastIntent(IApplicationThread caller, Intent intent, String resolvedType, IIntentReceiver resultTo, int resultCode, String resultData, Bundle map, String requiredPermission, int appOp, boolean serialized, boolean sticky, int userId) argument 109 getRecentTasks(int maxNum, int flags, int userId) argument 131 getContentProvider(IApplicationThread caller, String name, int userId, boolean stable) argument 145 startService(IApplicationThread caller, Intent service, String resolvedType, int userId) argument 147 stopService(IApplicationThread caller, Intent service, String resolvedType, int userId) argument 153 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument 173 startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection connection, int userId) argument 188 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument 193 clearApplicationUserData(final String packageName, final IPackageDataObserver observer, int userId) argument 198 handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll, boolean requireFull, String name, String callerPackage) argument 226 killBackgroundProcesses(final String packageName, int userId) argument 229 forceStopPackage(final String packageName, int userId) argument 286 profileControl(String process, int userId, boolean start, String path, ParcelFileDescriptor fd, int profileType) argument 322 getProviderMimeType(Uri uri, int userId) argument 334 dumpHeap(String process, int userId, boolean managed, String path, ParcelFileDescriptor fd) argument 337 startActivities(IApplicationThread caller, String callingPackage, Intent[] intents, String[] resolvedTypes, IBinder resultTo, Bundle options, int userId) argument [all...] |