Searched refs:handle (Results 1 - 25 of 484) sorted by last modified time

1234567891011>>

/frameworks/webview/chromium/loader/
H A Dloader.cpp90 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo); local
92 if (handle == NULL) {
128 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo); local
130 if (handle == NULL) {
139 /* JNI wrappers - handle string lifetimes and 32/64 ABI choice */
210 // return, so no need to handle errors here.
/frameworks/rs/cpp/
H A DRenderScript.cpp73 void* handle = dlopen(filename, RTLD_LAZY | RTLD_LOCAL); local
74 if (handle == nullptr) {
79 if (loadSymbols(handle, *RS::dispatch, targetApi) == false) {
H A DrsDispatch.cpp26 bool loadSymbols(void* handle, dispatchTable& dispatchTab, int targetApiLevel) { argument
29 dispatchTab.SetNativeLibDir = (SetNativeLibDirFnPtr)dlsym(handle, "rsaContextSetNativeLibDir");
36 dispatchTab.Allocation1DData = (Allocation1DDataFnPtr)dlsym(handle, "rsAllocation1DData");
37 dispatchTab.Allocation1DElementData = (Allocation1DElementDataFnPtr)dlsym(handle, "rsAllocation1DElementData");
38 dispatchTab.Allocation1DRead = (Allocation1DReadFnPtr)dlsym(handle, "rsAllocation1DRead");
39 dispatchTab.Allocation2DData = (Allocation2DDataFnPtr)dlsym(handle, "rsAllocation2DData");
40 dispatchTab.Allocation2DRead = (Allocation2DReadFnPtr)dlsym(handle, "rsAllocation2DRead");
41 dispatchTab.Allocation3DData = (Allocation3DDataFnPtr)dlsym(handle, "rsAllocation3DData");
42 dispatchTab.Allocation3DRead = (Allocation3DReadFnPtr)dlsym(handle, "rsAllocation3DRead");
43 dispatchTab.AllocationAdapterCreate = (AllocationAdapterCreateFnPtr)dlsym(handle, "rsAllocationAdapterCreat
[all...]
H A DrsDispatch.h264 bool loadSymbols(void* handle, dispatchTable& dispatchTab, int device_api = 0);
/frameworks/rs/cpu_ref/
H A DrsCpuBLASDispatch.h455 void* handle = NULL; local
456 handle = dlopen("libblasV8.so", RTLD_LAZY | RTLD_LOCAL);
458 if (handle == NULL) {
464 x = (FnPtr_##x)dlsym(handle, #x); \
/frameworks/rs/
H A DrsFallbackAdaptation.cpp30 void* handle = dlopen("libRS_internal.so", RTLD_LAZY | RTLD_LOCAL); local
31 if (handle == NULL) {
35 if (loadSymbols(handle, mEntryFuncs) == false) {
41 dlclose(handle);
/frameworks/rs/script_api/
H A Drs_graphics.spec124 Opaque handle to a RenderScript font object.
136 Opaque handle to a RenderScript mesh object.
147 Opaque handle to a RenderScript ProgramFragment object.
158 Opaque handle to a RenderScript ProgramVertex object.
169 Opaque handle to a RenderScript ProgramRaster object.
180 Opaque handle to a RenderScript ProgramStore object.
H A Drs_object_types.spec25 // Opaque handle to a RenderScript object. Do not use this directly.
46 An opaque handle to a RenderScript element.
55 An opaque handle to a RenderScript type.
64 An opaque handle to a RenderScript allocation.
73 An opaque handle to a RenderScript sampler object.
82 An opaque handle to a RenderScript script object.
140 value: RS_TYPE_ELEMENT = 1000, "A handle to an Element."
141 value: RS_TYPE_TYPE = 1001, "A handle to a Type."
142 value: RS_TYPE_ALLOCATION = 1002, "A handle to an Allocation."
143 value: RS_TYPE_SAMPLER = 1003, "A handle t
[all...]
/frameworks/rs/support/jni/
H A Dandroid_renderscript_RenderScript.cpp275 void* handle = NULL; local
277 handle = dlopen("libRS.so", RTLD_LAZY | RTLD_LOCAL);
282 handle = dlopen(libPathJni, RTLD_LAZY | RTLD_LOCAL);
285 handle = dlopen("libRSSupport.so", RTLD_LAZY | RTLD_LOCAL);
288 if (handle == NULL) {
293 if (loadSymbols(handle, dispatchTab, targetApi) == false) {
295 dlclose(handle);
2099 void* handle = NULL; local
2103 handle = dlopen(libPathJni, RTLD_LAZY | RTLD_LOCAL);
2106 handle
[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/libwifi_hal/
H A Dhal_tool.cpp25 wifi_error wifi_initialize_stub(wifi_handle* handle) { argument
29 void wifi_cleanup_stub(wifi_handle handle, wifi_cleaned_up_handler handler) {} argument
31 void wifi_event_loop_stub(wifi_handle handle) {} argument
35 wifi_error wifi_get_supported_feature_set_stub(wifi_interface_handle handle, argument
40 wifi_error wifi_get_concurrency_matrix_stub(wifi_interface_handle handle, argument
46 wifi_error wifi_set_scanning_mac_oui_stub(wifi_interface_handle handle, argument
52 wifi_error wifi_get_supported_channels_stub(wifi_handle handle, int* size, argument
58 wifi_error wifi_is_epr_supported_stub(wifi_handle handle) { argument
63 wifi_error wifi_get_ifaces_stub(wifi_handle handle, int* num_ifaces, argument
128 wifi_interface_handle handle, wifi_gscan_capabilitie
127 wifi_get_gscan_capabilities_stub( wifi_interface_handle handle, wifi_gscan_capabilities* capabilities) argument
150 wifi_get_valid_channels_stub(wifi_interface_handle handle, int band, int max_channels, wifi_channel* channels, int* num_channels) argument
330 wifi_get_tx_pkt_fates_stub(wifi_interface_handle handle, wifi_tx_report* tx_report_bufs, size_t n_requested_fates, size_t* n_provided_fates) argument
337 wifi_get_rx_pkt_fates_stub(wifi_interface_handle handle, wifi_rx_report* rx_report_bufs, size_t n_requested_fates, size_t* n_provided_fates) argument
413 wifi_nan_get_version_stub(wifi_handle handle, NanVersion* version) argument
452 wifi_get_packet_filter_capabilities_stub( wifi_interface_handle handle, u32* version, u32* max_len) argument
457 wifi_set_packet_filter_stub(wifi_interface_handle handle, const u8* program, u32 len) argument
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsCall.java1688 Uri handle = Uri.parse(user);
1696 ConferenceParticipant conferenceParticipant = new ConferenceParticipant(handle,
3164 // This else block is a special case for Verizon to handle these steps
/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);
H A DBluetoothMasClient.java128 * <code>obj</code> contains handle of message as allocated by MSE
419 String handle = req.getMsgHandle();
421 client.sendToClient(EVENT_PUSH_MESSAGE, request.isSuccess(), handle);
956 * @param handle handle of message to retrieve
965 public boolean getMessage(String handle, boolean attachment) { argument
972 new BigInteger(handle, 16);
980 new BluetoothMasRequestGetMessage(handle, CharsetType.UTF_8, attachment);
990 * @param handle handle o
995 setMessageReadStatus(String handle, boolean read) argument
1024 setMessageDeletedStatus(String handle, boolean deleted) argument
[all...]
H A DBluetoothMasRequestGetMessage.java43 public BluetoothMasRequestGetMessage(String handle, CharsetType charset, boolean attachment) { argument
45 mHeaderSet.setHeader(HeaderSet.NAME, handle);
H A DBluetoothMasRequestPushMessage.java57 String handle = (String) headerset.getHeader(HeaderSet.NAME);
58 if (handle != null) {
60 new BigInteger(handle, 16);
62 mMsgHandle = handle;
H A DBluetoothMasRequestSetMessageStatus.java34 public BluetoothMasRequestSetMessageStatus(String handle, StatusIndicator statusInd, argument
38 mHeaderSet.setHeader(HeaderSet.NAME, handle);
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp1194 native_handle_t* handle = native_handle_create(1, 0); local
1195 if (handle == nullptr) {
1199 handle->data[0] = fd;
1202 android::hardware::Return<void> status = dumpstate_device->dumpstateBoard(handle);
1205 native_handle_close(handle);
1206 native_handle_delete(handle);
1213 native_handle_close(handle);
1214 native_handle_delete(handle);
/frameworks/native/cmds/lshal/
H A Dtest.cpp52 const native_handle_t *handle = hh.getNativeHandle(); variable
53 if (handle->numFds < 1) {
56 int fd = handle->data[0];
/frameworks/native/cmds/servicemanager/
H A Dbctest.c13 uint32_t handle; local
25 handle = bio_get_ref(&reply);
27 if (handle)
28 binder_acquire(bs, handle);
32 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.c330 data.payload.handle = target;
353 writebuf.txn.target.handle = target;
522 void bio_put_ref(struct binder_io *bio, uint32_t handle) argument
526 if (handle)
536 obj->handle = handle;
653 return obj->handle;
H A Dbinder.h30 /* the one magic handle */
85 void bio_put_ref(struct binder_io *bio, uint32_t handle);
H A Dservice_manager.c139 uint32_t handle; member in struct:svcinfo
166 if (si->handle) {
167 binder_release(bs, si->handle);
168 si->handle = 0;
182 if (!si || !si->handle) {
199 return si->handle;
204 uint32_t handle, uid_t uid, int allow_isolated,
209 //ALOGI("add_service('%s',%x,%s) uid=%d\n", str8(s, len), handle,
212 if (!handle || (len == 0) || (len > 127))
217 str8(s, len), handle, ui
202 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
260 uint32_t handle; local
[all...]
/frameworks/native/cmds/surfacereplayer/replayer/
H A DReplayer.cpp551 auto handle = mLayers[dtc.layer_id()]->getHandle();
553 return mLayers[id]->deferTransactionUntil(handle, dtc.frame_number());
/frameworks/native/include/android/
H A Dsensor.h249 int32_t handle; member in struct:ADynamicSensorEvent

Completed in 3866 milliseconds

1234567891011>>