Home
last modified time | relevance | path

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

1234

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DAdbUtils.java42 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()
222 public static int runPocGetExitStatus(String pocName, ITestDevice device, int timeout) in runPocGetExitStatus()
[all …]
DLaunchSomeWhere.java75 public static void launchSomeWhere(String cve, ITestDevice device) in launchSomeWhere()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java40 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()
145 public static int[] prepareMultipleUsers(ITestDevice device, int maxUsers) in prepareMultipleUsers()
[all …]
DAppSecurityPreparer.java41 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()
DCorruptApkTests.java69 ITestDevice device = getDevice(); in retrieveInfo() local
102 ITestDevice device = getDevice(); in uninstallApks() local
/cts/tests/tests/provider/preconditions/src/android/provider/cts/preconditions/
DExternalStoragePreparer.java34 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.java50 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/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java35 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/media/bitstreams/src/android/media/cts/bitstreams/
DReportProcessor.java55 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()
DMediaBitstreamsTest.java233 public void setDevice(ITestDevice device) { in setDevice()
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()
428 void process(ITestDevice device, String reportPath) in process()
434 boolean recover(ITestDevice device, String reportPath) in recover()
496 ITestDevice device = getDevice(); in testBitstreamsConformance() local
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/
DJvmtiAttachingHostTest.java65 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() local
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/angle/src/android/angle/cts/
DCtsAngleCommon.java84 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/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/hostsidetests/net/src/com/android/cts/net/
DNetPolicyTestsPreparer.java36 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/wifibroadcasts/src/android/wifibroadcasts/cts/
DWifiBroadcastsHostJUnit4Test.java86 public void setDevice(ITestDevice device) { in setDevice()
102 ITestDevice device = getDevice(); in testCleanLogcat() local
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DBaseInstallMultiple.java44 /*package*/ BaseInstallMultiple(ITestDevice device, IBuildInfo buildInfo) { in BaseInstallMultiple()
74 final ITestDevice device = mDevice; in run() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/runner/
DUiRenderingRunner.java39 final UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in onCreate() local
/cts/tests/tests/uirendering27/src/android/uirendering/cts/runner/
DUiRenderingRunner.java39 final UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in onCreate() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothChatService.java183 public synchronized void connect(BluetoothDevice device, boolean secure) { in connect()
197 public synchronized void connect(BluetoothDevice device, boolean secure, int psm) { in connect()
220 device, final String socketType) { in connected()
436 public ConnectThread(BluetoothDevice device, boolean secure) { in ConnectThread()
444 public ConnectThread(BluetoothDevice device, boolean secure, int psm) { in ConnectThread()
449 … private BluetoothSocket connectThreadCommon(BluetoothDevice device, boolean secure, int psm) { in connectThreadCommon()
DDevicePickerActivity.java155 Device device = (Device) parent.getItemAtPosition(position); in onItemClick() local
193 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local
217 static Device fromBluetoothDevice(BluetoothDevice device) { in fromBluetoothDevice()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanFeaturesTest.java261 private int determineHardwareLevel(JSONObject device) throws JSONException { in determineHardwareLevel()
294 private int determineHardwareCompute(JSONObject device) throws JSONException { in determineHardwareCompute()
320 private int determineHardwareVersion(JSONObject device) throws JSONException { in determineHardwareVersion()
356 private boolean hasExtension(JSONObject device, String name, int minVersion) in hasExtension()
/cts/hostsidetests/theme/src/android/theme/cts/
DThemeHostTest.java237 private static String getDensityBucketForDevice(ITestDevice device) { in getDensityBucketForDevice()
277 private static int resetDensityIfNeeded(ITestDevice device) throws DeviceNotAvailableException { in resetDensityIfNeeded()
289 private static void restoreDensityIfNeeded(ITestDevice device, int restoreDensity) in restoreDensityIfNeeded()
296 private static int getDensityForDevice(ITestDevice device) throws DeviceNotAvailableException { in getDensityForDevice()
/cts/hostsidetests/security/src/android/cts/security/
DKernelConfigTest.java65 public void setDevice(ITestDevice device) { in setDevice()
81 private static HashSet<String> getDeviceConfig(ITestDevice device, in getDeviceConfig()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DSuspendPackageTest.java96 final UiDevice device = UiDevice.getInstance(getInstrumentation()); in dismissPolicyTransparencyDialog() local
114 final UiDevice device = UiDevice.getInstance(getInstrumentation()); in dismissCustomDialog() local

1234