/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 270 DecryptHandle* handle = NULL; local 272 handle = getDrmManagerService()->openDecryptSession(uniqueId, uri, mime); 274 return handle;
|
/frameworks/av/media/libeffects/downmix/ |
H A D | EffectDownmix.c | 249 int32_t DownmixLib_Release(effect_handle_t handle) { argument 250 downmix_module_t *pDwmModule = (downmix_module_t *)handle; 252 ALOGV("DownmixLib_Release() %p", handle); 253 if (handle == NULL) { 707 * pDownmixer handle to instance data 761 * pDownmixer handle to instance data
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 342 int EffectRelease(effect_handle_t handle) argument 358 if (e1->object == handle) { 378 ALOGW("EffectRelease() fx %p library already unloaded", handle); 564 l->handle = hdl;
|
/frameworks/av/media/libeffects/visualizer/ |
H A D | EffectVisualizer.cpp | 267 int VisualizerLib_Release(effect_handle_t handle) { argument 268 VisualizerContext * pContext = (VisualizerContext *)handle; 270 ALOGV("VisualizerLib_Release %p", handle);
|
/frameworks/av/media/libstagefright/ |
H A D | NuCachedSource2.cpp | 684 void NuCachedSource2::getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument 685 mSource->getDrmInfo(handle, client);
|
H A D | CameraSource.cpp | 59 virtual void postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle); 106 native_handle_t* handle) { 109 source->recordingFrameHandleCallbackTimestamp(timestamp/1000, handle); 940 native_handle_t* handle = nullptr; local 947 handle = metadata->pHandle; 951 if (handle != nullptr) { 952 // Frame contains a VideoNativeHandleMetadata. Send the handle back to camera. 953 releaseRecordingFrameHandle(handle); 1113 void CameraSource::releaseRecordingFrameHandle(native_handle_t* handle) { argument 1115 mCameraRecordingProxy->releaseRecordingFrameHandle(handle); 105 postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle) argument 1123 recordingFrameHandleCallbackTimestamp(int64_t timestampUs, native_handle_t* handle) argument 1271 recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) argument [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftVideoEncoderOMXComponent.cpp | 526 buffer_handle_t handle; local 538 handle = buffer->handle; 567 handle = grallocMeta.pHandle; 590 handle, 595 handle, 600 ALOGE("Unable to lock image buffer %p for access", handle); 642 if (mapper.unlock(handle) != OK) { 643 ALOGE("Unable to unlock image buffer %p for access", handle);
|
H A D | OMX.cpp | 260 OMX_COMPONENTTYPE *handle; local 263 instance, &handle); 276 instance->setHandle(*node, handle);
|
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 413 MtpObjectInfo* MtpDevice::getObjectInfo(MtpObjectHandle handle) { argument 419 mRequest.setParameter(1, handle); 426 MtpObjectInfo* info = new MtpObjectInfo(handle); 435 void* MtpDevice::getThumbnail(MtpObjectHandle handle, int& outLength) { argument 439 mRequest.setParameter(1, handle); 502 bool MtpDevice::sendObject(MtpObjectHandle handle, int size, int srcFD) { argument 507 mRequest.setParameter(1, handle); 532 bool MtpDevice::deleteObject(MtpObjectHandle handle) { argument 536 mRequest.setParameter(1, handle); 545 MtpObjectHandle MtpDevice::getParent(MtpObjectHandle handle) { argument 556 getStorageID(MtpObjectHandle handle) argument 625 getObjectPropValue(MtpObjectHandle handle, MtpProperty* property) argument 644 readObject(MtpObjectHandle handle, ReadObjectCallback callback, uint32_t expectedLength, void* clientData) argument 652 readObject(MtpObjectHandle handle, const char* destPath, int group, int perm) argument 671 readObject(MtpObjectHandle handle, int fd) argument 676 readObjectInternal(MtpObjectHandle handle, ReadObjectCallback callback, const uint32_t* expectedLength, void* clientData) argument 788 readPartialObject(MtpObjectHandle handle, uint32_t offset, uint32_t size, uint32_t *writtenSize, ReadObjectCallback callback, void* clientData) argument 810 readPartialObject64(MtpObjectHandle handle, uint64_t offset, uint32_t size, uint32_t *writtenSize, ReadObjectCallback callback, void* clientData) argument 918 reapEventRequest(int handle, uint32_t (*parameters)[3]) argument 933 discardEventRequest(int handle) argument [all...] |
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.h | 205 audio_patch_handle_t *handle, 207 virtual status_t releaseAudioPatch(audio_patch_handle_t handle, 230 audio_io_handle_t *handle, 232 virtual status_t stopAudioSource(audio_io_handle_t handle); 348 // handle special cases for sonification strategy while in call: mute streams or replace by 363 // returns its handle if any. 456 virtual status_t addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch) argument 458 return mAudioPatches.addAudioPatch(handle, patch); 460 virtual status_t removeAudioPatch(audio_patch_handle_t handle) argument 462 return mAudioPatches.removeAudioPatch(handle); [all...] |
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyInterfaceImpl.cpp | 609 audio_patch_handle_t *handle) 618 return mAudioPolicyManager->createAudioPatch(patch, handle, 622 status_t AudioPolicyService::releaseAudioPatch(audio_patch_handle_t handle) argument 632 return mAudioPolicyManager->releaseAudioPatch(handle, 699 audio_io_handle_t *handle) 706 return mAudioPolicyManager->startAudioSource(source, attributes, handle, 710 status_t AudioPolicyService::stopAudioSource(audio_io_handle_t handle) argument 717 return mAudioPolicyManager->stopAudioSource(handle); 608 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument 697 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_io_handle_t *handle) argument
|
H A D | AudioPolicyInterfaceImplLegacy.cpp | 543 audio_patch_handle_t *handle __unused) 548 status_t AudioPolicyService::releaseAudioPatch(audio_patch_handle_t handle __unused) 613 audio_io_handle_t *handle) 618 status_t AudioPolicyService::stopAudioSource(audio_io_handle_t handle) argument 611 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_io_handle_t *handle) argument
|
/frameworks/av/services/radio/ |
H A D | RadioService.cpp | 85 properties.handle = 88 ALOGI("loaded default module %s, handle %d", properties.product, properties.handle); 92 mModules.add(properties.handle, module); 119 status_t RadioService::attach(radio_handle_t handle, argument 125 ALOGV("%s %d config %p withAudio %d", __FUNCTION__, handle, config, withAudio); 132 ssize_t index = mModules.indexOfKey(handle);
|
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHwService.cpp | 85 descriptor.handle = 87 ALOGI("loaded default module %s, handle %d", descriptor.properties.description, 88 descriptor.handle); 92 mModules.add(descriptor.handle, module); 126 status_t SoundTriggerHwService::attach(const sound_trigger_module_handle_t handle, argument 130 ALOGV("attach module %d", handle); 140 ssize_t index = mModules.indexOfKey(handle); 531 sound_model_handle_t *handle) 533 ALOGV("loadSoundModel() handle"); 555 this, handle); 530 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument 575 unloadSoundModel(sound_model_handle_t handle) argument 586 unloadSoundModel_l(sound_model_handle_t handle) argument 602 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument 650 stopRecognition(sound_model_handle_t handle) argument 743 getModel( sound_model_handle_t handle) argument 857 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/base/core/java/android/app/ |
H A D | NativeActivity.java | 100 private native void unloadNativeCode(long handle); argument 101 private native void onStartNative(long handle); argument 102 private native void onResumeNative(long handle); argument 103 private native byte[] onSaveInstanceStateNative(long handle); argument 104 private native void onPauseNative(long handle); argument 105 private native void onStopNative(long handle); argument 106 private native void onConfigurationChangedNative(long handle); argument 107 private native void onLowMemoryNative(long handle); argument 108 private native void onWindowFocusChangedNative(long handle, boolean focused); argument 109 private native void onSurfaceCreatedNative(long handle, Surfac argument 110 onSurfaceChangedNative(long handle, Surface surface, int format, int width, int height) argument 112 onSurfaceRedrawNeededNative(long handle, Surface surface) argument 113 onSurfaceDestroyedNative(long handle) argument 114 onInputQueueCreatedNative(long handle, long queuePtr) argument 115 onInputQueueDestroyedNative(long handle, long queuePtr) argument 116 onContentRectChangedNative(long handle, int x, int y, int w, int h) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_SensorManager.cpp | 53 jfieldID handle; member in struct:__anon876::SensorOffsets 89 sensorOffsets.handle = _env->GetFieldID(sensorClass, "mHandle", "I"); 182 env->SetIntField(sensor, sensorOffsets.handle, nativeSensor.getHandle()); 303 value[1] = float(buffer[i].dynamic_sensor_meta.handle); 396 static jint nativeEnableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, jint rate_us, argument 399 return receiver->getSensorEventQueue()->enableSensor(handle, rate_us, maxBatchReportLatency, 403 static jint nativeDisableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle) { argument 405 return receiver->getSensorEventQueue()->disableSensor(handle); 419 static jint nativeInjectSensorData(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, argument 425 sensor_event.sensor = handle; [all...] |
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDatabase.java | 381 private void endSendObject(String path, int handle, int format, boolean succeeded) { argument 383 // handle abstract playlists separately 402 values.put(MediaColumns.MEDIA_SCANNER_NEW_OBJECT_ID, handle); 410 mMediaScanner.scanMtpFile(path, handle, format); 413 deleteFile(handle); 716 private MtpPropertyList getObjectPropertyList(int handle, int format, int property, argument 725 if (format == 0 && handle != 0 && handle != 0xffffffff) { 727 format = getObjectFormat(handle); 746 return propertyGroup.getPropertyList(handle, forma 749 renameFile(int handle, String newName) argument 836 setObjectProperty(int handle, int property, long intValue, String stringValue) argument 893 getObjectInfo(int handle, int[] outStorageFormatParent, char[] outName, long[] outCreatedModified) argument 933 getObjectFilePath(int handle, char[] outFilePath, long[] outFileLengthFormat) argument 968 getObjectFormat(int handle) argument 988 deleteFile(int handle) argument 1050 getObjectReferences(int handle) argument 1077 setObjectReferences(int handle, int[] references) argument [all...] |
/frameworks/base/packages/MtpDocumentsProvider/jni/ |
H A D | com_android_mtp_AppFuse.cpp | 115 // Map between file handle and inode. 212 // We limit ourselves to 15 because we don't handle BATCH_FORGET yet 264 uint32_t handle; local 266 handle = handle_counter_++; 267 } while (handles_.count(handle) != 0); 268 handles_.insert(std::make_pair(handle, header.nodeid)); 271 out->data()->fh = handle; 388 int write_object_bytes(uint64_t handle, int inode, uint64_t offset, uint32_t size, argument 405 file_handle_to_jlong(handle), 417 static jlong file_handle_to_jlong(uint64_t handle) { argument [all...] |
/frameworks/native/services/inputflinger/host/ |
H A D | InputDriver.cpp | 186 // TODO: save this device handle 190 void InputDriver::unregisterDevice(input_device_handle_t* handle) { argument 191 delete handle; 208 ALOGD("report_event %p for handle %p", report, d); 353 void unregister_device(input_host_t* host, input_device_handle_t* handle) { argument 355 driver->unregisterDevice(handle);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 406 buffer_handle_t handle = nullptr; local 408 handle = target->getNativeBuffer()->handle; 410 auto error = hwcDisplay->setClientTarget(handle, acquireFence, dataspace);
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.h | 125 // If set, defers this state update until the Layer identified by handle 127 sp<IBinder> handle; member in struct:android::Layer::State 162 void deferTransactionUntil(const sp<IBinder>& handle, uint64_t frameNumber); 584 // Set to true once we've returned this surface's handle
|
/frameworks/native/vulkan/libvulkan/ |
H A D | swapchain.cpp | 119 Surface* SurfaceFromHandle(VkSurfaceKHR handle) { argument 120 return reinterpret_cast<Surface*>(handle); 147 Swapchain* SwapchainFromHandle(VkSwapchainKHR handle) { argument 148 return reinterpret_cast<Swapchain*>(handle); 672 image_native_buffer.handle = img.buffer->handle;
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 279 extern "C" int EffectRelease(effect_handle_t handle){ argument 280 ReverbContext * pContext = (ReverbContext *)handle; 282 ALOGV("\tEffectRelease %p", handle); 472 LvmStatus = LVREV_Process(pContext->hInstance, /* Instance handle */ 809 /* Init sets the instance handle */ 1486 // pContext - handle to instance data 1524 // pContext - handle to instance data 1747 // pContext - handle to instance data
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectReverb.c | 154 int EffectRelease(effect_handle_t handle) { argument 155 reverb_module_t *pRvbModule = (reverb_module_t *)handle; 157 ALOGV("EffectLibReleaseEffect %p", handle); 158 if (handle == NULL) { 739 * pReverb - handle to instance data 1024 * pReverb - handle to instance data
|
/frameworks/av/media/libmedia/ |
H A D | IOMX.cpp | 327 data.writeNativeHandle(nativeHandle->handle()); 940 native_handle *handle = NULL; local 942 handle = data.readNativeHandle(); 947 node, port_index, NativeHandle::create(handle, true /* ownshandle */), buffer); 1117 reply->writeNativeHandle(native_handle == NULL ? NULL : native_handle->handle());
|