/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
D | ApiLevelUtil.java | 30 public static boolean isBefore(ITestDevice device, int version) in isBefore() 35 public static boolean isBefore(ITestDevice device, String version) in isBefore() 40 public static boolean isAfter(ITestDevice device, int version) in isAfter() 45 public static boolean isAfter(ITestDevice device, String version) in isAfter() 50 public static boolean isAtLeast(ITestDevice device, int version) in isAtLeast() 55 public static boolean isAtLeast(ITestDevice device, String version) in isAtLeast() 60 public static boolean isAtMost(ITestDevice device, int version) in isAtMost() 65 public static boolean isAtMost(ITestDevice device, String version) in isAtMost() 70 public static int getApiLevel(ITestDevice device) throws DeviceNotAvailableException { in getApiLevel() 74 public static boolean codenameEquals(ITestDevice device, String name) in codenameEquals() [all …]
|
D | FeatureUtil.java | 39 public static boolean hasSystemFeature(ITestDevice device, String feature) in hasSystemFeature() 45 public static boolean hasAnySystemFeature(ITestDevice device, String... features) in hasAnySystemFeature() 56 public static boolean hasAllSystemFeatures(ITestDevice device, String... features) in hasAllSystemFeatures() 67 public static Set<String> getAllFeatures(ITestDevice device) in getAllFeatures() 78 public static boolean isTV(ITestDevice device) throws DeviceNotAvailableException { in isTV() 83 public static boolean isWatch(ITestDevice device) throws DeviceNotAvailableException { in isWatch() 88 public static boolean isAutomotive(ITestDevice device) throws DeviceNotAvailableException { in isAutomotive() 96 public static boolean isLowRam(ITestDevice device) throws DeviceNotAvailableException { in isLowRam() 102 public static boolean hasTelephony(ITestDevice device) throws DeviceNotAvailableException { in hasTelephony() 107 public static boolean hasMicrophone(ITestDevice device) throws DeviceNotAvailableException { in hasMicrophone()
|
D | PropertyUtil.java | 50 public static boolean isUserBuild(ITestDevice device) throws DeviceNotAvailableException { in isUserBuild() 55 public static boolean isDevKeysBuild(ITestDevice device) throws DeviceNotAvailableException { in isDevKeysBuild() 70 public static int getFirstApiLevel(ITestDevice device) throws DeviceNotAvailableException { in getFirstApiLevel() 80 public static boolean isVendorApiLevelNewerThan(ITestDevice device, int apiLevel) in isVendorApiLevelNewerThan() 92 public static String getManufacturer(ITestDevice device) throws DeviceNotAvailableException { in getManufacturer() 97 public static Map<String, String> getClientIds(ITestDevice device) in getClientIds() 117 public static boolean propertyExists(ITestDevice device, String property) in propertyExists() 123 public static boolean propertyEquals(ITestDevice device, String property, String value) in propertyEquals() 135 public static boolean propertyMatches(ITestDevice device, String property, String regex) in propertyMatches() 148 public static int getPropertyInt(ITestDevice device, String property) in getPropertyInt()
|
D | CpuFeatures.java | 32 …private static String uname(ITestDevice device, String option) throws DeviceNotAvailableException { in uname() 41 public static boolean isArm64(ITestDevice device) throws DeviceNotAvailableException { in isArm64() 49 public static boolean isArm32(ITestDevice device) throws DeviceNotAvailableException { in isArm32() 57 public static boolean isX86(ITestDevice device) throws DeviceNotAvailableException { in isX86() 65 public static boolean kernelVersionLessThan(ITestDevice device, int major, int minor) in kernelVersionLessThan()
|
D | PackageUtil.java | 29 public static boolean exists(ITestDevice device, String packageName) in exists() 35 public static boolean isSystemApp(ITestDevice device, String packageName) in isSystemApp() 42 public static String getVersionString(ITestDevice device, String packageName) in getVersionString()
|
D | MonitoringUtils.java | 34 public static boolean checkDeviceConnectivity(ITestDevice device) in checkDeviceConnectivity() 54 public static void checkDeviceConnectivity(ITestDevice device, ITestInvocationListener listener, in checkDeviceConnectivity()
|
D | BackupHostSideUtils.java | 30 public static BackupUtils createBackupUtils(INativeDevice device) { in createBackupUtils()
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/ |
D | CmdUtil.java | 49 public boolean waitCmdResultWithDelay(ITestDevice device, String cmd, in waitCmdResultWithDelay() 69 public boolean retry(ITestDevice device, Vector<String> cmds, String validation_cmd, in retry() 98 public boolean retry(ITestDevice device, String cmd, String validation_cmd, in retry() 114 public boolean retry(ITestDevice device, String cmd, String validation_cmd, in retry() 135 protected boolean validateCmdSuccess(ITestDevice device, String cmd, in validateCmdSuccess() 168 public void restartFramework(ITestDevice device) throws DeviceNotAvailableException { in restartFramework() 183 public String getSystemProperty(ITestDevice device, String name) in getSystemProperty() 198 public void setSystemProperty(ITestDevice device, String name, String value) in setSystemProperty()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | MediaPreparer.java | 211 protected boolean mediaFilesExistOnDevice(ITestDevice device) in mediaFilesExistOnDevice() 240 private void updateLocalMediaPath(ITestDevice device, File mediaFolder) in updateLocalMediaPath() 258 private File downloadMediaToHost(ITestDevice device, IBuildInfo buildInfo) in downloadMediaToHost() 319 protected void copyMediaFiles(ITestDevice device) throws DeviceNotAvailableException { in copyMediaFiles() 331 protected void copyVideoFiles(ITestDevice device) throws DeviceNotAvailableException { in copyVideoFiles() 359 protected void copyImagesFiles(ITestDevice device) throws DeviceNotAvailableException { in copyImagesFiles() 367 protected void copyAll(ITestDevice device) throws DeviceNotAvailableException { in copyAll() 375 protected void setMountPoint(ITestDevice device) { in setMountPoint() 384 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp() 418 private void setMaxRes(ITestDevice device, IBuildInfo buildInfo) in setMaxRes()
|
D | CrashReporter.java | 47 private static void upload(ITestDevice device, String testname, JSONArray crashes) { in upload() 77 public void setUp(ITestDevice device, IBuildInfo buildInfo) { in setUp() 100 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) { in tearDown() 118 public CrashReporterReceiver(ITestDevice device) { in CrashReporterReceiver()
|
D | ReportLogCollector.java | 55 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in setUp() 60 private void prepareReportLogContainers(ITestDevice device, IBuildInfo buildInfo) { in prepareReportLogContainers() 78 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) { in tearDown()
|
D | WifiCheck.java | 48 private boolean hasWifiFeature(ITestDevice device) throws DeviceNotAvailableException { in hasWifiFeature() 57 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in run()
|
D | ApkInstrumentationPreparer.java | 66 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in run() 88 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown() 104 private boolean instrument(ITestDevice device, IBuildInfo buildInfo) in instrument()
|
D | LocationCheck.java | 41 private boolean hasLocationFeature(ITestDevice device) throws DeviceNotAvailableException { in hasLocationFeature() 47 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in run()
|
D | DeviceFileCollector.java | 66 public void run(ITestDevice device, IBuildInfo buildInfo) { in run() 109 private boolean matchProperties(ITestDevice device) { in matchProperties()
|
D | DynamicConfigPusher.java | 119 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, BuildError, in setUp() 175 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown() 212 final File getLocalConfigFile(CompatibilityBuildHelper buildHelper, ITestDevice device) in getLocalConfigFile() 244 ITestDevice device) throws TargetSetupError { in mergeConfigFiles()
|
D | BusinessLogicPreparer.java | 170 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, BuildError, in setUp() 249 String buildRequestParams(ITestDevice device, IBuildInfo buildInfo) in buildRequestParams() 306 private List<String> getBusinessLogicProperties(ITestDevice device, IBuildInfo buildInfo) in getBusinessLogicProperties() 330 private List<String> getBusinessLogicFeatures(ITestDevice device, IBuildInfo buildInfo) in getBusinessLogicFeatures() 345 private List<String> getBusinessLogicPackages(ITestDevice device, IBuildInfo buildInfo) in getBusinessLogicPackages() 497 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown() 509 private static void removeDeviceFile(ITestDevice device) throws DeviceNotAvailableException { in removeDeviceFile()
|
D | NetworkConnectivityChecker.java | 39 …public StatusCheckerResult postExecutionCheck(ITestDevice device) throws DeviceNotAvailableExcepti… in postExecutionCheck()
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/ |
D | VtsTraceCollectPreparer.java | 75 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp() 118 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown() 145 private void pushProfilerLib(ITestDevice device, File profilerLibDir, String destDirName) in pushProfilerLib() 169 private void removeProfilerLib(ITestDevice device) throws DeviceNotAvailableException { in removeProfilerLib()
|
D | VtsCoveragePreparer.java | 101 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp() 251 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown() 265 public static String getSancovResourceDirKey(ITestDevice device) { in getSancovResourceDirKey() 275 public static String getGcovResourceDirKey(ITestDevice device) { in getGcovResourceDirKey() 284 private void cleanupCoverageData(ITestDevice device) throws DeviceNotAvailableException { in cleanupCoverageData() 293 File createTempDir(ITestDevice device) throws IOException { in createTempDir()
|
D | VtsMultiSimPreparer.java | 38 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws DeviceNotAvailableException { in setUp() 48 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable throwable) in tearDown()
|
D | VtsHalAdapterPreparer.java | 92 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp() 150 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown() 190 private void pushAdapter(ITestDevice device, String bitness) in pushAdapter()
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/ |
D | VtsHalAdapterPreparerTest.java | 66 public boolean waitCmdResultWithDelay(ITestDevice device, String cmd, in waitCmdResultWithDelay() 72 public boolean retry(ITestDevice device, String cmd, String validation_cmd, in retry() 79 public boolean retry(ITestDevice device, Vector<String> cmds, String validation_cmd, in retry() 88 public void restartFramework(ITestDevice device) throws DeviceNotAvailableException {} in restartFramework() 91 public void setSystemProperty(ITestDevice device, String name, String value) in setSystemProperty()
|
/test/vti/test_serving/proto/ |
D | GreenBuildScheduleConfigMessage.proto | 59 repeated GreenBuildDeviceScheduleConfigMessage device = 31; field 65 optional bytes device = 1; field
|
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | VtsFilePusher.java | 143 private void pushFileGroups(ITestDevice device, IBuildInfo buildInfo) in pushFileGroups() 190 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp() 203 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
|