/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 378 MtpObjectInfo* MtpDevice::getObjectInfo(MtpObjectHandle handle) { argument 384 mRequest.setParameter(1, handle); 391 MtpObjectInfo* info = new MtpObjectInfo(handle); 400 void* MtpDevice::getThumbnail(MtpObjectHandle handle, int& outLength) { argument 404 mRequest.setParameter(1, handle); 492 bool MtpDevice::deleteObject(MtpObjectHandle handle) { argument 496 mRequest.setParameter(1, handle); 505 MtpObjectHandle MtpDevice::getParent(MtpObjectHandle handle) { argument 506 MtpObjectInfo* info = getObjectInfo(handle); 516 MtpObjectHandle MtpDevice::getStorageID(MtpObjectHandle handle) { argument 585 readObject(MtpObjectHandle handle, bool (* callback)(void* data, int offset, int length, void* clientData), size_t objectSize, void* clientData) argument 678 readObject(MtpObjectHandle handle, const char* destPath, int group, int perm) argument [all...] |
H A D | MtpObjectInfo.cpp | 27 MtpObjectInfo::MtpObjectInfo(MtpObjectHandle handle) argument 28 : mHandle(handle),
|
H A D | MtpServer.cpp | 246 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { argument 247 ALOGV("sendObjectAdded %d\n", handle); 248 sendEvent(MTP_EVENT_OBJECT_ADDED, handle); 251 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { argument 252 ALOGV("sendObjectRemoved %d\n", handle); 253 sendEvent(MTP_EVENT_OBJECT_REMOVED, handle); 281 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path, argument 283 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd); 287 MtpServer::ObjectEdit* MtpServer::getEditObject(MtpObjectHandle handle) { argument 291 if (edit->mHandle == handle) retur 296 removeEditObject(MtpObjectHandle handle) argument 952 MtpObjectHandle handle = mDatabase->beginSendObject((const char*)path, local [all...] |
H A D | MtpServer.h | 63 // handle for new object, set by SendObjectInfo and used by SendObject 81 ObjectEdit(MtpObjectHandle handle, const char* path, uint64_t size, argument 83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) { 105 void sendObjectAdded(MtpObjectHandle handle); 106 void sendObjectRemoved(MtpObjectHandle handle); 114 void addEditObject(MtpObjectHandle handle, MtpString& path, 116 ObjectEdit* getEditObject(MtpObjectHandle handle); 117 void removeEditObject(MtpObjectHandle handle);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 294 // check a match for the requested module handle 592 ALOGE("no playback thread found for output handle %d", output); 669 // return handle to client 708 // should examine all callers and fix them to handle smaller counts 717 ALOGW("latency(): no playback thread found for output handle %d", output); 1484 // return handle to client 1578 audio_module_handle_t handle = nextUniqueId(); local 1579 mAudioHwDevs.add(handle, new AudioHwDevice(handle, name, dev, flags)); 1581 ALOGI("loadHwModule() Loaded %s audio interface from %s (%s) handle 2426 sp<EffectHandle> handle; local [all...] |
H A D | AudioFlinger.h | 239 audio_patch_handle_t *handle); 242 virtual status_t releaseAudioPatch(audio_patch_handle_t handle); 550 // FIXME This API does not handle rollover to zero (for unsigned IDs), 583 // Called when the last effect handle on an effect instance is removed. If this 596 AudioHwDevice(audio_module_handle_t handle, argument 600 : mHandle(handle), mModuleName(strdup(moduleName)) 613 audio_module_handle_t handle() const { return mHandle; } function in class:android::AudioFlinger::AudioHwDevice
|
H A D | Effects.cpp | 107 status_t AudioFlinger::EffectModule::addHandle(EffectHandle *handle) argument 112 int priority = handle->priority(); 121 // first non destroyed handle is considered in control 129 // if inserted in first place, move effect control from previous owner to this handle 136 handle->setControl(true /*hasControl*/, false /*signal*/, enabled /*enabled*/); 141 ALOGV("addHandle() %p added handle %p in position %d", this, handle, i); 142 mHandles.insertAt(handle, i); 146 size_t AudioFlinger::EffectModule::removeHandle(EffectHandle *handle) argument 152 if (mHandles[i] == handle) { 194 disconnect(EffectHandle *handle, bool unpinIfLast) argument 780 EffectHandle *handle = mHandles[i]; local 1008 EffectHandle *handle = mHandles[i]; local 1794 EffectHandle *handle = effect->controlHandle_l(); local [all...] |
H A D | PatchPanel.cpp | 71 audio_patch_handle_t *handle) 75 return mPatchPanel->createAudioPatch(patch, handle); 81 status_t AudioFlinger::releaseAudioPatch(audio_patch_handle_t handle) argument 85 return mPatchPanel->releaseAudioPatch(handle); 140 audio_patch_handle_t *handle) 142 ALOGV("createAudioPatch() num_sources %d num_sinks %d handle %d", 143 patch->num_sources, patch->num_sinks, *handle); 151 if (handle == NULL || patch == NULL) { 164 if (*handle != AUDIO_PATCH_HANDLE_NONE) { 165 for (size_t index = 0; *handle ! 70 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument 139 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument 547 releaseAudioPatch(audio_patch_handle_t handle) argument [all...] |
H A D | Threads.cpp | 132 // Supporting this option will require fixing HALs that can't handle large writes. 444 audio_patch_handle_t *handle) 447 sp<ConfigEvent> configEvent = (ConfigEvent *)new CreateAudioPatchConfigEvent(*patch, *handle); 452 *handle = data->mHandle; 458 const audio_patch_handle_t handle) 461 sp<ConfigEvent> configEvent = (ConfigEvent *)new ReleaseAudioPatchConfigEvent(handle); 583 dprintf(fd, " I/O handle: %d\n", mId); 898 sp<EffectHandle> handle; local 1000 // create effect handle and connect it to effect module 1001 handle 442 sendCreateAudioPatchConfigEvent( const struct audio_patch *patch, audio_patch_handle_t *handle) argument 457 sendReleaseAudioPatchConfigEvent( const audio_patch_handle_t handle) argument 2724 createAudioPatch_l(const struct audio_patch *patch, audio_patch_handle_t *handle) argument 2752 releaseAudioPatch_l(const audio_patch_handle_t handle) argument [all...] |
H A D | Threads.h | 169 audio_patch_handle_t handle) : 170 mPatch(patch), mHandle(handle) {} 173 snprintf(buffer, size, "Patch handle: %u\n", mHandle); 183 audio_patch_handle_t handle) : 185 mData = new CreateAudioPatchConfigEventData(patch, handle); 193 ReleaseAudioPatchConfigEventData(const audio_patch_handle_t handle) : argument 194 mHandle(handle) {} 197 snprintf(buffer, size, "Patch handle: %u\n", mHandle); 205 ReleaseAudioPatchConfigEvent(const audio_patch_handle_t handle) : argument 207 mData = new ReleaseAudioPatchConfigEventData(handle); 168 CreateAudioPatchConfigEventData(const struct audio_patch patch, audio_patch_handle_t handle) argument 182 CreateAudioPatchConfigEvent(const struct audio_patch patch, audio_patch_handle_t handle) argument [all...] |
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyClientImpl.cpp | 187 audio_patch_handle_t *handle, 190 return mAudioPolicyService->clientCreateAudioPatch(patch, handle, delayMs); 193 status_t AudioPolicyService::AudioPolicyClient::releaseAudioPatch(audio_patch_handle_t handle, argument 196 return mAudioPolicyService->clientReleaseAudioPatch(handle, delayMs); 186 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle, int delayMs) argument
|
H A D | AudioPolicyInterfaceImpl.cpp | 572 audio_patch_handle_t *handle) 581 return mAudioPolicyManager->createAudioPatch(patch, handle, 585 status_t AudioPolicyService::releaseAudioPatch(audio_patch_handle_t handle) argument 595 return mAudioPolicyManager->releaseAudioPatch(handle, 571 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
|
H A D | AudioPolicyManager.cpp | 233 // handle output devices 244 // handle output device connection 285 // handle output device disconnection 355 // handle input devices 362 // handle input device connection 393 // handle input device disconnection 460 // handle legacy remote submix case where the address was not always specified 617 // if leaving call state, handle special case of active streams 720 // if entering in call state, handle special case of active streams 1304 // handle specia 2553 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle, uid_t uid) argument 2812 releaseAudioPatch(audio_patch_handle_t handle, uid_t uid) argument 3000 addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch) argument 3017 removeAudioPatch(audio_patch_handle_t handle) argument [all...] |
H A D | AudioPolicyManager.h | 175 audio_patch_handle_t *handle, 177 virtual status_t releaseAudioPatch(audio_patch_handle_t handle, 327 AudioPatch(audio_patch_handle_t handle, argument 329 mHandle(handle), mPatch(*patch), mUid(uid), mAfPatchHandle(0) {} 501 audio_io_handle_t mIoHandle; // output handle 529 audio_io_handle_t mIoHandle; // input handle 620 // return io handle of active input or 0 if no input is active 658 // handle special cases for sonification strategy while in call: mute streams or replace by 672 // returns its handle if any. 702 // returns the A2DP output handle i [all...] |
H A D | AudioPolicyService.cpp | 204 audio_patch_handle_t *handle, 207 return mAudioCommandThread->createAudioPatchCommand(patch, handle, delayMs); 210 status_t AudioPolicyService::clientReleaseAudioPatch(audio_patch_handle_t handle, argument 213 return mAudioCommandThread->releaseAudioPatchCommand(handle, delayMs); 687 audio_patch_handle_t *handle, 696 data->mHandle = *handle; 702 *handle = data->mHandle; 707 status_t AudioPolicyService::AudioCommandThread::releaseAudioPatchCommand(audio_patch_handle_t handle, argument 713 data->mHandle = handle; 848 audio_patch_handle_t handle; local 203 clientCreateAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle, int delayMs) argument 685 createAudioPatchCommand( const struct audio_patch *patch, audio_patch_handle_t *handle, int delayMs) argument [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | ZslProcessor.cpp | 95 void ZslProcessor::onBufferReleased(buffer_handle_t *handle) { argument 101 if (&(mZslQueue[i].buffer.mGraphicBuffer->handle) == handle) break; 105 __FUNCTION__, handle); 313 buffer_handle_t *handle = local 314 &(mZslQueue[index].buffer.mGraphicBuffer->handle); 344 handle, this);
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 468 sp<CameraHeapMemory> mem(static_cast<CameraHeapMemory *>(data->handle)); 487 sp<CameraHeapMemory> mem(static_cast<CameraHeapMemory *>(data->handle)); 520 handle.data = mHeap->base(); 521 handle.size = mBufSize * mNumBufs; 522 handle.handle = this; 530 handle.release = __put_memory; 543 camera_memory_t handle; member in class:android::CameraHardwareInterface::CameraHeapMemory 555 return &mem->handle; 563 CameraHeapMemory *mem = static_cast<CameraHeapMemory *>(data->handle); [all...] |
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 1174 buffers[bufferIdx] = anwBuffers[bufferIdx]->handle; 1301 *buffer = &(anb->handle); 1332 container_of(buffer, ANativeWindowBuffer, handle), -1); 1358 container_of(buffer, ANativeWindowBuffer, handle), -1); 1470 if (listener != 0) listener->onBufferReleased(s->handle); 1474 if (listener != 0) listener->onBufferReleased(s->handle); 1484 buffer_handle_t *handle, const wp<BufferReleasedListener> &releaseListener) { 1487 ALOGV("%s: Pushing buffer %p to stream", __FUNCTION__, (void*)(*handle)); 1490 entry.handle = handle; 1483 pushIntoStream( buffer_handle_t *handle, const wp<BufferReleasedListener> &releaseListener) argument [all...] |
H A D | Camera2Device.h | 294 status_t pushIntoStream(buffer_handle_t *handle, 320 buffer_handle_t *handle; member in struct:android::Camera2Device::ReprocessStreamAdapter::QueueEntry
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.cpp | 139 buffer_handle_t *handle, 151 buffer.buffer = handle; 138 handoutBufferLocked(camera3_stream_buffer &buffer, buffer_handle_t *handle, int acquireFence, int releaseFence, camera3_buffer_status_t status, bool output) argument
|
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHwService.cpp | 84 descriptor.handle = 86 ALOGI("loaded default module %s, handle %d", descriptor.properties.description, 87 descriptor.handle); 91 mModules.add(descriptor.handle, module); 125 status_t SoundTriggerHwService::attach(const sound_trigger_module_handle_t handle, argument 129 ALOGV("attach module %d", handle); 139 ssize_t index = mModules.indexOfKey(handle); 523 sound_model_handle_t *handle) 525 ALOGV("loadSoundModel() handle"); 552 handle); 522 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument 571 unloadSoundModel(sound_model_handle_t handle) argument 582 unloadSoundModel_l(sound_model_handle_t handle) argument 598 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument 646 stopRecognition(sound_model_handle_t handle) argument 739 getModel( sound_model_handle_t handle) argument 823 Model(sound_model_handle_t handle, audio_session_t session, audio_io_handle_t ioHandle, audio_devices_t device, sound_trigger_sound_model_type_t type) argument [all...] |
/frameworks/av/soundtrigger/ |
H A D | ISoundTrigger.cpp | 54 sound_model_handle_t *handle) 56 if (modelMemory == 0 || handle == NULL) { 67 reply.read(handle, sizeof(sound_model_handle_t)); 71 virtual status_t unloadSoundModel(sound_model_handle_t handle) argument 75 data.write(&handle, sizeof(sound_model_handle_t)); 83 virtual status_t startRecognition(sound_model_handle_t handle, argument 88 data.write(&handle, sizeof(sound_model_handle_t)); 102 virtual status_t stopRecognition(sound_model_handle_t handle) argument 106 data.write(&handle, sizeof(sound_model_handle_t)); 134 sound_model_handle_t handle; local 53 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument 144 sound_model_handle_t handle; local 152 sound_model_handle_t handle; local 164 sound_model_handle_t handle; local [all...] |
H A D | ISoundTriggerHwService.cpp | 78 virtual status_t attach(const sound_trigger_module_handle_t handle, argument 84 data.write(&handle, sizeof(sound_trigger_module_handle_t)); 141 sound_trigger_module_handle_t handle; local 142 data.read(&handle, sizeof(sound_trigger_module_handle_t)); 146 status_t status = attach(handle, client, module);
|
H A D | SoundTrigger.cpp | 153 sound_model_handle_t *handle) 160 return mISoundTrigger->loadSoundModel(modelMemory, handle); 163 status_t SoundTrigger::unloadSoundModel(sound_model_handle_t handle) argument 169 return mISoundTrigger->unloadSoundModel(handle); 172 status_t SoundTrigger::startRecognition(sound_model_handle_t handle, argument 179 return mISoundTrigger->startRecognition(handle, dataMemory); 182 status_t SoundTrigger::stopRecognition(sound_model_handle_t handle) argument 188 return mISoundTrigger->stopRecognition(handle); 152 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument
|