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

1 2 3 4 56 7 8 91011>>

  /frameworks/base/services/core/java/com/android/server/firewall/
SenderPackageFilter.java 25 import android.os.UserHandle;
51 UserHandle.USER_SYSTEM);
60 return UserHandle.isSameApp(packageUid, callerUid);
  /frameworks/base/services/core/java/com/android/server/pm/
BasePermission.java 21 import android.os.UserHandle;
52 * {@link UserHandle} the granted app is running as.
79 userGids[i] = UserHandle.getUid(userId, gids[i]);
  /frameworks/base/services/tests/servicestests/src/com/android/server/am/
TaskPersisterTest.java 21 import android.os.UserHandle;
55 int taskId = (int) (Math.random() * UserHandle.PER_USER_RANGE);
56 taskId += UserHandle.PER_USER_RANGE * userId;
  /packages/apps/Dialer/src/com/android/dialer/compat/
UserManagerCompat.java 20 import android.os.UserHandle;
31 * {@link UserHandle}.
49 // Adapted from {@link UserManager} and {@link UserHandle}.
  /packages/apps/Settings/src/com/android/settings/accounts/
AccountSettings.java 39 import android.os.UserHandle;
81 * An extra {@link UserHandle} can be specified in the intent as {@link EXTRA_USER}, if the user for
161 final UserHandle currentProfile = Process.myUserHandle();
172 final UserHandle managedProfile = mProfiles.valueAt(1).userInfo.getUserHandle();
207 public void onAccountsUpdate(UserHandle userHandle) {
208 final ProfileData profileData = mProfiles.get(userHandle.getIdentifier());
212 Log.w(TAG, "Missing Settings screen for: " + userHandle.getIdentifier());
267 UserInfo userInfo = mUm.getUserInfo(UserHandle.myUserId());
270 List<UserInfo> profiles = mUm.getProfiles(UserHandle.myUserId())
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
DefaultPhonePreference.java 20 import android.os.UserHandle;
92 DefaultDialerManager.getInstalledDialerApplications(context, UserHandle.myUserId());
98 UserHandle.myUserId());
  /packages/apps/Settings/src/com/android/settings/dashboard/conditional/
WorkModeCondition.java 23 import android.os.UserHandle;
34 private UserHandle mUserHandle;
42 List<UserInfo> profiles = mUm.getProfiles(UserHandle.myUserId());
  /packages/apps/Settings/src/com/android/settings/users/
