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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/os/
IUserManager.aidl 36 int getCredentialOwnerProfile(int userHandle);
39 UserInfo createProfileForUser(in String name, int flags, int userHandle);
41 void setUserEnabled(int userHandle);
42 boolean removeUser(int userHandle);
43 void setUserName(int userHandle, String name);
44 void setUserIcon(int userHandle, in Bitmap icon);
45 ParcelFileDescriptor getUserIcon(int userHandle);
48 List<UserInfo> getProfiles(int userHandle, boolean enabledOnly);
50 boolean canAddMoreManagedProfiles(int userHandle, boolean allowedToRemoveOne);
51 UserInfo getProfileParent(int userHandle);
    [all...]
UserHandle.java 29 public final class UserHandle implements Parcelable {
39 public static final UserHandle ALL = new UserHandle(USER_ALL);
45 public static final UserHandle CURRENT = new UserHandle(USER_CURRENT);
55 public static final UserHandle CURRENT_OR_SELF = new UserHandle(USER_CURRENT_OR_SELF);
62 * @deprecated Consider using either {@link UserHandle#USER_SYSTEM} constant or
69 * @deprecated Consider using either {@link UserHandle#SYSTEM} constant or
72 public static final UserHandle OWNER = new UserHandle(USER_OWNER)
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
MissedCallNotifier.java 19 import android.os.UserHandle;
26 void clearMissedCalls(UserHandle userHandle);
35 UserHandle userHandle);
37 void setCurrentUserHandle(UserHandle userHandle);
UserUtil.java 21 import android.os.UserHandle;
29 private static UserInfo getUserInfoFromUserHandle(Context context, UserHandle userHandle) {
31 return userManager.getUserInfo(userHandle.getIdentifier());
34 public static boolean isManagedProfile(Context context, UserHandle userHandle) {
35 UserInfo userInfo = getUserInfoFromUserHandle(context, userHandle);
39 public static boolean isProfile(Context context, UserHandle userHandle) {
40 UserInfo userInfo = getUserInfoFromUserHandle(context, userHandle);
    [all...]
TelecomBroadcastIntentProcessor.java 21 import android.os.UserHandle;
36 public static final String EXTRA_USERHANDLE = "userhandle";
50 UserHandle userHandle = intent.getParcelableExtra(EXTRA_USERHANDLE);
51 if (userHandle == null) {
62 missedCallNotifier.clearMissedCalls(userHandle);
66 mContext.startActivityAsUser(callIntent, userHandle);
72 missedCallNotifier.clearMissedCalls(userHandle);
77 mContext.startActivityAsUser(callIntent, userHandle);
81 missedCallNotifier.clearMissedCalls(userHandle);
    [all...]
ConnectionServiceRepository.java 21 import android.os.UserHandle;
34 private final HashMap<Pair<ComponentName, UserHandle>, ConnectionServiceWrapper> mServiceCache =
63 public ConnectionServiceWrapper getService(ComponentName componentName, UserHandle userHandle) {
64 Pair<ComponentName, UserHandle> cacheKey = Pair.create(componentName, userHandle);
74 userHandle);
89 for (Pair<ComponentName, UserHandle> cacheKey : mServiceCache.keySet()) {
  /frameworks/base/core/java/android/nfc/
BeamShareData.java 6 import android.os.UserHandle;
18 public final UserHandle userHandle;
21 public BeamShareData(NdefMessage msg, Uri[] uris, UserHandle userHandle, int flags) {
24 this.userHandle = userHandle;
41 dest.writeParcelable(userHandle, 0);
56 UserHandle userHandle = source.readParcelable(UserHandle.class.getClassLoader())
    [all...]
INfcCardEmulation.aidl 29 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category);
30 boolean isDefaultServiceForAid(int userHandle, in ComponentName service, String aid);
31 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category);
32 boolean setDefaultForNextTap(int userHandle, in ComponentName service);
33 boolean registerAidGroupForService(int userHandle, in ComponentName service, in AidGroup aidGroup);
34 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category);
35 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category);
36 List<ApduServiceInfo> getServices(int userHandle, in String category);
INfcFCardEmulation.aidl 27 String getSystemCodeForService(int userHandle, in ComponentName service);
28 boolean registerSystemCodeForService(int userHandle, in ComponentName service, String systemCode);
29 boolean removeSystemCodeForService(int userHandle, in ComponentName service);
30 String getNfcid2ForService(int userHandle, in ComponentName service);
31 boolean setNfcid2ForService(int userHandle, in ComponentName service, String nfcid2);
34 List<NfcFServiceInfo> getNfcFServices(int userHandle);
  /frameworks/base/core/java/android/content/pm/
IOnAppsChangedListener.aidl 20 import android.os.UserHandle;
26 void onPackageRemoved(in UserHandle user, String packageName);
27 void onPackageAdded(in UserHandle user, String packageName);
28 void onPackageChanged(in UserHandle user, String packageName);
29 void onPackagesAvailable(in UserHandle user, in String[] packageNames, boolean replacing);
30 void onPackagesUnavailable(in UserHandle user, in String[] packageNames, boolean replacing);
31 void onPackagesSuspended(in UserHandle user, in String[] packageNames);
32 void onPackagesUnsuspended(in UserHandle user, in String[] packageNames);
33 void onShortcutChanged(in UserHandle user, String packageName, in ParceledListSlice shortcuts);
ILauncherApps.aidl 29 import android.os.UserHandle;
40 ParceledListSlice getLauncherActivities(String packageName, in UserHandle user);
41 ActivityInfo resolveActivity(in ComponentName component, in UserHandle user);
43 in Bundle opts, in UserHandle user);
45 in Bundle opts, in UserHandle user);
46 boolean isPackageEnabled(String packageName, in UserHandle user);
47 boolean isActivityEnabled(in ComponentName component, in UserHandle user);
48 ApplicationInfo getApplicationInfo(String packageName, int flags, in UserHandle user);
51 in List shortcutIds, in ComponentName componentName, int flags, in UserHandle user);
53 in UserHandle user)
    [all...]
  /frameworks/base/core/java/android/app/admin/
