Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DUserManagerCompat.java25 public abstract class UserManagerCompat { class
26 protected UserManagerCompat() { in UserManagerCompat() method in UserManagerCompat
30 private static UserManagerCompat sInstance;
32 public static UserManagerCompat getInstance(Context context) { in getInstance()
DUserManagerCompatV16.java22 public class UserManagerCompatV16 extends UserManagerCompat {
/packages/apps/Launcher3/src/com/android/launcher3/util/
DManagedProfileHeuristic.java40 import com.android.launcher3.compat.UserManagerCompat;
96 UserManagerCompat userManager = UserManagerCompat.getInstance(context); in ManagedProfileHeuristic()
309 UserManagerCompat userManager = UserManagerCompat.getInstance(context); in processAllUsers()
337 UserManagerCompat userManager = UserManagerCompat.getInstance(context); in markExistingUsersForNoFolderCreation()
DComponentKey.java22 import com.android.launcher3.compat.UserManagerCompat;
53 user = UserManagerCompat.getInstance(context) in ComponentKey()
69 flattened += "#" + UserManagerCompat.getInstance(context).getSerialNumberForUser(user); in flattenToString()
/packages/apps/Dialer/tests/src/com/android/dialer/compat/
DUserManagerCompatTest.java29 UserManagerCompat.isUserUnlocked(null); in testIsUserUnlocked_N_NullContext()
38 assertTrue(UserManagerCompat.isUserUnlocked(null)); in testIsUserUnlocked_M_NullContext()
42 assertTrue(UserManagerCompat.isUserUnlocked(getContext())); in testIsUserUnlocked()
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
DContactsPreferencesFactoryTest.java19 import com.android.dialer.compat.UserManagerCompat;
31 if (!UserManagerCompat.isUserUnlocked(getContext())) { in testNewContactsPreferences_Unlocked()
38 if (UserManagerCompat.isUserUnlocked(getContext())) { in testNewContactsPreferences_Locked()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DAbstractUserComparator.java22 import com.android.launcher3.compat.UserManagerCompat;
31 private final UserManagerCompat mUserManager;
35 mUserManager = UserManagerCompat.getInstance(context); in AbstractUserComparator()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppInfo.java27 import com.android.launcher3.compat.UserManagerCompat;
85 UserManagerCompat.getInstance(context).isQuietModeEnabled(user)); in AppInfo()
158 long serialNumber = UserManagerCompat.getInstance(context).getSerialNumberForUser(user); in makeLaunchIntent()
DItemInfo.java25 import com.android.launcher3.compat.UserManagerCompat;
168 long serialNumber = UserManagerCompat.getInstance(context).getSerialNumberForUser(user); in onAddToDatabase()
DLauncherAppState.java28 import com.android.launcher3.compat.UserManagerCompat;
107 UserManagerCompat.getInstance(sContext).enableAndResetCache(); in LauncherAppState()
DLauncherProvider.java55 import com.android.launcher3.compat.UserManagerCompat;
595 return UserManagerCompat.getInstance(mContext).getSerialNumberForUser( in getDefaultUserSerial()
808 long userSerial = UserManagerCompat.getInstance(mContext) in convertShortcutsToLauncherActivities()
935 UserManagerCompat userManager = UserManagerCompat.getInstance(mContext); in addProfileColumn()
1197 UserManagerCompat userManager = UserManagerCompat.getInstance(mContext); in migrateLauncher2Shortcuts()
DShortcutInfo.java29 import com.android.launcher3.compat.UserManagerCompat;
294 shortcut.contentDescription = UserManagerCompat.getInstance(context) in fromActivityInfo()
DInstallShortcutReceiver.java35 import com.android.launcher3.compat.UserManagerCompat;
300 .key(USER_HANDLE_KEY).value(UserManagerCompat.getInstance(mContext) in encodeToString()
378 UserHandleCompat user = UserManagerCompat.getInstance(context) in decode()
DLauncherBackupHelper.java55 import com.android.launcher3.compat.UserManagerCompat;
175 UserManagerCompat userManager = UserManagerCompat.getInstance(mContext); in LauncherBackupHelper()
929 UserManagerCompat.getInstance(mContext).getSerialNumberForUser(myUserHandle); in unpackFavorite()
1187 return Favorites.PROFILE_ID + '=' + UserManagerCompat.getInstance(mContext) in getUserSelectionArg()
DWidgetPreviewLoader.java32 import com.android.launcher3.compat.UserManagerCompat;
67 private final UserManagerCompat mUserManager;
79 mUserManager = UserManagerCompat.getInstance(context); in WidgetPreviewLoader()
DIconCache.java47 import com.android.launcher3.compat.UserManagerCompat;
92 @Thunk final UserManagerCompat mUserManager;
118 mUserManager = UserManagerCompat.getInstance(mContext); in IconCache()
DLauncherModel.java54 import com.android.launcher3.compat.UserManagerCompat;
176 @Thunk final UserManagerCompat mUserManager;
242 mUserManager = UserManagerCompat.getInstance(context); in LauncherModel()
1278 UserManagerCompat.getInstance(context).enableAndResetCache(); in onReceive()
3069 flagOp = UserManagerCompat.getInstance(context).isQuietModeEnabled(mUser)
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DContactsPreferencesFactory.java21 import com.android.dialer.compat.UserManagerCompat;
45 if (UserManagerCompat.isUserUnlocked(context)) { in newContactsPreferences()
DAnswerPresenter.java21 import com.android.dialer.compat.UserManagerCompat;
284 boolean withSms = UserManagerCompat.isUserUnlocked(getUi().getContext()) in configureAnswerTargetsForSms()
DCallButtonPresenter.java40 import com.android.dialer.compat.UserManagerCompat;
384 && UserManagerCompat.isUserUnlocked(ui.getContext()); in updateButtonsState()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DMissedCallNotifier.java36 import com.android.dialer.compat.UserManagerCompat;
158 if (UserManagerCompat.isUserUnlocked(mContext) && count == 1) { in updateMissedCallNotification()
187 if (UserManagerCompat.isUserUnlocked(mContext)) { in clearMissedCalls()
/packages/apps/Dialer/src/com/android/dialer/settings/
DDialerSettingsActivity.java36 import com.android.dialer.compat.UserManagerCompat;
174 return UserManagerCompat.isSystemUser((UserManager) getSystemService(Context.USER_SERVICE)); in isPrimaryUser()
/packages/apps/Dialer/src-N/com/android/dialer/compat/
DUserManagerSdkCompat.java36 return android.support.v4.os.UserManagerCompat.isUserUnlocked(context); in isUserUnlocked()
/packages/apps/Dialer/src/com/android/dialer/compat/
DFilteredNumberCompat.java347 return UserManagerCompat.isSystemUser(
366 return UserManagerCompat.isSystemUser(
DUserManagerCompat.java28 public class UserManagerCompat { class

12