RestrictionUtils.java 23 import android.os.UserHandle;
59 public static ArrayList<RestrictionEntry> getRestrictions(Context context, UserHandle user) {
79 UserHandle user) {
  /packages/apps/Settings/src/com/android/settings/utils/
ProfileSettingsPreferenceFragment.java 22 import android.os.UserHandle;
50 UserHandle selectedUser = profileSpinnerAdapter.getUserHandle(position);
51 if (selectedUser.getIdentifier() != UserHandle.myUserId()) {
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
RestrictionUtils.java 23 import android.os.UserHandle;
50 public static ArrayList<RestrictionEntry> getRestrictions(Context context, UserHandle user) {
70 UserHandle user) {
UserSwitchListenerService.java 30 import android.os.UserHandle;
58 "boot completed, user is " + UserHandle.myUserId()
62 if (UserHandle.myUserId() != bootUserId) {
96 return prefs.getInt(ON_BOOT_USER_ID_PREFERENCE, UserHandle.USER_SYSTEM);
  /packages/services/Telephony/src/com/android/phone/
RestrictedSwitchPreference.java 20 import android.os.UserHandle;
71 UserHandle user = UserHandle.of(um.getUserHandle());
  /frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
AccountManagerServiceTest.java 40 import android.os.UserHandle;
73 SQLiteDatabase.deleteDatabase(new File(mAms.getCeDatabaseName(UserHandle.USER_SYSTEM)));
74 SQLiteDatabase.deleteDatabase(new File(mAms.getDeDatabaseName(UserHandle.USER_SYSTEM)));
75 SQLiteDatabase.deleteDatabase(new File(mAms.getPreNDatabaseName(UserHandle.USER_SYSTEM)));
227 Account[] accounts = ams2.getAccounts(UserHandle.USER_SYSTEM, mContext.getOpPackageName());
232 String ceDatabaseName = mAms.getCeDatabaseName(UserHandle.USER_SYSTEM);
237 ams2.onUserUnlocked(newIntentForUser(UserHandle.USER_SYSTEM));
240 accounts = ams2.getAccounts(UserHandle.USER_SYSTEM, mContext.getOpPackageName());
246 String preNDatabaseName = mAms.getPreNDatabaseName(UserHandle.USER_SYSTEM);
267 String deDatabaseName = mAms.getDeDatabaseName(UserHandle.USER_SYSTEM)
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgePackageManager.java 53 import android.os.UserHandle;
109 public int getPackageUidAsUser(String packageName, int userHandle) throws NameNotFoundException {
114 public int getPackageUidAsUser(String packageName, int flags, int userHandle) throws NameNotFoundException {
221 public void grantRuntimePermission(String packageName, String permissionName, UserHandle user) {
226 UserHandle user) {
230 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) {
236 int flagValues, UserHandle user) {
499 public Drawable getUserBadgedIcon(Drawable icon, UserHandle user) {
504 public Drawable getUserBadgedDrawableForDensity(Drawable drawable, UserHandle user,
510 public Drawable getUserBadgeForDensity(UserHandle user, int density)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DevicePolicyManagerTest.java 32 import android.os.UserHandle;
128 final Map<Pair<String, UserHandle>, Bundle> appRestrictions = new HashMap<>();
136 UserHandle user = (UserHandle) invocation.getArguments()[2];
143 anyString(), any(Bundle.class), any(UserHandle.class));
150 UserHandle user = (UserHandle) invocation.getArguments()[1];
155 anyString(), any(UserHandle.class));
312 final int ANOTHER_ADMIN_UID = UserHandle.getUid(ANOTHER_USER_ID, 20456);
538 dpm.setActiveAdmin(admin2, /* refreshing= */ true, UserHandle.USER_SYSTEM)
2124 Settings.Secure.getUriFor(Settings.Secure.USER_SETUP_COMPLETE), userhandle); local
    [all...]
  /frameworks/base/core/java/android/hardware/fingerprint/
IFingerprintServiceLockoutResetCallback.aidl 20 import android.os.UserHandle;
  /frameworks/base/core/java/android/service/trust/
ITrustAgentServiceCallback.aidl 20 import android.os.UserHandle;
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
RestrictedLockUtils.java 28 import android.os.UserHandle;
67 * {@link UserHandle#USER_NULL}.
78 UserHandle.of(userId));
106 return um.hasBaseUserRestriction(userRestriction, UserHandle.of(userId));
117 * {@link UserHandle#USER_NULL}.
275 UserHandle userHandle = UserHandle.of(userId);
276 if (dpm.getCrossProfileContactsSearchDisabled(userHandle)
277 && dpm.getCrossProfileCallerIdDisabled(userHandle)) {
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
UserGridView.java 20 import android.os.UserHandle;
40 private int mPendingUserId = UserHandle.USER_NULL;
55 mPendingUserId = UserHandle.USER_NULL;
107 mPendingUserId = UserHandle.USER_NULL;
  /frameworks/base/services/core/java/com/android/server/location/
LocationBlacklist.java 23 import android.os.UserHandle;
53 private int mCurrentUserId = UserHandle.USER_SYSTEM;
62 BLACKLIST_CONFIG_NAME), false, this, UserHandle.USER_ALL);
64 // WHITELIST_CONFIG_NAME), false, this, UserHandle.USER_ALL);
  /frameworks/base/test-runner/src/android/test/mock/
MockContext.java 43 import android.os.UserHandle;
396 public void sendBroadcastAsUser(Intent intent, UserHandle user) {
401 public void sendBroadcastAsUser(Intent intent, UserHandle user,
408 public void sendBroadcastAsUser(Intent intent, UserHandle user,
414 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user,
422 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user,
430 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user,
454 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user) {
460 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user, Bundle options) {
466 UserHandle user, BroadcastReceiver resultReceiver
    [all...]
  /frameworks/base/services/backup/java/com/android/server/backup/
Trampoline.java 32 import android.os.UserHandle;
67 if (whichUser == UserHandle.USER_SYSTEM) {
84 public void setBackupServiceActive(final int userHandle, boolean makeActive) {
97 if (userHandle == UserHandle.USER_SYSTEM) {
99 if (makeActive != isBackupServiceActive(userHandle)) {
101 + (makeActive ? "" : "in") + "active in user " + userHandle);
121 * @param userHandle The user in which the activity state of backup service is queried.
124 public boolean isBackupServiceActive(final int userHandle) {
126 if (userHandle == UserHandle.USER_SYSTEM)
    [all...]
  /frameworks/base/services/core/java/com/android/server/
LockSettingsService.java 56 import android.os.UserHandle;
182 public void onUnlockUser(int userHandle) {
183 mLockSettingsService.onUnlockUser(userHandle);
187 public void onCleanupUser(int userHandle) {
188 mLockSettingsService.onCleanupUser(userHandle);
274 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, filter, null, null);
303 UserHandle userHandle = user.getUserHandle();
305 if (isSecure && !mUserManager.isUserUnlockingOrUnlocked(userHandle)) {
314 !mUserManager.isQuietModeEnabled(userHandle)) {
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
ConfigureNotificationSettings.java 26 import android.os.UserHandle;
78 UserManager.get(mContext), UserHandle.myUserId());
84 mSecure = utils.isSecure(UserHandle.myUserId());
85 mSecureProfile = (mProfileChallengeUserId != UserHandle.USER_NULL)
93 if (mProfileChallengeUserId != UserHandle.USER_NULL) {
282 mContext, keyguardNotificationFeatures, UserHandle.myUserId());
288 if (mProfileChallengeUserId != UserHandle.USER_NULL) {
304 final boolean enabled = getLockscreenNotificationsEnabled(UserHandle.myUserId());
306 || getLockscreenAllowPrivateNotifications(UserHandle.myUserId());
314 if (mProfileChallengeUserId == UserHandle.USER_NULL)
    [all...]
  /development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
PackageShortcutActivity.java 24 import android.os.UserHandle;
33 ComponentName targetActivity, UserHandle user, CharSequence title) {

Completed in 2283 milliseconds

1 2 3 4 56 7 8 91011>>