Searched refs:user (Results 101 - 125 of 152) sorted by relevance

1234567

/packages/services/Telecomm/scripts/
H A Dtelecom_testing.sh130 adb pull /data/user/0/com.android.server.telecom.tests/files/coverage.ec /tmp/
/packages/apps/Launcher3/src/com/android/launcher3/
H A DWidgetPreviewLoader.java98 WidgetCacheKey key = new WidgetCacheKey(item.componentName, item.user, size);
147 values.put(CacheDb.COLUMN_USER, mUserManager.getSerialNumberForUser(key.user));
156 public void removePackage(String packageName, UserHandle user) { argument
157 removePackage(packageName, user, mUserManager.getSerialNumberForUser(user));
160 private void removePackage(String packageName, UserHandle user, long userSerial) { argument
177 * given package/user, otherwise the list contains all previews
186 final long userId = mUserManager.getSerialNumberForUser(key.user);
212 // This preview is associated with a different package/user, no need to remove.
236 UserHandle user
670 WidgetCacheKey(ComponentName componentName, UserHandle user, String size) argument
[all...]
H A DFolderInfo.java59 user = Process.myUserHandle();
H A DPendingAppWidgetHostView.java85 info.pendingItemInfo.user = info.user;
/packages/apps/Settings/src/com/android/settings/users/
H A DUserDetailsSettings.java38 * Settings screen for configuring a specific user. It can contain user restrictions
40 * user management (UserSettings) screen.
42 * Arguments to this fragment must include the userId of the user (in EXTRA_USER_ID) for whom
89 // Regular user. Get the user id from the caller.
92 throw new RuntimeException("Arguments to this fragment must contain the user id");
99 // These are not for an existing user, just general Guest settings.
118 throw new RuntimeException("Only admins can remove a user");
149 for (UserInfo user
[all...]
H A DEditUserInfoController.java46 * This class encapsulates a Dialog for editing the user nickname and photo.
113 int titleResId, final OnContentChangedCallback callback, UserHandle user) {
115 mUser = user;
111 createDialog(final Fragment fragment, final Drawable currentUserIcon, final CharSequence currentUserName, int titleResId, final OnContentChangedCallback callback, UserHandle user) argument
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPicasaSource.java356 String user = (userIndex >= 0 ? cursor.getString(userIndex) : "-1");
362 String account = accounts.get(user);
364 account = resolveAccount(user);
365 accounts.put(user, account);
370 id = constructId(PICASA_POSTS_TYPE + ":" + user);
375 String uploadId = constructId(PICASA_UPLOAD_TYPE + ":" + user);
399 " of type " + type + " owned by " + user);
/packages/apps/Settings/src/com/android/settings/
H A DUtils.java352 public static void copyMeProfilePhoto(Context context, UserInfo user) { argument
355 int userId = user != null ? user.id : UserHandle.myUserId();
375 * Assign the default photo to user with {@paramref userId}
610 * Returns the managed profile of the current user or {@code null} if none is found or a profile
630 * Returns the managed profile of the current user or {@code null} if none is found. Unlike
636 // yet another implementation that loops over user profiles in this method). In the meantime
653 * Retrieves the id for the given user's managed profile.
668 * Returns the target user for a Settings activity.
672 * <li> If this activity is launched from other user, retur
1265 isProfileOf(UserInfo user, UserInfo profile) argument
[all...]
H A DApnSettings.java240 final UserHandle user = UserHandle.of(mUserManager.getUserHandle());
241 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS, user)
243 user)) {
/packages/services/Telephony/src/com/android/phone/
H A DNotificationMgr.java178 * refresh the voicemail intent on the indicator when the user changes it via the voicemail
239 * @param isRefresh {@code true} if the notification is a refresh and the user should not be
312 // If the voicemail number if unknown, instead of calling voicemail, take the user
355 final UserInfo user = users.get(i);
356 final UserHandle userHandle = user.getUserHandle();
359 && !user.isManagedProfile()) {
373 final UserInfo user = users.get(i);
374 final UserHandle userHandle = user.getUserHandle();
377 && !user.isManagedProfile()) {
402 * @param userHandle The user t
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/popup/
H A DPopupPopulator.java186 final UserHandle user = originalInfo.user;
202 .queryForShortcutsContainer(activity, shortcutIds, user);
H A DSystemShortcut.java59 itemInfo.getTargetComponent().getPackageName(), itemInfo.user));
/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DPackageUpdatedTask.java57 * or when a user availability changes.
71 public static final int OP_USER_AVAILABILITY_CHANGE = 7; // user available/unavailable
77 public PackageUpdatedTask(int op, UserHandle user, String... packages) { argument
79 mUser = user;
147 // We want to update all packages for this user.
186 if (info instanceof ShortcutInfo && mUser.equals(info.user)) {
262 if (mUser.equals(widgetInfo.user)
H A DBgDataModel.java359 String packageName, UserHandle user, List<ShortcutInfoCompat> shortcuts) {
365 && next.user.equals(user)) {
358 updateDeepShortcutMap( String packageName, UserHandle user, List<ShortcutInfoCompat> shortcuts) argument
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DVpnUtils.java34 * Keystore methods should only be called in system user
79 return config != null ? config.user : null;
H A DVpnSettings.java381 UserHandle user = UserHandle.of(pref.getUserId());
383 getActivity().getPackageName(), 0 /* flags */, user);
387 userContext.startActivityAsUser(appIntent, user);
489 connections.add(new AppVpnInfo(profile.getIdentifier(), config.user));
/packages/apps/Settings/src/com/android/settings/enterprise/
H A DEnterpriseSetDefaultAppsListPreferenceController.java79 for (UserHandle user : mUserFeatureProvider.getUserProfiles()) {
85 findPersistentPreferredActivities(user.getIdentifier(),
/packages/apps/Settings/src/com/android/settings/utils/
H A DServiceListing.java103 final int user = ActivityManager.getCurrentUser();
108 user);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DShortcutInfo.java98 mIcon = iconCache.getIcon(intent, user);
/packages/apps/Launcher3/src/com/android/launcher3/logging/
H A DDumpTargetWrapper.java131 + "), pageIdx=" + t.pageId + " user=" + t.userType;
148 node.userType = (info.user.equals(Process.myUserHandle()))? UserType.DEFAULT : UserType.WORK;
/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DWidgetsDiffReporter.java139 !mIconCache.isDefaultIcon(curInfo.iconBitmap, curInfo.user);
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
H A DLoaderCursorTest.java115 ComponentName cn = mLauncherApps.getActivityList(null, mLoaderCursor.user)
141 when(mMockIconCache.getDefaultIcon(eq(mLoaderCursor.user))).thenReturn(icon);
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DDragView.java319 .resolveActivity(info.getIntent(), info.user);
333 key.componentName.getPackageName(), Arrays.asList(key.getId()), key.user);
380 .getUserBadgedIcon(new FixedSizeEmptyDrawable(iconSize), info.user);
538 * @param touchX the x coordinate the user touched in DragLayer coordinates
539 * @param touchY the y coordinate the user touched in DragLayer coordinates
569 * @param touchX the x coordinate the user touched in DragLayer coordinates
570 * @param touchY the y coordinate the user touched in DragLayer coordinates
/packages/apps/Settings/src/com/android/settings/accounts/
H A DAccountSyncSettings.java162 UserInfo user = um.getUserInfo(mUserHandle.getIdentifier());
163 boolean isWorkProfile = user != null ? user.isManagedProfile() : false;
298 // Toggling this switch triggers sync but we may need a user approval.
308 // get dropped. when the user clicks on this toggle,
368 // sync everything that the user has enabled
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DSecurityFragment.java258 Log.e(TAG, "Tried to enter non-existent restricted user");
430 Log.e(TAG, "Caught exception while switching user! ", re);
447 Log.w(TAG, "No restricted user to remove?");
506 Log.wtf(TAG, "Got back a null user handle!");
511 UserHandle user = new UserHandle(userId);
512 mUserManager.setUserRestriction(UserManager.DISALLOW_MODIFY_ACCOUNTS, true, user);
517 UserHandle.of(UserHandle.myUserId()), user);

Completed in 438 milliseconds

1234567