HomeSort by relevance Sort by last modified time
    Searched defs:userId (Results 76 - 100 of 340) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
StorageMeasurement.java 375 final int userId = currentUserInfo.id;
376 final File basePath = mSharedVolume.getPathForUser(userId);
378 details.mediaSize.put(userId, mediaMap);
389 addValue(details.miscSize, userId, measureMisc(imcs, basePath));
  /frameworks/base/services/core/java/com/android/server/am/
PendingIntentRecord.java 71 final int userId;
88 userId = _userId;
122 if (userId != other.userId){
167 + " flags=0x" + Integer.toHexString(flags) + " u=" + userId + "}";
261 int userId = key.userId;
262 if (userId == UserHandle.USER_CURRENT) {
263 userId = owner.mUserController.getCurrentOrTargetUserIdLocked();
288 allResolvedTypes, resultTo, options, userId);
    [all...]
RecentTasks.java 101 * Loads the persistent recentTasks for {@code userId} into this list from persistent storage.
104 * @param userId the user Id
106 void loadUserRecentsLocked(int userId) {
107 if (!mUsersWithRecentsLoaded.get(userId)) {
109 loadPersistedTaskIdsForUserLocked(userId);
110 Slog.i(TAG, "Loading recents for user " + userId + " into memory.");
111 addAll(mTaskPersister.restoreTasksForUserLocked(userId));
112 cleanupLocked(userId);
113 mUsersWithRecentsLoaded.put(userId, true);
117 private void loadPersistedTaskIdsForUserLocked(int userId) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/clipboard/
ClipboardService.java 77 final int userId;
87 PerUserClipboard(int userId) {
88 this.userId = userId;
143 private PerUserClipboard getClipboard(int userId) {
145 PerUserClipboard puc = mClipboards.get(userId);
147 puc = new PerUserClipboard(userId);
148 mClipboards.put(userId, puc);
154 private void removeClipboard(int userId) {
156 mClipboards.remove(userId);
    [all...]
  /frameworks/base/services/core/java/com/android/server/content/
SyncOperation.java 100 public SyncOperation(Account account, int userId, int owningUid, String owningPackage,
103 this(new SyncStorageEngine.EndPoint(account, provider, userId), owningUid, owningPackage,
218 jobInfoExtras.putInt("userId", target.userId);
241 int userId, owningUid;
256 userId = jobExtras.getInt("userId", Integer.MAX_VALUE);
285 new SyncStorageEngine.EndPoint(account, provider, userId);
303 && target.userId == other.userId
    [all...]
  /frameworks/base/services/core/java/com/android/server/job/controllers/
ContentObserverController.java 66 * Per-userid {@link JobInfo.TriggerContentUri} keyed ContentObserver cache.
217 @UserIdInt int userId) {
220 mUserId = userId;
395 final int userId = mObservers.keyAt(userIdx);
397 mObservers.get(userId);
  /frameworks/base/services/core/java/com/android/server/notification/
ConditionProviders.java 282 int userId) {
287 userId);
296 result.addAll(queryPackageForServices(component.getPackageName(), userId));
298 result.addAll(queryPackageForServices(packages[i], userId));
  /frameworks/base/services/core/java/com/android/server/pm/
UserRestrictionsUtils.java 244 public static boolean canProfileOwnerChange(String restriction, int userId) {
246 && !(userId != UserHandle.USER_SYSTEM
304 public static void applyUserRestrictions(Context context, int userId,
311 applyUserRestriction(context, userId, key, newValue);
323 private static void applyUserRestriction(Context context, int userId, String key,
326 Log.d(TAG, "Applying user restriction: userId=" + userId
347 .WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON, 0, userId);
362 + subInfo.getSubscriptionId(), "0", userId);
368 android.provider.Settings.Global.DATA_ROAMING, "0", userId);
    [all...]
  /frameworks/base/services/usb/java/com/android/server/usb/
UsbService.java 95 private UsbSettingsManager getSettingsForUser(int userId) {
97 UsbSettingsManager settings = mSettingsByUser.get(userId);
99 settings = new UsbSettingsManager(mContext, new UserHandle(userId));
100 mSettingsByUser.put(userId, settings);
135 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1);
138 setCurrentUser(userId);
141 mSettingsByUser.remove(userId);
152 private void setCurrentUser(int userId) {
153 final UsbSettingsManager userSettings = getSettingsForUser(userId);
158 mDeviceManager.setCurrentUser(userId, userSettings)
    [all...]
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
Utils.java 101 * @param userId the id of the user we are interested in
103 public Set<String> getCurrentSystemApps(IPackageManager ipm, int userId) {
108 PackageManager.GET_UNINSTALLED_PACKAGES, userId).getList();
124 * @param userId the id of the user where the component should be disabled.
126 public void disableComponent(ComponentName toDisable, int userId) {
131 userId);
138 * @param userId the id of the user where the component should be disabled.
140 public void enableComponent(ComponentName toEnable, int userId) {
145 userId);
153 * @param userId the id of the user where the component should be disabled
    [all...]
  /packages/apps/Settings/src/com/android/settings/datausage/
DataUsageList.java 334 final int userId = UserHandle.getUserId(uid);
336 if (profiles.contains(new UserHandle(userId))) {
337 if (userId != currentUserId) {
339 final int managedKey = UidDetailProvider.buildKeyForUser(userId);
348 final UserInfo info = userManager.getUserInfo(userId);
354 collapseKey = UidDetailProvider.buildKeyForUser(userId);
  /packages/apps/Settings/src/com/android/settings/vpn2/
VpnSettings.java 374 pref = new AppPreference(getPrefContext(), app.userId, app.packageName);
443 int userId = UserHandle.getUserId(pkg.getUid());
444 if (!profileIds.contains(userId)) {
457 result.add(new AppVpnInfo(userId, pkg.getPackageName()));
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
AccountSyncFragment.java 156 final int userId = mUserHandle.getIdentifier();
162 authority, userId);
165 ContentResolver.setSyncAutomaticallyAsUser(account, authority, syncOn, userId);
169 if (!ContentResolver.getMasterSyncAutomaticallyAsUser(userId) || !syncOn) {
278 final int userId = mUserHandle.getIdentifier();
279 List<SyncInfo> currentSyncs = ContentResolver.getCurrentSyncsAsUser(userId);
295 SyncStatusInfo status = ContentResolver.getSyncStatusAsUser(account, authority, userId);
297 userId);
327 int syncState = ContentResolver.getIsSyncableAsUser(account, authority, userId);
336 userId);
    [all...]
  /system/security/keystore/
keystore.cpp 63 ResponseCode KeyStore::initializeUser(const android::String8& pw, uid_t userId) {
64 UserState* userState = getUserState(userId);
74 ResponseCode KeyStore::writeMasterKey(const android::String8& pw, uid_t userId) {
75 UserState* userState = getUserState(userId);
79 ResponseCode KeyStore::readMasterKey(const android::String8& pw, uid_t userId) {
80 UserState* userState = getUserState(userId);
137 void KeyStore::resetUser(uid_t userId, bool keepUnenryptedEntries) {
140 UserState* userState = getUserState(userId);
141 if (list(prefix, &aliases, userId) != ::NO_ERROR) {
151 ResponseCode rc = get(filename, &blob, ::TYPE_ANY, userId);
    [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java 529 final long userId = rawContact.getServerContactId();
534 final long profileId = lookupProfile(resolver, userId);
543 values.put(StatusUpdates.IM_HANDLE, userId);
621 * @param userId the sample SyncAdapter user ID to lookup
624 private static long lookupProfile(ContentResolver resolver, long userId) {
629 new String[] {String.valueOf(userId)}, null);
    [all...]
  /frameworks/base/cmds/content/src/com/android/commands/content/
Content.java 187 int userId = UserHandle.USER_SYSTEM;
193 userId = Integer.parseInt(argumentValueRequired(argument));
208 return new InsertCommand(uri, userId, values);
213 int userId = UserHandle.USER_SYSTEM;
219 userId = Integer.parseInt(argumentValueRequired(argument));
230 return new DeleteCommand(uri, userId, where);
235 int userId = UserHandle.USER_SYSTEM;
242 userId = Integer.parseInt(argumentValueRequired(argument));
259 return new UpdateCommand(uri, userId, values, where);
264 int userId = UserHandle.USER_SYSTEM
    [all...]
  /frameworks/base/core/java/android/content/
ContentProvider.java 257 int userId = getUserIdFromUri(uri);
264 return maybeAddUserId(ContentProvider.this.insert(uri, initialValues), userId);
320 // Adding the userId to the uri.
437 int userId = getUserIdFromUri(uri);
444 return maybeAddUserId(ContentProvider.this.canonicalize(uri), userId);
453 int userId = getUserIdFromUri(uri);
460 return maybeAddUserId(ContentProvider.this.uncanonicalize(uri), userId);
    [all...]
  /frameworks/base/core/java/android/content/pm/
RegisteredServicesCache.java 104 private UserServices<V> findOrCreateUserLocked(int userId) {
105 return findOrCreateUserLocked(userId, true);
109 private UserServices<V> findOrCreateUserLocked(int userId, boolean loadFromFileIfNew) {
110 UserServices<V> services = mUserServices.get(userId);
113 mUserServices.put(userId, services);
117 UserInfo user = getUser(userId);
173 private final void handlePackageEvent(Intent intent, int userId) {
200 generateServicesMap(uids, userId);
225 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1);
227 Slog.d(TAG, "u" + userId + " removed - cleaning up")
    [all...]
  /frameworks/base/core/java/android/os/
Environment.java 74 final int userId = UserHandle.myUserId();
75 sCurrentUser = new UserEnvironment(userId);
82 public UserEnvironment(int userId) {
83 mUserId = userId;
195 public static File getUserSystemDirectory(int userId) {
196 return new File(new File(getDataSystemDirectory(), "users"), Integer.toString(userId));
212 public static File getUserConfigDirectory(int userId) {
214 getDataDirectory(), "misc"), "user"), Integer.toString(userId));
260 public static File getDataSystemCeDirectory(int userId) {
261 return buildPath(getDataDirectory(), "system_ce", String.valueOf(userId));
    [all...]
  /frameworks/base/core/java/android/provider/
CallLog.java     [all...]
  /frameworks/base/media/java/android/media/tv/
TvInputInfo.java     [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
AccessPoint.java 371 int userId = UserHandle.getUserId(config.creatorUid);
378 appInfo = ipm.getApplicationInfo(config.creatorName, 0 /* flags */, userId);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
TaskViewHeader.java 637 int userId = mTask.key.userId;
638 ActivityInfo activityInfo = ssp.getActivityInfo(cn, userId);
658 mAppTitleView.setText(ssp.getBadgedApplicationLabel(activityInfo.applicationInfo, userId));
662 userId));
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
KeyboardShortcuts.java 416 final int userId = mContext.getUserId();
421 final ComponentName assistComponent = assistUtils.getAssistComponentForUser(userId);
425 assistComponent.getPackageName(), 0, userId);
443 final Icon browserIcon = getIconForIntentCategory(Intent.CATEGORY_APP_BROWSER, userId);
454 final Icon contactsIcon = getIconForIntentCategory(Intent.CATEGORY_APP_CONTACTS, userId);
464 final Icon emailIcon = getIconForIntentCategory(Intent.CATEGORY_APP_EMAIL, userId);
474 final Icon messagingIcon = getIconForIntentCategory(Intent.CATEGORY_APP_MESSAGING, userId);
484 final Icon musicIcon = getIconForIntentCategory(Intent.CATEGORY_APP_MUSIC, userId);
494 final Icon calendarIcon = getIconForIntentCategory(Intent.CATEGORY_APP_CALENDAR, userId);
516 private Icon getIconForIntentCategory(String intentCategory, int userId) {
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
KeyguardBottomAreaView.java 347 final int userId = ActivityManagerNative.getDefault().getCurrentUser().id;
348 final int disabledFlags = dpm.getKeyguardDisabledFeatures(null, userId);
354 Log.e(TAG, "Can't get userId", e);
678 public void onUserSwitchComplete(int userId) {
713 public void onStrongAuthStateChanged(int userId) {

Completed in 786 milliseconds

1 2 34 5 6 7 8 91011>>