Searched refs:user (Results 176 - 200 of 313) sorted by relevance

1234567891011>>

/frameworks/base/cmds/incident_helper/tests/
H A DPsParser_test.cpp231 if (g.user() != e.user()) {
232 fprintf(stderr, "prcs[%d]: Invalid user. Got %s, want %s\n", i, g.user().c_str(), e.user().c_str());
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DTileLifecycleManager.java92 Intent intent, UserHandle user) {
93 this(handler, context, service, tile, intent, user, new PackageManagerAdapter(context));
98 Intent intent, UserHandle user, PackageManagerAdapter packageManagerAdapter) {
104 mUser = user;
91 TileLifecycleManager(Handler handler, Context context, IQSService service, Tile tile, Intent intent, UserHandle user) argument
97 TileLifecycleManager(Handler handler, Context context, IQSService service, Tile tile, Intent intent, UserHandle user, PackageManagerAdapter packageManagerAdapter) argument
/frameworks/base/services/core/java/com/android/server/policy/
H A DLegacyGlobalActions.java548 for (final UserInfo user : users) {
549 if (user.supportsSwitchToByUser()) {
551 ? user.id == 0 : (currentUser.id == user.id);
552 Drawable icon = user.iconPath != null ? Drawable.createFromPath(user.iconPath)
556 (user.name != null ? user.name : "Primary")
561 ActivityManager.getService().switchUser(user.id);
563 Log.e(TAG, "Couldn't switch user "
[all...]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DGroupHelperTest.java63 UserHandle user, String groupKey) {
70 return new StatusBarNotification(pkg, pkg, id, tag, 0, 0, nb.build(), user, null,
75 UserHandle user) {
76 return getSbn(pkg, id, tag, user, null);
62 getSbn(String pkg, int id, String tag, UserHandle user, String groupKey) argument
74 getSbn(String pkg, int id, String tag, UserHandle user) argument
/frameworks/native/cmds/installd/
H A Ddexopt.h38 // Clear the current profile identified by the given profile name (for single user).
40 userid_t user);
57 // The profile snapshot is the aggregation of all existing profiles (all current user
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/dao/
H A DUserPetDao.java86 void insertUserAndPet(User user, Pet pet); argument
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java812 // then log that the user has seen them.
895 // Treat clicking on a smart reply as a user interaction.
1108 // until user passes through the lock screen or views the notification.
1131 // turn off LED when user passes through lock screen
1134 final int user = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, USER_NULL);
1135 // reload per-user settings
1139 mConditionProviders.onUserSwitched(user);
1140 mListeners.onUserSwitched(user);
1141 mAssistants.onUserSwitched(user);
1142 mZenModeHelper.onUserSwitched(user);
6368 onUserUnlocked(int user) argument
6766 notifyNotificationChannelChanged(final String pkg, final UserHandle user, final NotificationChannel channel, final int modificationType) argument
6785 notifyNotificationChannelGroupChanged( final String pkg, final UserHandle user, final NotificationChannelGroup group, final int modificationType) argument
6859 notifyNotificationChannelChanged(ManagedServiceInfo info, final String pkg, final UserHandle user, final NotificationChannel channel, final int modificationType) argument
6870 notifyNotificationChannelGroupChanged(ManagedServiceInfo info, final String pkg, final UserHandle user, final NotificationChannelGroup group, final int modificationType) argument
[all...]
H A DGroupHelper.java40 // Map of user : <Map of package : notification keys>. Only contains notifications that are not
160 void removeAutoGroupSummary(int user, String pkg); argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DServiceListing.java128 final int user = ActivityManager.getCurrentUser();
135 user);
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DTunerServiceImpl.java53 // Things that use the tunable infrastructure but are now real user settings and
77 for (UserInfo user : UserManager.get(mContext).getUsers()) {
78 mCurrentUser = user.getUserHandle().getIdentifier();
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DManageDialog.java64 // mConfig can be null if we are a restricted user, in that case don't show this dialog
82 mAlertParams.mTitle = VpnConfig.getVpnLabel(this, mConfig.user);
123 mService.prepareVpn(mConfig.user, VpnConfig.LEGACY_VPN, myUserId);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DWifiPermissionsUtil.java237 * Returns true if the calling user is the current one or a profile of the
238 * current user.
247 for (UserInfo user : userProfiles) {
248 if (user.id == callingUserId) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DContextFixture.java311 public Intent registerReceiverAsUser(BroadcastReceiver receiver, UserHandle user, argument
378 public void sendBroadcastAsUser(Intent intent, UserHandle user) { argument
383 public void sendBroadcastAsUser(Intent intent, UserHandle user, argument
389 public void sendBroadcastAsUser(Intent intent, UserHandle user, argument
395 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, argument
408 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, argument
421 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, argument
450 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java788 // This will happen if the user explicitly used a non existing int value for
1320 public Context createPackageContextAsUser(String arg0, int arg1, UserHandle user) { argument
1694 public void sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user, argument
1741 public void sendBroadcastAsUser(Intent intent, UserHandle user) { argument
1746 public void sendBroadcastAsUser(Intent intent, UserHandle user, argument
1752 public void sendBroadcastAsUser(Intent intent, UserHandle user, argument
1757 public void sendBroadcastAsUser(Intent intent, UserHandle user, argument
1763 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, argument
1770 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, argument
1778 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, argument
1799 sendStickyBroadcastAsUser(Intent intent, UserHandle user) argument
1804 sendStickyBroadcastAsUser(Intent intent, UserHandle user, Bundle options) argument
1809 sendStickyOrderedBroadcastAsUser(Intent intent, UserHandle user, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) argument
1817 removeStickyBroadcastAsUser(Intent intent, UserHandle user) argument
1883 startForegroundServiceAsUser(Intent service, UserHandle user) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DMockSystemServices.java168 // Add the system user with a fake profile group already set up (this can happen in the real
173 // System user is always running.
177 /** Optional mapping of other user contexts for {@link #createPackageContextAsUser} to return */
199 final UserInfo uh = new UserInfo(userId, "user" + userId, flags);
318 public void addPackageContext(UserHandle user, Context context) { argument
322 userPackageContexts.put(new Pair<>(user, context.getPackageName()), context);
325 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) argument
327 final Pair<UserHandle, String> key = new Pair<>(user, packageName);
331 throw new UnsupportedOperationException("No package " + packageName + " for user " + user);
[all...]
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
H A DQueryMethodProcessorTest.kt420 @Query("update user set name = :name")
435 @Query("select name from user where uid = :id")
451 @Query("delete from user where uid = :id")
463 @Query("select name from user")
476 assertEquals(setOf("user"), tableNames)
505 @Query("delete from user where uid = :id")
517 @Query("UPDATE user set uid = :id + 1 where uid = :id")
529 @Query("select * from user")
542 @Query("select * from user")
594 @Query("select * from user")
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java185 private static final String TAG_SHARED_USER = "shared-user";
209 private static final String ATTR_USER = "user";
297 // Bookkeeping for restored user permission grants
362 // The user's preferred activities associated with particular intent
367 // The persistent preferred activities of the user's profile/device owner
372 // For every user, it is used to find to which other users the intent can be forwarded.
398 // For every user, it is used to find the package name of the default Browser App.
401 // For every user, a record of the package name of the default Dialer App.
404 // App-link priority tracking, per-user
410 * Used to track packages that have a shared user I
[all...]
/frameworks/compile/libbcc/gdb_plugin/
H A Dandroid-commands.py228 # Alert user if library mismatch is detected
269 # sitting on the device actually executing. Alert the user if
311 user = line[0]
315 return (pid, user)
317 ret.append((pid, user))
329 (pid, user) = self.get_process_info(process_name)
332 (pid, user) = self.get_process_info(process_name)
363 print "\tgdbserver user: " + str(self.gdbserver_user)
388 (pid, user) = self.adb.get_process_info(process_name)
391 (pid, user)
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DGlobalActionsDialog.java592 // switching user
599 Log.e(TAG, "Couldn't logout user " + re);
753 for (final UserInfo user : users) {
754 if (user.supportsSwitchToByUser()) {
756 ? user.id == 0 : (currentUser.id == user.id);
757 Drawable icon = user.iconPath != null ? Drawable.createFromPath(user.iconPath)
761 (user.name != null ? user
[all...]
/frameworks/base/core/java/android/provider/
H A DCallLog.java196 /** Call log type for calls rejected by direct user action. */
236 * The phone number as the user entered it.
260 /** Number is blocked by user. */
269 * user received or made the call.
352 * Whether this item has been read or otherwise consumed by the user.
354 * Unlike the {@link #NEW} field, which requires the user to have acknowledged the
355 * existence of the entry, this implies the user has interacted with the entry.
420 * user was in when the call was made or received.
446 * form. For SIM-based calls, this is the user's own phone number.
489 * Indicates that the entry will be copied from primary user t
859 addEntryAndRemoveExpiredEntries(Context context, UserManager userManager, UserHandle user, ContentValues values) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManager.java53 * Handles keeping track of the current user, profiles, and various things related to hiding
174 // We don't know which user changed LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS or
268 * Returns true if notifications are temporarily disabled for this user for security reasons,
269 * regardless of the normal settings for that user.
279 * Returns true if we're on a secure lockscreen and the user wants to hide notification data.
289 * Returns true if we're on a secure lockscreen and the user wants to hide notifications via
346 * Has the given user chosen to allow their private (full) notifications to be shown even
392 * Has the given user chosen to allow notifications to be shown even when the lockscreen is in
442 for (UserInfo user : mUserManager.getProfiles(mCurrentUserId)) {
443 mCurrentProfiles.put(user
[all...]
/frameworks/av/include/media/
H A DToneGenerator.h302 static void audioCallback(int event, void* user, void *info);
/frameworks/av/media/libaudioclient/include/media/
H A DToneGenerator.h302 static void audioCallback(int event, void* user, void *info);
/frameworks/base/core/java/android/app/
H A DPendingIntent.java366 @NonNull Intent intent, int flags, Bundle options, UserHandle user) {
378 flags, options, user.getIdentifier());
408 * UI the user actually sees when the intents are started.
458 * UI the user actually sees when the intents are started.
507 @NonNull Intent[] intents, int flags, Bundle options, UserHandle user) {
520 flags, options, user.getIdentifier());
1040 * Return the user handle of the application that created this
1041 * PendingIntent, that is the user under which you will actually be
1043 * that an application can not spoof its user. See
1045 * more explanation of user handle
365 getActivityAsUser(Context context, int requestCode, @NonNull Intent intent, int flags, Bundle options, UserHandle user) argument
506 getActivitiesAsUser(Context context, int requestCode, @NonNull Intent[] intents, int flags, Bundle options, UserHandle user) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DHeadsUpManager.java286 private static String snoozeKey(@NonNull String packageName, int user) { argument
287 return user + "," + packageName;
345 * Sets the current user.
347 public void setUser(int user) { argument
348 mUser = user;

Completed in 1093 milliseconds

1234567891011>>