/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
BaseLauncherAppsTest.java | 45 getDevice().uninstallPackage(LAUNCHER_TESTS_PKG); 46 getDevice().uninstallPackage(LAUNCHER_TESTS_SUPPORT_PKG); 47 getDevice().uninstallPackage(SIMPLE_APP_PKG); 54 CLog.d("Output for command " + command + ": " + getDevice().executeShellCommand(command));
|
DeviceAndProfileOwnerTestApi25.java | 54 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); 55 getDevice().uninstallPackage(TEST_APP_PKG); 58 getDevice().executeShellCommand("cmd lock_settings clear --old 12345"); 60 getDevice().executeShellCommand("input keyevent 3"); 104 getDevice().executeShellCommand(command);
|
ProfileOwnerTestApi23.java | 41 getDevice().uninstallPackage(DEVICE_ADMIN_PKG); 52 getDevice().uninstallPackage(DEVICE_ADMIN_PKG);
|
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
CreateUsersPermissionTest.java | 28 getDevice().createUser( 38 getDevice().createUser( 52 if (getDevice().isAdbRoot()) { 58 final String output = getDevice().executeShellCommand(setRestriction + "1");
|
CreateUsersNoAppCrashesTest.java | 37 mInitialUserId = getDevice().getCurrentUser(); 44 int userId = getDevice().createUser( 48 getDevice().executeAdbCommand("logcat", "-c"); // Reset log 49 assertTrue("Couldn't switch to user " + userId, getDevice().switchUser(userId)); 54 assertTrue("Couldn't switch to user " + userId, getDevice().switchUser(mInitialUserId)); 61 String logs = getDevice().executeAdbCommand("logcat", "-v", "brief", "-d");
|
BaseMultiUserTest.java | 51 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; 53 mPrimaryUserId = getDevice().getPrimaryUserId(); 59 getDevice().switchUser(mPrimaryUserId); 65 if (getDevice().getCurrentUser() != mPrimaryUserId) { 67 getDevice().switchUser(mPrimaryUserId); 78 final String output = getDevice().executeShellCommand(command); 101 final String output = getDevice().executeShellCommand(command); 117 for (int userId : getDevice().listUsers()) { 119 getDevice().removeUser(userId); 125 final String commandOuput = getDevice().executeShellCommand [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
UnknownFileSystemException.java | 51 public BlockDevice getDevice() {
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
IDeviceTest.java | 37 public ITestDevice getDevice();
|
INativeDeviceTest.java | 37 public INativeDevice getDevice();
|
/development/tools/hosttestlib/src/com/android/hosttest/ |
DeviceTestCase.java | 48 public IDevice getDevice() { 69 assertNotNull(getDevice());
|
DeviceTest.java | 38 public IDevice getDevice();
|
/cts/hostsidetests/trustedvoice/src/android/trustedvoice/cts/ |
TrustedVoiceHostTest.java | 97 getDevice().executeAdbCommand("logcat", "-c"); 99 getDevice().executeShellCommand(SLEEP_COMMAND); 101 getDevice().executeShellCommand(START_COMMAND); 106 String logs = getDevice().executeAdbCommand( 128 getDevice().executeShellCommand(AWAKE_COMMAND); 129 getDevice().executeShellCommand(DISMISS_KEYGUARD_COMMAND);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
AppSetupFuncTest.java | 52 public ITestDevice getDevice() { 60 getDevice().uninstallPackage(WifiHelper.INSTRUMENTATION_PKG); 69 appSetup.setUp(getDevice(), appBuild); 70 assertTrue(getDevice().getUninstallablePackageNames().contains( 72 appSetup.tearDown(getDevice(), appBuild, null); 73 assertFalse(getDevice().getUninstallablePackageNames().contains(
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
UsesLibraryHostTest.java | 54 Utils.prepareSingleUser(getDevice()); 58 getDevice().uninstallPackage(PKG); 65 getDevice().uninstallPackage(PKG); 69 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); 74 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); 79 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); 85 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
|
DirectBootHostTest.java | 75 mUsers = Utils.prepareSingleUser(getDevice()); 79 getDevice().uninstallPackage(PKG); 80 getDevice().uninstallPackage(OTHER_PKG); 87 getDevice().uninstallPackage(PKG); 88 getDevice().uninstallPackage(OTHER_PKG); 160 getDevice().executeShellCommand("am start -a android.intent.action.MAIN" 173 final String res = getDevice().executeShellCommand("sm set-emulate-fbe true"); 177 getDevice().waitForDeviceNotAvailable(SHUTDOWN_TIME_MS); 178 getDevice().waitForDeviceOnline(); 180 getDevice().rebootUntilOnline() [all...] |
DocumentsTestCase.java | 51 Utils.prepareSingleUser(getDevice()); 62 getDevice().uninstallPackage(CLIENT_PKG); 67 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); 71 getDevice().uninstallPackage(CLIENT_PKG); 73 assertNull(getDevice().installPackage(buildHelper.getTestFile(CLIENT_APK), false));
|
BaseAppSecurityTest.java | 50 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; 52 mPrimaryUserId = getDevice().getPrimaryUserId(); 58 getDevice().switchUser(mPrimaryUserId); 62 final String commandOuput = getDevice().executeShellCommand( 74 assertNull(getDevice().installPackageForUser( 82 String output = getDevice().executeShellCommand(command);
|
/cts/hostsidetests/content/src/android/content/cts/ |
InvalidSyncAuthoritiesHostTest.java | 51 getDevice().uninstallPackage(DEVICE_TEST_PACKAGE); 53 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(DEVICE_TEST_APK), false, 66 getDevice().uninstallPackage(DEVICE_TEST_PACKAGE); 71 getDevice().reboot(); 77 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
|
/cts/hostsidetests/security/src/android/security/cts/ |
SecurityTestCase.java | 38 String uptime = getDevice().executeShellCommand("cat /proc/uptime"); 50 Integer.parseInt(getDevice().executeShellCommand("cut -f1 -d. /proc/uptime").trim()); 85 getDevice().waitForDeviceOnline(60 * 1000); 86 String uptime = getDevice().executeShellCommand("cat /proc/uptime"); 92 getDevice().disableAdbRoot();
|
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/ |
NumberBlockingTest.java | 62 mHasFeature = getDevice().isMultiUserSupported() 63 && getDevice().hasFeature(FEATURE_TELEPHONY) 64 && getDevice().hasFeature(FEATURE_CONNECTION_SERVICE); 70 installTestAppForUser(getDevice().getPrimaryUserId()); 74 mPrimaryUserSerialNumber = getUserSerialNumber(getDevice().getPrimaryUserId()); 81 getDevice().removeUser(mSecondaryUserId); 103 true /* setToSmsApp */, getDevice().getPrimaryUserId()); 111 false /* setToSmsApp */, getDevice().getPrimaryUserId()); 122 assertTrue(getDevice().startUser(mSecondaryUserId)); 139 true /* setToSmsApp */, getDevice().getPrimaryUserId()) [all...] |
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
BluetoothProfileLineItem.java | 46 super(context.getText(profile.getNameResource(cachedBluetoothDevice.getDevice()))); 57 mProfile.setPreferred(mCachedDevice.getDevice(), false); 58 } else if (mProfile.isPreferred(mCachedDevice.getDevice())) { 62 mProfile.setPreferred(mCachedDevice.getDevice(), false); 65 mProfile.setPreferred(mCachedDevice.getDevice(), true); 89 BluetoothDevice device = mCachedDevice.getDevice();
|
/tools/tradefederation/core/prod-tests/src/com/android/sensor/tests/ |
SingleSensorTests.java | 49 Assert.assertNotNull(getDevice()); 66 getDevice().executeShellCommand("svc power stayon false"); 67 getDevice().executeShellCommand("input keyevent 26"); 74 String rawFileList = getDevice().executeShellCommand( 95 outputFile = getDevice().pullFile(filePath); 110 getDevice().executeShellCommand(String.format("rm ${EXTERNAL_STORAGE}/%s*", mOutputPrefix));
|
/tools/tradefederation/core/prod-tests/src/com/android/stability/tests/ |
RebootStressTest.java | 131 public ITestDevice getDevice() { 186 Assert.assertNotNull(getDevice()); 195 getDevice().rebootIntoBootloader(); 199 getDevice().executeFastbootCommand("reboot"); 202 getDevice().reboot(); 204 getDevice().waitForDeviceAvailable(); 207 getDevice().getSerialNumber(), actualIterations+1, mIterations); 216 listener.testLog(String.format("last_kmsg_%s", getDevice().getSerialNumber()), 221 listener.testLog(String.format("dmesg_%s", getDevice().getSerialNumber()), 225 getDevice().getSerialNumber(), actualIterations, mIterations) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiNullHandleTests.cpp | 44 context.getDeviceInterface().destroyBuffer(context.getDevice(), buffer, pAllocator); 49 context.getDeviceInterface().destroyBufferView(context.getDevice(), bufferView, pAllocator); 54 context.getDeviceInterface().destroyCommandPool(context.getDevice(), commandPool, pAllocator); 59 context.getDeviceInterface().destroyDescriptorPool(context.getDevice(), descriptorPool, pAllocator); 64 context.getDeviceInterface().destroyDescriptorSetLayout(context.getDevice(), descriptorSetLayout, pAllocator); 74 context.getDeviceInterface().destroyEvent(context.getDevice(), event, pAllocator); 79 context.getDeviceInterface().destroyFence(context.getDevice(), fence, pAllocator); 84 context.getDeviceInterface().destroyFramebuffer(context.getDevice(), framebuffer, pAllocator); 89 context.getDeviceInterface().destroyImage(context.getDevice(), image, pAllocator); 94 context.getDeviceInterface().destroyImageView(context.getDevice(), imageView, pAllocator) [all...] |
/external/swiftshader/src/OpenGL/libGLES_CM/ |
main.h | 32 Device *getDevice();
|