Searched refs:user (Results 276 - 300 of 313) sorted by relevance

<<111213

/frameworks/base/services/core/java/com/android/server/display/
H A DBrightnessTracker.java103 private static final String ATTR_USER = "user";
277 * Notify the BrightnessTracker that the user has changed the brightness of the display.
308 // We want to record what current brightness is so that we know what the user
309 // changed it from, but if it wasn't user initiated then we don't want to record it
354 // Ignore the event because we can't determine user / package.
589 String user = parser.getAttributeValue(null, ATTR_USER);
590 builder.setUserId(mInjector.getUserId(mUserManager, Integer.parseInt(user)));
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DSoundTriggerService.java772 * @param user The user of the service
776 @Nullable Bundle params, @NonNull ComponentName serviceName, @NonNull UserHandle user,
781 mUser = user;
775 RemoteSoundTriggerDetectionService(@onNull UUID modelUuid, @Nullable Bundle params, @NonNull ComponentName serviceName, @NonNull UserHandle user, @NonNull RecognitionConfig config) argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DApnSettingTest.java84 "", // user
118 assertEquals(a1.user, a2.user);
293 "mmsc", "mmsproxy", "mmsport", "user", "password", 0,
304 "mmsc", "mmsproxy", "mmsport", "user", "password", 0,
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java90 private static final String XML_ATTR_USER = "user";
120 /** Enum value for a user-initiated sync. */
197 * An Endpoint for a sync matches if it targets the same sync adapter for the same user.
249 * setSyncAutomatically -> false. However setSyncAutomatically is surfaced to the user
266 * user access approval.
682 + ", user " + userId + " -> " + sync);
685 " user=", userId,
837 * @param userId id of the user making this request.
877 + " user:" + accountInfo.accountAndUser.userId
943 mLogger.log("Set master enabled=", flag, " user
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java87 * which there is more than one matching activity, allowing the user to decide
433 * by the user.
523 // to the recent tasks shown to the user, and we need to make sure
527 // the user probably can't get back to us.
593 Log.e(TAG, "Attempted to set selection to resolve info for another user");
1190 public boolean startAsUser(Activity activity, Bundle options, UserHandle user) { argument
1191 activity.startActivityAsUser(mResolvedIntent, options, user);
1248 * Start the activity referenced by this target as a given user.
1252 * @param user handle for the user t
1255 startAsUser(Activity activity, Bundle options, UserHandle user) argument
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsCall.java158 * Called when the call hold is received from the remote user.
189 * Called when the call resume is received from the remote user.
244 * Called when the call update is received from the remote user.
276 * Called when the conference extension is received from the remote user.
554 * Telephony (could be from the user or some internal telephony logic)
646 * Checks if the call has a same remote user identity or not.
648 * @param userId the remote user identity
649 * @return true if the remote user identity is equal; otherwise, false
751 * Gets the call profile proposed by the local/remote user.
1126 * @param callType The call type the user agree
[all...]
/frameworks/base/core/java/android/app/
H A DFragment.java63 * A Fragment is a piece of an application's user interface or behavior
117 * up to resumed state (interacting with the user) are:
128 * <li> {@link #onStart} makes the fragment visible to the user (based on its
130 * <li> {@link #onResume} makes the fragment begin interacting with the user
138 * <li> {@link #onPause} fragment is no longer interacting with the user either
141 * <li> {@link #onStop} fragment is no longer visible to the user either
155 * you to better modularize your code and more easily adjust your user
187 * <p>In this case when the user clicks on a title, there is no details
239 * internal back-stack of the owning activity. When the user presses back
257 * pressing back will pop it to return the user t
1117 startActivityForResultAsUser( Intent intent, int requestCode, Bundle options, UserHandle user) argument
[all...]
H A DInstrumentation.java421 * multiple activities, instead of displaying a dialog for the user to
446 * multiple activities, instead of displaying a dialog for the user to
1472 * @param activity The activity being notified that the user has navigated away
1819 * but for starting as a particular user.
1846 Intent intent, int requestCode, Bundle options, UserHandle user) {
1877 requestCode, 0, null, options, user.getIdentifier());
1844 execStartActivity( Context who, IBinder contextThread, IBinder token, String resultWho, Intent intent, int requestCode, Bundle options, UserHandle user) argument
/frameworks/base/core/proto/android/os/
H A Dsystem_properties.proto305 optional string user = 11;
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerService.java97 * {@link AutofillManagerServiceImpl} per user; the real work is done by
117 * Cache of {@link AutofillManagerServiceImpl} per user id.
119 * It has to be mapped by user id because the same current user could have simultaneous sessions
120 * associated to different user profiles (for example, in a multi-window environment or when
185 Slog.i(TAG, "Disabling Autofill for user " + userId);
198 Slog.d(TAG, "Autofill restriction did not change for user " + userId);
202 Slog.i(TAG, "Updating Autofill for user " + userId + ": disabled=" + disabledNow);
320 if (sDebug) Slog.d(TAG, "Hiding UI when user switched");
332 * Gets the service instance for an user
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java170 // List of alarms per uid deferred due to user applied background restrictions on the source app
953 * Sends alarms that were blocked due to user applied background restrictions - either because
954 * the user lifted those or the uid came to foreground.
1772 // If the caller is a core system component or on the user's whitelist, and not calling
1959 for (int user : users) {
1960 final AlarmManager.AlarmClockInfo next = mNextAlarmClockForUser.get(user);
1962 final boolean pendingSend = mPendingSendNextAlarmClockChangedForUser.get(user);
1963 pw.print(" user:"); pw.print(user);
1982 pw.println(" Pending user blocke
[all...]
H A DBluetoothManagerService.java233 // DISALLOW_BLUETOOTH can only be set by DO or PO on the system user.
592 Slog.w(TAG, "isEnabled(): not allowed for non-active and non system user");
611 Slog.w(TAG, "getState(): report OFF for non-active and non system user");
868 Slog.w(TAG, "enable(): not allowed for non-active and non system user");
905 Slog.w(TAG, "disable(): not allowed for non-active and non system user");
1125 * Called when switching to a different foreground user.
1135 * Called when user is unlocked.
1348 Slog.w(TAG, "getAddress(): not allowed for non-active and non system user");
1380 Slog.w(TAG, "getName(): not allowed for non-active and non system user");
1811 /* disable and enable BT when detect a user switc
1954 doBind(Intent intent, ServiceConnection conn, int flags, UserHandle user) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerService.java753 // Take a short detour to confirm with user
1006 final UserHandle user = (UserHandle) mCallbacks.getBroadcastCookie(i);
1008 if (userId == user.getIdentifier()) {
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
H A DShortcutManagerTestUtils.java210 runCommand(instrumentation, "cmd package set-home-activity --user "
213 runCommand(instrumentation, "cmd shortcut clear-default-launcher --user "
242 + " --user " + userId + " " + packageName);
640 UserHandle user, String packageName, String... ids) {
642 eq(user));
639 assertCallbackReceived(LauncherApps.Callback mock, UserHandle user, String packageName, String... ids) argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java.broken599 public void setupDataCall(String radioTechnology, String profile, String apn, String user,
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java183 // All the various per-user state files we need to be aware of
780 * Map of color listeners per user id.
781 * The key will be the id of a user or UserHandle.USER_ALL - for wildcard listeners.
896 // Called during initialization of a given user's wallpaper bookkeeping
1454 // so we do it in the background to avoid holding up the user unlock operation.
1674 for (UserInfo user: users) {
1676 if (user.isManagedProfile()) {
1679 WallpaperData wd = mWallpaperMap.get(user.id);
1682 loadSettingsLocked(user.id, false);
1683 wd = mWallpaperMap.get(user
[all...]
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DNotificationCompat.java150 * it is clicked by the user.
156 * when the user clicks the Clear all button.
206 * these items might not be shown to the user except under
221 * for your application's most important items that require the user's
388 * Notification key: the username to be displayed for all messages sent by the user
394 * Notification key: the person to display for all messages sent by the user, including direct
548 * Notification category: user-scheduled reminder.
554 * For example, a news app might want to recommend a news story it believes the user will
608 * notifications at once (say, after a periodic sync), and only need to notify the user
621 * rather than to alert the user tha
2189 MessagingStyle(@onNull Person user) argument
[all...]
/frameworks/av/media/libaudioclient/
H A DToneGenerator.cpp831 // Used by ToneGenerator::getToneForRegion() to convert user specified supervisory tone type
1216 this, // user
1247 // user reference (pointer to our ToneGenerator)
1254 void ToneGenerator::audioCallback(int event, void* user, void *info) { argument
1259 ToneGenerator *lpToneGen = static_cast<ToneGenerator *>(user);
/frameworks/base/cmds/statsd/src/
H A Datoms.proto751 // devices but show up in Telecom so the user can pull them onto the device.
777 * prompts the user to enter a password (pattern, pin, etc).
787 // password, screen timing out, or user going back to lock screen.
789 // This is when the user is being prompted to enter the password.
831 // Current user preference for the scaling factor for fonts,
1168 // The associated user (for multi-user feature). Defined in android/os/UserHandle.java
1169 optional int32 user = 7;
/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl386 StringParceledListSlice getOwnerInstalledCaCerts(in UserHandle user);
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp777 static void foreachentry(ExifEntry *entry, void* /* user */) {
783 static void foreachcontent(ExifContent *content, void *user) { argument
785 exif_content_foreach_entry(content, foreachentry, user);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTest.java244 UserHandle user = (UserHandle) invocation.getArguments()[2];
246 appRestrictions.put(Pair.create(pkg, user), bundle);
258 UserHandle user = (UserHandle) invocation.getArguments()[1];
260 return appRestrictions.get(Pair.create(pkg, user));
265 // Add the first secondary user.
350 // Caller has MANAGE_DEVICE_ADMINS, but for different user.
402 // But not admin1 for a different user.
405 // (Because we're checking a different user's status from CALLER_USER_HANDLE.)
458 // Another user has no admins.
472 getServices().addUser(ANOTHER_USER_ID, 0); // Add one more user
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProtoDumpUtil.java45 // Per-user settings
55 * Dump all settings of a user as a proto buf.
58 * @param user The user the settings should be dumped for
65 @NonNull UserHandle user) {
68 proto.write(UserSettingsProto.USER_ID, user.getIdentifier());
71 SettingsProvider.SETTINGS_TYPE_SECURE, user.getIdentifier());
77 SettingsProvider.SETTINGS_TYPE_SYSTEM, user.getIdentifier());
2176 // Whether the current user has been set up via setup wizard (0 = false, 1 = true). This
61 dumpProtoUserSettingsLocked( @onNull ProtoOutputStream proto, long fieldId, SettingsProvider.SettingsRegistry settingsRegistry, @NonNull UserHandle user) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarIconView.java368 int userId = statusBarIcon.user.getIdentifier();
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java674 // the notification will not be legible to the user.
754 * If non-null, we are tracking the time the user spends in the currently focused app.
1041 * This is the process holding the activity the user last visited that
1063 * Packages that the user has asked to have run in screen size
1077 * something (rogue user app) forces this over
1128 * State of all active sticky broadcasts per user. Keys are the action of the
1131 * by the user ID the sticky is for, and can include UserHandle.USER_ALL
1252 String result = uri.toString() + " [user " + sourceUserId + "]";
1258 String result = uri.toSafeString() + " [user " + sourceUserId + "]";
1364 * any user i
[all...]

Completed in 5331 milliseconds

<<111213