Searched defs:sDevice (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
H A Daccessorychat.c32 struct usb_device *sDevice = NULL; variable in typeref:struct:usb_device
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), devnam
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java67 private static UiDevice sDevice; field in class:UiDevice
117 if (sDevice == null) {
118 sDevice = new UiDevice();
120 return sDevice;

Completed in 2807 milliseconds