Searched refs:handle (Results 201 - 225 of 484) sorted by relevance

1234567891011>>

/frameworks/av/include/media/audiohal/
H A DDeviceHalInterface.h70 audio_io_handle_t handle,
80 audio_io_handle_t handle,
/frameworks/av/media/libaudiohal/
H A DDeviceHalLocal.h65 audio_io_handle_t handle,
75 audio_io_handle_t handle,
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/include/
H A DDeviceHalInterface.h70 audio_io_handle_t handle,
80 audio_io_handle_t handle,
/frameworks/av/media/mtp/
H A DMtpObjectInfo.cpp27 MtpObjectInfo::MtpObjectInfo(MtpObjectHandle handle) argument
28 : mHandle(handle),
/frameworks/av/services/audioflinger/
H A DSpdifStreamOut.cpp47 audio_io_handle_t handle,
94 handle,
46 open( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, const char *address) argument
H A DEffects.h101 status_t addHandle(EffectHandle *handle);
102 ssize_t disconnectHandle(EffectHandle *handle, bool unpinIfLast);
103 ssize_t removeHandle(EffectHandle *handle);
104 ssize_t removeHandle_l(EffectHandle *handle);
165 // First handle in mHandles has highest priority and controls the effect module
249 bool mHasControl; // true if this handle is controlling the effect
293 status_t addEffect_l(const sp<EffectModule>& handle);
294 status_t addEffect_ll(const sp<EffectModule>& handle);
295 size_t removeEffect_l(const sp<EffectModule>& handle, bool release = false);
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioInputDescriptor.h45 audio_io_handle_t mIoHandle; // input handle
74 void setPatchHandle(audio_patch_handle_t handle);
103 * return io handle of active input or 0 if no input is active
109 audio_devices_t getSupportedDevices(audio_io_handle_t handle) const;
/frameworks/base/services/core/jni/
H A Dcom_android_server_SyntheticPasswordManager.cpp41 const gatekeeper::password_handle_t *handle = local
43 jlong sid = handle->user_id;
H A Dcom_android_server_input_InputWindowHandle.cpp178 NativeInputWindowHandle* handle; local
180 handle = reinterpret_cast<NativeInputWindowHandle*>(ptr);
189 handle = new NativeInputWindowHandle(inputApplicationHandle, objWeak);
190 handle->incStrong((void*)android_server_InputWindowHandle_getHandle);
192 reinterpret_cast<jlong>(handle));
194 return handle;
207 NativeInputWindowHandle* handle = reinterpret_cast<NativeInputWindowHandle*>(ptr); local
208 handle->decStrong((void*)android_server_InputWindowHandle_getHandle);
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
H A DVtsHalSensorManagerV1_0TargetTest.cpp117 if (mem.handle() == nullptr || mem.handle()->numFds != 1) {
121 void *buf = mmap(nullptr, size, PROT_READ, MAP_SHARED, mem.handle()->data[0], 0);
148 ASSERT_NE(mem.handle(), nullptr);
207 int32_t handle;
210 handle = info.sensorHandle;
235 ASSERT_OK(chan->configure(handle, RateLevel::FAST, [&](auto token, auto res) {
241 ASSERT_OK(chan->configure(handle, RateLevel::STOP, [](auto token, auto res) {
253 << "configure token and sensor handle don't match.";
/frameworks/native/libs/sensor/include/sensor/
H A DSensorEventQueue.h87 status_t enableSensor(int32_t handle, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs,
89 status_t disableSensor(int32_t handle) const;
/frameworks/native/services/sensorservice/
H A DSensorRegistrationInfo.h37 SensorRegistrationInfo(int32_t handle, const String8 &packageName, argument
39 mSensorHandle = handle;
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestGetMessage.java43 public BluetoothMasRequestGetMessage(String handle, CharsetType charset, boolean attachment) { argument
45 mHeaderSet.setHeader(HeaderSet.NAME, handle);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioInputDescriptor.cpp88 dstConfig->ext.mix.handle = mIoHandle;
100 port->ext.mix.handle = mIoHandle;
182 void AudioInputDescriptor::setPatchHandle(audio_patch_handle_t handle) argument
184 mPatchHandle = handle;
271 audio_devices_t AudioInputCollection::getSupportedDevices(audio_io_handle_t handle) const
273 sp<AudioInputDescriptor> inputDesc = valueFor(handle);
/frameworks/native/libs/gui/
H A DSurfaceControl.cpp50 const sp<IBinder>& handle,
52 : mClient(client), mHandle(handle), mGraphicBufferProducer(gbp)
174 status_t SurfaceControl::deferTransactionUntil(const sp<IBinder>& handle, argument
178 return mClient->deferTransactionUntil(mHandle, handle, frameNumber);
181 status_t SurfaceControl::deferTransactionUntil(const sp<Surface>& handle, argument
185 return mClient->deferTransactionUntil(mHandle, handle, frameNumber);
223 ALOGE("invalid handle (%p) or client (%p)",
48 SurfaceControl( const sp<SurfaceComposerClient>& client, const sp<IBinder>& handle, const sp<IGraphicBufferProducer>& gbp) argument
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothGatt.aidl84 void readCharacteristic(in int clientIf, in String address, in int handle, in int authReq);
87 void writeCharacteristic(in int clientIf, in String address, in int handle,
89 void readDescriptor(in int clientIf, in String address, in int handle, in int authReq);
90 void writeDescriptor(in int clientIf, in String address, in int handle,
92 void registerForNotification(in int clientIf, in String address, in int handle, in boolean enable);
106 void removeService(in int serverIf, in int handle);
110 void sendNotification(in int serverIf, in String address, in int handle,
/frameworks/base/services/core/java/com/android/server/notification/
H A DValidateNotificationPeople.java87 // maps raw person handle to resolved person object
243 for (String handle : people) {
244 if (TextUtils.isEmpty(handle)) continue;
247 final String cacheKey = getCacheKey(context.getUserId(), handle);
250 pendingLookups.add(handle);
275 private String getCacheKey(int userId, String handle) { argument
276 return Integer.toString(userId) + ":" + handle;
448 for (final String handle: mPendingLookups) {
450 final Uri uri = Uri.parse(handle);
452 if (DEBUG) Slog.d(TAG, "checking telephone URI: " + handle);
[all...]
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dservice.h149 Status<FileReference> PushFileHandle(const LocalHandle& handle) override;
150 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override;
151 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override;
153 const LocalChannelHandle& handle) override;
155 const BorrowedChannelHandle& handle) override;
157 const RemoteChannelHandle& handle) override;
160 bool GetFileHandle(FileReference ref, LocalHandle* handle) override;
162 LocalChannelHandle* handle) override;
170 Status<void> Reply(const LocalHandle& handle);
171 Status<void> Reply(const BorrowedHandle& handle);
[all...]
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp59 virtual void postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle);
110 native_handle_t* handle) {
113 source->recordingFrameHandleCallbackTimestamp(timestamp/1000, handle);
961 native_handle_t* handle = nullptr; local
968 handle = metadata->pHandle;
972 if (handle != nullptr) {
981 // Frame contains a VideoNativeHandleMetadata. Send the handle back to camera.
982 releaseRecordingFrameHandle(handle);
987 mInflightReturnedHandles.push_back(handle);
1159 void CameraSource::releaseRecordingFrameHandle(native_handle_t* handle) { argument
109 postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle) argument
1187 recordingFrameHandleCallbackTimestamp(int64_t timestampUs, native_handle_t* handle) argument
1237 native_handle_t* handle = handles[i]; local
1391 recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) argument
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp406 DecryptHandle* handle = new DecryptHandle(); local
407 if (NULL != handle) {
408 handle->decryptId = mDecryptSessionId + 1;
413 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime);
423 delete handle; handle = NULL;
425 return handle;
434 DecryptHandle* handle = new DecryptHandle(); local
435 if (NULL != handle) {
436 handle
463 DecryptHandle* handle = new DecryptHandle(); local
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp56 jfieldID handle; member in struct:__anon1068::SensorOffsets
99 sensorOffsets.handle = GetFieldIDOrDie(_env, sensorClass, "mHandle", "I");
171 env->SetIntField(sensor, sensorOffsets.handle, nativeSensor.getHandle());
241 native_handle_t *handle = native_handle_init(ashmemHandle, 1, 0); local
242 handle->data[0] = fd;
243 nativeHandle = handle;
348 value[1] = float(buffer[i].dynamic_sensor_meta.handle);
446 static jint nativeEnableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, jint rate_us, argument
449 return receiver->getSensorEventQueue()->enableSensor(handle, rate_us, maxBatchReportLatency,
453 static jint nativeDisableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle) { argument
469 nativeInjectSensorData(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, jfloatArray values, jint accuracy, jlong timestamp) argument
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dipc_helper.cpp50 // handle transmissions interrupted by signals.
103 // to handle transmissions interrupted by signals as well as the case when
227 Status<FileReference> SendPayload::PushFileHandle(const LocalHandle& handle) { argument
228 if (handle) {
230 file_handles_.push_back(handle.Get());
233 return handle.Get();
238 const BorrowedHandle& handle) {
239 if (handle) {
241 file_handles_.push_back(handle.Get());
244 return handle
237 PushFileHandle( const BorrowedHandle& handle) argument
248 PushFileHandle(const RemoteHandle& handle) argument
343 GetFileHandle(FileReference ref, LocalHandle* handle) argument
[all...]
/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/media/libstagefright/omx/1.0/
H A DOmx.cpp102 OMX_COMPONENTTYPE *handle; local
105 instance.get(), &handle);
115 instance->setHandle(handle);
203 if (instance->handle() != NULL) {
205 static_cast<OMX_COMPONENTTYPE*>(instance->handle()));

Completed in 239 milliseconds

1234567891011>>