Home
last modified time | relevance | path

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

1234

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DAdbUtils.java21 import com.android.tradefed.device.ITestDevice;
42 public static String runCommandLine(String command, ITestDevice device) throws Exception { in runCommandLine()
57 public static String runPoc(String pocName, ITestDevice device) throws Exception { in runPoc()
70 public static String runPoc(String pocName, ITestDevice device, int timeout) throws Exception { in runPoc()
85 public static void runPocNoOutput(String pocName, ITestDevice device, int timeout) in runPocNoOutput()
100 …public static boolean enableLibcMallocDebug(String processName, ITestDevice device) throws Excepti… in enableLibcMallocDebug()
142 public static String installApk(String pathToApk, ITestDevice device) throws Exception { in installApk()
162 ITestDevice device) throws Exception { in pushResource()
193 public static int runCommandGetExitCode(String cmd, ITestDevice device) throws Exception { in runCommandGetExitCode()
208 public static boolean runPocCheckExitCode(String pocName, ITestDevice device, in runPocCheckExitCode()
[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) {
DLaunchSomeWhere.java19 import com.android.tradefed.device.ITestDevice;
75 public static void launchSomeWhere(String cve, ITestDevice device) in launchSomeWhere()
/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/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/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/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DReportProcessor.java20 import com.android.tradefed.device.ITestDevice;
55 void setUp(ITestDevice device) throws DeviceNotAvailableException, IOException {} in setUp()
69 void process(ITestDevice device, String reportPath) in process()
81 boolean recover(ITestDevice device, String reportPath) in recover()
91 void cleanup(ITestDevice device, String reportPath) { in cleanup()
105 static String[] getReportLines(ITestDevice device, String reportPath) in getReportLines()
141 ITestDevice device, String method, String reportKey, int testTimeout, in runDeviceTest()
178 ITestDevice device, String method, String reportKey) in processDeviceReport()
DDeviceJUnit4Parameterized.java22 import com.android.tradefed.device.ITestDevice;
51 private ITestDevice mDevice;
78 public void setDevice(ITestDevice device) { in setDevice()
88 public ITestDevice getDevice() { in getDevice()
DDeviceJUnit4ClassRunnerWithParameters.java20 import com.android.tradefed.device.ITestDevice;
52 private ITestDevice mDevice;
72 public void setDevice(ITestDevice device) { in setDevice()
77 public ITestDevice getDevice() { in getDevice()
DMediaBitstreamsTest.java27 import com.android.tradefed.device.ITestDevice;
134 private ITestDevice mDevice;
233 public void setDevice(ITestDevice device) { in setDevice()
238 public ITestDevice getDevice() { in getDevice()
247 private boolean bitstreamsExistOnDevice(ITestDevice device) in bitstreamsExistOnDevice()
295 void setUp(ITestDevice device) throws DeviceNotAvailableException { in setUp()
307 void process(ITestDevice device, String reportPath) in process()
344 private void pushBitstreams(ITestDevice device) in pushBitstreams()
370 void setUp(ITestDevice device) throws DeviceNotAvailableException, IOException { in setUp()
383 private void parse(ITestDevice device, String reportPath) in parse()
[all …]
/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/jvmti/attaching/host/src/android/jvmti/cts/
DJvmtiAttachingHostTest.java21 import com.android.tradefed.device.ITestDevice;
65 public void run(ITestDevice device, String pkg, String apk, String abiName); in run()
76 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachDuringBind()
86 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachEarly()
113 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppInternal()
133 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppExternal()
171 final ITestDevice device = getDevice(); in runJvmtiAgentLoadTest()
198 private String getDeviceBaseArch(ITestDevice device) throws Exception { in getDeviceBaseArch()
204 private static void runAttachTestCmd(ITestDevice device, String pkg, String agentParams) in runAttachTestCmd()
215 private String installLibToDataData(ITestDevice device, String pkg, String abiName, in installLibToDataData()
/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/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/security/src/android/cts/security/
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
DPerfEventParanoidTest.java18 import com.android.tradefed.device.ITestDevice;
27 private ITestDevice mDevice;
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/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/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()
/cts/hostsidetests/rollback/src/com/android/cts/rollback/host/
DRollbackManagerHostTest.java24 import com.android.tradefed.device.ITestDevice;
71 final ITestDevice.ApexInfo shimApex = getShimApex(); in uninstallShimApexIfNecessary()
88 private ITestDevice.ApexInfo getShimApex() throws DeviceNotAvailableException { in getShimApex()

1234