OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TEST_USER_ID
(Results
1 - 5
of
5
) sorted by null
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
SetDevicePolicyTaskTest.java
40
private static final int
TEST_USER_ID
= 123;
62
when(mDevicePolicyManager.setDeviceOwner(ADMIN_COMPONENT_NAME, OWNER_NAME,
TEST_USER_ID
))
65
mTask = new SetDevicePolicyTask(mContext, OWNER_NAME, mCallback,
TEST_USER_ID
);
90
verify(mDevicePolicyManager).setActiveAdmin(ADMIN_COMPONENT_NAME, true,
TEST_USER_ID
);
97
verify(mDevicePolicyManager).setDeviceOwner(ADMIN_COMPONENT_NAME, OWNER_NAME,
TEST_USER_ID
);
103
when(mDevicePolicyManager.setDeviceOwner(ADMIN_COMPONENT_NAME, OWNER_NAME,
TEST_USER_ID
))
106
verify(mDevicePolicyManager).setDeviceOwner(ADMIN_COMPONENT_NAME, OWNER_NAME,
TEST_USER_ID
);
112
when(mDevicePolicyManager.setDeviceOwner(ADMIN_COMPONENT_NAME, OWNER_NAME,
TEST_USER_ID
))
115
verify(mDevicePolicyManager).setDeviceOwner(ADMIN_COMPONENT_NAME, OWNER_NAME,
TEST_USER_ID
);
DeleteNonRequiredAppsTaskTest.java
74
private static final int
TEST_USER_ID
= 0;
366
TEST_USER_ID
, leaveAllSystemAppsEnabled, mCallback);
389
TEST_USER_ID
)).thenReturn(new ParceledListSlice(applications));
439
assertEquals(
TEST_USER_ID
, userId);
466
assertEquals(userId,
TEST_USER_ID
);
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/uiflows/
EncryptionControllerTest.java
54
private static final int
TEST_USER_ID
= 10;
87
TEST_HOME_RECEIVER, mResumeNotificationHelper,
TEST_USER_ID
);
101
verify(mUtils).enableComponent(TEST_HOME_RECEIVER,
TEST_USER_ID
);
102
verify(mPackageManager).flushPackageRestrictionsAsUser(
TEST_USER_ID
);
193
verify(mUtils).disableComponent(TEST_HOME_RECEIVER,
TEST_USER_ID
);
PreProvisioningControllerTest.java
64
private static final int
TEST_USER_ID
= 10;
100
when(mUserManager.getUserHandle()).thenReturn(
TEST_USER_ID
);
199
when(mUtils.alreadyHasManagedProfile(mContext)).thenReturn(
TEST_USER_ID
);
206
anyString(), eq(
TEST_USER_ID
));
312
verify(mUi).startDeviceOwnerProvisioning(
TEST_USER_ID
, mParams);
328
verify(mUi).startDeviceOwnerProvisioning(
TEST_USER_ID
, mParams);
357
verify(mUi).startDeviceOwnerProvisioning(
TEST_USER_ID
, mParams);
398
verify(mUi).startDeviceOwnerProvisioning(
TEST_USER_ID
, mParams);
413
verify(mUi).startDeviceOwnerProvisioning(
TEST_USER_ID
, mParams);
455
verify(mUi).startDeviceOwnerProvisioning(
TEST_USER_ID
, mParams)
[
all
...]
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/common/
UtilsTest.java
71
private static final int
TEST_USER_ID
= 10;
102
PackageManager.GET_UNINSTALLED_PACKAGES,
TEST_USER_ID
))
105
Set<String> res = mUtils.getCurrentSystemApps(mockIPackageManager,
TEST_USER_ID
);
115
PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
TEST_USER_ID
);
120
eq(
TEST_USER_ID
));
Completed in 323 milliseconds