/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 41 const DecryptHandle* handle, Parcel* data) { 42 data->writeInt32(handle->decryptId); 43 data->writeString8(handle->mimeType); 44 data->writeInt32(handle->decryptApiType); 45 data->writeInt32(handle->status); 47 int size = handle->copyControlVector.size(); 50 data->writeInt32(handle->copyControlVector.keyAt(i)); 51 data->writeInt32(handle->copyControlVector.valueAt(i)); 54 size = handle->extendedData.size(); 57 data->writeString8(handle 40 writeDecryptHandleToParcelData( const DecryptHandle* handle, Parcel* data) argument 68 readDecryptHandleFromParcelData( DecryptHandle* handle, const Parcel& data) argument 101 clearDecryptHandle(DecryptHandle* handle) argument 621 DecryptHandle* handle = NULL; local 646 DecryptHandle* handle = NULL; local 673 DecryptHandle* handle = NULL; local 1113 DecryptHandle handle; local 1133 DecryptHandle handle; local 1311 DecryptHandle* handle local 1331 DecryptHandle* handle = openDecryptSession(uniqueId, uri.string(), mime.string()); local 1355 DecryptHandle* handle = openDecryptSession(uniqueId, buf, mimeType); local 1375 DecryptHandle* handle = new DecryptHandle(); local 1390 DecryptHandle handle; local 1416 DecryptHandle handle; local 1460 DecryptHandle handle; local 1477 DecryptHandle handle; local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 411 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/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 270 DecryptHandle* handle = NULL; local 272 handle = getDrmManagerService()->openDecryptSession(uniqueId, uri, mime); 274 return handle;
|
/frameworks/av/media/libeffects/downmix/ |
H A D | EffectDownmix.c | 218 int32_t DownmixLib_Release(effect_handle_t handle) { argument 219 downmix_module_t *pDwmModule = (downmix_module_t *)handle; 221 ALOGV("DownmixLib_Release() %p", handle); 222 if (handle == NULL) { 675 * pDownmixer handle to instance data 729 * pDownmixer handle to instance data
|
/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 | OMXNodeInstance.cpp | 109 void OMXNodeInstance::setHandle(OMX::node_id node_id, OMX_HANDLETYPE handle) { argument 112 mHandle = handle; 592 reinterpret_cast<const OMX_U8*>(graphicBuffer->handle)); 695 metadata->pHandle = graphicBuffer->handle; 1135 do { // handle the very unlikely case of ID overflow
|
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 374 MtpObjectInfo* MtpDevice::getObjectInfo(MtpObjectHandle handle) { argument 380 mRequest.setParameter(1, handle); 387 MtpObjectInfo* info = new MtpObjectInfo(handle); 394 void* MtpDevice::getThumbnail(MtpObjectHandle handle, int& outLength) { argument 398 mRequest.setParameter(1, handle); 486 bool MtpDevice::deleteObject(MtpObjectHandle handle) { argument 490 mRequest.setParameter(1, handle); 499 MtpObjectHandle MtpDevice::getParent(MtpObjectHandle handle) { argument 500 MtpObjectInfo* info = getObjectInfo(handle); 510 MtpObjectHandle MtpDevice::getStorageID(MtpObjectHandle handle) { argument 575 readObject(MtpObjectHandle handle, bool (* callback)(void* data, int offset, int length, void* clientData), int objectSize, void* clientData) argument 668 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 768 MtpObjectHandle handle = mRequest.getParameter(1); local 899 MtpObjectHandle handle = mDatabase->beginSendObject((const char*)path, local 1183 MtpObjectHandle handle = mRequest.getParameter(1); local 1202 MtpObjectHandle handle = mRequest.getParameter(1); local 1226 MtpObjectHandle handle = mRequest.getParameter(1); local [all...] |
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyService.cpp | 201 audio_patch_handle_t *handle, 204 return mAudioCommandThread->createAudioPatchCommand(patch, handle, delayMs); 207 status_t AudioPolicyService::clientReleaseAudioPatch(audio_patch_handle_t handle, argument 210 return mAudioCommandThread->releaseAudioPatchCommand(handle, delayMs); 680 audio_patch_handle_t *handle, 689 data->mHandle = *handle; 695 *handle = data->mHandle; 700 status_t AudioPolicyService::AudioCommandThread::releaseAudioPatchCommand(audio_patch_handle_t handle, argument 706 data->mHandle = handle; 841 audio_patch_handle_t handle; local 200 clientCreateAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle, int delayMs) argument 678 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"); 542 handle); 522 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument 561 unloadSoundModel(sound_model_handle_t handle) argument 582 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument 630 stopRecognition(sound_model_handle_t handle) argument 723 getModel( sound_model_handle_t handle) argument 807 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 | 371 private void endSendObject(String path, int handle, int format, boolean succeeded) { argument 373 // handle abstract playlists separately 392 values.put(MediaColumns.MEDIA_SCANNER_NEW_OBJECT_ID, handle); 400 mMediaScanner.scanMtpFile(path, mVolumeName, handle, format); 403 deleteFile(handle); 743 private MtpPropertyList getObjectPropertyList(long handle, int format, long property, argument 769 return propertyGroup.getPropertyList((int)handle, format, depth); 772 private int renameFile(int handle, String newName) { argument 777 String[] whereArgs = new String[] { Integer.toString(handle) }; 859 private int setObjectProperty(int handle, in argument 916 getObjectInfo(int handle, int[] outStorageFormatParent, char[] outName, long[] outCreatedModified) argument 956 getObjectFilePath(int handle, char[] outFilePath, long[] outFileLengthFormat) argument 991 deleteFile(int handle) argument 1053 getObjectReferences(int handle) argument 1080 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 | AudioSystem.cpp | 891 audio_patch_handle_t *handle) 895 return aps->createAudioPatch(patch, handle); 898 status_t AudioSystem::releaseAudioPatch(audio_patch_handle_t handle) argument 902 return aps->releaseAudioPatch(handle); 890 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
|
H A D | IAudioPolicyService.cpp | 496 audio_patch_handle_t *handle) 498 if (patch == NULL || handle == NULL) { 504 data.write(handle, sizeof(audio_patch_handle_t)); 510 reply.read(handle, sizeof(audio_patch_handle_t)); 514 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) argument 518 data.write(&handle, sizeof(audio_patch_handle_t)); 987 audio_patch_handle_t handle; local 988 data.read(&handle, sizeof(audio_patch_handle_t)); 989 status_t status = createAudioPatch(&patch, &handle); 992 reply->write(&handle, sizeo 495 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument 999 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, 245 endSendObject(const char* path, MtpObjectHandle handle, MtpObjectFormat format, bool succeeded) argument 360 getObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument 471 setObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument 663 getObjectPropertyList(MtpObjectHandle handle, uint32_t format, uint32_t property, int groupCode, int depth, MtpDataPacket& packet) argument 780 getObjectInfo(MtpObjectHandle handle, MtpObjectInfo& info) argument 844 getThumbnail(MtpObjectHandle handle, size_t& outThumbSize) argument 870 getObjectFilePath(MtpObjectHandle handle, MtpString& outFilePath, int64_t& outFileLength, MtpObjectFormat& outFormat) argument 895 deleteFile(MtpObjectHandle handle) argument 962 getObjectReferences(MtpObjectHandle handle) argument 980 setObjectReferences(MtpObjectHandle handle, MtpObjectHandleList* references) argument [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | Call.java | 115 * @return The handle (e.g., phone number) to which the {@code Call} is currently 123 * @return The presentation requirements for the handle. See 258 Uri handle, 271 mHandle = handle; 257 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
|