HomeSort by relevance Sort by last modified time
    Searched full:userhandle (Results 251 - 275 of 995) sorted by null

<<11121314151617181920>>

  /frameworks/base/core/java/com/android/internal/app/
UnlaunchableAppActivity.java 34 import android.os.UserHandle;
47 * ({@link UserManager#isQuietModeEnabled(UserHandle)}.
68 mUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL);
71 if (mUserId == UserHandle.USER_NULL) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
UserInfoController.java 32 import android.os.UserHandle;
65 mContext.registerReceiverAsUser(mProfileReceiver, UserHandle.ALL, profileFilter,
122 new UserHandle(userInfo.id));
154 avatar = UserIcons.getDefaultUserIcon(isGuest? UserHandle.USER_NULL : userId,
  /frameworks/base/services/core/java/com/android/server/
LockSettingsStrongAuth.java 28 import android.os.UserHandle;
85 if (userId == UserHandle.USER_ALL) {
141 if (userId == UserHandle.USER_ALL || userId >= UserHandle.USER_SYSTEM) {
  /frameworks/base/services/core/java/com/android/server/am/
PreBootBroadcaster.java 34 import android.os.UserHandle;
72 MATCH_SYSTEM_ONLY, UserHandle.of(userId));
161 notifManager.notifyAsUser(TAG, 0, notif, UserHandle.of(mUserId));
165 notifManager.cancelAsUser(TAG, 0, UserHandle.of(mUserId));
UserController.java 74 import android.os.UserHandle;
121 private int mCurrentUserId = UserHandle.USER_SYSTEM;
123 private int mTargetUserId = UserHandle.USER_NULL;
171 final UserState uss = new UserState(UserHandle.SYSTEM);
172 mStartedUsers.put(UserHandle.USER_SYSTEM, uss);
173 mUserLru.add(UserHandle.USER_SYSTEM);
206 if (oldUserId == UserHandle.USER_SYSTEM || oldUserId == mCurrentUserId) {
343 profileUnlockedIntent.putExtra(Intent.EXTRA_USER, UserHandle.of(userId));
399 if (userId != UserHandle.USER_SYSTEM) {
440 if (userId < 0 || userId == UserHandle.USER_SYSTEM)
    [all...]
  /frameworks/base/services/core/java/com/android/server/job/controllers/
DeviceIdleJobsController.java 24 import android.os.UserHandle;
109 mBroadcastReceiver, UserHandle.ALL, filter, null, null);
153 UserHandle.getAppId(job.getSourceUid()))) {
187 UserHandle.formatUid(pw, jobStatus.getSourceUid());
  /frameworks/base/services/tests/servicestests/src/com/android/server/
AccessibilityManagerServiceTest.java 28 import android.os.UserHandle;
112 mManagerService.addClient(mockClient, UserHandle.USER_CURRENT);
125 mManagerService.addClient(mockClient, UserHandle.USER_CURRENT);
147 mManagerService.addClient(mockClient, UserHandle.USER_CURRENT);
160 mManagerService.addClient(mockClient, UserHandle.USER_CURRENT);
180 UserHandle.USER_CURRENT)) {
221 mManagerService.sendAccessibilityEvent(sentEvent, UserHandle.USER_CURRENT);
251 mManagerService.sendAccessibilityEvent(sentEvent, UserHandle.USER_CURRENT);
281 mManagerService.sendAccessibilityEvent(sentEvent, UserHandle.USER_CURRENT);
317 mManagerService.sendAccessibilityEvent(firstEvent, UserHandle.USER_CURRENT)
    [all...]
AccessibilityManagerTest.java 26 import android.os.UserHandle;
70 new AccessibilityManager(mContext, mMockService, UserHandle.USER_CURRENT);
94 verify(mMockService).getInstalledAccessibilityServiceList(UserHandle.USER_CURRENT);
104 verify(mMockService).interrupt(UserHandle.USER_CURRENT);
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DpmTestBase.java 27 import android.os.UserHandle;
135 eq(UserHandle.getUserId(packageUid)));
162 eq(UserHandle.getUserId(packageUid)));
165 markPackageAsInstalled(admin.getPackageName(), ai, UserHandle.getUserId(packageUid));
  /frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
AlarmSpamReceiver.java 23 import android.os.UserHandle;
  /frameworks/base/tools/layoutlib/bridge/src/android/text/format/
