/frameworks/support/room/runtime/src/main/java/androidx/room/ |
H A D | EntityDeletionOrUpdateAdapter.java | 66 public final int handle(T entity) { method in class:EntityDeletionOrUpdateAdapter
|
/frameworks/rs/cpp/ |
H A D | RenderScript.cpp | 73 void* handle = dlopen(filename, RTLD_LAZY | RTLD_LOCAL); local 74 if (handle == nullptr) { 79 if (loadSymbols(handle, *RS::dispatch, targetApi) == false) {
|
H A D | rsDispatch.cpp | 26 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...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuBLASDispatch.h | 455 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 D | rsApiStubs.cpp | 38 // object is returned to Java / C++, instead of the RsContext handle. 131 void* handle = dlopen("libRSCacheDir.so", RTLD_LAZY | RTLD_LOCAL); local 132 if (!handle || 133 !(queryCacheDir = (QueryCacheDirFnPtr)dlsym(handle, "rsQueryCacheDir"))) {
|
H A D | rsFallbackAdaptation.cpp | 30 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/support/jni/ |
H A D | android_renderscript_RenderScript.cpp | 277 void* handle = NULL; local 279 handle = dlopen("libRS.so", RTLD_LAZY | RTLD_LOCAL); 284 handle = dlopen(libPathJni, RTLD_LAZY | RTLD_LOCAL); 287 handle = dlopen("libRSSupport.so", RTLD_LAZY | RTLD_LOCAL); 290 if (handle == NULL) { 295 if (loadSymbols(handle, dispatchTab, targetApi) == false) { 297 dlclose(handle); 2101 void* handle = NULL; local 2105 handle = dlopen(libPathJni, RTLD_LAZY | RTLD_LOCAL); 2108 handle [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | KeepaliveStatus.java | 61 public KeepaliveStatus(int handle, int code) { argument 62 sessionHandle = handle;
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipSessionListenerProxy.java | 55 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 D | hal_tool.cpp | 25 wifi_error wifi_initialize_stub(wifi_handle* handle) { argument 33 void wifi_cleanup_stub(wifi_handle handle, wifi_cleaned_up_handler handler) {} argument 35 void wifi_event_loop_stub(wifi_handle handle) {} argument 39 wifi_error wifi_get_supported_feature_set_stub(wifi_interface_handle handle, argument 44 wifi_error wifi_get_concurrency_matrix_stub(wifi_interface_handle handle, argument 50 wifi_error wifi_set_scanning_mac_oui_stub(wifi_interface_handle handle, argument 56 wifi_error wifi_get_supported_channels_stub(wifi_handle handle, int* size, argument 62 wifi_error wifi_is_epr_supported_stub(wifi_handle handle) { argument 67 wifi_error wifi_get_ifaces_stub(wifi_handle handle, int* num_ifaces, argument 132 wifi_interface_handle handle, wifi_gscan_capabilitie 131 wifi_get_gscan_capabilities_stub( wifi_interface_handle handle, wifi_gscan_capabilities* capabilities) argument 154 wifi_get_valid_channels_stub(wifi_interface_handle handle, int band, int max_channels, wifi_channel* channels, int* num_channels) argument 334 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 341 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 417 wifi_nan_get_version_stub(wifi_handle handle, NanVersion* version) argument 456 wifi_get_packet_filter_capabilities_stub( wifi_interface_handle handle, u32* version, u32* max_len) argument 461 wifi_set_packet_filter_stub(wifi_interface_handle handle, const u8* program, u32 len) argument [all...] |
/frameworks/native/cmds/dumpstate/tests/ |
H A D | dumpstate_smoke_test.cpp | 137 ZipArchiveHandle handle; member in class:android::os::dumpstate::ZippedBugReportContentsTest 139 ASSERT_EQ(OpenArchive(ZippedBugreportGenerationTest::getZipFilePath(), &handle), 0); 142 CloseArchive(handle); 147 EXPECT_EQ(FindEntry(handle, ZipString(filename), &entry), 0); 156 EXPECT_EQ(FindEntry(handle, ZipString("main_entry.txt"), &mainEntryLoc), 0); 159 ExtractToMemory(handle, &mainEntryLoc, (uint8_t*)buf, mainEntryLoc.uncompressed_length); 169 EXPECT_EQ(FindEntry(handle, ZipString("version.txt"), &entry), 0); 172 ExtractToMemory(handle, &entry, (uint8_t*)buf, entry.uncompressed_length);
|
/frameworks/native/cmds/lshal/ |
H A D | test.cpp | 60 const native_handle_t *handle = hh.getNativeHandle(); variable 61 if (handle->numFds < 1) { 64 int fd = handle->data[0];
|
/frameworks/native/cmds/servicemanager/ |
H A D | bctest.c | 13 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 D | binder.c | 330 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 D | service_manager.c | 138 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; 202 int do_add_service(struct binder_state *bs, const uint16_t *s, size_t len, uint32_t handle, argument 206 //ALOGI("add_service('%s',%x,%s) uid=%d\n", str8(s, len), handle, 209 if (!handle || (len == 0) || (len > 127)) 214 str8(s, len), handle, ui 258 uint32_t handle; local [all...] |
/frameworks/native/include/android/ |
H A D | sensor.h | 341 int32_t handle; member in struct:ADynamicSensorEvent
|
/frameworks/native/include/binder/ |
H A D | BpBinder.h | 35 static BpBinder* create(int32_t handle); 37 inline int32_t handle() const { return mHandle; } function in class:android::BpBinder 107 BpBinder(int32_t handle,int32_t trackedUid);
|
/frameworks/native/include/ui/ |
H A D | DetachedBufferHandle.h | 26 // A wrapper that holds a pdx::LocalChannelHandle object. From the handle, a BufferHub buffer can be 32 static std::unique_ptr<DetachedBufferHandle> Create(pdx::LocalChannelHandle handle) { argument 33 return std::unique_ptr<DetachedBufferHandle>(new DetachedBufferHandle(std::move(handle))); 37 pdx::LocalChannelHandle& handle() { return mHandle; } function in class:android::DetachedBufferHandle 38 const pdx::LocalChannelHandle& handle() const { return mHandle; } function in class:android::DetachedBufferHandle 45 explicit DetachedBufferHandle(pdx::LocalChannelHandle handle) : mHandle(std::move(handle)) {} argument
|
H A D | GraphicBuffer.h | 88 // Create a GraphicBuffer from an existing handle. 90 // Wrap and use the handle directly. It assumes the handle has been 91 // registered and never fails. The handle must have a longer lifetime 94 // This can be used when, for example, you want to wrap a handle that 98 // Take ownership of the handle and use it directly. It assumes the 99 // handle has been registered and never fails. 101 // This can be used to manage an already registered handle with 105 // Take onwership of an unregistered handle and use it directly. It 110 // handle returne 127 GraphicBuffer(const native_handle_t* handle, HandleWrapMethod method, uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint32_t usage, uint32_t stride) argument [all...] |
/frameworks/native/include_sensor/android/ |
H A D | sensor.h | 341 int32_t handle; member in struct:ADynamicSensorEvent
|
/frameworks/native/libs/binder/ |
H A D | BpBinder.cpp | 109 BpBinder* BpBinder::create(int32_t handle) { argument 135 return new BpBinder(handle, trackedUid); 138 BpBinder::BpBinder(int32_t handle, int32_t trackedUid) argument 139 : mHandle(handle) 145 ALOGV("Creating BpBinder %p handle %d\n", this, mHandle); 148 IPCThreadState::self()->incWeakHandle(handle, this); 243 ALOGV("Requesting death notification: %p handle %d\n", this, mHandle); 278 ALOGV("Clearing death notification: %p handle %d\n", this, mHandle); 294 ALOGV("Sending obituary for proxy %p handle %d, mObitsSent=%s\n", 303 ALOGV("Clearing sent death notification: %p handle [all...] |
H A D | IPCThreadState.cpp | 124 if (btd->target.handle < 1024) { 126 out << "target.desc=" << btd->target.handle; 256 out << ": handle=" << h << " (death cookie " << (void*)(long)c << ")"; 594 status_t IPCThreadState::transact(int32_t handle, argument 605 << handle << " / code " << TypeCode(code) << ": " 611 err = writeTransactionData(BC_TRANSACTION, flags, handle, code, data, NULL); 643 << handle << ": "; 654 void IPCThreadState::incStrongHandle(int32_t handle, BpBinder *proxy) argument 656 LOG_REMOTEREFS("IPCThreadState::incStrongHandle(%d)\n", handle); 658 mOut.writeInt32(handle); 664 decStrongHandle(int32_t handle) argument 671 incWeakHandle(int32_t handle, BpBinder *proxy) argument 681 decWeakHandle(int32_t handle) argument 688 attemptIncStrongHandle(int32_t handle) argument 712 expungeHandle(int32_t handle, IBinder* binder) argument 720 requestDeathNotification(int32_t handle, BpBinder* proxy) argument 728 clearDeathNotification(int32_t handle, BpBinder* proxy) argument 955 writeTransactionData(int32_t cmd, uint32_t binderFlags, int32_t handle, uint32_t code, const Parcel& data, status_t* statusBuffer) argument [all...] |
H A D | Parcel.cpp | 119 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle); 127 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle); 132 if ((obj.cookie != 0) && (outAshmemSize != NULL) && ashmem_valid(obj.handle)) { 134 int size = ashmem_get_size_region(obj.handle); 167 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle); 175 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle); 181 if ((outAshmemSize != NULL) && ashmem_valid(obj.handle)) { 182 int size = ashmem_get_size_region(obj.handle); 188 close(obj.handle); 229 const int32_t handle local 263 const int32_t handle = proxy ? proxy->handle() : 0; local 1130 writeNativeHandle(const native_handle* handle) argument [all...] |
H A D | ProcessState.cpp | 231 ProcessState::handle_entry* ProcessState::lookupHandleLocked(int32_t handle) argument 234 if (N <= (size_t)handle) { 238 status_t err = mHandleToObject.insertAt(e, N, handle+1-N); 241 return &mHandleToObject.editItemAt(handle); 244 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) argument 250 handle_entry* e = lookupHandleLocked(handle); 258 if (handle == 0) { 274 // stop special casing handle 0 for context manager and add 275 // a driver API to get a handle to the context manager with 285 b = BpBinder::create(handle); 301 getWeakProxyForHandle(int32_t handle) argument 332 expungeHandle(int32_t handle, IBinder* binder) argument [all...] |
/frameworks/native/libs/binder/include/binder/ |
H A D | BpBinder.h | 35 static BpBinder* create(int32_t handle); 37 inline int32_t handle() const { return mHandle; } function in class:android::BpBinder 107 BpBinder(int32_t handle,int32_t trackedUid);
|