/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 924 const int readSize = mEventPacket.readResponse(mRequestIntr->dev);
|
H A D | MtpPacket.cpp | 156 int result = usb_device_bulk_transfer(request->dev,
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 141 static int load_audio_interface(const char *if_name, audio_hw_device_t **dev) argument 152 rc = audio_hw_device_open(mod, dev); 158 if ((*dev)->common.version < AUDIO_DEVICE_API_VERSION_MIN) { 159 ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version); 166 *dev = NULL; 302 audio_hw_device_t *dev = audioHwDevice->hwDevice(); local 303 if ((dev->get_supported_devices != NULL) && 304 (dev->get_supported_devices(dev) & devices) == devices) 447 audio_hw_device_t *dev local 806 AudioHwDevice *dev = mAudioHwDevs.valueAt(i); local 847 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local 878 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local 899 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local 928 AudioHwDevice *dev = mAudioHwDevs.valueAt(i); local 1109 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local 1190 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local 1232 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local 1286 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local 1622 audio_hw_device_t *dev; local 1736 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local [all...] |
H A D | AudioFlinger.h | 615 AudioStreamIn(AudioHwDevice *dev, audio_stream_in_t *in) : argument 616 audioHwDev(dev), stream(in) {}
|
H A D | AudioStreamOut.cpp | 30 AudioStreamOut::AudioStreamOut(AudioHwDevice *dev, audio_output_flags_t flags) argument 31 : audioHwDev(dev)
|
H A D | AudioStreamOut.h | 46 AudioStreamOut(AudioHwDevice *dev, audio_output_flags_t flags);
|
H A D | SpdifStreamOut.cpp | 35 SpdifStreamOut::SpdifStreamOut(AudioHwDevice *dev, argument 39 : AudioStreamOut(dev, (audio_output_flags_t) (flags | AUDIO_OUTPUT_FLAG_IEC958_NONAUDIO))
|
H A D | SpdifStreamOut.h | 41 SpdifStreamOut(AudioHwDevice *dev, audio_output_flags_t flags,
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | ConfigParsingUtils.cpp | 303 sp<DeviceDescriptor> dev = new DeviceDescriptor(singleType); local 304 devices.add(dev);
|
/frameworks/av/services/radio/ |
H A D | RadioService.cpp | 56 struct radio_hw_device *dev; local 66 rc = radio_hw_device_open(mod, &dev); 72 if (dev->common.version != RADIO_DEVICE_API_VERSION_CURRENT) { 73 ALOGE("wrong radio hw device version %04x", dev->common.version); 78 rc = dev->get_properties(dev, &halProperties); 91 sp<Module> module = new Module(dev, properties);
|
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHwService.cpp | 59 sound_trigger_hw_device *dev; local 67 rc = sound_trigger_hw_device_open(mod, &dev); 73 if (dev->common.version < SOUND_TRIGGER_DEVICE_API_VERSION_1_0 || 74 dev->common.version > SOUND_TRIGGER_DEVICE_API_VERSION_CURRENT) { 75 ALOGE("wrong sound trigger hw device version %04x", dev->common.version); 80 rc = dev->get_properties(dev, &descriptor.properties); 91 sp<Module> module = new Module(this, dev, descriptor, client);
|
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraCaptureSession.cpp | 26 sp<CameraDevice> dev = getDeviceSp(); local 27 if (dev != nullptr && !dev->isClosed()) { 28 dev->lockDeviceForSessionOps(); 31 dev->notifySessionEndOfLifeLocked(this); 33 dev->unlockDevice(); 51 sp<CameraDevice> dev = getDeviceSp(); local 52 if (dev != nullptr) { 53 dev->lockDeviceForSessionOps(); 59 if (!mIsClosed && dev ! 76 sp<CameraDevice> dev = getDeviceSp(); local 94 sp<CameraDevice> dev = getDeviceSp(); local 115 sp<CameraDevice> dev = getDeviceSp(); local 136 sp<CameraDevice> dev = getDeviceSp(); local 154 sp<CameraDevice> dev = getDeviceSp(); local [all...] |
H A D | ACameraDevice.cpp | 66 mCbLooper->setName("C2N-dev-looper"); 786 ACameraDevice* dev; local 787 found = msg->findPointer(kDeviceKey, (void**) &dev); 788 if (!found || dev == nullptr) { 801 (*onDisconnected)(context, dev); 806 ACameraDevice* dev; local 807 found = msg->findPointer(kDeviceKey, (void**) &dev); 808 if (!found || dev == nullptr) { 827 (*onError)(context, dev, errorCode); 1136 sp<CameraDevice> dev local 1198 sp<CameraDevice> dev = mDevice.promote(); local 1240 sp<CameraDevice> dev = mDevice.promote(); local 1280 sp<CameraDevice> dev = mDevice.promote(); local 1353 sp<CameraDevice> dev = mDevice.promote(); local [all...] |