/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | UserManagerCompat.java | 25 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()
|
D | UserManagerCompatV16.java | 22 public class UserManagerCompatV16 extends UserManagerCompat {
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ManagedProfileHeuristic.java | 40 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()
|
D | ComponentKey.java | 22 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/ |
D | UserManagerCompatTest.java | 29 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/ |
D | ContactsPreferencesFactoryTest.java | 19 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/ |
D | AbstractUserComparator.java | 22 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/ |
D | AppInfo.java | 27 import com.android.launcher3.compat.UserManagerCompat; 85 UserManagerCompat.getInstance(context).isQuietModeEnabled(user)); in AppInfo() 158 long serialNumber = UserManagerCompat.getInstance(context).getSerialNumberForUser(user); in makeLaunchIntent()
|
D | ItemInfo.java | 25 import com.android.launcher3.compat.UserManagerCompat; 168 long serialNumber = UserManagerCompat.getInstance(context).getSerialNumberForUser(user); in onAddToDatabase()
|
D | LauncherAppState.java | 28 import com.android.launcher3.compat.UserManagerCompat; 107 UserManagerCompat.getInstance(sContext).enableAndResetCache(); in LauncherAppState()
|
D | LauncherProvider.java | 55 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()
|
D | ShortcutInfo.java | 29 import com.android.launcher3.compat.UserManagerCompat; 294 shortcut.contentDescription = UserManagerCompat.getInstance(context) in fromActivityInfo()
|
D | InstallShortcutReceiver.java | 35 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()
|
D | LauncherBackupHelper.java | 55 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()
|
D | WidgetPreviewLoader.java | 32 import com.android.launcher3.compat.UserManagerCompat; 67 private final UserManagerCompat mUserManager; 79 mUserManager = UserManagerCompat.getInstance(context); in WidgetPreviewLoader()
|
D | IconCache.java | 47 import com.android.launcher3.compat.UserManagerCompat; 92 @Thunk final UserManagerCompat mUserManager; 118 mUserManager = UserManagerCompat.getInstance(mContext); in IconCache()
|
D | LauncherModel.java | 54 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/ |
D | ContactsPreferencesFactory.java | 21 import com.android.dialer.compat.UserManagerCompat; 45 if (UserManagerCompat.isUserUnlocked(context)) { in newContactsPreferences()
|
D | AnswerPresenter.java | 21 import com.android.dialer.compat.UserManagerCompat; 284 boolean withSms = UserManagerCompat.isUserUnlocked(getUi().getContext()) in configureAnswerTargetsForSms()
|
D | CallButtonPresenter.java | 40 import com.android.dialer.compat.UserManagerCompat; 384 && UserManagerCompat.isUserUnlocked(ui.getContext()); in updateButtonsState()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | MissedCallNotifier.java | 36 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/ |
D | DialerSettingsActivity.java | 36 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/ |
D | UserManagerSdkCompat.java | 36 return android.support.v4.os.UserManagerCompat.isUserUnlocked(context); in isUserUnlocked()
|
/packages/apps/Dialer/src/com/android/dialer/compat/ |
D | FilteredNumberCompat.java | 347 return UserManagerCompat.isSystemUser( 366 return UserManagerCompat.isSystemUser(
|
D | UserManagerCompat.java | 28 public class UserManagerCompat { class
|