DateFormat_Delegate.java 39 /*package*/ static boolean is24HourFormat(Context context, int userHandle) {
  /packages/apps/Launcher2/src/com/android/launcher2/
ItemInfo.java 23 import android.os.UserHandle;
36 * Intent extra to store the profile. Format: UserHandle
118 UserHandle user;
156 user = (UserHandle) intent.getParcelableExtra(EXTRA_PROFILE);
  /packages/apps/Launcher3/src/com/android/launcher3/compat/
UserManagerCompatVN.java 22 import android.os.UserHandle;
  /packages/apps/Nfc/src/com/android/nfc/
NfcWifiProtectedSetup.java 26 import android.os.UserHandle;
83 // hasUserRestriction does not support UserHandle.CURRENT.
84 UserHandle.of(ActivityManager.getCurrentUser()))) {
90 context.startActivityAsUser(configureNetworkIntent, UserHandle.CURRENT);
  /packages/apps/Settings/src/com/android/settings/
TrustAgentSettings.java 27 import android.os.UserHandle;
104 DevicePolicyManager.KEYGUARD_DISABLE_TRUST_AGENTS, UserHandle.myUserId());
132 UserHandle.myUserId());
140 UserHandle.myUserId());
  /packages/apps/Settings/src/com/android/settings/accounts/
AccountPreferenceBase.java 31 import android.os.UserHandle;
58 protected UserHandle mUserHandle;
77 public void onAccountsUpdate(UserHandle userHandle) {
  /packages/apps/Settings/src/com/android/settings/applications/
AppInfoBase.java 34 import android.os.UserHandle;
131 mUserId = UserHandle.myUserId();
224 new UserHandle(UserHandle.getUserId(uid)));
AppLaunchSettings.java 28 import android.os.UserHandle;
102 PackageManager.MATCH_ALL, UserHandle.myUserId());
142 final int state = mPm.getIntentVerificationStatusAsUser(mPackageName, UserHandle.myUserId());
166 final int userId = UserHandle.myUserId();
  /packages/apps/Settings/src/com/android/settings/users/
UserDialogs.java 27 import android.os.UserHandle;
66 } else if (UserHandle.myUserId() == removingUserId) {
95 packageManager.getApplicationIcon(mdmApplicationInfo), new UserHandle(userId));
100 new UserHandle(userId));
  /packages/apps/Settings/src/com/android/settings/vpn2/
ConfigDialogFragment.java 30 import android.os.UserHandle;
156 conn.setAlwaysOnVpnPackageForUser(UserHandle.myUserId(), null,
177 LegacyVpnInfo connected = mService.getLegacyVpnInfo(UserHandle.myUserId());
181 UserHandle.myUserId());
  /cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
ShortcutManagerLauncherCallbackTest.java 28 import android.os.UserHandle;
48 public void onPackageRemoved(String packageName, UserHandle user) {
52 public void onPackageAdded(String packageName, UserHandle user) {
56 public void onPackageChanged(String packageName, UserHandle user) {
60 public void onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing) {
64 public void onPackagesUnavailable(String[] packageNames, UserHandle user,
70 String packageName, List<ShortcutInfo> shortcuts, UserHandle user) {
  /frameworks/base/core/java/android/app/
TaskStackBuilder.java 27 import android.os.UserHandle;
216 public void startActivities(Bundle options, UserHandle userHandle) {
222 mSourceContext.startActivitiesAsUser(getIntents(), options, userHandle);
233 startActivities(options, new UserHandle(UserHandle.myUserId()));
282 UserHandle user) {
  /frameworks/base/services/core/java/com/android/server/camera/
CameraService.java 178 public void onStartUser(int userHandle) {
182 switchUserLocked(userHandle);
188 public void onSwitchUser(int userHandle) {
190 switchUserLocked(userHandle);
213 private void switchUserLocked(int userHandle) {
214 Set<Integer> currentUserHandles = getEnabledUserHandles(userHandle);
215 mLastUser = userHandle;
  /frameworks/base/services/usb/java/com/android/server/usb/
UsbDebuggingManager.java 36 import android.os.UserHandle;
351 private boolean startConfirmationActivity(ComponentName componentName, UserHandle userHandle,
358 mContext.startActivityAsUser(intent, userHandle);
370 private boolean startConfirmationService(ComponentName componentName, UserHandle userHandle,
374 if (mContext.startServiceAsUser(intent, userHandle) != null) {
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
PermissionApps.java 28 import android.os.UserHandle;
153 for (UserHandle user : userManager.getUserProfiles()) {
202 UserHandle userHandle = new UserHandle(
203 UserHandle.getUserId(group.getApp().applicationInfo.uid));
207 userHandle);

Completed in 454 milliseconds

<<11121314151617181920>>