Lines Matching refs:adb_object

204   AdbInterfaceObject* adb_object =  in AdbGetInterfaceName()  local
207 if (NULL != adb_object) { in AdbGetInterfaceName()
209 bool ret = adb_object->GetInterfaceName(buffer, buffer_char_size, ansi); in AdbGetInterfaceName()
210 adb_object->Release(); in AdbGetInterfaceName()
223 AdbInterfaceObject* adb_object = in AdbGetSerialNumber() local
226 if (NULL != adb_object) { in AdbGetSerialNumber()
228 bool ret = adb_object->GetSerialNumber(buffer, buffer_char_size, ansi); in AdbGetSerialNumber()
229 adb_object->Release(); in AdbGetSerialNumber()
240 AdbInterfaceObject* adb_object = in AdbGetUsbDeviceDescriptor() local
243 if (NULL != adb_object) { in AdbGetUsbDeviceDescriptor()
245 bool ret = adb_object->GetUsbDeviceDescriptor(desc); in AdbGetUsbDeviceDescriptor()
246 adb_object->Release(); in AdbGetUsbDeviceDescriptor()
257 AdbInterfaceObject* adb_object = in AdbGetUsbConfigurationDescriptor() local
260 if (NULL != adb_object) { in AdbGetUsbConfigurationDescriptor()
262 bool ret = adb_object->GetUsbConfigurationDescriptor(desc); in AdbGetUsbConfigurationDescriptor()
263 adb_object->Release(); in AdbGetUsbConfigurationDescriptor()
274 AdbInterfaceObject* adb_object = in AdbGetUsbInterfaceDescriptor() local
277 if (NULL != adb_object) { in AdbGetUsbInterfaceDescriptor()
279 bool ret = adb_object->GetUsbInterfaceDescriptor(desc); in AdbGetUsbInterfaceDescriptor()
280 adb_object->Release(); in AdbGetUsbInterfaceDescriptor()
292 AdbInterfaceObject* adb_object = in AdbGetEndpointInformation() local
295 if (NULL != adb_object) { in AdbGetEndpointInformation()
297 bool ret = adb_object->GetEndpointInformation(endpoint_index, info); in AdbGetEndpointInformation()
298 adb_object->Release(); in AdbGetEndpointInformation()
325 AdbInterfaceObject* adb_object = in AdbOpenEndpoint() local
328 if (NULL != adb_object) { in AdbOpenEndpoint()
331 adb_object->OpenEndpoint(endpoint_index, access_type, sharing_mode); in AdbOpenEndpoint()
332 adb_object->Release(); in AdbOpenEndpoint()
360 AdbEndpointObject* adb_object = in AdbGetEndpointInterface() local
363 if (NULL != adb_object) { in AdbGetEndpointInterface()
365 ADBAPIHANDLE ret = adb_object->GetParentInterfaceHandle(); in AdbGetEndpointInterface()
366 adb_object->Release(); in AdbGetEndpointInterface()
377 AdbEndpointObject* adb_object = in AdbQueryInformationEndpoint() local
380 if (NULL != adb_object) { in AdbQueryInformationEndpoint()
382 bool ret = adb_object->GetEndpointInformation(info); in AdbQueryInformationEndpoint()
383 adb_object->Release(); in AdbQueryInformationEndpoint()
398 AdbEndpointObject* adb_object = in AdbReadEndpointAsync() local
401 if (NULL != adb_object) { in AdbReadEndpointAsync()
403 ADBAPIHANDLE ret = adb_object->AsyncRead(buffer, in AdbReadEndpointAsync()
408 adb_object->Release(); in AdbReadEndpointAsync()
423 AdbEndpointObject* adb_object = in AdbWriteEndpointAsync() local
426 if (NULL != adb_object) { in AdbWriteEndpointAsync()
428 ADBAPIHANDLE ret = adb_object->AsyncWrite(buffer, in AdbWriteEndpointAsync()
433 adb_object->Release(); in AdbWriteEndpointAsync()
447 AdbEndpointObject* adb_object = in AdbReadEndpointSync() local
450 if (NULL != adb_object) { in AdbReadEndpointSync()
453 adb_object->SyncRead(buffer, bytes_to_read, bytes_read, time_out); in AdbReadEndpointSync()
454 adb_object->Release(); in AdbReadEndpointSync()
468 AdbEndpointObject* adb_object = in AdbWriteEndpointSync() local
471 if (NULL != adb_object) { in AdbWriteEndpointSync()
474 adb_object->SyncWrite(buffer, bytes_to_write, bytes_written, time_out); in AdbWriteEndpointSync()
475 adb_object->Release(); in AdbWriteEndpointSync()
488 AdbIOCompletion* adb_object = in AdbGetOvelappedIoResult() local
491 if (NULL != adb_object) { in AdbGetOvelappedIoResult()
494 adb_object->GetOvelappedIoResult(overlapped, bytes_transferred, wait); in AdbGetOvelappedIoResult()
495 adb_object->Release(); in AdbGetOvelappedIoResult()
505 AdbIOCompletion* adb_object = in AdbHasOvelappedIoComplated() local
508 if (NULL != adb_object) { in AdbHasOvelappedIoComplated()
511 adb_object->IsCompleted(); in AdbHasOvelappedIoComplated()
512 adb_object->Release(); in AdbHasOvelappedIoComplated()
522 AdbObjectHandle* adb_object = AdbObjectHandle::Lookup(adb_handle); in AdbCloseHandle() local
524 if (NULL != adb_object) { in AdbCloseHandle()
526 bool ret = adb_object->CloseHandle(); in AdbCloseHandle()
527 adb_object->Release(); in AdbCloseHandle()