Searched refs:sDevice (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
H A D | accessorychat.c | 32 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/core/jni/ |
H A D | android_hardware_location_ActivityRecognitionHardware.cpp | 30 static activity_recognition_device_t* sDevice = NULL; variable 143 error = activity_recognition_open(&sModule->common, &sDevice); 160 sDevice->register_activity_callback(sDevice, &sCallbacks); 173 if (sDevice != NULL) { 174 sDevice->register_activity_callback(sDevice, &sCallbacks); 184 if (sDevice == NULL) { 188 int error = activity_recognition_close(sDevice); 199 if (sModule != NULL && sDevice ! [all...] |
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiDevice.java | 64 private static UiDevice sDevice; field in class:UiDevice 114 if (sDevice == null) { 115 sDevice = new UiDevice(); 117 return sDevice;
|
Completed in 121 milliseconds