Searched refs:handle (Results 76 - 100 of 286) sorted by relevance

1234567891011>>

/frameworks/opt/emoji/
H A DEmojiFactory.cpp76 void *handle = dlopen(library_name, RTLD_LAZY | RTLD_LOCAL); local
77 if (handle == NULL) {
86 reinterpret_cast<EmojiFactory *(*)()>(dlsym(handle,
94 dlclose(handle);
101 dlclose(handle);
113 dlclose(handle);
120 g_handles->push(handle);
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp370 void android_net_wifi_hal_cleaned_up_handler(wifi_handle handle) { argument
454 wifi_interface_handle handle = (wifi_interface_handle) value; local
455 int result = hal_fn.wifi_get_iface_name(handle, buf, sizeof(buf));
514 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
515 // ALOGD("starting scan on interface[%d] = %p", iface, handle);
574 return hal_fn.wifi_start_gscan(id, handle, params, handler) == WIFI_SUCCESS;
580 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
581 // ALOGD("stopping scan on interface[%d] = %p", iface, handle);
583 return hal_fn.wifi_stop_gscan(id, handle) == WIFI_SUCCESS;
599 wifi_interface_handle handle local
662 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
804 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
862 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
916 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
982 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1009 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1026 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1070 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1190 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1254 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1283 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1311 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1338 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1350 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1388 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1402 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1435 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1462 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1498 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1510 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1540 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1565 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1683 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1709 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1736 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1754 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1781 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1872 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1953 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
1980 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
2028 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
2076 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
2111 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
2133 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
2147 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local
[all...]
/frameworks/av/media/mtp/
H A DMtpServer.cpp246 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/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
512 releaseAudioPatch(audio_patch_handle_t handle) argument
[all...]
H A DPatchPanel.h39 audio_patch_handle_t *handle);
42 status_t releaseAudioPatch(audio_patch_handle_t handle);
/frameworks/native/libs/binder/
H A DProcessState.cpp166 ProcessState::handle_entry* ProcessState::lookupHandleLocked(int32_t handle) argument
169 if (N <= (size_t)handle) {
173 status_t err = mHandleToObject.insertAt(e, N, handle+1-N);
176 return &mHandleToObject.editItemAt(handle);
179 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) argument
185 handle_entry* e = lookupHandleLocked(handle);
193 if (handle == 0) {
209 // stop special casing handle 0 for context manager and add
210 // a driver API to get a handle to the context manager with
220 b = new BpBinder(handle);
236 getWeakProxyForHandle(int32_t handle) argument
267 expungeHandle(int32_t handle, IBinder* binder) argument
[all...]
H A DIPCThreadState.cpp124 if (btd->target.handle < 1024) {
126 out << "target.desc=" << btd->target.handle;
256 out << ": handle=" << h << " (death cookie " << (void*)(long)c << ")";
548 status_t IPCThreadState::transact(int32_t handle, argument
559 << handle << " / code " << TypeCode(code) << ": "
566 err = writeTransactionData(BC_TRANSACTION, flags, handle, code, data, NULL);
599 << handle << ": ";
610 void IPCThreadState::incStrongHandle(int32_t handle) argument
612 LOG_REMOTEREFS("IPCThreadState::incStrongHandle(%d)\n", handle);
614 mOut.writeInt32(handle);
617 decStrongHandle(int32_t handle) argument
624 incWeakHandle(int32_t handle) argument
631 decWeakHandle(int32_t handle) argument
638 attemptIncStrongHandle(int32_t handle) argument
662 expungeHandle(int32_t handle, IBinder* binder) argument
670 requestDeathNotification(int32_t handle, BpBinder* proxy) argument
678 clearDeathNotification(int32_t handle, BpBinder* proxy) argument
904 writeTransactionData(int32_t cmd, uint32_t binderFlags, int32_t handle, uint32_t code, const Parcel& data, status_t* statusBuffer) argument
[all...]
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp94 PixelFormat format, uint32_t usage, buffer_handle_t* handle,
112 static_cast<int>(height), format, static_cast<int>(usage), handle,
130 list.add(*handle, rec);
136 status_t GraphicBufferAllocator::free(buffer_handle_t handle) argument
141 err = mAllocDev->free(mAllocDev, handle);
147 list.removeItem(handle);
93 alloc(uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, buffer_handle_t* handle, uint32_t* stride) argument
/frameworks/av/include/drm/
H A Ddrm_framework_common.h258 * Defines decryption handle
325 bool operator<(const DecryptHandle& handle) const {
326 return (decryptId < handle.decryptId);
329 bool operator==(const DecryptHandle& handle) const {
330 return (decryptId == handle.decryptId);
/frameworks/av/include/media/
H A DEffectsFactoryApi.h91 // a handle on the effect control interface.
103 // pHandle: address where to return the effect handle.
110 // *pHandle: updated with the effect handle.
120 // Description: Releases the effect engine whose handle is given as argument.
125 // handle: handle on the effect interface to be released.
130 // -EINVAL invalid interface handle
133 int EffectRelease(effect_handle_t handle);
/frameworks/av/media/libstagefright/codecs/aacdec/
H A DDrcPresModeWrap.h33 void setDecoderHandle(const HANDLE_AACDECODER handle);
/frameworks/base/libs/hwui/
H A DAnimationContext.cpp48 AnimationHandle* handle = new AnimationHandle(node, *this); local
49 addAnimationHandle(handle);
53 void AnimationContext::addAnimationHandle(AnimationHandle* handle) { argument
54 handle->insertAfter(&mNextFrameAnimations);
115 "Releasing the handle for an RenderNode with outstanding animators!");
/frameworks/native/services/sensorservice/
H A DCorrectedGyroSensor.h44 virtual status_t setDelay(void* ident, int handle, int64_t ns);
H A DGravitySensor.h44 virtual status_t setDelay(void* ident, int handle, int64_t ns);
H A DLinearAccelerationSensor.h44 virtual status_t setDelay(void* ident, int handle, int64_t ns);
H A DOrientationSensor.h43 virtual status_t setDelay(void* ident, int handle, int64_t ns);
/frameworks/base/services/core/java/com/android/server/am/
H A DContentProviderRecord.java98 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token);
99 if (handle == null) {
100 handle = new ExternalProcessHandle(token);
101 externalProcessTokenToHandle.put(token, handle);
103 handle.mAcquisitionCount++;
111 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token);
112 if (handle != null) {
114 handle.mAcquisitionCount--;
115 if (handle.mAcquisitionCount == 0) {
130 ExternalProcessHandle handle
[all...]
/frameworks/av/include/radio/
H A DRadio.h41 static sp<Radio> attach(radio_handle_t handle,
76 Radio(radio_handle_t handle,
/frameworks/av/media/libstagefright/include/
H A DThrottledSource.h61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument
62 mSource->getDrmInfo(handle, client);
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.h52 virtual status_t attach(const sound_trigger_module_handle_t handle,
71 Model(sound_model_handle_t handle, audio_session_t session, audio_io_handle_t ioHandle,
115 sound_model_handle_t *handle);
117 virtual status_t unloadSoundModel(sound_model_handle_t handle);
119 virtual status_t startRecognition(sound_model_handle_t handle,
121 virtual status_t stopRecognition(sound_model_handle_t handle);
135 sp<Model> getModel(sound_model_handle_t handle);
144 status_t unloadSoundModel_l(sound_model_handle_t handle);
/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/include/androidfw/
H A DZipFileRO.h162 ZipFileRO(ZipArchiveHandle handle, char* fileName) : mHandle(handle), argument
/frameworks/base/media/java/android/media/
H A DAudioDevicePort.java39 AudioDevicePort(AudioHandle handle, String deviceName, argument
42 super(handle,
/frameworks/base/media/java/android/media/projection/
H A DMediaProjectionInfo.java30 public MediaProjectionInfo(String packageName, UserHandle handle) { argument
32 mUserHandle = handle;
/frameworks/native/include/ui/
H A DGraphicBufferAllocator.h65 buffer_handle_t* handle, uint32_t* stride);
67 status_t free(buffer_handle_t handle);

Completed in 1321 milliseconds

1234567891011>>