Searched defs:handle (Results 101 - 125 of 261) sorted by relevance

1234567891011

/frameworks/native/libs/vr/libpdx_uds/
H A Dchannel_event_set.cpp18 Status<void> SetupHandle(int fd, FileHandleType* handle, argument
21 handle->Reset(fd);
22 if (!*handle) {
23 ALOGE("SetupHandle: Failed to setup %s handle: %s", error_name,
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DEGL14cHeader.cpp112 jlong handle = _env->CallLongMethod(obj, mid); local
113 return reinterpret_cast<void*>(handle);
117 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { argument
119 (EGLContext)handle == EGL_NO_CONTEXT) {
124 (EGLDisplay)handle == EGL_NO_DISPLAY) {
129 (EGLSurface)handle == EGL_NO_SURFACE) {
133 return _env->NewObject(cls, con, reinterpret_cast<jlong>(handle));
H A DEGLExtcHeader.cpp113 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { argument
115 (EGLContext)handle == EGL_NO_CONTEXT) {
120 (EGLDisplay)handle == EGL_NO_DISPLAY) {
125 (EGLSurface)handle == EGL_NO_SURFACE) {
129 return _env->NewObject(cls, con, reinterpret_cast<jlong>(handle));
/frameworks/native/services/sensorservice/
H A DSensorDirectConnection.cpp48 if (mMem.handle != nullptr) {
49 native_handle_close(mMem.handle);
50 native_handle_delete(const_cast<struct native_handle*>(mMem.handle));
60 result.appendFormat("\tPackage %s, HAL channel handle %d, total sensor activated %zu\n",
72 int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs,
75 UNUSED(handle);
84 int handle, nsecs_t samplingPeriodNs) {
86 UNUSED(handle);
96 int32_t SensorService::SensorDirectConnection::configureChannel(int handle, int rateLevel) { argument
98 if (handle
71 enableDisable( int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags) argument
83 setEventRate( int handle, nsecs_t samplingPeriodNs) argument
[all...]
/frameworks/native/vulkan/include/vulkan/
H A Dvk_android_native_buffer.h58 // Buffer handle and stride returned from gralloc alloc()
59 buffer_handle_t handle; member in struct:__anon1913
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionListenerProxy.java55 handle(t, "onCalling()");
71 handle(t, "onRinging()");
86 handle(t, "onRingingBack()");
102 handle(t, "onCallEstablished()");
117 handle(t, "onCallEnded()");
133 handle(t, "onCallTransferring()");
148 handle(t, "onCallBusy()");
164 handle(t, "onCallChangeFailed()");
180 handle(t, "onError()");
195 handle(
248 private void handle(Throwable t, String message) { method in class:SipSessionListenerProxy
[all...]
/frameworks/av/media/libaudiohal/2.0/
H A DDeviceHalHidl.cpp235 audio_io_handle_t handle,
249 handle,
264 audio_io_handle_t handle,
279 handle,
234 openOutputStream( audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, const char *address, sp<StreamOutHalInterface> *outStream) argument
263 openInputStream( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, audio_input_flags_t flags, const char *address, audio_source_t source, sp<StreamInHalInterface> *inStream) argument
H A DDeviceHalLocal.cpp105 audio_io_handle_t handle,
112 ALOGV("open_output_stream handle: %d devices: %x flags: %#x"
114 handle, devices, flags,
118 mDev, handle, devices, flags, config, &halStream, address);
127 audio_io_handle_t handle,
135 ALOGV("open_input_stream handle: %d devices: %x flags: %#x "
137 handle, devices, flags,
141 mDev, handle, devices, config, &halStream, flags, address, source);
104 openOutputStream( audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, const char *address, sp<StreamOutHalInterface> *outStream) argument
126 openInputStream( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, audio_input_flags_t flags, const char *address, audio_source_t source, sp<StreamInHalInterface> *inStream) argument
/frameworks/av/media/libaudiohal/4.0/
H A DDeviceHalHidl.cpp244 audio_io_handle_t handle,
258 handle,
274 audio_io_handle_t handle,
292 handle,
243 openOutputStream( audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, const char *address, sp<StreamOutHalInterface> *outStream) argument
273 openInputStream( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, audio_input_flags_t flags, const char *address, audio_source_t source, sp<StreamInHalInterface> *inStream) argument
H A DDeviceHalLocal.cpp106 audio_io_handle_t handle,
113 ALOGV("open_output_stream handle: %d devices: %x flags: %#x"
115 handle, devices, flags,
119 mDev, handle, devices, flags, config, &halStream, address);
128 audio_io_handle_t handle,
136 ALOGV("open_input_stream handle: %d devices: %x flags: %#x "
138 handle, devices, flags,
142 mDev, handle, devices, config, &halStream, flags, address, source);
105 openOutputStream( audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, const char *address, sp<StreamOutHalInterface> *outStream) argument
127 openInputStream( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, audio_input_flags_t flags, const char *address, audio_source_t source, sp<StreamInHalInterface> *inStream) argument
/frameworks/av/media/libeffects/loudness/
H A DEffectLoudnessEnhancer.cpp233 int LELib_Release(effect_handle_t handle) { argument
234 LoudnessEnhancerContext * pContext = (LoudnessEnhancerContext *)handle;
236 ALOGV("LELib_Release %p", handle);
/frameworks/av/media/libmedia/include/media/omx/1.0/
H A DConversion.h100 * \brief Take an fd and create a native handle containing only the given fd.
101 * The created handle will need to be deleted manually with
106 * supplied \p fd is negative, the created native handle will contain no file
109 * If the native handle cannot be created, the return value will be
127 * \brief Extract a file descriptor from a native handle.
168 * returned native handle when it is no longer needed.
438 * \param[out] nh The native handle created to hold the file descriptor inside
609 t->nativeHandle = hidl_handle(l.handle);
623 native_handle_t* handle = t.nativeHandle == nullptr ? local
626 size_t const numInts = 12 + (handle
[all...]
/frameworks/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp312 native_handle_t* handle) {
315 CameraSource::recordingFrameHandleCallbackTimestamp(timestampUs, handle);
311 recordingFrameHandleCallbackTimestamp(int64_t timestampUs, native_handle_t* handle) argument
H A DMediaExtractorFactory.cpp111 ExtractorPlugin(MediaExtractor::ExtractorDef definition, void *handle, String8 &path) argument
112 : def(definition), libHandle(handle), libPath(path) {
119 ALOGV("closing handle for %s %d", libPath.c_str(), def.extractor_version);
/frameworks/av/media/libstagefright/bqhelper/
H A DConversion.cpp25 * \brief Take an fd and create a native handle containing only the given fd.
26 * The created handle will need to be deleted manually with
31 * supplied \p fd is negative, the created native handle will contain no file
34 * If the native handle cannot be created, the return value will be
52 * \brief Extract a file descriptor from a native handle.
93 * returned native handle when it is no longer needed.
204 t->nativeHandle = hidl_handle(l.handle);
218 native_handle_t* handle = t.nativeHandle == nullptr ? local
221 size_t const numInts = 12 + (handle ? handle
[all...]
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
H A DWGraphicBufferProducer.h131 for (auto& handle : nhA) {
132 native_handle_delete(handle); variable
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c103 void *handle = NULL; local
133 handle = dlopen("libstagefright.so", RTLD_NOW);
134 if(handle == 0)
140 pfunc = dlsym(handle, "voGetAMRWBEncAPI");
256 dlclose(handle);
/frameworks/av/services/audioflinger/
H A DPatchPanel.cpp71 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)
145 if (handle == NULL || patch == NULL) {
148 ALOGV("createAudioPatch() num_sources %d num_sinks %d handle %d",
149 patch->num_sources, patch->num_sinks, *handle);
165 if (*handle != AUDIO_PATCH_HANDLE_NONE) {
166 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
572 releaseAudioPatch(audio_patch_handle_t handle) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioOutputDescriptor.h77 void setPatchHandle(audio_patch_handle_t handle) { mPatchHandle = handle; }; argument
141 audio_io_handle_t mIoHandle; // output handle
202 * returns the A2DP output handle if it is open or 0 otherwise
225 audio_devices_t getSupportedDevices(audio_io_handle_t handle) const;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioInputDescriptor.cpp85 dstConfig->ext.mix.handle = mIoHandle;
97 port->ext.mix.handle = mIoHandle;
179 void AudioInputDescriptor::setPatchHandle(audio_patch_handle_t handle) argument
181 mPatchHandle = handle;
227 "%s openInput returned input handle %d for device %08x",
355 audio_devices_t AudioInputCollection::getSupportedDevices(audio_io_handle_t handle) const
357 sp<AudioInputDescriptor> inputDesc = valueFor(handle);
H A DHwModule.cpp215 void HwModule::setHandle(audio_module_handle_t handle) { argument
217 "HwModule handle is changing from %d to %d", mHandle, handle);
218 mHandle = handle;
229 snprintf(buffer, SIZE, " - handle: %d\n", mHandle);
284 // handle legacy remote submix case where the address was not always specified
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyClientImpl.cpp187 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
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h339 handle.data = mHeap->base();
340 handle.size = mBufSize * mNumBufs;
341 handle.handle = this;
349 handle.release = sPutMemory;
362 camera_memory_t handle; member in class:android::CameraHardwareInterface::CameraHeapMemory
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.cpp151 buffer_handle_t *handle,
163 buffer.buffer = handle;
150 handoutBufferLocked(camera3_stream_buffer &buffer, buffer_handle_t *handle, int acquireFence, int releaseFence, camera3_buffer_status_t status, bool output) argument
/frameworks/av/services/oboeservice/
H A DAAudioService.cpp134 aaudio_handle_t handle = mStreamTracker.addStreamForHandle(serviceStream.get()); local
135 ALOGD("openStream(): handle = 0x%08X", handle);
136 serviceStream->setHandle(handle);
140 return handle;
170 ALOGE("closeStream(0x%0x), illegal stream handle", streamHandle);
210 ALOGE("getStreamDescription(), illegal stream handle = 0x%0x", streamHandle);
222 ALOGE("startStream(), illegal stream handle = 0x%0x", streamHandle);
233 ALOGE("pauseStream(), illegal stream handle = 0x%0x", streamHandle);
243 ALOGE("stopStream(), illegal stream handle
[all...]

Completed in 6473 milliseconds

1234567891011