Searched refs:g_handle (Results 1 - 7 of 7) sorted by relevance
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_rd_single_ver_natural_executor_test.cpp | 40 RdSingleVerStorageExecutor *g_handle = nullptr; member 87 g_handle = static_cast<RdSingleVerStorageExecutor *>( in SetUp() 90 ASSERT_NE(g_handle, nullptr); in SetUp() 103 g_store->ReleaseHandle(g_handle); in TearDown() 110 g_handle = nullptr; in TearDown() 136 EXPECT_EQ(g_handle->GetKvData(SingleVerDataType(type), key, value, timestamp), -E_INVALID_ARGS); in HWTEST_F() 211 EXPECT_EQ(g_handle->StartTransaction(TransactType::DEFERRED), E_OK); in HWTEST_F() 212 EXPECT_EQ(g_handle->Reset(), -E_NOT_SUPPORT); in HWTEST_F() 241 EXPECT_EQ(g_handle->GetDeviceIdentifier(&identifier), -E_NOT_SUPPORT); in HWTEST_F() 407 g_store->ReleaseHandle(g_handle); in HWTEST_F() [all...] |
H A D | distributeddb_storage_sqlite_single_ver_natural_executor_test.cpp | 39 SQLiteSingleVerStorageExecutor *g_handle = nullptr; member 93 g_handle = static_cast<SQLiteSingleVerStorageExecutor *>( in SetUp() 96 ASSERT_NE(g_handle, nullptr); in SetUp() 109 g_store->ReleaseHandle(g_handle); in TearDown() 116 g_handle = nullptr; in TearDown() 148 EXPECT_EQ(g_handle->GetKvData(SingleVerDataType(type), key, value, timestamp), -E_INVALID_ARGS); in HWTEST_F() 178 EXPECT_EQ(g_handle->PutKvData(SingleVerDataType::META_TYPE, key, value, 0, nullptr), -E_INVALID_ARGS); in HWTEST_F() 208 EXPECT_EQ(g_handle->GetEntries(false, SingleVerDataType::LOCAL_TYPE_SQLITE, KEY_1, entries), -E_NOT_FOUND); in HWTEST_F() 233 EXPECT_EQ(g_handle->GetCount(object, count), -E_NOT_SUPPORT); in HWTEST_F() 299 EXPECT_EQ(g_handle in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ui_event_impl.cpp | 63 static void* g_handle = nullptr; member 68 if (g_handle) { in InitHandler() 86 g_handle = handle; in InitHandler() 100 if (g_handle) { in DeInit() 101 dlclose(g_handle); in DeInit() 102 g_handle = nullptr; in DeInit()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | ability_process.cpp | 30 static void *g_handle = nullptr; member 158 if (g_handle == nullptr) { in OnAbilityResult() 159 g_handle = dlopen(SHARED_LIBRARY_FEATURE_ABILITY, RTLD_LAZY); in OnAbilityResult() 160 if (g_handle == nullptr) { in OnAbilityResult() 169 auto func = reinterpret_cast<NAPICallOnAbilityResult>(dlsym(g_handle, FUNC_CALL_ON_ABILITY_RESULT)); in OnAbilityResult() 172 dlclose(g_handle); in OnAbilityResult() 173 g_handle = nullptr; in OnAbilityResult() 247 if (g_handle == nullptr) { in CaullFunc() 248 g_handle = dlopen(SHARED_LIBRARY_FEATURE_ABILITY, RTLD_LAZY); in CaullFunc() 249 if (g_handle in CaullFunc() [all...] |
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/ |
H A D | default_client_mini_adapter.c | 21 static int32_t g_handle = 0;
variable 26 int32_t handle = ++g_handle;
in GetNextHandle()
|
/foundation/communication/ipc/ipc/test/rpc/samgr/ |
H A D | rpc_mini_samgr.c | 37 static int32_t g_handle = 0; variable 42 int32_t handle = ++g_handle; in GetNextHandle()
|
/foundation/resourceschedule/soc_perf/services/core/src/ |
H A D | socperf_config.cpp | 32 void* g_handle; member 48 if (g_handle != nullptr) { in ~SocPerfConfig() 49 dlclose(g_handle); in ~SocPerfConfig() 50 g_handle = nullptr; in ~SocPerfConfig() 202 g_handle = dlopen(perfSoPath, RTLD_NOW); in InitPerfFunc() 203 if (g_handle == nullptr) { in InitPerfFunc() 208 reportFunc_ = reinterpret_cast<ReportDataFunc>(dlsym(g_handle, perfSoFunc)); in InitPerfFunc() 211 dlclose(g_handle); in InitPerfFunc()
|
Completed in 6 milliseconds