Searched defs:handle (Results 1 - 25 of 149) sorted by last modified time

123456

/frameworks/webview/chromium/loader/
H A Dloader.cpp83 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo); local
85 if (handle == NULL) {
112 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo); local
114 if (handle == NULL) {
123 /* JNI wrappers - handle string lifetimes and 32/64 ABI choice */
194 // return, so no need to handle errors here.
/frameworks/rs/cpp/
H A DRenderScript.cpp81 static bool loadSymbols(void* handle) { argument
83 RS::dispatch->AllocationGetType = (AllocationGetTypeFnPtr)dlsym(handle, "rsaAllocationGetType");
88 RS::dispatch->TypeGetNativeData = (TypeGetNativeDataFnPtr)dlsym(handle, "rsaTypeGetNativeData");
93 RS::dispatch->ElementGetNativeData = (ElementGetNativeDataFnPtr)dlsym(handle, "rsaElementGetNativeData");
98 RS::dispatch->ElementGetSubElements = (ElementGetSubElementsFnPtr)dlsym(handle, "rsaElementGetSubElements");
103 RS::dispatch->DeviceCreate = (DeviceCreateFnPtr)dlsym(handle, "rsDeviceCreate");
108 RS::dispatch->DeviceDestroy = (DeviceDestroyFnPtr)dlsym(handle, "rsDeviceDestroy");
113 RS::dispatch->DeviceSetConfig = (DeviceSetConfigFnPtr)dlsym(handle, "rsDeviceSetConfig");
118 RS::dispatch->ContextCreate = (ContextCreateFnPtr)dlsym(handle, "rsContextCreate");;
123 RS::dispatch->GetName = (GetNameFnPtr)dlsym(handle, "rsaGetNam
420 void* handle = dlopen(filename, RTLD_LAZY | RTLD_LOCAL); local
[all...]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionListenerProxy.java55 handle(t, "onCalling()");
71 handle(t, "onRinging()");
86 handle(t, "onRingingBack()");
102 handle(t, "onCallEstablished()");
117 handle(t, "onCallEnded()");
133 handle(t, "onCallTransferring()");
148 handle(t, "onCallBusy()");
164 handle(t, "onCallChangeFailed()");
180 handle(t, "onError()");
195 handle(
248 private void handle(Throwable t, String message) { method in class:SipSessionListenerProxy
[all...]
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp213 void android_net_wifi_hal_cleaned_up_handler(wifi_handle handle) { argument
281 wifi_interface_handle handle = (wifi_interface_handle) value; local
282 int result = ::wifi_get_iface_name(handle, buf, sizeof(buf));
344 wifi_interface_handle handle = getIfaceHandle(env, cls, iface); local
345 ALOGD("starting scan on interface[%d] = %p", iface, handle);
407 return wifi_start_gscan(id, handle, params, handler) == WIFI_SUCCESS;
411 wifi_interface_handle handle = getIfaceHandle(env, cls, iface); local
412 ALOGD("stopping scan on interface[%d] = %p", iface, handle);
414 return wifi_stop_gscan(id, handle) == WIFI_SUCCESS;
423 wifi_interface_handle handle local
475 wifi_interface_handle handle = getIfaceHandle(env, cls, iface); local
605 wifi_interface_handle handle = getIfaceHandle(env, cls, iface); local
660 wifi_interface_handle handle = getIfaceHandle(env, cls, iface); local
718 wifi_interface_handle handle = getIfaceHandle(env, cls, iface); local
783 wifi_interface_handle handle = getIfaceHandle(env, cls, iface); local
813 wifi_interface_handle handle = getIfaceHandle(env, cls, iface); local
855 wifi_interface_handle handle = getIfaceHandle(env, cls, iface); local
941 wifi_interface_handle handle = getIfaceHandle(env, cls, iface); local
980 wifi_interface_handle handle = getIfaceHandle(env, cls, iface); local
1008 wifi_interface_handle handle = getIfaceHandle(env, cls, iface); local
1030 wifi_interface_handle handle = getIfaceHandle(env, cls, iface); local
[all...]
/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/opt/net/wifi/service/tools/halutil/
H A Dhalutil.cpp161 static void cleaned_up_handler(wifi_handle handle) { argument
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasClient.java127 * <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...]
H A DBluetoothMasRequestGetMessage.java41 public BluetoothMasRequestGetMessage(String handle, CharsetType charset, boolean attachment) { argument
43 mHeaderSet.setHeader(HeaderSet.NAME, handle);
H A DBluetoothMasRequestSetMessageStatus.java34 public BluetoothMasRequestSetMessageStatus(String handle, StatusIndicator statusInd, argument
38 mHeaderSet.setHeader(HeaderSet.NAME, handle);
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapCard.java35 public final String handle; field in class:BluetoothPbapCard
44 public BluetoothPbapCard(String handle, String name) { argument
45 this.handle = handle;
67 json.put("handle", handle);
H A DBluetoothPbapClient.java51 * Therefore, application should handle following events in its message queue
213 * Maximal number of entries of the phone book that PCE can handle
506 * @param handler the handle that will be used by PCE to notify events and
815 * @param handle handle to the vCard which shall be pulled
821 public boolean pullVcardEntry(String handle) { argument
822 return pullVcardEntry(handle, (byte) 0, VCARD_TYPE_21);
828 * @param handle handle to the vCard which shall be pulled
837 public boolean pullVcardEntry(String handle, lon argument
[all...]
H A DBluetoothPbapRequestPullVcardEntry.java40 public BluetoothPbapRequestPullVcardEntry(String handle, long filter, byte format) { argument
41 mHeaderSet.setHeader(HeaderSet.NAME, handle);
/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/native/cmds/servicemanager/
H A Dbctest.c12 uint32_t handle; local
24 handle = bio_get_ref(&reply);
26 if (handle)
27 binder_acquire(bs, handle);
31 return handle;
63 uint32_t handle; local
75 handle = svcmgr_lookup(bs, svcmgr, "alt_svc_mgr");
76 if (!handle) {
80 svcmgr = handle;
81 fprintf(stderr,"svcmgr is via %x\n", handle);
[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;
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...]
/frameworks/native/include/binder/
H A DBpBinder.h30 BpBinder(int32_t handle);
32 inline int32_t handle() const { return mHandle; } function in class:android::BpBinder
/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 DIPCThreadState.cpp141 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...]
H A DParcel.cpp97 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle);
105 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle);
134 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle);
142 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle);
147 if (obj.cookie != 0) close(obj.handle);
174 const int32_t handle = proxy ? proxy->handle() : 0; local
177 obj.handle = handle;
208 const int32_t handle local
755 writeNativeHandle(const native_handle* handle) argument
[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 DISensorEventConnection.cpp56 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, argument
61 data.writeInt32(handle);
70 virtual status_t setEventRate(int handle, nsecs_t ns) argument
74 data.writeInt32(handle);
104 int handle = data.readInt32(); local
109 status_t result = enableDisable(handle, enabled, samplingPeriodNs,
116 int handle = data.readInt32(); local
118 status_t result = setEventRate(handle, ns);
H A DISurfaceComposerClient.cpp56 sp<IBinder>* handle,
66 *handle = reply.readStrongBinder();
71 virtual status_t destroySurface(const sp<IBinder>& handle) { argument
74 data.writeStrongBinder(handle);
79 virtual status_t clearLayerFrameStats(const sp<IBinder>& handle) const {
82 data.writeStrongBinder(handle);
87 virtual status_t getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const { argument
90 data.writeStrongBinder(handle);
112 sp<IBinder> handle; local
115 &handle,
54 createSurface(const String8& name, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument
128 sp<IBinder> handle = data.readStrongBinder(); local
135 sp<IBinder> handle = data.readStrongBinder(); local
[all...]
H A DSensorEventQueue.cpp131 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs, argument
133 return mSensorEventConnection->enableDisable(handle, true, us2ns(samplingPeriodUs),
141 status_t SensorEventQueue::disableSensor(int32_t handle) const {
142 return mSensorEventConnection->enableDisable(handle, false, 0, 0, false);
H A DSurfaceComposerClient.cpp495 sp<IBinder> handle; local
498 &handle, &gbp);
501 sur = new SurfaceControl(this, handle, gbp);

Completed in 2192 milliseconds

123456