Home
last modified time | relevance | path

Searched refs:ITestDevice (Results 1 – 25 of 103) sorted by relevance

12345

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DAdbUtils.java22 import com.android.tradefed.device.ITestDevice;
61 public static String runCommandLine(String command, ITestDevice device) throws Exception { in runCommandLine()
76 public static String runPoc(String pocName, ITestDevice device) throws Exception { in runPoc()
89 public static String runPoc(String pocName, ITestDevice device, int timeout) throws Exception { in runPoc()
102 public static String runPoc(String pocName, ITestDevice device, int timeout, String arguments) in runPoc()
124 public static void runPocNoOutput(String pocName, ITestDevice device, int timeout) in runPocNoOutput()
138 public static void runPocNoOutput(String pocName, ITestDevice device, int timeout, in runPocNoOutput()
158 …public static boolean enableLibcMallocDebug(String processName, ITestDevice device) throws Excepti… in enableLibcMallocDebug()
200 public static String installApk(String pathToApk, ITestDevice device) throws Exception { in installApk()
220 ITestDevice device) throws Exception { in pushResource()
[all …]
DHostsideOomCatcher.java21 import com.android.tradefed.device.ITestDevice;
81 private static long getMemTotal(ITestDevice device) throws DeviceNotAvailableException { in getMemTotal()
183 private ITestDevice getDevice() {
193 private ITestDevice device = null;
196 public OomReceiver(ITestDevice device) {
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java25 import com.android.tradefed.device.ITestDevice;
40 public static void runDeviceTestsAsCurrentUser(ITestDevice device, String packageName, in runDeviceTestsAsCurrentUser()
46 public static void runDeviceTestsAsCurrentUser(ITestDevice device, String packageName, in runDeviceTestsAsCurrentUser()
53 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
58 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
64 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
69 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
77 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
129 public static int[] prepareSingleUser(ITestDevice device) in prepareSingleUser()
137 public static int[] prepareMultipleUsers(ITestDevice device) in prepareMultipleUsers()
[all …]
DAppSecurityPreparer.java22 import com.android.tradefed.device.ITestDevice;
41 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
66 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable throwable) in tearDown()
71 private void removeSecondaryUsers(ITestDevice device) throws DeviceNotAvailableException { in removeSecondaryUsers()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java22 import com.android.tradefed.device.ITestDevice;
35 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
40 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
46 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
51 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()
111 public static int[] prepareSingleUser(ITestDevice device) in prepareSingleUser()
119 public static int[] prepareMultipleUsers(ITestDevice device) in prepareMultipleUsers()
127 public static int[] prepareMultipleUsers(ITestDevice device, int maxUsers) in prepareMultipleUsers()
144 public static int[] getAllUsers(ITestDevice device) in getAllUsers()
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleCommon.java18 import com.android.tradefed.device.ITestDevice;
84 static String getGlobalSetting(ITestDevice device, String globalSetting) throws Exception { in getGlobalSetting()
88 …static void setGlobalSetting(ITestDevice device, String globalSetting, String value) throws Except… in setGlobalSetting()
92 static void clearSettings(ITestDevice device) throws Exception { in clearSettings()
101 static boolean isAngleLoadable(ITestDevice device) throws Exception { in isAngleLoadable()
107 static void startActivity(ITestDevice device, String action) throws Exception { in startActivity()
117 static void stopPackage(ITestDevice device, String pkgName) throws Exception { in stopPackage()
124 static void setProperty(ITestDevice device, String property, String value) throws Exception { in setProperty()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DReportProcessor.java21 import com.android.tradefed.device.ITestDevice;
57 void setUp(ITestDevice device) throws DeviceNotAvailableException, IOException {} in setUp()
71 void process(ITestDevice device, String reportPath) in process()
83 boolean recover(ITestDevice device, String reportPath) in recover()
93 void cleanup(ITestDevice device, String reportPath) { in cleanup()
107 static String[] getReportLines(ITestDevice device, String reportPath) in getReportLines()
144 ITestDevice device, String method, String reportKey, int testTimeout, in runDeviceTest()
184 ITestDevice device, String method, String reportKey) in processDeviceReport()
DMediaBitstreamsTest.java27 import com.android.tradefed.device.ITestDevice;
138 private ITestDevice mDevice;
238 public void setDevice(ITestDevice device) { in setDevice()
243 public ITestDevice getDevice() { in getDevice()
262 private boolean bitstreamsExistOnDevice(ITestDevice device) in bitstreamsExistOnDevice()
310 void setUp(ITestDevice device) throws DeviceNotAvailableException { in setUp()
322 void process(ITestDevice device, String reportPath) in process()
359 private void pushBitstreams(ITestDevice device) in pushBitstreams()
385 void setUp(ITestDevice device) throws DeviceNotAvailableException, IOException { in setUp()
398 private void parse(ITestDevice device, String reportPath) in parse()
[all …]
DDeviceJUnit4Parameterized.java22 import com.android.tradefed.device.ITestDevice;
53 private ITestDevice mDevice;
81 public void setDevice(ITestDevice device) { in setDevice()
91 public ITestDevice getDevice() { in getDevice()
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/
DJvmtiAttachingHostTest.java21 import com.android.tradefed.device.ITestDevice;
71 public void run(ITestDevice device, String pkg, String apk, String abiName); in run()
86 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachDuringBind()
96 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachEarly()
123 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentStartupAgents()
152 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppInternal()
172 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppExternal()
200 private String getPwd(ITestDevice device, String pkg) throws Exception { in getPwd()
214 final ITestDevice device = getDevice(); in runJvmtiAgentLoadTest()
241 private String getDeviceBaseArch(ITestDevice device) throws Exception { in getDeviceBaseArch()
[all …]
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostJUnit4Test.java22 import com.android.tradefed.device.ITestDevice;
70 private ITestDevice mDevice;
73 public void setDevice(ITestDevice device) { in setDevice()
78 public ITestDevice getDevice() { in getDevice()
89 ITestDevice device = getDevice(); in testLogcat()
/cts/tests/tests/provider/preconditions/src/android/provider/cts/preconditions/
DExternalStoragePreparer.java21 import com.android.tradefed.device.ITestDevice;
34 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
48 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable throwable) in tearDown()
56 private boolean hasIsolatedStorage(ITestDevice device) throws DeviceNotAvailableException { in hasIsolatedStorage()
61 private String getVirtualDisk(ITestDevice device) throws DeviceNotAvailableException { in getVirtualDisk()
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java23 import com.android.tradefed.device.ITestDevice;
50 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
64 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
77 private boolean installVmPrereqs(ITestDevice device, CompatibilityBuildHelper ctsBuild) in installVmPrereqs()
121 private void cleanupDeviceFiles(ITestDevice device) throws DeviceNotAvailableException { in cleanupDeviceFiles()
134 private void createRemoteDir(ITestDevice device, String remoteFilePath) in createRemoteDir()
/cts/hostsidetests/wifibroadcasts/src/android/wifibroadcasts/cts/
DWifiBroadcastsHostJUnit4Test.java23 import com.android.tradefed.device.ITestDevice;
83 private ITestDevice mDevice;
86 public void setDevice(ITestDevice device) { in setDevice()
91 public ITestDevice getDevice() { in getDevice()
102 ITestDevice device = getDevice(); in testCleanLogcat()
/cts/hostsidetests/net/src/com/android/cts/net/
DNetPolicyTestsPreparer.java21 import com.android.tradefed.device.ITestDevice;
32 private ITestDevice mDevice;
36 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws DeviceNotAvailableException { in setUp()
45 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable throwable) in tearDown()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DLogHelper.java22 import com.android.tradefed.device.ITestDevice;
44 private static String getLog(ITestDevice device, String tag) throws Exception { in getLog()
60 public static void assertLog(ITestDevice device, String tag, String ...expectedOutput) in assertLog()
67 public static void assertLogDoesNotContain(ITestDevice device, String tag, in assertLogDoesNotContain()
73 public static List<Integer> getSupportedAudioFormats(ITestDevice device) throws Exception { in getSupportedAudioFormats()
/cts/hostsidetests/security/src/android/security/cts/
DMetadataEncryptionTest.java19 import com.android.tradefed.device.ITestDevice;
30 private ITestDevice mDevice;
36 public void setDevice(ITestDevice device) { in setDevice()
DKernelConfigTest.java20 import com.android.tradefed.device.ITestDevice;
46 private static final Map<ITestDevice, HashSet<String>> cachedConfigGzSet = new HashMap<>(1);
50 private ITestDevice mDevice;
65 public void setDevice(ITestDevice device) { in setDevice()
81 private static HashSet<String> getDeviceConfig(ITestDevice device, in getDeviceConfig()
82 Map<ITestDevice, HashSet<String>> cache) throws Exception { in getDeviceConfig() argument
DSELinuxHostTest.java26 import com.android.tradefed.device.ITestDevice;
70 private static final Map<ITestDevice, File> cachedDevicePolicyFiles = new HashMap<>(1);
71 private static final Map<ITestDevice, File> cachedDevicePlatFcFiles = new HashMap<>(1);
72 private static final Map<ITestDevice, File> cachedDeviceNonplatFcFiles = new HashMap<>(1);
73 private static final Map<ITestDevice, File> cachedDeviceVendorManifest = new HashMap<>(1);
74 private static final Map<ITestDevice, File> cachedDeviceSystemPolicy = new HashMap<>(1);
101 private ITestDevice mDevice;
115 public void setDevice(ITestDevice device) { in setDevice()
184 private static File getDeviceFile(ITestDevice device, in getDeviceFile()
185 Map<ITestDevice, File> cache, String deviceFilePath, in getDeviceFile() argument
[all …]
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DUserActivityEmulator.java20 import com.android.tradefed.device.ITestDevice;
28 private final ITestDevice mDevice;
30 public UserActivityEmulator(ITestDevice device) throws DeviceNotAvailableException { in UserActivityEmulator()
/cts/hostsidetests/bootstats/src/android/bootstats/cts/
DBootStatsHostTest.java20 import com.android.tradefed.device.ITestDevice;
37 private ITestDevice mDevice;
107 public void setDevice(ITestDevice device) { in setDevice()
112 public ITestDevice getDevice() { in getDevice()
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DBaseInstallMultiple.java21 import com.android.tradefed.device.ITestDevice;
38 private final ITestDevice mDevice;
44 /*package*/ BaseInstallMultiple(ITestDevice device, IBuildInfo buildInfo) { in BaseInstallMultiple()
74 final ITestDevice device = mDevice; in run()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java19 import com.android.tradefed.device.ITestDevice;
51 private ITestDevice mDevice;
76 public void setDevice(ITestDevice device) { in setDevice()
81 public ITestDevice getDevice() { in getDevice()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecSystemAudioControlTest.java29 import com.android.tradefed.device.ITestDevice;
64 ITestDevice device = getDevice(); in cect_11_2_15_10_GiveSystemAudioModeStatus()
81 ITestDevice device = getDevice(); in cect_11_2_15_11_VolumeUpDownUserControlPressed()
108 ITestDevice device = getDevice(); in cect_11_2_15_12_MuteUserControlPressed()
/cts/hostsidetests/abioverride/src/android/abioverride/cts/
DAbiOverrideTest.java21 import com.android.tradefed.device.ITestDevice;
73 ITestDevice device = getDevice(); in setUp()
87 ITestDevice device = getDevice(); in testAbiIs32bit()

12345