Searched refs:handle (Results 151 - 175 of 286) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/
H A DAnimationContext.h53 // Stops tracking the RenderNode and destroys the handle. The node must be
105 void addAnimationHandle(AnimationHandle* handle);
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpServer.cpp97 android_mtp_MtpServer_send_object_added(JNIEnv *env, jobject thiz, jint handle) argument
103 server->sendObjectAdded(handle);
109 android_mtp_MtpServer_send_object_removed(JNIEnv *env, jobject thiz, jint handle) argument
115 server->sendObjectRemoved(handle);
/frameworks/base/telecomm/java/android/telecom/
H A DParcelableCall.java68 Uri handle,
90 mHandle = handle;
151 * The presentation requirements for the handle. See {@link TelecomManager} for valid values.
276 Uri handle = source.readParcelable(classLoader);
302 handle,
60 ParcelableCall( String id, int state, DisconnectCause disconnectCause, List<String> cannedSmsResponses, int capabilities, int properties, long connectTimeMillis, Uri handle, int handlePresentation, String callerDisplayName, int callerDisplayNamePresentation, GatewayInfo gatewayInfo, PhoneAccountHandle accountHandle, boolean isVideoCallProviderChanged, IVideoProvider videoCallProvider, String parentCallId, List<String> childCallIds, StatusHints statusHints, int videoState, List<String> conferenceableCallIds, Bundle intentExtras, Bundle extras) argument
/frameworks/webview/chromium/loader/
H A Dloader.cpp88 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo); local
90 if (handle == NULL) {
117 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo); local
119 if (handle == NULL) {
128 /* JNI wrappers - handle string lifetimes and 32/64 ABI choice */
199 // return, so no need to handle errors here.
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java103 NativeLibraryHelper.Handle handle = null;
107 handle = NativeLibraryHelper.Handle.create(pkg);
108 return copyPackageToContainerInner(pkg, handle, containerId, key, isExternal,
114 IoUtils.closeQuietly(handle);
313 private String copyPackageToContainerInner(PackageLite pkg, NativeLibraryHelper.Handle handle, argument
319 final long sizeBytes = PackageHelper.calculateInstalledSize(pkg, handle,
342 final int res = NativeLibraryHelper.copyNativeBinariesWithOverride(handle, libraryRoot,
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyService.h179 audio_patch_handle_t *handle);
180 virtual status_t releaseAudioPatch(audio_patch_handle_t handle);
202 audio_io_handle_t *handle);
203 virtual status_t stopAudioSource(audio_io_handle_t handle);
213 audio_patch_handle_t *handle,
215 status_t clientReleaseAudioPatch(audio_patch_handle_t handle,
289 audio_patch_handle_t *handle,
291 status_t releaseAudioPatchCommand(audio_patch_handle_t handle,
481 audio_patch_handle_t *handle,
485 virtual status_t releaseAudioPatch(audio_patch_handle_t handle,
[all...]
H A DAudioPolicyInterfaceImpl.cpp595 audio_patch_handle_t *handle)
604 return mAudioPolicyManager->createAudioPatch(patch, handle,
608 status_t AudioPolicyService::releaseAudioPatch(audio_patch_handle_t handle) argument
618 return mAudioPolicyManager->releaseAudioPatch(handle,
685 audio_io_handle_t *handle)
692 return mAudioPolicyManager->startAudioSource(source, attributes, handle);
695 status_t AudioPolicyService::stopAudioSource(audio_io_handle_t handle) argument
702 return mAudioPolicyManager->stopAudioSource(handle);
594 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
683 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_io_handle_t *handle) argument
/frameworks/av/services/audioflinger/
H A DEffects.h95 status_t addHandle(EffectHandle *handle);
96 size_t disconnect(EffectHandle *handle, bool unpinIfLast);
97 size_t removeHandle(EffectHandle *handle);
151 // First handle in mHandles has highest priority and controls the effect module
229 bool mHasControl; // true if this handle is controlling the effect
266 status_t addEffect_l(const sp<EffectModule>& handle);
267 size_t removeEffect_l(const sp<EffectModule>& handle);
H A DEffects.cpp107 status_t AudioFlinger::EffectModule::addHandle(EffectHandle *handle) argument
112 int priority = handle->priority();
121 // first non destroyed handle is considered in control
129 // if inserted in first place, move effect control from previous owner to this handle
136 handle->setControl(true /*hasControl*/, false /*signal*/, enabled /*enabled*/);
141 ALOGV("addHandle() %p added handle %p in position %d", this, handle, i);
142 mHandles.insertAt(handle, i);
146 size_t AudioFlinger::EffectModule::removeHandle(EffectHandle *handle) argument
152 if (mHandles[i] == handle) {
194 disconnect(EffectHandle *handle, bool unpinIfLast) argument
788 EffectHandle *handle = mHandles[i]; local
1016 EffectHandle *handle = mHandles[i]; local
1802 EffectHandle *handle = effect->controlHandle_l(); local
[all...]
H A DAudioStreamOut.cpp113 audio_io_handle_t handle,
121 handle,
112 open( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, const char *address) argument
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp129 &buffers[i]->handle, &buffers[i]->stride);
169 grDev->free(grDev, buffers[i]->handle);
280 buffer_handle_t handle = static_cast<NativeBuffer*>(buffer)->handle; local
285 int res = fb->post(fb, handle);
/frameworks/av/media/mtp/
H A DMtpDevice.cpp387 MtpObjectInfo* MtpDevice::getObjectInfo(MtpObjectHandle handle) { argument
393 mRequest.setParameter(1, handle);
400 MtpObjectInfo* info = new MtpObjectInfo(handle);
409 void* MtpDevice::getThumbnail(MtpObjectHandle handle, int& outLength) { argument
413 mRequest.setParameter(1, handle);
501 bool MtpDevice::deleteObject(MtpObjectHandle handle) { argument
505 mRequest.setParameter(1, handle);
514 MtpObjectHandle MtpDevice::getParent(MtpObjectHandle handle) { argument
515 MtpObjectInfo* info = getObjectInfo(handle);
525 MtpObjectHandle MtpDevice::getStorageID(MtpObjectHandle handle) { argument
594 readObject(MtpObjectHandle handle, bool (* callback)(void* data, int offset, int length, void* clientData), size_t objectSize, void* clientData) argument
687 readObject(MtpObjectHandle handle, const char* destPath, int group, int perm) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoEncoderOMXComponent.cpp507 buffer_handle_t handle; local
519 handle = buffer->handle;
548 handle = grallocMeta.pHandle;
569 grmodule, handle,
574 grmodule, handle,
579 ALOGE("Unable to lock image buffer %p for access", handle);
620 if (grmodule->unlock(grmodule, handle) != OK) {
621 ALOGE("Unable to unlock image buffer %p for access", handle);
/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java348 // TODO: handle existing apps installed in ASEC; currently assumes
503 NativeLibraryHelper.Handle handle = null;
505 handle = NativeLibraryHelper.Handle.create(pkg);
506 return calculateInstalledSize(pkg, handle, isForwardLocked, abiOverride);
508 IoUtils.closeQuietly(handle);
512 public static long calculateInstalledSize(PackageLite pkg, NativeLibraryHelper.Handle handle, argument
527 sizeBytes += NativeLibraryHelper.sumNativeBinariesWithOverride(handle, abiOverride);
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp568 audio_patch_handle_t *handle)
570 if (patch == NULL || handle == NULL) {
576 data.write(handle, sizeof(audio_patch_handle_t));
582 reply.read(handle, sizeof(audio_patch_handle_t));
586 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) argument
590 data.write(&handle, sizeof(audio_patch_handle_t));
737 audio_io_handle_t *handle)
741 if (source == NULL || attributes == NULL || handle == NULL) {
754 *handle = (audio_io_handle_t)reply.readInt32();
758 virtual status_t stopAudioSource(audio_io_handle_t handle) argument
567 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
735 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_io_handle_t *handle) argument
1167 audio_patch_handle_t handle = {}; local
1181 audio_patch_handle_t handle; local
1299 audio_io_handle_t handle = {}; local
1308 audio_io_handle_t handle = (audio_io_handle_t)data.readInt32(); local
[all...]
/frameworks/av/media/libstagefright/
H A DFileSource.cpp156 void FileSource::getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument
157 handle = mDecryptHandle;
H A DSurfaceMediaSource.cpp256 // 2. This is followed by the buffer_handle_t that is a handle to the
257 // GRalloc buffer. The encoder needs to interpret this GRalloc handle
275 ALOGV("handle = %p, , offset = %zu, length = %zu",
364 passMetadataBuffer(buffer, mSlots[mCurrentSlot].mGraphicBuffer->handle);
386 // copy the byte stream into our handle
402 if (mCurrentBuffers[i]->handle == bufferHandle) {
418 if (bufferHandle == mSlots[id].mGraphicBuffer->handle) {
419 ALOGV("Slot %d returned, matches handle = %p", id,
420 mSlots[id].mGraphicBuffer->handle);
/frameworks/av/media/libstagefright/codecs/aacdec/
H A DDrcPresModeWrap.cpp62 CDrcPresModeWrapper::setDecoderHandle(const HANDLE_AACDECODER handle) argument
64 mHandleDecoder = handle;
219 else { // handle other used encoder target levels
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp170 sp<DecryptHandle> &handle, DrmManagerClient **client) {
171 handle = mDecryptHandle;
169 getDrmInfo( sp<DecryptHandle> &handle, DrmManagerClient **client) argument
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.h205 audio_patch_handle_t *handle,
207 virtual status_t releaseAudioPatch(audio_patch_handle_t handle,
228 audio_io_handle_t *handle);
229 virtual status_t stopAudioSource(audio_io_handle_t handle);
351 // handle special cases for sonification strategy while in call: mute streams or replace by
366 // returns its handle if any.
459 virtual status_t addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch) argument
461 return mAudioPatches.addAudioPatch(handle, patch);
463 virtual status_t removeAudioPatch(audio_patch_handle_t handle) argument
465 return mAudioPatches.removeAudioPatch(handle);
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.cpp145 buffer_handle_t *handle,
157 buffer.buffer = handle;
144 handoutBufferLocked(camera3_stream_buffer &buffer, buffer_handle_t *handle, int acquireFence, int releaseFence, camera3_buffer_status_t status, bool output) argument
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapEventReport.java74 String handle = attrs.get("handle");
77 new BigInteger(attrs.get("handle"), 16);
79 mHandle = attrs.get("handle");
81 throw new IllegalArgumentException("Invalid value for handle:" + handle);
136 * @return value corresponding to <code>handle</code> parameter in MAP
173 json.put("handle", mHandle);
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.h72 int32_t DownmixLib_Release(effect_handle_t handle);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor.h61 virtual void onBufferReleased(buffer_handle_t *handle);
/frameworks/native/cmds/servicemanager/
H A Dbinder.h30 /* the one magic handle */
85 void bio_put_ref(struct binder_io *bio, uint32_t handle);

Completed in 942 milliseconds

1234567891011>>