Home
last modified time | relevance | path

Searched refs:UserManagerCompat (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DWorkModeSwitch.java26 import com.android.launcher3.compat.UserManagerCompat;
60 UserManagerCompat userManager = UserManagerCompat.getInstance(getContext()); in refresh()
101 UserManagerCompat userManager = in doInBackground()
102 UserManagerCompat.getInstance(workModeSwitch.getContext()); in doInBackground()
DAppInfoComparator.java23 import com.android.launcher3.compat.UserManagerCompat;
33 private final UserManagerCompat mUserManager;
38 mUserManager = UserManagerCompat.getInstance(context); in AppInfoComparator()
DDiscoveryBounce.java38 import com.android.launcher3.compat.UserManagerCompat;
151 || UserManagerCompat.getInstance(launcher).isDemoUser() in showForHomeIfNeeded()
176 || UserManagerCompat.getInstance(launcher).isDemoUser() in showForOverviewIfNeeded()
220 && UserManagerCompat.getInstance(launcher).hasWorkProfile(); in shouldShowForWorkProfile()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DUserManagerCompat.java26 public abstract class UserManagerCompat { class
27 protected UserManagerCompat() { in UserManagerCompat() method in UserManagerCompat
31 private static UserManagerCompat sInstance;
33 public static UserManagerCompat getInstance(Context context) { in getInstance()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java45 import com.android.launcher3.compat.UserManagerCompat;
68 private final UserManagerCompat mUserManager;
80 mUserManager = UserManagerCompat.getInstance(mContext); in IconCache()
/packages/apps/Dialer/java/com/android/dialer/strictmode/
DStrictModeUtils.java26 import android.support.v4.os.UserManagerCompat;
107 if (UserManagerCompat.isUserUnlocked(application)) { in warmupSharedPrefs()
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/
DConcreteCreator.java23 import android.support.v4.os.UserManagerCompat;
65 if (!UserManagerCompat.isUserUnlocked(context)) { in createNewAssistedDialingMediator()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskUtils.java27 import com.android.launcher3.compat.UserManagerCompat;
82 List<UserHandle> allUsers = UserManagerCompat.getInstance(context).getUserProfiles(); in checkCurrentOrManagedUserId()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockedNumbersAutoMigrator.java24 import android.support.v4.os.UserManagerCompat;
105 if (!UserManagerCompat.isUserUnlocked(appContext)) { in doInBackground()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DPeriodicJobService.java30 import android.support.v4.os.UserManagerCompat;
60 if (VERSION.SDK_INT >= VERSION_CODES.N_MR1 && UserManagerCompat.isUserUnlocked(context)) { in schedulePeriodicJob()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java60 import com.android.launcher3.compat.UserManagerCompat;
554 UserManagerCompat um = UserManagerCompat.getInstance(getContext()); in getDefaultLayoutParser()
648 return UserManagerCompat.getInstance(mContext).getSerialNumberForUser(user); in getSerialNumberForUser()
679 UserManagerCompat um = UserManagerCompat.getInstance(mContext); in handleOneTimeDataUpgrade()
DInstallShortcutReceiver.java46 import com.android.launcher3.compat.UserManagerCompat;
424 .key(USER_HANDLE_KEY).value(UserManagerCompat.getInstance(mContext) in encodeToString()
434 .key(USER_HANDLE_KEY).value(UserManagerCompat.getInstance(mContext) in encodeToString()
462 UserManagerCompat.getInstance(mContext).getSerialNumberForUser(user)) in encodeToString()
596 user = has(USER_HANDLE_KEY) ? UserManagerCompat.getInstance(context) in Decoder()
DAppInfo.java28 import com.android.launcher3.compat.UserManagerCompat;
68 this(info, user, UserManagerCompat.getInstance(context).isQuietModeEnabled(user)); in AppInfo()
DAppWidgetsRestoredReceiver.java14 import com.android.launcher3.compat.UserManagerCompat;
85 long mainProfileId = UserManagerCompat.getInstance(context) in restoreAppWidgetIds()
DLauncherAppState.java32 import com.android.launcher3.compat.UserManagerCompat;
101 UserManagerCompat.getInstance(mContext).enableAndResetCache(); in LauncherAppState()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DContentWriter.java28 import com.android.launcher3.compat.UserManagerCompat;
89 return put(key, UserManagerCompat.getInstance(mContext).getSerialNumberForUser(user)); in put()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DVideoChargesAlertDialogFragment.java28 import android.support.v4.os.UserManagerCompat;
74 if (!UserManagerCompat.isUserUnlocked(context)) { in shouldShow()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridBackupTable.java32 import com.android.launcher3.compat.UserManagerCompat;
97 long userSerial = UserManagerCompat.getInstance(mContext).getSerialNumberForUser( in copyTable()
DUserLockStateChangedTask.java28 import com.android.launcher3.compat.UserManagerCompat;
54 boolean isUserUnlocked = UserManagerCompat.getInstance(context).isUserUnlocked(mUser); in execute()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DLegacyVoicemailNotificationReceiver.java28 import android.support.v4.os.UserManagerCompat;
104 && UserManagerCompat.isUserUnlocked(context) in onReceive()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DTouchInteractionService.java36 import com.android.launcher3.compat.UserManagerCompat;
147 if (UserManagerCompat.getInstance(this).isUserUnlocked(Process.myUserHandle())) { in onCreate()
/packages/apps/Dialer/java/com/android/incallui/telecomeventui/
DInternationalCallOnWifiDialogFragment.java27 import android.support.v4.os.UserManagerCompat;
53 if (!UserManagerCompat.isUserUnlocked(context)) { in shouldShow()
/packages/apps/Dialer/java/com/android/dialer/persistentlog/
DPersistentLogger.java26 import android.support.v4.os.UserManagerCompat;
84 if (!UserManagerCompat.isUserUnlocked(context)) { in initialize()
/packages/apps/Dialer/java/com/android/dialer/calllog/
DClearMissedCalls.java24 import android.support.v4.os.UserManagerCompat;
127 if (!UserManagerCompat.isUserUnlocked(appContext)) {
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DLocationHelper.java26 import android.support.v4.os.UserManagerCompat;
89 if (!UserManagerCompat.isUserUnlocked(context)) { in canGetLocation()

12