IDevicePolicyManager.aidl 31 import android.os.UserHandle;
40 int getPasswordQuality(in ComponentName who, int userHandle, boolean parent);
43 int getPasswordMinimumLength(in ComponentName who, int userHandle, boolean parent);
46 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle, boolean parent);
49 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle, boolean parent);
52 int getPasswordMinimumLetters(in ComponentName who, int userHandle, boolean parent);
55 int getPasswordMinimumNumeric(in ComponentName who, int userHandle, boolean parent);
58 int getPasswordMinimumSymbols(in ComponentName who, int userHandle, boolean parent);
61 int getPasswordMinimumNonLetter(in ComponentName who, int userHandle, boolean parent);
64 int getPasswordHistoryLength(in ComponentName who, int userHandle, boolean parent)
    [all...]
  /frameworks/base/services/appwidget/java/com/android/server/appwidget/
AppWidgetService.java 49 public void onUnlockUser(int userHandle) {
50 mImpl.onUserUnlocked(userHandle);
54 public void onStopUser(int userHandle) {
55 mImpl.onUserStopped(userHandle);
59 public void onSwitchUser(int userHandle) {
60 mImpl.reloadWidgetsMaskedStateForGroup(userHandle);
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DisallowAddUserTask.java 21 import android.os.UserHandle;
42 if (mIsSplitSystemUser && (mDeviceOwnerUserId == UserHandle.USER_SYSTEM)) {
47 UserHandle userHandle = userInfo.getUserHandle();
48 if (!mUserManager.hasUserRestriction(UserManager.DISALLOW_ADD_USER, userHandle)) {
49 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, true, userHandle);
  /packages/apps/Settings/tests/unit/src/com/android/settings/
UtilsTest.java 25 import android.os.UserHandle;
60 UserHandle[] userHandles = new UserHandle[] {
61 new UserHandle(TEST_PRIMARY_USER_ID),
62 new UserHandle(TEST_MANAGED_PROFILE_ID)
65 .thenReturn(new ArrayList<UserHandle>(Arrays.asList(userHandles)));
72 UserHandle[] userHandles = new UserHandle[] {
73 new UserHandle(TEST_PRIMARY_USER_ID)
76 .thenReturn(new ArrayList<UserHandle>(Arrays.asList(userHandles)))
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/ui/
MissedCallNotifierImpl.java 60 import android.os.UserHandle;
138 private UserHandle mCurrentUserHandle;
141 private ConcurrentMap<UserHandle, AtomicInteger> mMissedCallCounts;
168 public void clearMissedCalls(UserHandle userHandle) {
171 if (!shouldManageNotificationThroughDefaultDialer(userHandle)) {
172 markMissedCallsAsRead(userHandle);
174 cancelMissedCallNotification(userHandle);
177 private void markMissedCallsAsRead(final UserHandle userHandle) {
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/components/
UserCallIntentProcessorFactory.java 20 import android.os.UserHandle;
23 UserCallIntentProcessor create(Context context, UserHandle userHandle);
  /frameworks/base/media/java/android/media/projection/
MediaProjectionInfo.java 21 import android.os.UserHandle;
28 private final UserHandle mUserHandle;
30 public MediaProjectionInfo(String packageName, UserHandle handle) {
37 mUserHandle = UserHandle.readFromParcel(in);
44 public UserHandle getUserHandle() {
78 UserHandle.writeToParcel(mUserHandle, out);
  /frameworks/base/services/restrictions/java/com/android/server/restrictions/
RestrictionsManagerService.java 32 import android.os.UserHandle;
77 int userHandle = UserHandle.getCallingUserId();
81 return mDpm.getRestrictionsProvider(userHandle) != null;
98 int userHandle = UserHandle.getUserId(callingUid);
103 mDpm.getRestrictionsProvider(userHandle);
119 mContext.sendBroadcastAsUser(intent, new UserHandle(userHandle));
131 final int userHandle = UserHandle.getCallingUserId()
    [all...]
  /frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DevicePolicyManagerService.java 102 import android.os.UserHandle;
399 public void onStartUser(int userHandle) {
400 mService.onStartUser(userHandle);
449 public DevicePolicyData(int userHandle) {
450 mUserHandle = userHandle;
462 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE,
466 && userHandle == mOwners.getDeviceOwnerUserId()
476 UserHandle.ALL);
482 + action + " for user " + userHandle);
487 handlePasswordExpirationNotification(userHandle);
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
RecentLocationApps.java 28 import android.os.UserHandle;
72 final List<UserHandle> profiles = um.getUserProfiles();
80 int userId = UserHandle.getUserId(uid);
83 if (isAndroidOs || !profiles.contains(new UserHandle(userId))) {
135 int userId = UserHandle.getUserId(uid);
148 final UserHandle userHandle = new UserHandle(userId);
150 Drawable icon = mPackageManager.getUserBadgedIcon(appIcon, userHandle);
152 CharSequence badgedAppLabel = mPackageManager.getUserBadgedLabel(appLabel, userHandle);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
AppInfo.java 20 import android.os.UserHandle;
27 private final UserHandle mUser;
29 public AppInfo(ComponentName componentName, UserHandle user) {
39 public UserHandle getUser() {
  /frameworks/base/services/core/java/com/android/server/
BluetoothService.java 45 public void onSwitchUser(int userHandle) {
46 mBluetoothManagerService.handleOnSwitchUser(userHandle);
50 public void onUnlockUser(int userHandle) {
51 mBluetoothManagerService.handleOnUnlockUser(userHandle);
  /frameworks/base/core/java/com/android/server/backup/
PreferredActivityBackupHelper.java 22 import android.os.UserHandle;
58 return pm.getPreferredActivityBackup(UserHandle.USER_SYSTEM);
60 return pm.getDefaultAppsBackup(UserHandle.USER_SYSTEM);
62 return pm.getIntentFilterVerificationBackup(UserHandle.USER_SYSTEM);
82 pm.restorePreferredActivities(payload, UserHandle.USER_SYSTEM);
85 pm.restoreDefaultApps(payload, UserHandle.USER_SYSTEM);
88 pm.restoreIntentFilterVerification(payload, UserHandle.USER_SYSTEM);
  /packages/apps/Launcher3/src/com/android/launcher3/compat/
UserHandleCompat.java 22 import android.os.UserHandle;
26 private UserHandle mUser;
28 private UserHandleCompat(UserHandle user) {
44 public static UserHandleCompat fromUser(UserHandle user) {
52 public UserHandle getUser() {
87 * Adds {@link UserHandle} to the intent in for L or above.
99 UserHandle user = intent.getParcelableExtra(Intent.EXTRA_USER);

Completed in 869 milliseconds

1 2 3 4 5 6 7 8 91011>>