/frameworks/base/core/java/android/os/ |
UserHandle.aidl | 19 parcelable UserHandle;
|
UserHandle.java | 28 public final class UserHandle implements Parcelable { 38 public static final UserHandle ALL = new UserHandle(USER_ALL); 44 public static final UserHandle CURRENT = new UserHandle(USER_CURRENT); 54 public static final UserHandle CURRENT_OR_SELF = new UserHandle(USER_CURRENT_OR_SELF); 63 public static final UserHandle OWNER = new UserHandle(USER_OWNER); 73 private static final SparseArray<UserHandle> userHandles = new SparseArray<UserHandle>() [all...] |
/frameworks/base/core/java/android/content/pm/ |
IOnAppsChangedListener.aidl | 19 import android.os.UserHandle; 25 void onPackageRemoved(in UserHandle user, String packageName); 26 void onPackageAdded(in UserHandle user, String packageName); 27 void onPackageChanged(in UserHandle user, String packageName); 28 void onPackagesAvailable(in UserHandle user, in String[] packageNames, boolean replacing); 29 void onPackagesUnavailable(in UserHandle user, in String[] packageNames, boolean replacing);
|
ILauncherApps.aidl | 25 import android.os.UserHandle; 34 List<ResolveInfo> getLauncherActivities(String packageName, in UserHandle user); 35 ResolveInfo resolveActivity(in Intent intent, in UserHandle user); 37 in Bundle opts, in UserHandle user); 39 in Bundle opts, in UserHandle user); 40 boolean isPackageEnabled(String packageName, in UserHandle user); 41 boolean isActivityEnabled(in ComponentName component, in UserHandle user);
|
/frameworks/base/media/java/android/media/ |
IRingtonePlayer.aidl | 21 import android.os.UserHandle; 33 void playAsync(in Uri uri, in UserHandle user, boolean looping, in AudioAttributes aa);
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
SingleUserReceiver.java | 24 import android.os.UserHandle; 30 res.putInt("user", UserHandle.myUserId());
|
ServiceUserTarget.java | 23 import android.os.UserHandle; 33 "Service created as user " + UserHandle.myUserId(),
|
SingleUserService.java | 23 import android.os.UserHandle; 33 "Service created as user " + UserHandle.myUserId(),
|
UserTarget.java | 24 import android.os.UserHandle; 32 res.putInt("user", UserHandle.myUserId());
|
/packages/apps/Settings/src/com/android/settings/ |
BrightnessPreference.java | 21 import android.os.UserHandle; 34 UserHandle.CURRENT_OR_SELF);
|
/packages/services/Telephony/src/com/android/phone/ |
PhoneApp.java | 21 import android.os.UserHandle; 37 if (UserHandle.myUserId() == 0) {
|
/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/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...] |
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
UserHandleCompat.java | 21 import android.os.UserHandle; 26 private UserHandle mUser; 28 private UserHandleCompat(UserHandle user) { 43 static UserHandleCompat fromUser(UserHandle user) { 51 UserHandle getUser() { 86 * Adds {@link UserHandle} to the intent in for L or above.
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
ConnectionServiceRepository.java | 21 import android.os.UserHandle; 33 private final HashMap<Pair<ComponentName, UserHandle>, ConnectionServiceWrapper> mServiceCache = 43 ConnectionServiceWrapper getService(ComponentName componentName, UserHandle userHandle) { 44 Pair<ComponentName, UserHandle> cacheKey = Pair.create(componentName, userHandle); 52 userHandle); 77 for (Pair<ComponentName, UserHandle> cacheKey : mServiceCache.keySet()) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
UserStartedState.java | 23 import android.os.UserHandle; 35 public final UserHandle mHandle; 43 public UserStartedState(UserHandle handle, boolean initial) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
LauncherAppsService.java | 38 import android.os.UserHandle; 129 mPackageMonitor.register(mContext, null, UserHandle.ALL, true); 156 private void ensureInUserProfiles(UserHandle userToCheck, String message) { 157 final int callingUserId = UserHandle.getCallingUserId(); 179 private boolean isUserEnabled(UserHandle user) { 190 public List<ResolveInfo> getLauncherActivities(String packageName, UserHandle user) 211 public ResolveInfo resolveActivity(Intent intent, UserHandle user) 228 public boolean isPackageEnabled(String packageName, UserHandle user) 246 public boolean isActivityEnabled(ComponentName component, UserHandle user) 265 Bundle opts, UserHandle user) throws RemoteException [all...] |
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/ |
LauncherCallbackTestsService.java | 29 import android.os.UserHandle; 59 private static List<Pair<String, UserHandle>> mPackagesAdded 60 = new ArrayList<Pair<String, UserHandle>>(); 61 private static List<Pair<String, UserHandle>> mPackagesRemoved 62 = new ArrayList<Pair<String, UserHandle>>(); 63 private static List<Pair<String, UserHandle>> mPackagesChanged 64 = new ArrayList<Pair<String, UserHandle>>(); 158 private boolean eventExists(Bundle params, List<Pair<String, UserHandle>> events) { 159 UserHandle user = params.getParcelable(USER_EXTRA); 163 for (Pair<String, UserHandle> added : events) [all...] |
/frameworks/base/core/java/android/service/fingerprint/ |
IFingerprintServiceReceiver.aidl | 19 import android.os.UserHandle;
|
/frameworks/base/core/java/android/service/trust/ |
ITrustAgentServiceCallback.aidl | 20 import android.os.UserHandle;
|
/packages/apps/Nfc/src/com/android/nfc/ |
NfcPermissions.java | 5 import android.os.UserHandle; 22 if (userId != UserHandle.getCallingUserId()) {
|
NfcRootActivity.java | 24 import android.os.UserHandle; 38 startActivityAsUser(launchIntent, UserHandle.CURRENT);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
ProcessTest.java | 21 import android.os.UserHandle; 35 assertEquals(UserHandle.getUid(1, Process.SYSTEM_UID), Process.getUidForName("u1_system")); 36 assertEquals(UserHandle.getUid(2, Process.FIRST_ISOLATED_UID), 38 assertEquals(UserHandle.getUid(3, Process.FIRST_APPLICATION_UID + 100),
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
PreBootListener.java | 26 import android.os.UserHandle; 40 if (context.getUserId() != UserHandle.USER_OWNER) { 50 .shouldDeleteNonRequiredApps(context, UserHandle.USER_OWNER)) { 53 deleteNonRequiredApps(context, dpm.getDeviceOwner(), UserHandle.USER_OWNER, 61 List<UserInfo> profiles = um.getProfiles(UserHandle.USER_OWNER); 67 pm.clearCrossProfileIntentFilters(UserHandle.USER_OWNER); 76 pm, UserHandle.USER_OWNER, userInfo.id);
|
/frameworks/base/telecomm/java/android/telecom/ |
PhoneAccountHandle.java | 24 import android.os.UserHandle; 45 private final UserHandle mUserHandle; 57 UserHandle userHandle) { 60 mUserHandle = userHandle; 92 * @return the {@link UserHandle} to use when connecting to this PhoneAccount. 95 public UserHandle getUserHandle() { 157 UserHandle.CREATOR.createFromParcel(in));
|