/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | AdbUtils.java | 21 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 …]
|
D | HostsideOomCatcher.java | 21 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) {
|
D | LaunchSomeWhere.java | 19 import com.android.tradefed.device.ITestDevice; 75 public static void launchSomeWhere(String cve, ITestDevice device) in launchSomeWhere()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | Utils.java | 25 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 …]
|
D | AppSecurityPreparer.java | 22 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/ |
D | Utils.java | 22 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/ |
D | CtsAngleCommon.java | 18 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/ |
D | ExternalStoragePreparer.java | 21 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/ |
D | SampleHostJUnit4Test.java | 22 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/ |
D | ReportProcessor.java | 20 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()
|
D | DeviceJUnit4Parameterized.java | 22 import com.android.tradefed.device.ITestDevice; 51 private ITestDevice mDevice; 78 public void setDevice(ITestDevice device) { in setDevice() 88 public ITestDevice getDevice() { in getDevice()
|
D | DeviceJUnit4ClassRunnerWithParameters.java | 20 import com.android.tradefed.device.ITestDevice; 52 private ITestDevice mDevice; 72 public void setDevice(ITestDevice device) { in setDevice() 77 public ITestDevice getDevice() { in getDevice()
|
D | MediaBitstreamsTest.java | 27 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/ |
D | VmTestPreparer.java | 23 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/ |
D | JvmtiAttachingHostTest.java | 21 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/ |
D | WifiBroadcastsHostJUnit4Test.java | 23 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/ |
D | NetPolicyTestsPreparer.java | 21 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/ |
D | UserActivityEmulator.java | 20 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/ |
D | KernelConfigTest.java | 20 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
|
D | PerfEventParanoidTest.java | 18 import com.android.tradefed.device.ITestDevice; 27 private ITestDevice mDevice;
|
D | SELinuxHostTest.java | 26 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/ |
D | BaseInstallMultiple.java | 21 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/ |
D | BaseMultiUserTest.java | 19 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/ |
D | AbiOverrideTest.java | 21 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/ |
D | RollbackManagerHostTest.java | 24 import com.android.tradefed.device.ITestDevice; 71 final ITestDevice.ApexInfo shimApex = getShimApex(); in uninstallShimApexIfNecessary() 88 private ITestDevice.ApexInfo getShimApex() throws DeviceNotAvailableException { in getShimApex()
|