Home
last modified time | relevance | path

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

123

/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 boolean enableLibcMallocDebug(String processName, ITestDevice device) throws Excepti… in enableLibcMallocDebug()
141 public static String installApk(String pathToApk, ITestDevice device) throws Exception { in installApk()
161 ITestDevice device) throws Exception { in pushResource()
192 public static int runCommandGetExitCode(String cmd, ITestDevice device) throws Exception { in runCommandGetExitCode()
206 public static boolean runPocCheckExitCode(String pocName, ITestDevice device, in runPocCheckExitCode()
DKernelConfigTest.java65 public void setDevice(ITestDevice device) { in setDevice()
81 private static HashSet<String> getDeviceConfig(ITestDevice device, in getDeviceConfig()
/cts/hostsidetests/appsecurity/src/android/appsecurity/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()
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.java71 ITestDevice device = getDevice(); in uninstall() local
106 ITestDevice device = getDevice(); in assertInstallNoFatalError() local
DBaseInstallMultiple.java52 public BaseInstallMultiple(ITestDevice device, IBuildInfo buildInfo, IAbi abi) { in BaseInstallMultiple()
110 final ITestDevice device = mDevice; in run() local
/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/media/bitstreams/src/android/media/cts/bitstreams/
DReportProcessor.java54 void setUp(ITestDevice device) throws DeviceNotAvailableException, IOException {} in setUp()
68 void process(ITestDevice device, String reportPath) in process()
80 boolean recover(ITestDevice device, String reportPath) in recover()
90 void cleanup(ITestDevice device, String reportPath) { in cleanup()
104 static String[] getReportLines(ITestDevice device, String reportPath) in getReportLines()
133 ITestDevice device, String method, String reportKey, int testTimeout, in runDeviceTest()
168 ITestDevice device, String method, String reportKey) in processDeviceReport()
DMediaBitstreamsTest.java222 public void setDevice(ITestDevice device) { in setDevice()
236 private boolean bitstreamsExistOnDevice(ITestDevice device) in bitstreamsExistOnDevice()
284 void setUp(ITestDevice device) throws DeviceNotAvailableException { in setUp()
296 void process(ITestDevice device, String reportPath) in process()
333 private void pushBitstreams(ITestDevice device) in pushBitstreams()
359 void setUp(ITestDevice device) throws DeviceNotAvailableException, IOException { in setUp()
372 private void parse(ITestDevice device, String reportPath) in parse()
417 void process(ITestDevice device, String reportPath) in process()
423 boolean recover(ITestDevice device, String reportPath) in recover()
473 ITestDevice device = getDevice(); in testBitstreamsConformance() local
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/
DJvmtiAttachingHostTest.java64 public void run(ITestDevice device, String pkg, String apk, String abiName); in run()
70 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachDuringBind()
80 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachEarly()
106 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppInternal()
126 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppExternal()
163 final ITestDevice device = getDevice(); in runJvmtiAgentLoadTest() local
185 private String getDeviceBaseArch(ITestDevice device) throws Exception { in getDeviceBaseArch()
191 private static void runAttachTestCmd(ITestDevice device, String pkg, String agentParams) in runAttachTestCmd()
202 private String installLibToDataData(ITestDevice device, String pkg, String abiName, in installLibToDataData()
/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryIncidentTest.java63 static boolean hasBattery(ITestDevice device) throws DeviceNotAvailableException { in hasBattery()
68 private static boolean isLeanback(ITestDevice device) throws DeviceNotAvailableException { in isLeanback()
DFingerprintIncidentTest.java63 static boolean supportsFingerprint(ITestDevice device) throws DeviceNotAvailableException { in supportsFingerprint()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostJUnit4Test.java73 public void setDevice(ITestDevice device) { in setDevice()
89 ITestDevice device = getDevice(); in testLogcat() local
DSampleHostTest.java65 ITestDevice device = getDevice(); in testLogcat() local
/cts/hostsidetests/api/src/com/android/cts/api/
DFilePuller.java33 private final ITestDevice device; field in FilePuller
36 FilePuller(ITestDevice device) { in FilePuller()
/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/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/graphics/src/android/graphics/cts/
DVulkanFeaturesTest.java225 private int determineHardwareLevel(JSONObject device) throws JSONException { in determineHardwareLevel()
258 private int determineHardwareCompute(JSONObject device) throws JSONException { in determineHardwareCompute()
274 private int determineHardwareVersion(JSONObject device) throws JSONException { in determineHardwareVersion()
310 private boolean hasExtension(JSONObject device, String name, int minVersion) in hasExtension()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
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/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DUserActivityEmulator.java30 public UserActivityEmulator(ITestDevice device) throws DeviceNotAvailableException { in UserActivityEmulator()
/cts/hostsidetests/backup/src/android/cts/backup/
DBackupPreparer.java65 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
96 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
/cts/hostsidetests/security/securityPatch/CVE-2016-8432/
Dlocal_poc.h150 struct device { struct
151 struct device *parent; argument
152 void *p;
153 void* pad0[8];
154 char *init_name;
155 void *type;
156 void* pad1[5];
157 void *bus;
158 void *driver;
159 void *platform_data;
[all …]
/cts/hostsidetests/security/securityPatch/CVE-2016-8431/
Dlocal_poc.h150 struct device { struct
151 struct device *parent; argument
152 void *p;
153 void* pad0[8];
154 char *init_name;
155 void *type;
156 void* pad1[5];
157 void *bus;
158 void *driver;
159 void *platform_data;
[all …]
/cts/suite/audio_quality/lib/src/
DAdb.cpp21 Adb::Adb(const android::String8& device) in Adb()

123