/packages/apps/Settings/src/com/android/settings/ |
D | ChooseLockGeneric.java | 122 private int mUserId; field in ChooseLockGeneric.ChooseLockGenericFragment 180 mUserId = Utils.getUserIdFromBundle(getContext(), arguments != null ? arguments in onCreate() 183 mUserId = targetUser; in onCreate() 188 && Utils.isManagedProfile(UserManager.get(getActivity()), mUserId) in onCreate() 189 && mLockPatternUtils.isSeparateProfileChallengeEnabled(mUserId)) { in onCreate() 193 mManagedPasswordProvider = ManagedLockPasswordProvider.get(getActivity(), mUserId); in onCreate() 199 mUserId), false); in onCreate() 205 .isManagedProfile(UserManager.get(getActivity()), mUserId) in onCreate() 206 && !mLockPatternUtils.isSeparateProfileChallengeEnabled(mUserId); in onCreate() 209 getString(R.string.unlock_set_unlock_launch_picker_title), true, mUserId)) { in onCreate() [all …]
|
D | MonitoringCertInfoActivity.java | 40 private int mUserId; field in MonitoringCertInfoActivity 46 mUserId = getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in onCreate() 51 final int titleId = RestrictedLockUtils.getProfileOrDeviceOwner(this, mUserId) != null in onCreate() 65 if (dpm.getProfileOwnerAsUser(mUserId) != null) { in onCreate() 67 numberOfCertificates, dpm.getProfileOwnerNameAsUser(mUserId))); in onCreate() 85 intent.putExtra(TrustedCredentialsSettings.ARG_SHOW_NEW_FOR_USER, mUserId); in onClick()
|
D | ChooseLockPassword.java | 188 private int mUserId; field in ChooseLockPassword.ChooseLockPasswordFragment 242 mUserId = Utils.getUserIdFromBundle(getActivity(), intent.getExtras()); in onCreate() 245 mUserId)); in onCreate() 249 mLockPatternUtils.getRequestedMinimumPasswordLength(mUserId)); in onCreate() 253 mUserId)); in onCreate() 256 mUserId)); in onCreate() 259 mUserId)); in onCreate() 262 mUserId)); in onCreate() 265 mUserId)); in onCreate() 268 mUserId)); in onCreate() [all …]
|
D | OwnerInfoSettings.java | 39 private int mUserId; field in OwnerInfoSettings 46 mUserId = UserHandle.myUserId(); in onCreate() 63 String info = mLockPatternUtils.getOwnerInfo(mUserId); in initView() 75 mLockPatternUtils.setOwnerInfoEnabled(!TextUtils.isEmpty(info), mUserId); in onClick() 76 mLockPatternUtils.setOwnerInfo(info, mUserId); in onClick()
|
D | SaveChosenLockWorkerBase.java | 42 protected int mUserId; field in SaveChosenLockWorkerBase 66 mUserId = userId; in prepare() 71 mWasSecureBefore = mUtils.isSecure(mUserId); in prepare() 76 if (context == null || UserManager.get(context).getUserInfo(mUserId).isPrimary()) { in prepare()
|
D | ChooseLockPattern.java | 359 private int mUserId; field in ChooseLockPattern.ChooseLockPatternFragment 374 mUserId = Utils.getUserIdFromBundle(getActivity(), intent.getExtras()); in onCreate() 386 false, 0, LockPatternUtils.stringToPattern(current), current, mUserId); in onCreate() local 438 mUserId); in onViewCreated() 483 return RedactionInterstitial.createStartIntent(context, mUserId); in getRedactionInterstitialIntent() 669 mHasChallenge, mChallenge, mChosenPattern, mCurrentPattern, mUserId); in startSaveAndFinish() local 700 mUserId = userId; in start() 702 mLockVirgin = !mUtils.isPatternEverChosen(mUserId); in start() 710 final int userId = mUserId; in saveAndVerifyInBackground() 735 mUtils.setVisiblePatternEnabled(true, mUserId); in finish()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserPreference.java | 60 private int mUserId = USERID_UNKNOWN; field in UserPreference 77 mUserId = userId; in UserPreference() 133 if (mUserId == UserHandle.myUserId()) return Integer.MIN_VALUE; in getSerialNumber() 136 if (mUserId == USERID_UNKNOWN) { in getSerialNumber() 138 } else if (mUserId == USERID_GUEST_DEFAULTS) { in getSerialNumber() 142 .getUserSerialNumber(mUserId); in getSerialNumber() 143 if (mSerialNumber < 0) return mUserId; in getSerialNumber() 149 return mUserId; in getUserId()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningState.java | 150 Log.i(TAG, " UserId " + lhs.mUserId + " with " + rhs.mUserId); 152 if (lhs.mUserId != rhs.mUserId) { 153 if (lhs.mUserId == mMyUserId) return -1; 154 if (rhs.mUserId == mMyUserId) return 1; 155 return lhs.mUserId < rhs.mUserId ? -1 : 1; 341 final int mUserId; field in RunningState.BaseItem 359 mUserId = userId; in BaseItem() 365 Drawable icon = state.mPm.getUserBadgedIcon(unbadgedIcon, new UserHandle(mUserId)); in loadIcon() 500 si = new ServiceItem(mUserId); in updateService() 729 if (object1.mUserId != object2.mUserId) { in compare() [all …]
|
D | AppInfoBase.java | 65 protected int mUserId; field in AppInfoBase 100 UserManager.DISALLOW_APPS_CONTROL, mUserId); in onResume() 102 UserManager.DISALLOW_APPS_CONTROL, mUserId); in onResume() 131 mUserId = UserHandle.myUserId(); in retrieveAppEntry() 132 mAppEntry = mState.getEntry(mPackageName, mUserId); in retrieveAppEntry()
|
D | DefaultBrowserPreference.java | 77 packageName.toString(), mUserId); in persistString() 95 String packageName = pm.getDefaultBrowserPackageNameAsUser(mUserId); in updateDefaultBrowserPreference() 104 ResolveInfo info = mPm.resolveActivityAsUser(intent, 0, mUserId); in updateDefaultBrowserPreference() 128 mUserId); in resolveBrowserApps()
|
D | DefaultPhonePreference.java | 46 DefaultDialerManager.setDefaultDialerApplication(getContext(), value, mUserId); in persistString() local 54 DefaultDialerManager.getInstalledDialerApplications(getContext(), mUserId); in loadDialerApps() 64 return DefaultDialerManager.getDefaultDialerApplication(getContext(), mUserId); in getDefaultPackage()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RedactionInterstitial.java | 86 private int mUserId; field in RedactionInterstitial.RedactionInterstitialFragment 108 mUserId = Utils.getUserIdFromBundle( in onViewCreated() 110 if (Utils.isManagedProfile(UserManager.get(getContext()), mUserId)) { in onViewCreated() 137 getActivity(), keyguardNotifications, mUserId); in checkNotificationFeaturesAndSetDisabled() 143 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 0, mUserId) != 0; in loadFromSettings() 145 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, mUserId) != 0; in loadFromSettings() 165 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, show ? 1 : 0, mUserId); in onCheckedChanged() 167 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, enabled ? 1 : 0, mUserId); in onCheckedChanged()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DisableInstallShortcutListenersTask.java | 39 private final int mUserId; field in DisableInstallShortcutListenersTask 44 mUserId = userId; in DisableInstallShortcutListenersTask() 52 mUserId); in run() 63 List<ResolveInfo> receivers = mPm.queryBroadcastReceiversAsUser(intent, 0, mUserId); in disableReceivers() 75 mUtils.disableComponent(new ComponentName(ci.packageName, ci.name), mUserId); in disableReceivers()
|
D | SetDevicePolicyTask.java | 41 private final int mUserId; field in SetDevicePolicyTask 56 mUserId = userId; in SetDevicePolicyTask() 98 mDevicePolicyManager.setActiveAdmin(component, true, mUserId); in setActiveAdmin() 104 return mDevicePolicyManager.setDeviceOwner(component, owner, mUserId); in setDeviceOwner()
|
D | DisableBluetoothSharingTask.java | 28 private final int mUserId; field in DisableBluetoothSharingTask 33 mUserId = userId; in DisableBluetoothSharingTask() 39 "com.android.bluetooth.opp.BluetoothOppLauncherActivity"), mUserId); in run()
|
D | ManagedProfileSettingsTask.java | 27 private final int mUserId; field in ManagedProfileSettingsTask 32 mUserId = userId; in ManagedProfileSettingsTask() 38 1, mUserId); in run()
|
D | DeleteNonRequiredAppsTask.java | 89 private final int mUserId; field in DeleteNonRequiredAppsTask 123 mUserId = userId; in DeleteNonRequiredAppsTask() 182 ProvisionLogger.logd("Deleting package [" + packageName + "] as user " + mUserId); in run() 184 PackageManager.DELETE_SYSTEM_APP, mUserId); in run() 205 File systemAppsFile = getSystemAppsFile(mContext, mUserId); in getNewSystemApps() 208 Set<String> currentSystemApps = mUtils.getCurrentSystemApps(mIPackageManager, mUserId); in getNewSystemApps() 237 mUserId); in removeNonInstalledPackages() 269 mUserId); in getCurrentAppsWithLauncher()
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
D | FingerprintUiHelper.java | 37 private int mUserId; field in FingerprintUiHelper 48 mUserId = userId; in FingerprintUiHelper() 53 && mFingerprintManager.getEnrolledFingerprints(mUserId).size() > 0) { in startListening() 55 mFingerprintManager.setActiveUser(mUserId); in startListening() 57 null, mCancellationSignal, 0 /* flags */, this, null, mUserId); in startListening()
|
D | FingerprintEnrollSidecar.java | 45 private int mUserId; field in FingerprintEnrollSidecar 60 mUserId = activity.getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.USER_NULL); in onAttach() 83 if (mUserId != UserHandle.USER_NULL) { in startEnrollment() 84 mFingerprintManager.setActiveUser(mUserId); in startEnrollment() 87 0 /* flags */, mUserId, mEnrollmentCallback); in startEnrollment()
|
D | FingerprintSettings.java | 164 private int mUserId; field in FingerprintSettings.FingerprintSettingsFragment 272 mAuthCallback, null, mUserId); in retryFingerprint() 290 mUserId = getActivity().getIntent().getIntExtra( in onCreate() 310 getActivity(), DevicePolicyManager.KEYGUARD_DISABLE_FINGERPRINT, mUserId); in onViewCreated() 351 final List<Fingerprint> items = mFingerprintManager.getEnrolledFingerprints(mUserId); in addFingerprintItemPreferences() 376 boolean tooMany = mFingerprintManager.getEnrolledFingerprints(mUserId).size() >= max; in updateAddPreference() 421 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in onPreferenceTreeClick() 533 null, null, challenge, mUserId)) { in launchChooseOrConfirmLock() 540 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchChooseOrConfirmLock() 542 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchChooseOrConfirmLock() [all …]
|
D | FingerprintEnrollBase.java | 46 protected int mUserId; field in FingerprintEnrollBase 58 mUserId = getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in onCreate() 132 if (mUserId != UserHandle.USER_NULL) { in getEnrollingIntent() 133 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in getEnrollingIntent()
|
D | FingerprintEnrollIntroduction.java | 84 .getActivePasswordQuality(mUserManager.getCredentialOwnerProfile(mUserId)); in updatePasswordQuality() 108 if (mUserId != UserHandle.USER_NULL) { in launchChooseLock() 109 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchChooseLock() 119 if (mUserId != UserHandle.USER_NULL) { in launchFindSensor() 120 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchFindSensor()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | AppManagementFragment.java | 65 private final int mUserId = UserHandle.myUserId(); field in AppManagementFragment 187 if (mUserId == UserHandle.USER_SYSTEM) { in setAlwaysOnVpnByUI() 190 final boolean success = mConnectivityManager.setAlwaysOnVpnPackageForUser(mUserId, in setAlwaysOnVpnByUI() 223 mUserId); in updateRestrictedViews() 225 mUserId); in updateRestrictedViews() 234 return mConnectivityManager.getAlwaysOnVpnPackageForUser(mUserId); in getAlwaysOnVpnPackage() 282 if (mUserId == UserHandle.USER_SYSTEM) { in isLegacyVpnLockDownOrAnotherPackageAlwaysOn()
|
D | ManageablePreference.java | 38 int mUserId; field in ManageablePreference 48 return mUserId; in getUserId() 52 mUserId = userId; in setUserId()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/ |
D | EncryptionController.java | 58 private final int mUserId; field in EncryptionController 94 mUserId = userId; in EncryptionController() 113 mUtils.enableComponent(mHomeReceiver, mUserId); in setEncryptionReminder() 116 mPackageManager.flushPackageRestrictionsAsUser(mUserId); in setEncryptionReminder() 126 mUtils.disableComponent(mHomeReceiver, mUserId); in cancelEncryptionReminder()
|