OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MY_USER_ID
(Results
1 - 5
of
5
) sorted by null
/packages/apps/Settings/src/com/android/settings/security/
OwnerInfoPreferenceController.java
39
private static final int
MY_USER_ID
= UserHandle.myUserId();
89
mOwnerInfoPref.setEnabled(!mLockPatternUtils.isLockScreenDisabled(
MY_USER_ID
));
130
return mLockPatternUtils.isOwnerInfoEnabled(
MY_USER_ID
);
135
return mLockPatternUtils.getOwnerInfo(
MY_USER_ID
);
/packages/apps/Settings/src/com/android/settings/enterprise/
EnterprisePrivacyFeatureProviderImpl.java
49
private static final int
MY_USER_ID
= UserHandle.myUserId();
71
for (final UserInfo userInfo : mUm.getProfiles(
MY_USER_ID
)) {
144
return VpnUtils.isAlwaysOnVpnSet(mCm,
MY_USER_ID
);
161
final ComponentName profileOwner = mDpm.getProfileOwnerAsUser(
MY_USER_ID
);
165
return mDpm.getMaximumFailedPasswordsForWipe(profileOwner,
MY_USER_ID
);
187
Settings.Secure.DEFAULT_INPUT_METHOD,
MY_USER_ID
);
192
return mPm.getApplicationInfoAsUser(packageName, 0 /* flags */,
MY_USER_ID
)
202
List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(
MY_USER_ID
));
219
for (final UserInfo userInfo : mUm.getProfiles(
MY_USER_ID
)) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
EnterprisePrivacyFeatureProviderImplTest.java
67
private final int
MY_USER_ID
= UserHandle.myUserId();
68
private final int MANAGED_PROFILE_USER_ID =
MY_USER_ID
+ 1;
92
when(mUserManager.getProfiles(
MY_USER_ID
)).thenReturn(mProfiles);
93
mProfiles.add(new UserInfo(
MY_USER_ID
, "", "", 0 /* flags */));
199
when(mConnectivityManger.getAlwaysOnVpnPackageForUser(
MY_USER_ID
)).thenReturn(null);
202
when(mConnectivityManger.getAlwaysOnVpnPackageForUser(
MY_USER_ID
))
234
when(mDevicePolicyManager.getProfileOwnerAsUser(
MY_USER_ID
)).thenReturn(null);
235
when(mDevicePolicyManager.getMaximumFailedPasswordsForWipe(OWNER,
MY_USER_ID
))
239
when(mDevicePolicyManager.getProfileOwnerAsUser(
MY_USER_ID
)).thenReturn(OWNER);
260
when(mPackageManagerWrapper.getApplicationInfoAsUser(IME_PACKAGE_ID, 0,
MY_USER_ID
))
[
all
...]
/packages/apps/Settings/src/com/android/settings/
SecuritySettings.java
143
private static final int
MY_USER_ID
= UserHandle.myUserId();
190
mManagedPasswordProvider = ManagedLockPasswordProvider.get(activity,
MY_USER_ID
);
222
final boolean isMyUser = userId ==
MY_USER_ID
;
276
mManagedPasswordProvider,
MY_USER_ID
);
280
disableIfPasswordQualityManaged(KEY_UNLOCK_SET_OR_CHANGE,
MY_USER_ID
);
282
mProfileChallengeUserId = Utils.getManagedProfileId(mUm,
MY_USER_ID
);
418
if (!mLockPatternUtils.isSecure(
MY_USER_ID
)) {
466
final boolean hasSecurity = mLockPatternUtils.isSecure(
MY_USER_ID
);
537
List<ComponentName> enabledTrustAgents = utils.getEnabledTrustAgents(
MY_USER_ID
);
703
UNIFY_LOCK_CONFIRM_DEVICE_REQUEST, title, true,
MY_USER_ID
)) {
[
all
...]
EncryptionAndCredential.java
59
private static final int
MY_USER_ID
= UserHandle.myUserId();
114
UserManager.DISALLOW_CONFIG_CREDENTIALS,
MY_USER_ID
)) {
Completed in 1189 milliseconds