Searched refs:user (Results 126 - 150 of 152) sorted by relevance

1234567

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DComponentContextFixture.java129 // TODO: Implement "as user" functionality
289 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, argument
296 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, argument
302 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) argument
/packages/services/Telecomm/src/com/android/server/telecom/
H A DTelecomServiceImpl.java261 // the fact that profile's call is handled by its parent user's in-call UI,
262 // parent user's in call UI need to be able to get phone account from the
292 // This list is pre-filtered for the calling user.
370 int user;
372 user = ActivityManager.getCurrentUser();
373 return getSimCallManagerForUser(user);
383 public PhoneAccountHandle getSimCallManagerForUser(int user) {
390 if (user != ActivityManager.getCurrentUser()) {
393 return mPhoneAccountRegistrar.getSimCallManager(UserHandle.of(user));
433 // label the user ha
[all...]
H A DCallsManager.java212 * A pending call is one which requires user-intervention in order to be placed.
226 * Stores the current foreground user.
387 // There is no USER_SWITCHED broadcast for user 0, handle it here explicitly.
389 // Don't load missed call if it is run in split user model.
1026 * @param initiatingUser {@link UserHandle} of user that place the outgoing call.
1166 // This is the state where the user is expected to select an account
1273 // Otherwise the connection will be initiated when the account is set by the user.
1310 * the user opting to answer said call.
1419 * the user opting to reject said call.
1475 * the user hittin
1569 constructPossiblePhoneAccounts(Uri handle, UserHandle user) argument
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DDeviceAdminSettings.java74 // These aren't updated so they keep a stable sort order if user activates / de-activates
96 * user.
174 * current user.
194 final UserHandle user = new UserHandle(getUserId(dpi));
198 activity.startActivityAsUser(intent, user);
457 * Extracts the user id from a device admin info object.
459 * @return identifier of the user associated with the device admin.
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncher.java261 // Keep track of whether the user has left launcher
413 // If the user leaves launcher, then we should just load items asynchronously when
417 // We only load the page synchronously if the user rotates (or triggers a
695 // The pattern used here is that a user PICKs a specific application,
698 // For example, the user would PICK_SHORTCUT for "Music playlist", and we
1276 launcherInfo.user = appWidgetInfo.getProfile();
1332 // Listen for broadcasts related to user-presence
1907 // Handle case where user selected "Applications"
2141 void startApplicationDetailsActivity(ComponentName componentName, UserHandle user) { argument
2144 launcherApps.startAppDetailsActivity(componentName, user, nul
2154 startApplicationUninstallActivity(ApplicationInfo appInfo, UserHandle user) argument
3830 bindComponentsRemoved(final ArrayList<String> packageNames, final ArrayList<ApplicationInfo> appInfos, final boolean matchPackageNamesOnly, final UserHandle user) argument
[all...]
H A DWorkspace.java68 * Each page contains a number of icons, folders or widgets the user can
168 /** Is the user is dragging an item near the edge of a page? */
194 // Variables relating to the creation of user folders by hovering shortcuts over shortcuts
738 // this is when user is actively dragging a particular screen, they might
751 // user scrolls while we are transitioning (should not affect dispatchDraw optimizations)
2450 // If the user drops while the page is scrolling, we should use that page as the
2719 // the visual center represents the user's interpretation of where the item is, and hence
3645 void removeItemsByPackageName(final ArrayList<String> packages, final UserHandle user) { argument
3663 && info.user.equals(user)) {
3693 removeItemsByApplicationInfo(final ArrayList<ApplicationInfo> appInfos, UserHandle user) argument
3704 removeItemsByComponentName(final HashSet<ComponentName> componentNames, final UserHandle user) argument
[all...]
H A DDeleteDropTarget.java155 // If the user is not allowed to access the app details page or uninstall, then don't
232 mLauncher.startApplicationUninstallActivity((ApplicationInfo) item, item.user);
H A DAppsCustomizePagedView.java523 // Let the user know that they have to long press to add a widget
747 // Widgets are only supported for current user, not for other profiles.
1569 if (info.user.equals(item.user)
/packages/apps/Launcher3/src/com/android/launcher3/popup/
H A DPopupDataProvider.java226 List<String> ids = mDeepShortcutMap.get(new ComponentKey(component, info.user));
/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DWidgetCell.java164 DrawableFactory.get(getContext()).getBadgeForUser(mItem.user, getContext()));
H A DWidgetsListAdapter.java132 * Copies and returns the widgets associated with the package and user of the ComponentKey.
138 // Remove widgets not associated with the correct user.
141 if (!iterator.next().user.equals(packageUserKey.mUser)) {
H A DWidgetsBottomSheet.java122 mOriginalItemInfo.getTargetComponent().getPackageName(), mOriginalItemInfo.user));
/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationStation.java83 public int user; field in class:NotificationStation.HistoricalNotificationInfo
286 info.user = sbn.getUserId();
287 info.icon = loadIconDrawable(info.pkg, info.user, n.icon);
288 info.pkgicon = loadPackageIconDrawable(info.pkg, info.user);
/packages/apps/Settings/src/com/android/settings/applications/
H A DRunningState.java105 // Additional interesting processes to be shown to the user, even if
120 // representing all items that would be put in mMergedItems for that user.
124 // representing all items that would be put in mUserBackgroundItems for that user.
638 // of items... that is, it is an entire user, containing
639 // everything associated with that user. So set it up as such.
874 // The user no longer exists, skip
912 // there is nothing the user can do about them.
1264 // Finally finally, user aggregated merged items need to be
1268 MergedItem user = mOtherUserMergedItems.valueAt(i);
1269 if (user
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncher.java300 // This is set to the view that launched the activity that navigated the user away from
436 // We only load the page synchronously if the user rotates (or triggers a
459 // if the user has specifically allowed rotation.
471 // On large interfaces, or on devices that a user has specifically enabled screen rotation,
698 // This is called only if the user did not previously have permissions to bind widgets
781 // Leave the widget in the pending state if the user canceled the configure.
964 // Don't update the predicted apps if the user is returning to launcher in the apps
1026 // onNewIntent while the user was present within launcher. In that case, we post a call
1027 // to move the user to the main screen (which will occur after onResume). We don't want to
1091 // Indicates whether the user i
3751 bindShortcutsChanged(final ArrayList<ShortcutInfo> updated, final UserHandle user) argument
[all...]
H A DLauncherProvider.java729 for (UserHandle user : um.getUserProfiles()) {
730 long serial = um.getSerialNumberForUser(user);
789 // which no longer exist. Since this can cause other problems, and since the user
908 // Only consider the primary user as other users can't have a shortcut.
/packages/apps/Messaging/
H A Dversion.mk107 # On eng builds, the BUILD_NUMBER has the user and timestamp inline
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
H A DRegisteredServicesCache.java79 // mUserServices holds the card emulation services that are running for each user
135 // Cache will automatically be updated on user switch
222 Log.e(TAG, "Could not create user package context");
420 final UserServices user = mUserServices.valueAt(i);
421 for (Map.Entry<ComponentName, DynamicAids> service : user.dynamicAids.entrySet()) {
554 pw.println("Registered HCE services for current user: ");
/packages/services/Telecomm/src/com/android/server/telecom/ui/
H A DMissedCallNotifierImpl.java79 * Creates a notification for calls that the user missed (neither answered nor rejected).
197 * Returns the missed-call notification intent to send to the default dialer for the given user.
198 * Note, the passed in userHandle is always the non-managed user for SIM calls (multi-user
199 * calls). In this case we return the default dialer for the logged in user. This is never the
202 * For non-multi-user calls (3rd party phone accounts), the passed in userHandle is the user
203 * handle of the phone account. This could be a managed user. In that case we return the default
204 * dialer for the given user which could be a managed (work profile) dialer.
306 // We use user'
642 getContextForUser(UserHandle user) argument
[all...]
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DAppManagementFragment.java207 // Only clear legacy lockdown vpn in system user.
247 // setSummary doesn't override the admin message when user restriction is applied
319 return config != null && !TextUtils.equals(config.user, mPackageName);
/packages/services/Car/TrustAgent/src/com/android/car/trust/
H A DCarBleTrustAgent.java121 // If the user is already unlocked, don't bother starting the BLE service.
244 Log.d(TAG, "About to unlock user. Current handle: " + handle
250 Log.d(TAG, "Attempted to unlock user, is user unlocked? " + um.isUserUnlocked()
289 public void onEscrowTokenAdded(byte[] token, long handle, UserHandle user) { argument
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupFinal.java132 // Show the user some interstitial message after email entry
134 // Account is not pre-configured, query user for account type
136 // Account is pre-configured, but the user picked a different protocol
169 // True if the user selected manual setup
267 * user: The user name for the new account
272 final String user = intent.getStringExtra(EXTRA_CREATE_ACCOUNT_USER);
285 final boolean explicitForm = !(TextUtils.isEmpty(user) ||
337 populateSetupData(user, email);
362 // the time the user click
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
H A DAppRestrictionsFragment.java96 /** Key for extra passed in from calling fragment for the userId of the user being edited */
99 /** Key for extra passed in from calling fragment to indicate if this is a newly created user */
117 // Update the user's app selection right away without waiting for a pause
119 // have been scheduled during user startup.
384 // Check if the user was removed in the meantime.
400 // Settings app should be available to restricted user
446 // to avoid taking the hit in onPause(), which can cause race conditions on user switch.
455 // - Slave entry that can see primary user accounts
456 // - Slave entry that cannot see primary user accounts
457 // - Master entry that can see primary user account
[all...]
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
H A DBindWidgetTest.java300 item.user = info.getUser();
/packages/apps/MusicFX/src/com/android/musicfx/
H A DActivityMusic.java292 mEQPresetNames[numPresets + 1] = getString(R.string.user);
735 // copy current levels to user preset
744 * Updates the EQ display when the user stops changing.

Completed in 1319 milliseconds

1234567