Searched defs:handle (Results 51 - 75 of 261) sorted by relevance

1234567891011

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPatch.cpp45 snprintf(buffer, SIZE, "%*s- handle: %2d\n", spaces, "", mHandle);
47 snprintf(buffer, SIZE, "%*s- audio flinger handle: %2d\n", spaces, "", mAfPatchHandle);
61 snprintf(buffer, SIZE, "%*s- Mix ID %d I/O handle %d\n", spaces + 2, "",
62 mPatch.sources[i].id, mPatch.sources[i].ext.mix.handle);
76 snprintf(buffer, SIZE, "%*s- Mix ID %d I/O handle %d\n", spaces + 2, "",
77 mPatch.sinks[i].id, mPatch.sinks[i].ext.mix.handle);
86 status_t AudioPatchCollection::addAudioPatch(audio_patch_handle_t handle, argument
89 ssize_t index = indexOfKey(handle);
92 ALOGW("addAudioPatch() patch %d already in", handle);
95 add(handle, patc
103 removeAudioPatch(audio_patch_handle_t handle) argument
[all...]
/frameworks/av/services/oboeservice/
H A DAAudioClientTracker.cpp179 aaudio_handle_t handle = serviceStream->getHandle(); local
180 ALOGW("binderDied() close abandoned stream 0x%08X\n", handle);
181 aaudioService->closeStream(handle);
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHalHidl.h59 * Only one active recognition per model at a time. The SoundTrigger service will handle
61 * The implementation returns a unique handle used by other functions (unload_sound_model(),
67 sound_model_handle_t *handle);
73 virtual int unloadSoundModel(sound_model_handle_t handle);
79 virtual int startRecognition(sound_model_handle_t handle,
87 virtual int stopRecognition(sound_model_handle_t handle);
111 SoundModel(sound_model_handle_t handle, sound_model_callback_t callback, argument
113 : mHandle(handle), mHalHandle(halHandle),
185 sp<SoundModel> getModel(sound_model_handle_t handle);
186 sp<SoundModel> removeModel(sound_model_handle_t handle);
[all...]
H A DSoundTriggerHalLegacy.cpp80 sound_model_handle_t *handle)
85 return mHwDevice->load_sound_model(mHwDevice, sound_model, callback, cookie, handle);
88 int SoundTriggerHalLegacy::unloadSoundModel(sound_model_handle_t handle) argument
93 return mHwDevice->unload_sound_model(mHwDevice, handle);
96 int SoundTriggerHalLegacy::startRecognition(sound_model_handle_t handle, argument
104 return mHwDevice->start_recognition(mHwDevice, handle, config, callback, cookie);
107 int SoundTriggerHalLegacy::stopRecognition(sound_model_handle_t handle) argument
112 return mHwDevice->stop_recognition(mHwDevice, handle);
77 loadSoundModel(struct sound_trigger_sound_model *sound_model, sound_model_callback_t callback, void *cookie, sound_model_handle_t *handle) argument
/frameworks/av/soundtrigger/
H A DISoundTrigger.cpp54 sound_model_handle_t *handle)
56 if (modelMemory == 0 || handle == NULL) {
68 reply.read(handle, sizeof(sound_model_handle_t));
73 virtual status_t unloadSoundModel(sound_model_handle_t handle) argument
77 data.write(&handle, sizeof(sound_model_handle_t));
85 virtual status_t startRecognition(sound_model_handle_t handle, argument
90 data.write(&handle, sizeof(sound_model_handle_t));
104 virtual status_t stopRecognition(sound_model_handle_t handle) argument
108 data.write(&handle, sizeof(sound_model_handle_t));
136 sound_model_handle_t handle; local
53 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument
146 sound_model_handle_t handle; local
154 sound_model_handle_t handle; local
166 sound_model_handle_t handle; local
[all...]
H A DISoundTriggerHwService.cpp80 virtual status_t attach(const sound_trigger_module_handle_t handle, argument
86 data.write(&handle, sizeof(sound_trigger_module_handle_t));
154 sound_trigger_module_handle_t handle; local
155 data.read(&handle, sizeof(sound_trigger_module_handle_t));
159 status_t status = attach(handle, client, module);
/frameworks/base/core/java/android/hardware/radio/
H A DUtils.java134 static void close(ICloseHandle handle) { argument
136 handle.close();
/frameworks/base/media/java/android/media/
H A DAudioDevicePort.java39 AudioDevicePort(AudioHandle handle, String deviceName, argument
42 super(handle,
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyList.java52 public void append(int handle, int property, int type, long value) { argument
53 mObjectHandles.add(handle);
60 public void append(int handle, int property, String value) { argument
61 mObjectHandles.add(handle);
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputApplicationHandle.cpp94 NativeInputApplicationHandle* handle; local
96 handle = reinterpret_cast<NativeInputApplicationHandle*>(ptr);
99 handle = new NativeInputApplicationHandle(objWeak);
100 handle->incStrong((void*)android_server_InputApplicationHandle_getHandle);
102 reinterpret_cast<jlong>(handle));
104 return handle;
117 NativeInputApplicationHandle* handle = reinterpret_cast<NativeInputApplicationHandle*>(ptr); local
118 handle->decStrong((void*)android_server_InputApplicationHandle_getHandle);
H A Dcom_android_server_locksettings_SyntheticPasswordManager.cpp41 const gatekeeper::password_handle_t *handle = local
43 jlong sid = handle->user_id;
/frameworks/base/telecomm/java/android/telecom/
H A DConferenceParticipant.java30 * The conference participant's handle (e.g., phone number).
55 * @param handle The conference participant's handle (e.g., phone number).
60 public ConferenceParticipant(Uri handle, String displayName, Uri endpoint, int state) { argument
61 mHandle = handle;
76 Uri handle = source.readParcelable(classLoader);
80 return new ConferenceParticipant(handle, displayName, endpoint, state);
129 * The conference participant's handle (e.g., phone number).
/frameworks/native/services/sensorservice/
H A DSensorInterface.cpp65 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags,
71 status_t HardwareSensor::flush(void* ident, int handle) { argument
72 return mSensorDevice.flush(ident, handle);
75 status_t HardwareSensor::setDelay(void* ident, int handle, int64_t ns) { argument
76 return mSensorDevice.setDelay(ident, handle, ns);
79 void HardwareSensor::autoDisable(void *ident, int handle) { argument
80 mSensorDevice.autoDisable(ident, handle);
H A DSensorList.cpp30 int handle, SensorInterface* si, bool isForDebug, bool isVirtual) {
32 if (handle == si->getSensor().getHandle() &&
33 mUsedHandle.insert(handle).second) {
34 // will succeed as the mUsedHandle does not have this handle
35 mHandleMap.emplace(handle, Entry(si, isForDebug, isVirtual));
38 // handle exist already or handle mismatch
42 bool SensorList::remove(int handle) { argument
44 auto entry = mHandleMap.find(handle);
52 String8 SensorList::getName(int handle) cons
29 add( int handle, SensorInterface* si, bool isForDebug, bool isVirtual) argument
[all...]
H A DSensorList.h41 bool add(int handle, SensorInterface* si, bool isForDebug = false, bool isVirtual = false);
43 // After a handle is removed, the object that SensorInterface * pointing to may get deleted if
45 bool remove(int handle);
55 String8 getName(int handle) const;
56 sp<SensorInterface> getInterface(int handle) const;
57 bool isNewHandle(int handle) const;
100 T getOne(int handle, const TF& accessor, T def = T()) const;
125 T SensorList::getOne(int handle, const TF& accessor, T def) const { argument
127 auto i = mHandleMap.find(handle);
H A DSensorRegistrationInfo.h37 SensorRegistrationInfo(int32_t handle, const String8 &packageName, argument
39 mSensorHandle = handle;
/frameworks/native/vulkan/libvulkan/
H A Ddebug_report.h58 static Node* FromHandle(VkDebugReportCallbackEXT handle) { argument
59 return reinterpret_cast<Node*>(uintptr_t(handle));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DKeepaliveStatus.java61 public KeepaliveStatus(int handle, int code) { argument
62 sessionHandle = handle;
/frameworks/av/camera/
H A DICameraClient.cpp86 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument
91 data.writeNativeHandle(handle);
112 for (auto& handle : handles) {
113 data.writeNativeHandle(handle);
171 native_handle_t* handle = data.readNativeHandle(); local
172 if (handle == nullptr) {
173 ALOGE("%s: Received a null native handle", __FUNCTION__);
177 // The native handle will be freed in BpCamera::releaseRecordingFrameHandle.
178 recordingFrameHandleCallbackTimestamp(timestamp, handle);
205 native_handle_t* handle local
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
H A DCryptoPlugin.cpp111 native_handle_t *handle = const_cast<native_handle_t *>( local
113 destPtr = static_cast<void *>(handle);
/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.cpp145 int EffectProxyRelease(effect_handle_t handle) { argument
146 EffectContext * pContext = (EffectContext *)handle;
266 // The DSP wrapper needs to handle this CMD
/frameworks/av/media/libmedia/
H A DIDataSource.cpp109 sp<DecryptHandle> handle; local
111 handle = new DecryptHandle();
112 handle->decryptId = reply.readInt32();
113 handle->mimeType = reply.readString8();
114 handle->decryptApiType = reply.readInt32();
115 handle->status = reply.readInt32();
119 handle->decryptInfo = new DecryptInfo();
120 handle->decryptInfo->decryptBufferLength = bufferLength;
127 handle->copyControlVector.add(key, value);
134 handle
188 sp<DecryptHandle> handle = DrmInitialization(mime); local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/test/
H A Damrwbdec_test.cpp82 SNDFILE *handle = sf_open(argv[2], SFM_WRITE, &sfInfo); local
83 if (handle == NULL) {
163 sf_writef_short(handle, outputBuf, kSamplesPerFrame / kChannels);
168 sf_close(handle);
/frameworks/av/media/libstagefright/codecs/gsm/dec/
H A DSoftGSM.cpp316 int SoftGSM::DecodeGSM(gsm handle, argument
321 gsm_decode(handle, in, out);
326 gsm_decode(handle, in, out);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/
H A Dm4v_h263_enc_test.cpp179 // Initialize the handle.
180 tagvideoEncControls handle; local
181 memset(&handle, 0, sizeof(tagvideoEncControls));
184 if (!PVInitVideoEncoder(&handle, &encParams)) {
191 if (!PVGetVolHeader(&handle, outputBuf, &headerLength, 0)) {
225 if (!PVEncodeVideoFrame(&handle, &vin, &vout,
227 !PVGetHintTrack(&handle, &hintTrack)) {
233 PVGetOverrunBuffer(&handle);
249 PVCleanUpVideoEncoder(&handle);

Completed in 315 milliseconds

1234567891011