/test/app_compat/csuite/harness/src/main/java/com/android/csuite/core/ |
D | AppCrawlTesterHostPreparer.java | 83 public static Path getSdkPath(TestInformation testInfo) { in getSdkPath() argument 84 return getPathFromBuildInfo(testInfo, SDK_PATH_KEY); in getSdkPath() 93 public static Path getCrawlerBinPath(TestInformation testInfo) { in getCrawlerBinPath() argument 94 return getPathFromBuildInfo(testInfo, CRAWLER_BIN_PATH_KEY); in getCrawlerBinPath() 103 public static Path getCredentialPath(TestInformation testInfo) { in getCredentialPath() argument 104 return getPathFromBuildInfo(testInfo, CREDENTIAL_PATH_KEY); in getCredentialPath() 113 public static boolean isReady(TestInformation testInfo) { in isReady() argument 114 return testInfo.getBuildInfo().getBuildAttributes().get(IS_READY_KEY) != null; in isReady() 117 private static Path getPathFromBuildInfo(TestInformation testInfo, String key) { in getPathFromBuildInfo() argument 118 String path = testInfo.getBuildInfo().getBuildAttributes().get(key); in getPathFromBuildInfo() [all …]
|
D | ModuleGenerator.java | 102 public void setUp(TestInformation testInfo) { in setUp() argument 113 public void tearDown(TestInformation testInfo, Throwable e) throws DeviceNotAvailableException { in tearDown() argument 116 mBuildInfo = testInfo.getBuildInfo(); in tearDown() 217 public void run(final TestInformation testInfo, final ITestInvocationListener listener) {
|
D | AppCrawlTester.java | 347 String[] createCrawlerRunCommand(TestInformation testInfo) throws CrawlerException { in createCrawlerRunCommand() argument 354 AppCrawlTesterHostPreparer.getCrawlerBinPath(testInfo) in createCrawlerRunCommand() 358 AppCrawlTesterHostPreparer.getSdkPath(testInfo).toString(), in createCrawlerRunCommand() 360 testInfo.getDevice().getSerialNumber(), in createCrawlerRunCommand() 365 AppCrawlTesterHostPreparer.getCrawlerBinPath(testInfo) in createCrawlerRunCommand()
|
/test/app_compat/csuite/harness/src/main/java/com/android/compatibility/targetprep/ |
D | CheckGmsPreparer.java | 47 public void setUp(TestInformation testInfo) in setUp() argument 49 if (!mEnable || isGmsRunning(testInfo)) { in setUp() 54 testInfo.getDevice().reboot(); in setUp() 55 testInfo.getDevice().waitForBootComplete(WAIT_FOR_BOOT_COMPLETE_TIMEOUT_MILLIS); in setUp() 57 if (!isGmsRunning(testInfo)) { in setUp() 62 testInfo.getDevice().getDeviceDescriptor(), in setUp() 67 private static boolean isGmsRunning(TestInformation testInfo) in isGmsRunning() argument 69 CommandResult res = testInfo.getDevice().executeShellV2Command(CHECK_GMS_COMMAND); in isGmsRunning() 83 public void tearDown(TestInformation testInfo, Throwable e) throws DeviceNotAvailableException { in tearDown() argument 84 if (!mEnable || isGmsRunning(testInfo)) { in tearDown()
|
D | AppSetupPreparer.java | 158 public void setUp(TestInformation testInfo) in setUp() argument 197 public void setUp(TestInformation testInfo) in setUp() 200 setUpOnce(testInfo); in setUp() 206 handler.setUp(testInfo); in setUp() 214 e.getMessage(), e, testInfo.getDevice().getDeviceDescriptor()); in setUp() 217 waitForDeviceAvailable(testInfo.getDevice()); in setUp() 230 e.getMessage(), e, testInfo.getDevice().getDeviceDescriptor()); in setUp() 235 private void setUpOnce(TestInformation testInfo) in setUpOnce() argument 248 e.getMessage(), e, testInfo.getDevice().getDeviceDescriptor()); in setUpOnce() 252 SystemPackageUninstaller.uninstallPackage(mPackageName, testInfo.getDevice()); in setUpOnce() [all …]
|
/test/vts/testcases/host/fastboot_test/src/com/android/tests/ |
D | FastbootVerifyUserspaceTest.java | 68 public static void setUpClass(TestInformation testInfo) throws Exception { in setUpClass() argument 70 boolean isKernelARM64 = testInfo.getDevice() in setUpClass() 75 String output = testInfo.getDevice().executeShellCommand("uname -r"); in setUpClass() 84 sDeviceIsGKI10.put(testInfo.getDevice(), isGKI10); in setUpClass() 88 testInfo.getDevice().rebootIntoFastbootd(); in setUpClass() 105 public static void tearDownClass(TestInformation testInfo) throws Exception { in tearDownClass() argument 106 if (!sDeviceIsGKI10.get(testInfo.getDevice())) { in tearDownClass() 110 if (!TestDeviceState.FASTBOOTD.equals(testInfo.getDevice().getDeviceState())) { in tearDownClass() 111 ((IManagedTestDevice) testInfo.getDevice()) in tearDownClass() 114 testInfo.getDevice().reboot(); // reboot from fastbootd to adb. in tearDownClass() [all …]
|
/test/vts/testcases/host/fastboot_getvar/src/com/android/tests/ |
D | FastbootGetvarUserspaceTest.java | 66 public static void setUpClass(TestInformation testInfo) throws Exception { in setUpClass() argument 68 boolean isKernelARM64 = testInfo.getDevice() in setUpClass() 73 String output = testInfo.getDevice().executeShellCommand("uname -r"); in setUpClass() 83 String codeName = testInfo.getDevice().getProperty(DeviceProperties.BUILD_CODENAME); in setUpClass() 89 sDeviceIsGKI10.put(testInfo.getDevice(), isGKI10); in setUpClass() 90 sDeviceCodeName.put(testInfo.getDevice(), codeName); in setUpClass() 94 testInfo.getDevice().rebootIntoFastbootd(); in setUpClass() 105 public static void tearDownClass(TestInformation testInfo) throws Exception { in tearDownClass() argument 106 if (!sDeviceIsGKI10.get(testInfo.getDevice())) { in tearDownClass() 107 testInfo.getDevice().reboot(); // reboot from fastbootd to adb. in tearDownClass() [all …]
|
/test/app_compat/csuite/harness/src/test/java/com/android/compatibility/targetprep/ |
D | CheckGmsPreparerTest.java | 93 TestInformation testInfo = createTestInfo(device); in tearDown_setUpThrows_doesNotCheck() local 94 assertThrows(TargetSetupError.class, () -> mPreparer.setUp(testInfo)); in tearDown_setUpThrows_doesNotCheck() 100 mPreparer.tearDown(testInfo, null); in tearDown_setUpThrows_doesNotCheck() 108 TestInformation testInfo = createTestInfo(device); in tearDown_setUpRecoveredGms_checksGms() local 109 mPreparer.setUp(testInfo); in tearDown_setUpRecoveredGms_checksGms() 115 mPreparer.tearDown(testInfo, null); in tearDown_setUpRecoveredGms_checksGms() 124 TestInformation testInfo = createTestInfo(device); in tearDown_setUpFoundGms_checksGms() local 125 mPreparer.setUp(testInfo); in tearDown_setUpFoundGms_checksGms() 131 mPreparer.tearDown(testInfo, null); in tearDown_setUpFoundGms_checksGms()
|
D | AppSetupPreparerTest.java | 107 TestInformation testInfo = TestInformation.newBuilder().build(); in tearDown_forwardsToInstaller() local 109 preparer.tearDown(testInfo, null); in tearDown_forwardsToInstaller() 111 verify(installer).tearDown(testInfo, null); in tearDown_forwardsToInstaller()
|
/test/vts-testcase/hal/usb/gadget/V1_1/host/src/com/android/usb/gadget/vts/ |
D | VtsHalUsbGadgetV1_1HostTest.java | 52 public static void beforeClassWithDevice(TestInformation testInfo) throws Exception { in beforeClassWithDevice() argument 54 testInfo.getDevice() in beforeClassWithDevice()
|
/test/vts-testcase/hal/usb/usb/aidl/host/src/com/android/usb/vts/ |
D | VtsAidlUsbHostTest.java | 56 public static void beforeClassWithDevice(TestInformation testInfo) throws Exception { in beforeClassWithDevice() argument 58 testInfo.getDevice() in beforeClassWithDevice()
|
/test/vts-testcase/hal/usb/gadget/V1_0/host/src/com/android/tests/usbgadget/ |
D | HalUsbGadgetV1_0HostTest.java | 53 public static void beforeClassWithDevice(TestInformation testInfo) throws Exception { in beforeClassWithDevice() argument 55 testInfo.getDevice() in beforeClassWithDevice()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | BenchmarkResult.java | 68 float sumOfMSEs, float maxSingleError, String testInfo, in BenchmarkResult() argument 74 mTestInfo = testInfo; in BenchmarkResult() 341 String testInfo, in fromInferenceResults() argument 392 testInfo, evaluatorKeys, evaluatorResults, backendType, testSetSize, in fromInferenceResults()
|
/test/vts-testcase/hal/usb/gadget/V1_2/host/src/com/android/usb/gadget/vts/ |
D | VtsHalUsbGadgetV1_2HostTest.java | 67 public static void beforeClassWithDevice(TestInformation testInfo) throws Exception { in beforeClassWithDevice() argument 69 testInfo.getDevice() in beforeClassWithDevice()
|