OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MANAGED_PROFILE_USER_ID
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
LockSettingsServiceTests.java
102
mService.setSeparateProfileChallengeEnabled(
MANAGED_PROFILE_USER_ID
, false, null);
104
final long profileSid = mGateKeeperService.getSecureUserId(
MANAGED_PROFILE_USER_ID
);
115
mGateKeeperService.clearAuthToken(
MANAGED_PROFILE_USER_ID
);
123
assertNotNull(mGateKeeperService.getAuthToken(
MANAGED_PROFILE_USER_ID
));
124
assertEquals(profileSid, mGateKeeperService.getSecureUserId(
MANAGED_PROFILE_USER_ID
));
138
assertEquals(profileSid, mGateKeeperService.getSecureUserId(
MANAGED_PROFILE_USER_ID
));
145
assertEquals(0, mGateKeeperService.getSecureUserId(
MANAGED_PROFILE_USER_ID
));
160
PASSWORD_QUALITY_COMPLEX,
MANAGED_PROFILE_USER_ID
);
164
final long profileSid = mGateKeeperService.getSecureUserId(
MANAGED_PROFILE_USER_ID
);
170
mGateKeeperService.clearAuthToken(
MANAGED_PROFILE_USER_ID
);
[
all
...]
SyntheticPasswordTests.java
205
mService.setSeparateProfileChallengeEnabled(
MANAGED_PROFILE_USER_ID
, false, null);
207
final long profileSid = mGateKeeperService.getSecureUserId(
MANAGED_PROFILE_USER_ID
);
209
final byte[] profileStorageKey = mStorageManager.getUserUnlockToken(
MANAGED_PROFILE_USER_ID
);
223
assertEquals(profileSid, mGateKeeperService.getSecureUserId(
MANAGED_PROFILE_USER_ID
));
225
assertArrayNotSame(profileStorageKey, mStorageManager.getUserUnlockToken(
MANAGED_PROFILE_USER_ID
));
227
assertTrue(hasSyntheticPassword(
MANAGED_PROFILE_USER_ID
));
237
PASSWORD_QUALITY_ALPHABETIC,
MANAGED_PROFILE_USER_ID
);
239
final long profileSid = mGateKeeperService.getSecureUserId(
MANAGED_PROFILE_USER_ID
);
241
final byte[] profileStorageKey = mStorageManager.getUserUnlockToken(
MANAGED_PROFILE_USER_ID
);
251
mService.verifyCredential(profilePassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0,
MANAGED_PROFILE_USER_ID
).getResponseCode())
[
all
...]
BaseLockSettingsServiceTests.java
55
protected static final int
MANAGED_PROFILE_USER_ID
= 12;
116
installChildProfile(
MANAGED_PROFILE_USER_ID
);
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
UserProvisioningStateHelperTest.java
48
private static final int
MANAGED_PROFILE_USER_ID
= 2;
78
when(mUtils.getManagedProfile(mContext)).thenReturn(UserHandle.of(
MANAGED_PROFILE_USER_ID
));
85
MANAGED_PROFILE_USER_ID
);
94
when(mUtils.getManagedProfile(mContext)).thenReturn(UserHandle.of(
MANAGED_PROFILE_USER_ID
));
101
MANAGED_PROFILE_USER_ID
);
142
when(mUtils.getManagedProfile(mContext)).thenReturn(UserHandle.of(
MANAGED_PROFILE_USER_ID
));
149
MANAGED_PROFILE_USER_ID
);
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
EnterprisePrivacyFeatureProviderImplTest.java
68
private final int
MANAGED_PROFILE_USER_ID
= MY_USER_ID + 1;
114
mProfiles.add(new UserInfo(
MANAGED_PROFILE_USER_ID
, "", "", UserInfo.FLAG_MANAGED_PROFILE));
211
mProfiles.add(new UserInfo(
MANAGED_PROFILE_USER_ID
, "", "", UserInfo.FLAG_MANAGED_PROFILE));
213
when(mConnectivityManger.getAlwaysOnVpnPackageForUser(
MANAGED_PROFILE_USER_ID
))
217
when(mConnectivityManger.getAlwaysOnVpnPackageForUser(
MANAGED_PROFILE_USER_ID
))
250
when(mDevicePolicyManager.getProfileOwnerAsUser(
MANAGED_PROFILE_USER_ID
)).thenReturn(OWNER);
251
when(mDevicePolicyManager.getMaximumFailedPasswordsForWipe(OWNER,
MANAGED_PROFILE_USER_ID
))
255
mProfiles.add(new UserInfo(
MANAGED_PROFILE_USER_ID
, "", "", UserInfo.FLAG_MANAGED_PROFILE));
293
final UserHandle managedProfileUserHandle = new UserHandle(
MANAGED_PROFILE_USER_ID
);
295
new UserInfo(
MANAGED_PROFILE_USER_ID
, "", "", UserInfo.FLAG_MANAGED_PROFILE)
[
all
...]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
OtaControllerTest.java
60
private static final int
MANAGED_PROFILE_USER_ID
= 15;
138
addManagedProfile(
MANAGED_PROFILE_USER_ID
, ADMIN_COMPONENT);
146
Pair.create(
MANAGED_PROFILE_USER_ID
, InstallExistingPackageTask.class),
147
Pair.create(
MANAGED_PROFILE_USER_ID
, DisableInstallShortcutListenersTask.class),
148
Pair.create(
MANAGED_PROFILE_USER_ID
, DeleteNonRequiredAppsTask.class));
152
verify(mCrossProfileIntentFiltersSetter, never()).resetFilters(
MANAGED_PROFILE_USER_ID
);
156
UserHandle.of(
MANAGED_PROFILE_USER_ID
));
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DevicePolicyManagerTest.java
602
final int
MANAGED_PROFILE_USER_ID
= 78;
604
UserHandle.getUid(
MANAGED_PROFILE_USER_ID
, DpmMockContext.SYSTEM_UID);
627
MockUtils.checkUserHandle(
MANAGED_PROFILE_USER_ID
));
640
final int
MANAGED_PROFILE_USER_ID
= 78;
642
UserHandle.getUid(
MANAGED_PROFILE_USER_ID
, DpmMockContext.SYSTEM_UID);
648
.isSeparateProfileChallengeEnabled(
MANAGED_PROFILE_USER_ID
);
655
dpm.reportPasswordChanged(
MANAGED_PROFILE_USER_ID
);
660
intent.putExtra(Intent.EXTRA_USER, UserHandle.of(
MANAGED_PROFILE_USER_ID
));
667
MockUtils.checkUserHandle(
MANAGED_PROFILE_USER_ID
));
[
all
...]
Completed in 208 milliseconds