OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sDevice
(Results
1 - 5
of
5
) sorted by null
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
accessorychat.c
32
struct usb_device *
sDevice
= NULL;
38
while (
sDevice
&& ret >= 0) {
41
ret = usb_device_bulk_transfer(
sDevice
, endpoint, buffer, sizeof(buffer), 1000);
61
if (!line || !
sDevice
)
63
ret = usb_device_bulk_transfer(
sDevice
, endpoint, line, strlen(line), 1000);
102
if (!
sDevice
&& (productId == 0x2D00 || productId == 0x2D01)) {
110
sDevice
= device;
169
if (device !=
sDevice
)
176
if (
sDevice
&& !strcmp(usb_device_get_name(
sDevice
), devname))
[
all
...]
/cts/apps/cts-usb-accessory/
cts-usb-accessory.c
32
struct usb_device *
sDevice
= NULL;
40
while (
sDevice
&& ret >= 0) {
42
ret = usb_device_bulk_transfer(
sDevice
, endpoints[0], buffer, sizeof(buffer), 1000);
55
usb_device_bulk_transfer(
sDevice
, endpoints[1], message, strlen(message), 1000);
94
if (!
sDevice
&& (vendorId == 0x18D1 && (productId == 0x2D00 || productId == 0x2D01))) {
103
sDevice
= device;
165
if (device !=
sDevice
)
172
if (
sDevice
&& !strcmp(usb_device_get_name(
sDevice
), devname)) {
173
usb_device_close(
sDevice
);
[
all
...]
/hardware/libhardware/tests/keymaster/
keymaster_test.cpp
343
ASSERT_EQ(0, keymaster_open(mod, &
sDevice
))
349
ASSERT_TRUE(
sDevice
->generate_keypair != NULL)
352
ASSERT_TRUE(
sDevice
->import_keypair != NULL)
355
ASSERT_TRUE(
sDevice
->get_keypair_public != NULL)
358
ASSERT_TRUE(
sDevice
->sign_data != NULL)
361
ASSERT_TRUE(
sDevice
->verify_data != NULL)
366
ASSERT_EQ(0, keymaster_close(
sDevice
));
370
static keymaster_device_t*
sDevice
;
373
keymaster_device_t* KeymasterBaseTest::
sDevice
= NULL;
405
sDevice
->generate_keypair(sDevice, key_type, ¶ms, &key_blob, &key_blob_length)
[
all
...]
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
UiDevice.java
64
private static UiDevice
sDevice
;
114
if (
sDevice
== null) {
115
sDevice
= new UiDevice();
117
return
sDevice
;
/prebuilts/misc/common/ub-uiautomator/
ub-uiautomator.jar
Completed in 61 milliseconds