/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
SecurityLoggingTest.java | 33 mDevicePolicyManager.setSecurityLoggingEnabled(getWho(), true); 45 mDevicePolicyManager.retrieveSecurityLogs(getWho()); 57 mDevicePolicyManager.retrievePreRebootSecurityLogs(getWho()); 68 mDevicePolicyManager.setSecurityLoggingEnabled(getWho(), true); 69 assertTrue(mDevicePolicyManager.isSecurityLoggingEnabled(getWho())); 70 mDevicePolicyManager.setSecurityLoggingEnabled(getWho(), false); 71 assertFalse(mDevicePolicyManager.isSecurityLoggingEnabled(getWho())); 79 List<SecurityEvent> logs = mDevicePolicyManager.retrieveSecurityLogs(getWho()); 82 assertNull(mDevicePolicyManager.retrieveSecurityLogs(getWho())); 83 assertNull(mDevicePolicyManager.retrieveSecurityLogs(getWho())); [all...] |
CreateAndManageUserTest.java | 65 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_ADD_USER); 66 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER); 69 mDevicePolicyManager.removeUser(getWho(), mUserHandle); 165 // mUserHandle = mDevicePolicyManager.createAndManageUser(getWho(), testUserName, 169 // mDevicePolicyManager.switchUser(getWho(), mUserHandle); 175 // mDevicePolicyManager.switchUser(getWho(), firstUser); 183 // assertTrue(mDevicePolicyManager.removeUser(getWho(), mUserHandle)); 209 getWho(), 211 getWho(), 231 getWho(), [all...] |
CaCertManagementTest.java | 45 List<byte[]> caCerts = mDevicePolicyManager.getInstalledCaCerts(getWho()); 57 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_RSA_1.caCertificate)); 61 mDevicePolicyManager.uninstallCaCert(getWho(), FAKE_RSA_1.caCertificate); 71 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_RSA_1.caCertificate)); 72 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_DSA_1.caCertificate)); 74 mDevicePolicyManager.uninstallCaCert(getWho(), FAKE_DSA_1.caCertificate); 78 mDevicePolicyManager.uninstallCaCert(getWho(), FAKE_RSA_1.caCertificate); 87 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_RSA_1.caCertificate)); 88 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_DSA_1.caCertificate)); 90 mDevicePolicyManager.uninstallAllUserCaCerts(getWho()); [all...] |
ForceEphemeralUsersTest.java | 40 setForceEphemeralUsersMethod.invoke(mDevicePolicyManager, getWho(), true); 44 assertTrue((boolean) getForceEphemeralUsersMethod.invoke(mDevicePolicyManager, getWho())); 56 setForceEphemeralUsersMethod.invoke(mDevicePolicyManager, getWho(), true);
|
WifiTest.java | 30 final String macAddress = mDevicePolicyManager.getWifiMacAddress(getWho());
|
KeyManagementTest.java | 18 import static com.android.cts.deviceowner.BaseDeviceOwnerTest.getWho; 79 mDevicePolicyManager.setPasswordQuality(getWho(), 81 mDevicePolicyManager.setPasswordMinimumLength(getWho(), 0); 92 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)); 103 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), alias)); 116 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, 118 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, 129 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), grant)); 130 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), withhold)); 150 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, certChain, alias, true)) [all...] |
LockScreenInfoTest.java | 25 mDevicePolicyManager.setDeviceOwnerLockScreenInfo(getWho(), null); 41 mDevicePolicyManager.setDeviceOwnerLockScreenInfo(getWho(), message); 81 mDevicePolicyManager.setDeviceOwnerLockScreenInfo(getWho(), message);
|
LockTaskTest.java | 123 mDevicePolicyManager.setLockTaskPackages(getWho(), new String[0]); 137 mDevicePolicyManager.setLockTaskPackages(getWho(), new String[0]); 144 mDevicePolicyManager.setLockTaskPackages(getWho(), new String[] { TEST_PACKAGE }); 147 mDevicePolicyManager.setLockTaskPackages(getWho(), new String[0]); 153 mDevicePolicyManager.setLockTaskPackages(getWho(), new String[] { PACKAGE_NAME }); 168 mDevicePolicyManager.setLockTaskPackages(getWho(), new String[] { PACKAGE_NAME }); 181 mDevicePolicyManager.setLockTaskPackages(getWho(), new String[] { PACKAGE_NAME }); 184 mDevicePolicyManager.setLockTaskPackages(getWho(), new String[0]); 201 mDevicePolicyManager.setLockTaskPackages(getWho(), new String[] { PACKAGE_NAME }); 224 mDevicePolicyManager.setLockTaskPackages(getWho(), new String[] { PACKAGE_NAME [all...] |
BaseDeviceOwnerTest.java | 33 * {@link #getWho()}. 63 assertTrue(dpm.isAdminActive(getWho())); 67 protected static ComponentName getWho() {
|
RemoteBugreportTest.java | 31 * {@link BaseDeviceOwnerTest#getWho()}. 51 mComponentName = BaseDeviceOwnerTest.getWho();
|
SystemUpdatePolicyTest.java | 62 mDevicePolicyManager.setSystemUpdatePolicy(getWho(), null); 118 mDevicePolicyManager.setSystemUpdatePolicy(getWho(), policy);
|
WifiConfigLockdownTest.java | 57 mDevicePolicyManager.setGlobalSetting(getWho(), 67 mDevicePolicyManager.setGlobalSetting(getWho(),
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
SilentPackageInstallTest.java | 36 mDevicePolicyManager.setUninstallBlocked(getWho(), TEST_APP_PKG, true); 37 assertTrue(mDevicePolicyManager.isUninstallBlocked(getWho(), TEST_APP_PKG)); 42 mDevicePolicyManager.setUninstallBlocked(getWho(), TEST_APP_PKG, false); 43 assertFalse(mDevicePolicyManager.isUninstallBlocked(getWho(), TEST_APP_PKG));
|
BasePackageInstallTest.java | 101 mDevicePolicyManager.setUninstallBlocked(getWho(), TEST_APP_PKG, false); 114 protected static ComponentName getWho() {
|
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/ |
WifiTest.java | 21 mDevicePolicyManager.getWifiMacAddress(getWho());
|
BaseProfileOwnerTest.java | 44 assertTrue(dpm.isAdminActive(getWho())); 48 protected static ComponentName getWho() {
|
ClearProfileOwnerTest.java | 34 mDevicePolicyManager.clearProfileOwner(BaseProfileOwnerTest.getWho()); 38 waitForActiveAdminRemoved(BaseProfileOwnerTest.getWho());
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
DeviceAdminTestReceiver.java | 115 dpm.addCrossProfileIntentFilter(getWho(context), filter, 123 dpm.addCrossProfileIntentFilter(getWho(context), filter,
|
/frameworks/base/core/java/android/app/admin/ |
DeviceAdminReceiver.java | 387 public ComponentName getWho(Context context) {
|
/external/libgdx/backends/gdx-backend-android/libs/ |
android-4.4.jar | |
/external/robolectric/v1/lib/main/ |
android.jar | |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
android-all-4.3_r2-robolectric-0.jar | |
/prebuilts/sdk/10/ |
android.jar | |