Home
last modified time | relevance | path

Searched refs:ADMIN_PACKAGE_NAME (Results 1 – 2 of 2) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DSetDevicePolicyTaskTest.java48 private static final String ADMIN_PACKAGE_NAME = "com.admin.test"; field in SetDevicePolicyTaskTest
49 private static final String ADMIN_RECEIVER_NAME = ADMIN_PACKAGE_NAME + ".AdminReceiver";
50 private static final ComponentName ADMIN_COMPONENT_NAME = new ComponentName(ADMIN_PACKAGE_NAME,
78 when(mPackageManager.getApplicationEnabledSetting(ADMIN_PACKAGE_NAME)) in setUp()
92 when(mPackageManager.getApplicationEnabledSetting(ADMIN_PACKAGE_NAME)) in testEnableDevicePolicyApp_DefaultToDefault()
99 verify(mPackageManager, never()).setApplicationEnabledSetting(eq(ADMIN_PACKAGE_NAME), in testEnableDevicePolicyApp_DefaultToDefault()
110 when(mPackageManager.getApplicationEnabledSetting(ADMIN_PACKAGE_NAME)) in testEnableDevicePolicyApp_DisabledToDefault()
117 verify(mPackageManager).setApplicationEnabledSetting(ADMIN_PACKAGE_NAME, in testEnableDevicePolicyApp_DisabledToDefault()
129 when(mPackageManager.getApplicationEnabledSetting(ADMIN_PACKAGE_NAME)) in testEnableDevicePolicyApp_EnabledToEnabled()
136 verify(mPackageManager, never()).setApplicationEnabledSetting(eq(ADMIN_PACKAGE_NAME), in testEnableDevicePolicyApp_EnabledToEnabled()
[all …]
DInstallExistingPackageTaskTest.java47 private static final String ADMIN_PACKAGE_NAME = "com.admin.test"; field in InstallExistingPackageTaskTest
48 private static final String ADMIN_RECEIVER_NAME = ADMIN_PACKAGE_NAME + ".AdminReceiver";
49 private static final ComponentName ADMIN_COMPONENT_NAME = new ComponentName(ADMIN_PACKAGE_NAME,