Searched defs:handle (Results 76 - 100 of 151) sorted by relevance

1234567

/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
545 releaseAudioPatch(audio_patch_handle_t handle) argument
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyClientImpl.cpp187 audio_patch_handle_t *handle,
190 return mAudioPolicyService->clientCreateAudioPatch(patch, handle, delayMs);
193 status_t AudioPolicyService::AudioPolicyClient::releaseAudioPatch(audio_patch_handle_t handle, argument
196 return mAudioPolicyService->clientReleaseAudioPatch(handle, delayMs);
186 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle, int delayMs) argument
H A DAudioPolicyInterfaceImpl.cpp511 audio_patch_handle_t *handle)
520 return mAudioPolicyManager->createAudioPatch(patch, handle,
524 status_t AudioPolicyService::releaseAudioPatch(audio_patch_handle_t handle) argument
534 return mAudioPolicyManager->releaseAudioPatch(handle,
510 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor.cpp95 void ZslProcessor::onBufferReleased(buffer_handle_t *handle) { argument
101 if (&(mZslQueue[i].buffer.mGraphicBuffer->handle) == handle) break;
105 __FUNCTION__, handle);
313 buffer_handle_t *handle = local
314 &(mZslQueue[index].buffer.mGraphicBuffer->handle);
344 handle, this);
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.h294 status_t pushIntoStream(buffer_handle_t *handle,
320 buffer_handle_t *handle; member in struct:android::Camera2Device::ReprocessStreamAdapter::QueueEntry
/frameworks/av/soundtrigger/
H A DSoundTrigger.cpp153 sound_model_handle_t *handle)
160 return mISoundTrigger->loadSoundModel(modelMemory, handle);
163 status_t SoundTrigger::unloadSoundModel(sound_model_handle_t handle) argument
169 return mISoundTrigger->unloadSoundModel(handle);
172 status_t SoundTrigger::startRecognition(sound_model_handle_t handle, argument
179 return mISoundTrigger->startRecognition(handle, dataMemory);
182 status_t SoundTrigger::stopRecognition(sound_model_handle_t handle) argument
188 return mISoundTrigger->stopRecognition(handle);
152 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument
/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java65 * A handle to an opened package, consisting of one or more APKs. Used as
145 private static native void nativeClose(long handle); argument
147 private static native long nativeSumNativeBinaries(long handle, String cpuAbi); argument
149 private native static int nativeCopyNativeBinaries(long handle, argument
152 private static long sumNativeBinaries(Handle handle, String abi) { argument
154 for (long apkHandle : handle.apkHandles) {
163 * @param handle APK file to scan for native libraries
168 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { argument
169 for (long apkHandle : handle.apkHandles) {
185 public static int findSupportedAbi(Handle handle, Strin argument
210 nativeFindSupportedAbi(long handle, String[] supportedAbis) argument
275 sumNativeBinariesForSupportedAbi(Handle handle, String[] abiList) argument
284 copyNativeBinariesForSupportedAbi(Handle handle, File libraryRoot, String[] abiList, boolean useIsaSubdir) argument
317 copyNativeBinariesWithOverride(Handle handle, File libraryRoot, String abiOverride) argument
378 sumNativeBinariesWithOverride(Handle handle, String abiOverride) argument
421 hasRenderscriptBitcode(Handle handle) argument
[all...]
H A DPackageHelper.java432 NativeLibraryHelper.Handle handle = null;
434 handle = NativeLibraryHelper.Handle.create(pkg);
435 return calculateInstalledSize(pkg, handle, isForwardLocked, abiOverride);
437 IoUtils.closeQuietly(handle);
441 public static long calculateInstalledSize(PackageLite pkg, NativeLibraryHelper.Handle handle, argument
456 sizeBytes += NativeLibraryHelper.sumNativeBinariesWithOverride(handle, abiOverride);
/frameworks/base/core/jni/
H A Dandroid_opengl_EGLExt.cpp114 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));
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/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/services/core/jni/
H A Dcom_android_server_input_InputWindowHandle.cpp181 NativeInputWindowHandle* handle; local
183 handle = reinterpret_cast<NativeInputWindowHandle*>(ptr);
192 handle = new NativeInputWindowHandle(inputApplicationHandle, objWeak);
193 handle->incStrong((void*)android_server_InputWindowHandle_getHandle);
195 reinterpret_cast<jlong>(handle));
197 return handle;
210 NativeInputWindowHandle* handle = reinterpret_cast<NativeInputWindowHandle*>(ptr); local
211 handle->decStrong((void*)android_server_InputWindowHandle_getHandle);
/frameworks/native/cmds/servicemanager/
H A Dservice_manager.c131 uint32_t handle; member in struct:svcinfo
158 if (si->handle) {
159 binder_release(bs, si->handle);
160 si->handle = 0;
180 //ALOGI("check_service('%s') handle = %x\n", str8(s, len), si ? si->handle : 0);
181 if (si && si->handle) {
190 return si->handle;
198 uint32_t handle, uid_t uid, int allow_isolated,
203 //ALOGI("add_service('%s',%x,%s) uid=%d\n", str8(s, len), handle,
196 do_add_service(struct binder_state *bs, const uint16_t *s, size_t len, uint32_t handle, uid_t uid, int allow_isolated, pid_t spid) argument
254 uint32_t handle; local
[all...]
H A Dbinder.c310 data.payload.handle = target;
333 writebuf.txn.target.handle = target;
502 void bio_put_ref(struct binder_io *bio, uint32_t handle) argument
506 if (handle)
516 obj->handle = handle;
633 return obj->handle;
/frameworks/native/libs/binder/
H A DBpBinder.cpp89 BpBinder::BpBinder(int32_t handle) argument
90 : mHandle(handle)
95 ALOGV("Creating BpBinder %p handle %d\n", this, mHandle);
98 IPCThreadState::self()->incWeakHandle(handle);
193 ALOGV("Requesting death notification: %p handle %d\n", this, mHandle);
229 ALOGV("Clearing death notification: %p handle %d\n", this, mHandle);
245 ALOGV("Sending obituary for proxy %p handle %d, mObitsSent=%s\n",
254 ALOGV("Clearing sent death notification: %p handle %d\n", this, mHandle);
314 ALOGV("Destroying BpBinder %p handle %d\n", this, mHandle);
341 ALOGV("onFirstRef BpBinder %p handle
[all...]
H A DProcessState.cpp165 ProcessState::handle_entry* ProcessState::lookupHandleLocked(int32_t handle) argument
168 if (N <= (size_t)handle) {
172 status_t err = mHandleToObject.insertAt(e, N, handle+1-N);
175 return &mHandleToObject.editItemAt(handle);
178 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) argument
184 handle_entry* e = lookupHandleLocked(handle);
192 if (handle == 0) {
208 // stop special casing handle 0 for context manager and add
209 // a driver API to get a handle to the context manager with
219 b = new BpBinder(handle);
235 getWeakProxyForHandle(int32_t handle) argument
266 expungeHandle(int32_t handle, IBinder* binder) argument
[all...]
/frameworks/native/libs/gui/
H A DSurfaceControl.cpp49 const sp<IBinder>& handle,
51 : mClient(client), mHandle(handle), mGraphicBufferProducer(gbp)
165 ALOGE("invalid handle (%p) or client (%p)",
47 SurfaceControl( const sp<SurfaceComposerClient>& client, const sp<IBinder>& handle, const sp<IGraphicBufferProducer>& gbp) argument
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp127 GRALLOC_USAGE_HW_FB, &buffers[i]->handle, &buffers[i]->stride);
168 grDev->free(grDev, buffers[i]->handle);
280 buffer_handle_t handle = static_cast<NativeBuffer*>(buffer)->handle; local
286 int res = fb->post(fb, handle);
/frameworks/opt/net/wifi/service/lib/
H A Dwifi_hal.cpp4 wifi_error wifi_initialize(wifi_handle *handle) { argument
8 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler) { argument
11 void wifi_event_loop(wifi_handle handle) { argument
19 wifi_error wifi_get_supported_feature_set(wifi_interface_handle handle, feature_set *set) { argument
23 wifi_error wifi_get_concurrency_matrix(wifi_interface_handle handle, int max_size, argument
28 wifi_error wifi_set_scanning_mac_oui(wifi_interface_handle handle, unsigned char *oui) { argument
33 wifi_error wifi_get_supported_channels(wifi_handle handle, int *size, wifi_channel *list) { argument
38 wifi_error wifi_is_epr_supported(wifi_handle handle) { argument
43 wifi_error wifi_get_ifaces(wifi_handle handle, int *num_ifaces, wifi_interface_handle **ifaces) { argument
97 wifi_error wifi_get_gscan_capabilities(wifi_interface_handle handle, argument
116 wifi_get_valid_channels(wifi_interface_handle handle, int band, int max_channels, wifi_channel *channels, int *num_channels) argument
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DEffectEqualizer.cpp166 extern "C" int EffectRelease(effect_handle_t handle) { argument
167 EqualizerContext * pContext = (EqualizerContext *)handle;
169 ALOGV("EffectLibReleaseEffect %p", handle);
349 // pEqualizer - handle to instance data
521 // pEqualizer - handle to instance data
/frameworks/av/media/libstagefright/
H A DMediaCodecSource.cpp642 native_handle_t* handle = NULL; local
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp690 native_handle_t* handle = NULL; local
725 if (outbuf->meta()->findPointer("handle", (void**)&handle) &&
726 handle != NULL) {
730 outbuf->meta()->setPointer("handle", NULL);
740 buffer->meta()->setPointer("handle", handle);
756 if (!handle) {
777 if (!handle) {
/frameworks/base/core/java/android/hardware/
H A DSystemSensorManager.java76 // ", handle=" + sensor.getHandle());
227 private static native int nativeEnableSensor(long eventQ, int handle, int rateUs, argument
229 private static native int nativeDisableSensor(long eventQ, int handle); argument
253 int handle = sensor.getHandle();
254 if (mActiveSensors.get(handle)) return false;
257 mActiveSensors.put(handle, true);
273 int handle = mActiveSensors.keyAt(i);
274 Sensor sensor = sHandleToSensor.get(handle);
277 mActiveSensors.put(handle, false);
288 final int handle
343 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
345 dispatchFlushCompleteEvent(int handle) argument
380 dispatchSensorEvent(int handle, float[] values, int inAccuracy, long timestamp) argument
409 dispatchFlushCompleteEvent(int handle) argument
447 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
472 dispatchFlushCompleteEvent(int handle) argument
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DValidateNotificationPeople.java81 // maps raw person handle to resolved person object
225 final String handle = people[personIdx];
226 if (TextUtils.isEmpty(handle)) continue;
229 final String cacheKey = getCacheKey(context.getUserId(), handle);
232 pendingLookups.add(handle);
254 private String getCacheKey(int userId, String handle) { argument
255 return Integer.toString(userId) + ":" + handle;
425 for (final String handle: mPendingLookups) {
427 final Uri uri = Uri.parse(handle);
429 if (DEBUG) Slog.d(TAG, "checking telephone URI: " + handle);
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DParcelableCall.java66 Uri handle,
86 mHandle = handle;
145 * The presentation requirements for the handle. See {@link TelecomManager} for valid values.
249 Uri handle = source.readParcelable(classLoader);
273 handle,
58 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, IVideoProvider videoCallProvider, String parentCallId, List<String> childCallIds, StatusHints statusHints, int videoState, List<String> conferenceableCallIds, Bundle extras) argument

Completed in 4918 milliseconds

1234567