Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 92) sorted by relevance

1234

/cts/common/host-side/util/src/com/android/compatibility/common/util/
DApiLevelUtil.java28 public static boolean isBefore(ITestDevice device, int version) in isBefore()
33 public static boolean isAfter(ITestDevice device, int version) in isAfter()
38 public static boolean isAtLeast(ITestDevice device, int version) in isAtLeast()
43 public static boolean isAtMost(ITestDevice device, int version) in isAtMost()
48 public static int getApiLevel(ITestDevice device) throws DeviceNotAvailableException { in getApiLevel()
52 public static boolean codenameEquals(ITestDevice device, String name) in codenameEquals()
57 public static boolean codenameStartsWith(ITestDevice device, String prefix) in codenameStartsWith()
62 public static String getCodename(ITestDevice device) in getCodename()
DPropertyUtil.java34 public static boolean isFactoryROM(ITestDevice device) throws DeviceNotAvailableException { in isFactoryROM()
44 public static int getFirstApiLevel(ITestDevice device) throws DeviceNotAvailableException { in getFirstApiLevel()
DMonitoringUtils.java36 public static boolean checkDeviceConnectivity(ITestDevice device) in checkDeviceConnectivity()
54 public static void checkDeviceConnectivity(ITestDevice device, ITestInvocationListener listener, in checkDeviceConnectivity()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java34 public static void runDeviceTests(ITestDevice device, String packageName) in runDeviceTests()
39 public static void runDeviceTests(ITestDevice device, String packageName, int userId) in runDeviceTests()
44 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName) in runDeviceTests()
49 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
54 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
59 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
65 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
70 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
120 public static int[] prepareSingleUser(ITestDevice device) in prepareSingleUser()
128 public static int[] prepareMultipleUsers(ITestDevice device) in prepareMultipleUsers()
[all …]
DAppSecurityPreparer.java34 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
52 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable throwable) in tearDown()
57 private void removeSecondaryUsers(ITestDevice device) throws DeviceNotAvailableException { in removeSecondaryUsers()
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java48 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
62 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
75 private boolean installVmPrereqs(ITestDevice device, CompatibilityBuildHelper ctsBuild) in installVmPrereqs()
112 private void cleanupDeviceFiles(ITestDevice device) throws DeviceNotAvailableException { in cleanupDeviceFiles()
125 private void createRemoteDir(ITestDevice device, String remoteFilePath) in createRemoteDir()
/cts/hostsidetests/security/src/android/security/cts/
DAdbUtils.java45 public static String runCommandLine(String command, ITestDevice device) throws Exception { in runCommandLine()
56 public static String runPoc(String pocName, ITestDevice device) throws Exception { in runPoc()
69 public static String runPoc(String pocName, ITestDevice device, int timeout) throws Exception { in runPoc()
84 public static void runPocNoOutput(String pocName, ITestDevice device, int timeout) in runPocNoOutput()
99 public static String installApk(String pathToApk, ITestDevice device) throws Exception { in installApk()
140 String pocName, ITestDevice device, int timeout, String pattern) throws Exception { in detectInformationDisclosure()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DReportProcessor.java53 void setUp(ITestDevice device) throws DeviceNotAvailableException, IOException {} in setUp()
67 void process(ITestDevice device, String reportPath) in process()
79 boolean recover(ITestDevice device, String reportPath) in recover()
89 void cleanup(ITestDevice device, String reportPath) { in cleanup()
103 static String[] getReportLines(ITestDevice device, String reportPath) in getReportLines()
126 ITestDevice device, File testDir, String method, String reportKey, in runDeviceTest()
162 ITestDevice device, File testDir, String method, String reportKey) in processDeviceReport()
DMediaBitstreamsTest.java147 public void setDevice(ITestDevice device) { in setDevice()
161 private boolean bitstreamsExistOnDevice(ITestDevice device) in bitstreamsExistOnDevice()
181 void setUp(ITestDevice device) throws DeviceNotAvailableException { in setUp()
193 void process(ITestDevice device, String reportPath) in process()
231 private void pushBitstreams(ITestDevice device) in pushBitstreams()
257 void setUp(ITestDevice device) throws DeviceNotAvailableException, IOException { in setUp()
270 private void parse(ITestDevice device, String reportPath) in parse()
321 void process(ITestDevice device, String reportPath) in process()
327 boolean recover(ITestDevice device, String reportPath) in recover()
362 ITestDevice device = getDevice(); in testBitstreamsConformance() local
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DResultFilePuller.java56 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, BuildError, in setUp()
68 private void delete(ITestDevice device, String file) throws DeviceNotAvailableException { in delete()
76 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
101 private void pull(ITestDevice device, String src, String dest) { in pull()
DReportLogCollector.java52 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in setUp()
57 private void prepareReportLogContainers(ITestDevice device, IBuildInfo buildInfo) { in prepareReportLogContainers()
75 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) { in tearDown()
DWifiCheck.java47 private boolean hasWifiFeature(ITestDevice device) throws DeviceNotAvailableException { in hasWifiFeature()
56 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in run()
DLocationCheck.java40 private boolean hasLocationFeature(ITestDevice device) throws DeviceNotAvailableException { in hasLocationFeature()
46 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in run()
DApkInstrumentationPreparer.java68 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in run()
90 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
106 private boolean instrument(ITestDevice device, IBuildInfo buildInfo) in instrument()
DNetworkConnectivityChecker.java37 public boolean postExecutionCheck(ITestDevice device) throws DeviceNotAvailableException { in postExecutionCheck()
DPackageDisabler.java37 public void run(ITestDevice device, IBuildInfo buildInfo) in run()
DTokenRequirement.java47 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in setUp()
DDeviceInfoCollector.java91 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in setUp()
115 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) { in tearDown()
154 private void getDeviceInfoFiles(ITestDevice device) { in getDeviceInfoFiles()
DStayAwakePreparer.java46 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in run()
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/
DActivityAndWindowManagersState.java76 public void computeState(ITestDevice device, String[] waitForActivitiesVisible) in computeState()
89 void computeState(ITestDevice device, String[] waitForActivitiesVisible, in computeState()
118 ITestDevice device, String[] waitForActivityRecords) throws Exception { in waitForDebuggerWindowVisible()
143 void waitForValidState(ITestDevice device, String waitForActivityVisible) in waitForValidState()
156 void waitForValidState(ITestDevice device, String waitForActivityVisible, int stackId) in waitForValidState()
172 void waitForValidState(ITestDevice device, String[] waitForActivitiesVisible, int[] stackIds, in waitForValidState()
189 void waitForValidState(ITestDevice device, String[] waitForActivitiesVisible, int[] stackIds, in waitForValidState()
213 void waitForHomeActivityVisible(ITestDevice device) throws Exception { in waitForHomeActivityVisible()
218 boolean waitForRecentsActivityVisible(ITestDevice device) throws Exception { in waitForRecentsActivityVisible()
224 void waitForKeyguardShowingAndNotOccluded(ITestDevice device) throws Exception { in waitForKeyguardShowingAndNotOccluded()
[all …]
/cts/tests/tests/mediastress/preconditions/src/android/mediastress/cts/preconditions/
DMediaPreparer.java155 protected boolean mediaFilesExistOnDevice(ITestDevice device) in mediaFilesExistOnDevice()
180 private void updateLocalMediaPath(ITestDevice device, File mediaFolder) in updateLocalMediaPath()
196 private void downloadMediaToHost(ITestDevice device, IBuildInfo buildInfo, File mediaFolder) in downloadMediaToHost()
237 protected void copyMediaFiles(ITestDevice device) in copyMediaFiles()
266 protected void setMountPoint(ITestDevice device) { in setMountPoint()
273 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in run()
306 private void setMaxRes(ITestDevice device, IBuildInfo buildInfo) in setMaxRes()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostJUnit4Test.java73 public void setDevice(ITestDevice device) { in setDevice()
89 ITestDevice device = getDevice(); in testLogcat() local
/cts/hostsidetests/abioverride/src/android/abioverride/cts/
DAbiOverrideTest.java73 ITestDevice device = getDevice(); in setUp() local
87 ITestDevice device = getDevice(); in testAbiIs32bit() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanFeaturesTest.java190 private int determineHardwareLevel(JSONObject device) throws JSONException { in determineHardwareLevel()
223 private int determineHardwareCompute(JSONObject device) throws JSONException { in determineHardwareCompute()
240 private int determineHardwareVersion(JSONObject device) throws JSONException { in determineHardwareVersion()
/cts/hostsidetests/backup/src/android/cts/backup/
DBackupPreparer.java60 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
86 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()

1234