/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 340 int EffectRelease(effect_handle_t handle) argument 356 if (e1->object == handle) { 376 ALOGW("EffectRelease() fx %p library already unloaded", handle); 539 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 | 666 void NuCachedSource2::getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument 667 mSource->getDrmInfo(handle, client);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMX.cpp | 230 OMX_COMPONENTTYPE *handle; local 233 instance, &handle); 246 instance->setHandle(*node, handle);
|
H A D | SoftVideoEncoderOMXComponent.cpp | 498 buffer_handle_t handle; local 509 handle = buffer->handle; 527 handle = *(buffer_handle_t *)(src + 4); 548 grmodule, handle, 553 grmodule, handle, 558 ALOGE("Unable to lock image buffer %p for access", handle); 599 if (grmodule->unlock(grmodule, handle) != OK) { 600 ALOGE("Unable to unlock image buffer %p for access", handle);
|
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 378 MtpObjectInfo* MtpDevice::getObjectInfo(MtpObjectHandle handle) { argument 384 mRequest.setParameter(1, handle); 391 MtpObjectInfo* info = new MtpObjectInfo(handle); 400 void* MtpDevice::getThumbnail(MtpObjectHandle handle, int& outLength) { argument 404 mRequest.setParameter(1, handle); 492 bool MtpDevice::deleteObject(MtpObjectHandle handle) { argument 496 mRequest.setParameter(1, handle); 505 MtpObjectHandle MtpDevice::getParent(MtpObjectHandle handle) { argument 506 MtpObjectInfo* info = getObjectInfo(handle); 516 MtpObjectHandle MtpDevice::getStorageID(MtpObjectHandle handle) { argument 585 readObject(MtpObjectHandle handle, bool (* callback)(void* data, int offset, int length, void* clientData), size_t objectSize, void* clientData) argument 678 readObject(MtpObjectHandle handle, const char* destPath, int group, int perm) argument [all...] |
H A D | MtpServer.cpp | 246 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { argument 247 ALOGV("sendObjectAdded %d\n", handle); 248 sendEvent(MTP_EVENT_OBJECT_ADDED, handle); 251 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { argument 252 ALOGV("sendObjectRemoved %d\n", handle); 253 sendEvent(MTP_EVENT_OBJECT_REMOVED, handle); 281 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path, argument 283 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd); 287 MtpServer::ObjectEdit* MtpServer::getEditObject(MtpObjectHandle handle) { argument 291 if (edit->mHandle == handle) retur 296 removeEditObject(MtpObjectHandle handle) argument 952 MtpObjectHandle handle = mDatabase->beginSendObject((const char*)path, local [all...] |
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyInterfaceImpl.cpp | 572 audio_patch_handle_t *handle) 581 return mAudioPolicyManager->createAudioPatch(patch, handle, 585 status_t AudioPolicyService::releaseAudioPatch(audio_patch_handle_t handle) argument 595 return mAudioPolicyManager->releaseAudioPatch(handle, 571 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
|
H A D | AudioPolicyService.cpp | 204 audio_patch_handle_t *handle, 207 return mAudioCommandThread->createAudioPatchCommand(patch, handle, delayMs); 210 status_t AudioPolicyService::clientReleaseAudioPatch(audio_patch_handle_t handle, argument 213 return mAudioCommandThread->releaseAudioPatchCommand(handle, delayMs); 687 audio_patch_handle_t *handle, 696 data->mHandle = *handle; 702 *handle = data->mHandle; 707 status_t AudioPolicyService::AudioCommandThread::releaseAudioPatchCommand(audio_patch_handle_t handle, argument 713 data->mHandle = handle; 848 audio_patch_handle_t handle; local 203 clientCreateAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle, int delayMs) argument 685 createAudioPatchCommand( const struct audio_patch *patch, audio_patch_handle_t *handle, int delayMs) argument [all...] |
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHwService.cpp | 84 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/core/java/android/app/ |
H A D | NativeActivity.java | 97 private native void unloadNativeCode(long handle); argument 98 private native void onStartNative(long handle); argument 99 private native void onResumeNative(long handle); argument 100 private native byte[] onSaveInstanceStateNative(long handle); argument 101 private native void onPauseNative(long handle); argument 102 private native void onStopNative(long handle); argument 103 private native void onConfigurationChangedNative(long handle); argument 104 private native void onLowMemoryNative(long handle); argument 105 private native void onWindowFocusChangedNative(long handle, boolean focused); argument 106 private native void onSurfaceCreatedNative(long handle, Surfac argument 107 onSurfaceChangedNative(long handle, Surface surface, int format, int width, int height) argument 109 onSurfaceRedrawNeededNative(long handle, Surface surface) argument 110 onSurfaceDestroyedNative(long handle) argument 111 onInputQueueCreatedNative(long handle, long queuePtr) argument 112 onInputQueueDestroyedNative(long handle, long queuePtr) argument 113 onContentRectChangedNative(long handle, int x, int y, int w, int h) argument [all...] |
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDatabase.java | 375 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/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 | IAudioPolicyService.cpp | 555 audio_patch_handle_t *handle) 557 if (patch == NULL || handle == NULL) { 563 data.write(handle, sizeof(audio_patch_handle_t)); 569 reply.read(handle, sizeof(audio_patch_handle_t)); 573 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) argument 577 data.write(&handle, sizeof(audio_patch_handle_t)); 1102 audio_patch_handle_t handle; local 1103 data.read(&handle, sizeof(audio_patch_handle_t)); 1104 status_t status = createAudioPatch(&patch, &handle); 1107 reply->write(&handle, sizeo 554 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument 1114 audio_patch_handle_t handle; local [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.h | 239 audio_patch_handle_t *handle); 242 virtual status_t releaseAudioPatch(audio_patch_handle_t handle); 550 // FIXME This API does not handle rollover to zero (for unsigned IDs), 583 // Called when the last effect handle on an effect instance is removed. If this 596 AudioHwDevice(audio_module_handle_t handle, argument 600 : mHandle(handle), mModuleName(strdup(moduleName)) 613 audio_module_handle_t handle() const { return mHandle; } function in class:android::AudioFlinger::AudioHwDevice
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 468 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/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 258 void* handle = dlopen(pathStr, RTLD_LAZY); local 259 if (handle == NULL) { 261 handle = NativeBridgeLoadLibrary(pathStr, RTLD_LAZY); 267 if (handle != NULL) { 271 funcPtr = NativeBridgeGetTrampoline(handle, funcStr, NULL, 0); 273 funcPtr = dlsym(handle, funcStr); 276 code = new NativeCode(handle, (ANativeActivity_createFunc*)funcPtr); 359 unloadNativeCode_native(JNIEnv* env, jobject clazz, jlong handle) argument 362 if (handle != 0) { 363 NativeCode* code = (NativeCode*)handle; 369 onStart_native(JNIEnv* env, jobject clazz, jlong handle) argument 381 onResume_native(JNIEnv* env, jobject clazz, jlong handle) argument 393 onSaveInstanceState_native(JNIEnv* env, jobject clazz, jlong handle) argument 420 onPause_native(JNIEnv* env, jobject clazz, jlong handle) argument 432 onStop_native(JNIEnv* env, jobject clazz, jlong handle) argument 444 onConfigurationChanged_native(JNIEnv* env, jobject clazz, jlong handle) argument 456 onLowMemory_native(JNIEnv* env, jobject clazz, jlong handle) argument 468 onWindowFocusChanged_native(JNIEnv* env, jobject clazz, jlong handle, jboolean focused) argument 480 onSurfaceCreated_native(JNIEnv* env, jobject clazz, jlong handle, jobject surface) argument 500 onSurfaceChanged_native(JNIEnv* env, jobject clazz, jlong handle, jobject surface, jint format, jint width, jint height) argument 541 onSurfaceRedrawNeeded_native(JNIEnv* env, jobject clazz, jlong handle) argument 553 onSurfaceDestroyed_native(JNIEnv* env, jobject clazz, jlong handle, jobject surface) argument 567 onInputQueueCreated_native(JNIEnv* env, jobject clazz, jlong handle, jlong queuePtr) argument 580 onInputQueueDestroyed_native(JNIEnv* env, jobject clazz, jlong handle, jlong queuePtr) argument 593 onContentRectChanged_native(JNIEnv* env, jobject clazz, jlong handle, jint x, jint y, jint w, jint h) argument [all...] |
H A D | android_opengl_EGL14.cpp | 109 jlong handle = _env->CallLongMethod(obj, mid); local 110 return reinterpret_cast<void*>(handle); 114 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { argument 116 (EGLContext)handle == EGL_NO_CONTEXT) { 121 (EGLDisplay)handle == EGL_NO_DISPLAY) { 126 (EGLSurface)handle == EGL_NO_SURFACE) { 130 return _env->NewObject(cls, con, reinterpret_cast<jlong>(handle));
|
/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDatabase.cpp | 111 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/base/telecomm/java/android/telecom/ |
H A D | Call.java | 281 * @return The handle (e.g., phone number) to which the {@code Call} is currently 289 * @return The presentation requirements for the handle. See 424 Uri handle, 437 mHandle = handle; 423 Details( Uri handle, int handlePresentation, String callerDisplayName, int callerDisplayNamePresentation, PhoneAccountHandle accountHandle, int capabilities, int properties, DisconnectCause disconnectCause, long connectTimeMillis, GatewayInfo gatewayInfo, int videoState, StatusHints statusHints, Bundle extras) argument
|
/frameworks/native/libs/binder/ |
H A D | IPCThreadState.cpp | 141 if (btd->target.handle < 1024) { 143 out << "target.desc=" << btd->target.handle; 273 out << ": handle=" << h << " (death cookie " << (void*)c << ")"; 545 status_t IPCThreadState::transact(int32_t handle, argument 556 << handle << " / code " << TypeCode(code) << ": " 563 err = writeTransactionData(BC_TRANSACTION, flags, handle, code, data, NULL); 596 << handle << ": "; 607 void IPCThreadState::incStrongHandle(int32_t handle) argument 609 LOG_REMOTEREFS("IPCThreadState::incStrongHandle(%d)\n", handle); 611 mOut.writeInt32(handle); 614 decStrongHandle(int32_t handle) argument 621 incWeakHandle(int32_t handle) argument 628 decWeakHandle(int32_t handle) argument 635 attemptIncStrongHandle(int32_t handle) argument 659 expungeHandle(int32_t handle, IBinder* binder) argument 667 requestDeathNotification(int32_t handle, BpBinder* proxy) argument 675 clearDeathNotification(int32_t handle, BpBinder* proxy) argument 901 writeTransactionData(int32_t cmd, uint32_t binderFlags, int32_t handle, uint32_t code, const Parcel& data, status_t* statusBuffer) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 495 sp<IBinder> handle; local 498 &handle, &gbp); 501 sur = new SurfaceControl(this, handle, gbp);
|
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 210 // add to our handle->SensorInterface mapping 334 int handle = mActiveSensors.keyAt(i); local 335 result.appendFormat("%s (handle=0x%08x, connections=%zu)\n", 336 getSensorName(handle).string(), 337 handle, 361 int handle = buffer[i].sensor; local 363 handle = buffer[i].meta_data.sensor; 365 if (connection->hasSensor(handle)) { 366 SensorInterface* sensor = mSensorMap.valueFor(handle); 371 sensor->autoDisable(connection.get(), handle); 625 int handle = event.sensor; local 634 getSensorRecord(int handle) argument 675 int handle = mActiveSensors.keyAt(i); local 713 enable(const sp<SensorEventConnection>& connection, int handle, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags) argument 813 disable(const sp<SensorEventConnection>& connection, int handle) argument 828 cleanupWithoutDisable( const sp<SensorEventConnection>& connection, int handle) argument 834 cleanupWithoutDisableLocked( const sp<SensorEventConnection>& connection, int handle) argument 857 setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns) argument 890 const int handle = connection->mSensorInfo.keyAt(i); local 1091 addSensor(int32_t handle) argument 1103 removeSensor(int32_t handle) argument 1124 const int handle = mSensorInfo.keyAt(i); local 1132 setFirstFlushPending(int32_t handle, bool value) argument 1164 const int handle = mSensorInfo.keyAt(i); local 1192 incrementPendingFlushCount(int32_t handle) argument 1491 enableDisable( int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags) argument 1506 setEventRate( int handle, nsecs_t samplingPeriodNs) argument [all...] |
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
H A D | BluetoothMasClient.java | 127 * <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...] |