Searched refs:handle (Results 101 - 125 of 253) sorted by relevance

1234567891011

/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapCard.java35 public final String handle; field in class:BluetoothPbapCard
44 public BluetoothPbapCard(String handle, String name) { argument
45 this.handle = handle;
67 json.put("handle", 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)
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...]
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp84 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/base/media/java/android/mtp/
H A DMtpDatabase.java375 private void endSendObject(String path, int handle, int format, boolean succeeded) { argument
377 // handle abstract playlists separately
396 values.put(MediaColumns.MEDIA_SCANNER_NEW_OBJECT_ID, handle);
404 mMediaScanner.scanMtpFile(path, mVolumeName, handle, format);
407 deleteFile(handle);
709 private MtpPropertyList getObjectPropertyList(long handle, int format, long property, argument
718 if (format == 0 && handle > 0) {
720 format = getObjectFormat((int)handle);
739 return propertyGroup.getPropertyList((int)handle, format, depth);
742 private int renameFile(int handle, Strin argument
829 setObjectProperty(int handle, int property, long intValue, String stringValue) argument
886 getObjectInfo(int handle, int[] outStorageFormatParent, char[] outName, long[] outCreatedModified) argument
926 getObjectFilePath(int handle, char[] outFilePath, long[] outFileLengthFormat) argument
961 getObjectFormat(int handle) argument
981 deleteFile(int handle) argument
1043 getObjectReferences(int handle) argument
1070 setObjectReferences(int handle, int[] references) argument
[all...]
/frameworks/av/include/soundtrigger/
H A DISoundTriggerHwService.h39 virtual status_t attach(const sound_trigger_module_handle_t handle,
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.h48 void *handle; member in struct:lib_entry_s
/frameworks/av/media/mtp/
H A DMtpObjectInfo.h50 MtpObjectInfo(MtpObjectHandle handle);
H A DMtpObjectInfo.cpp27 MtpObjectInfo::MtpObjectInfo(MtpObjectHandle handle) argument
28 : mHandle(handle),
/frameworks/base/libs/hwui/
H A DAnimatorManager.h43 void setAnimationHandle(AnimationHandle* handle);
H A DAnimatorManager.cpp49 void AnimatorManager::setAnimationHandle(AnimationHandle* handle) { argument
50 LOG_ALWAYS_FATAL_IF(mAnimationHandle && handle, "Already have an AnimationHandle!");
51 mAnimationHandle = handle;
53 "Lost animation handle on %p (%s) with outstanding animators!",
69 "Trying to start new animators on %p (%s) without an animation handle!",
170 ALOGD("endAllStagingAnimators on %p (%s) with handle %p",
/frameworks/native/libs/gui/
H A DSensorEventQueue.cpp131 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs, argument
133 return mSensorEventConnection->enableDisable(handle, true, us2ns(samplingPeriodUs),
141 status_t SensorEventQueue::disableSensor(int32_t handle) const {
142 return mSensorEventConnection->enableDisable(handle, false, 0, 0, false);
H A DBufferQueueCore.cpp124 result.appendFormat(", %p [%4ux%4u:%4u,%3X]", buffer->handle,
221 (item->mGraphicBuffer.get() ? item->mGraphicBuffer->handle : 0),
223 (slot.mGraphicBuffer.get() ? slot.mGraphicBuffer->handle : 0));
228 (item->mGraphicBuffer->handle == slot.mGraphicBuffer->handle);
/frameworks/base/services/core/jni/
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/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp111 MtpObjectHandle handle,
130 virtual MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle,
134 virtual MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle,
146 virtual MtpResponseCode getObjectPropertyList(MtpObjectHandle handle,
151 virtual MtpResponseCode getObjectInfo(MtpObjectHandle handle,
154 virtual void* getThumbnail(MtpObjectHandle handle, size_t& outThumbSize);
156 virtual MtpResponseCode getObjectFilePath(MtpObjectHandle handle,
160 virtual MtpResponseCode deleteFile(MtpObjectHandle handle);
165 virtual MtpObjectHandleList* getObjectReferences(MtpObjectHandle handle);
167 virtual MtpResponseCode setObjectReferences(MtpObjectHandle handle,
246 endSendObject(const char* path, MtpObjectHandle handle, MtpObjectFormat format, bool succeeded) argument
361 getObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
529 setObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
667 getObjectPropertyList(MtpObjectHandle handle, uint32_t format, uint32_t property, int groupCode, int depth, MtpDataPacket& packet) argument
784 getObjectInfo(MtpObjectHandle handle, MtpObjectInfo& info) argument
848 getThumbnail(MtpObjectHandle handle, size_t& outThumbSize) argument
874 getObjectFilePath(MtpObjectHandle handle, MtpString& outFilePath, int64_t& outFileLength, MtpObjectFormat& outFormat) argument
899 deleteFile(MtpObjectHandle handle) argument
971 getObjectReferences(MtpObjectHandle handle) argument
989 setObjectReferences(MtpObjectHandle handle, MtpObjectHandleList* references) argument
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp411 DecryptHandle* handle = new DecryptHandle(); local
412 if (NULL != handle) {
413 handle->decryptId = mDecryptSessionId + 1;
418 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime);
428 delete handle; handle = NULL;
430 return handle;
439 DecryptHandle* handle = new DecryptHandle(); local
440 if (NULL != handle) {
441 handle
468 DecryptHandle* handle = new DecryptHandle(); local
[all...]
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h468 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/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c102 void *handle = NULL; local
132 handle = dlopen("libstagefright.so", RTLD_NOW);
133 if(handle == 0)
139 pfunc = dlsym(handle, "voGetAMRWBEncAPI");
255 dlclose(handle);
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.cpp256 // Pull the graphic buffer handle back out of the buffer, and confirm
263 if (bufferHandle != codecBuffer.mGraphicBuffer->handle) {
265 ALOGE("codecBufferEmptied: buffer's handle is %p, expected %p",
266 bufferHandle, codecBuffer.mGraphicBuffer->handle);
286 mBufferSlot[id]->handle == codecBuffer.mGraphicBuffer->handle) {
287 ALOGV("cbi %d matches bq slot %d, handle=%p",
288 cbi, id, mBufferSlot[id]->handle);
659 buffer_handle_t handle; local
662 handle
[all...]
/frameworks/base/libs/androidfw/
H A DZipFileRO.cpp72 ZipArchiveHandle handle; local
73 const int32_t error = OpenArchive(zipFileName, &handle);
79 return new ZipFileRO(handle, strdup(zipFileName));
/frameworks/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp44 jfieldID handle; member in struct:android::SensorOffsets
71 sensorOffsets.handle = _env->GetFieldID(sensorClass, "mHandle", "I");
106 env->SetIntField(sensor, sensorOffsets.handle, list->getHandle());
236 static jint nativeEnableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, jint rate_us, argument
239 return receiver->getSensorEventQueue()->enableSensor(handle, rate_us, maxBatchReportLatency,
243 static jint nativeDisableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle) { argument
245 return receiver->getSensorEventQueue()->disableSensor(handle);
248 static void nativeDestroySensorEventQueue(JNIEnv *env, jclass clazz, jlong eventQ, jint handle) { argument
/frameworks/native/include/binder/
H A DBpBinder.h30 BpBinder(int32_t handle);
32 inline int32_t handle() const { return mHandle; } function in class:android::BpBinder
/frameworks/native/services/sensorservice/
H A DRotationVectorSensor.cpp59 status_t RotationVectorSensor::setDelay(void* ident, int /*handle*/, int64_t ns) {
68 hwSensor.handle = '_rov';
108 status_t GyroDriftSensor::setDelay(void* ident, int /*handle*/, int64_t ns) {
117 hwSensor.handle = '_gbs';
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasClient.java127 * <code>obj</code> contains handle of message as allocated by MSE
418 String handle = req.getMsgHandle();
420 client.sendToClient(EVENT_PUSH_MESSAGE, request.isSuccess(), handle);
954 * @param handle handle of message to retrieve
963 public boolean getMessage(String handle, CharsetType charset, boolean attachment) { argument
970 new BigInteger(handle, 16);
975 BluetoothMasRequest request = new BluetoothMasRequestGetMessage(handle, charset,
986 * @param handle handle o
991 setMessageReadStatus(String handle, boolean read) argument
1020 setMessageDeletedStatus(String handle, boolean deleted) argument
[all...]
/frameworks/native/libs/binder/
H A DParcel.cpp97 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle);
105 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle);
134 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle);
142 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle);
147 if (obj.cookie != 0) close(obj.handle);
174 const int32_t handle = proxy ? proxy->handle() : 0; local
177 obj.handle = handle;
208 const int32_t handle local
755 writeNativeHandle(const native_handle* handle) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DFileSource.h44 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);

Completed in 567 milliseconds

1234567891011