Home
last modified time | relevance | path

Searched refs:GetDbHandle (Results 1 - 14 of 14) sorted by relevance

/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_account_data.cpp566 if (config_->GetDbHandle() == nullptr) { in GetConfigValueAtoHos()
569 if (config_->GetDbHandle() == nullptr) { in GetConfigValueAtoHos()
575 value.highContrastText = config_->GetDbHandle()->GetBoolValue(HIGH_TEXT_CONTRAST_ENABLED, false); in GetConfigValueAtoHos()
576 value.invertColor = config_->GetDbHandle()->GetBoolValue(ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, false); in GetConfigValueAtoHos()
577 value.daltonizationState = config_->GetDbHandle()->GetBoolValue(ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, false); in GetConfigValueAtoHos()
578 value.displayDaltonizer = config_->GetDbHandle()->GetIntValue(ACCESSIBILITY_DISPLAY_DALTONIZER, 0); in GetConfigValueAtoHos()
579 value.shortcutEnabled = config_->GetDbHandle()->GetBoolValue(ACCESSIBILITY_SHORTCUT_ENABLED, false); in GetConfigValueAtoHos()
580 value.shortcutEnabledOnLockScreen = config_->GetDbHandle()->GetIntValue( in GetConfigValueAtoHos()
582 value.shortcutOnLockScreen = config_->GetDbHandle()->GetIntValue( in GetConfigValueAtoHos()
584 config_->GetDbHandle() in GetConfigValueAtoHos()
[all...]
H A Daccessible_ability_manager_service.cpp2417 if (accountData->GetConfig()->GetDbHandle()) { in OnShortKeyProcess()
2418 userSetupState = accountData->GetConfig()->GetDbHandle()->GetBoolValue(USER_SETUP_COMPLETED, false); in OnShortKeyProcess()
2726 if (accountData->GetConfig()->GetDbHandle()) { in OnDeviceProvisioned()
2727 accountData->GetConfig()->GetDbHandle()->UnregisterObserver(USER_SETUP_COMPLETED); in OnDeviceProvisioned()
2746 if (accountData->GetAccountId() != DEFAULT_ACCOUNT_ID && accountData->GetConfig()->GetDbHandle() != nullptr) { in InitializeShortKeyState()
2747 if (accountData->GetConfig()->GetDbHandle()->GetIntValue(SHORTCUT_ENABLED, INVALID_SHORTCUT_STATE) == in InitializeShortKeyState()
2784 if (accountData->GetConfig()->GetDbHandle() != nullptr) { in RegisterProvisionCallback()
2785 accountData->GetConfig()->GetDbHandle()->RegisterObserver(USER_SETUP_COMPLETED, func); in RegisterProvisionCallback()
2812 if (accountData->GetConfig()->GetDbHandle() != nullptr) { in RegisterShortKeyEvent()
2813 userSetupState = accountData->GetConfig()->GetDbHandle() in RegisterShortKeyEvent()
[all...]
/foundation/barrierfree/accessibility/services/test/xts/src/asac_register_elemnt_operator_test/
H A Dasac_account_data_benchmark.cpp566 if (config_->GetDbHandle() == nullptr) { in GetConfigValueAtoHos()
569 if (config_->GetDbHandle() == nullptr) { in GetConfigValueAtoHos()
575 value.highContrastText = config_->GetDbHandle()->GetBoolValue(HIGH_TEXT_CONTRAST_ENABLED, false); in GetConfigValueAtoHos()
576 value.invertColor = config_->GetDbHandle()->GetBoolValue(ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, false); in GetConfigValueAtoHos()
577 value.daltonizationState = config_->GetDbHandle()->GetBoolValue(ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, false); in GetConfigValueAtoHos()
578 value.displayDaltonizer = config_->GetDbHandle()->GetIntValue(ACCESSIBILITY_DISPLAY_DALTONIZER, 0); in GetConfigValueAtoHos()
579 value.shortcutEnabled = config_->GetDbHandle()->GetBoolValue(ACCESSIBILITY_SHORTCUT_ENABLED, false); in GetConfigValueAtoHos()
580 value.shortcutEnabledOnLockScreen = config_->GetDbHandle()->GetIntValue( in GetConfigValueAtoHos()
582 value.shortcutOnLockScreen = config_->GetDbHandle()->GetIntValue( in GetConfigValueAtoHos()
584 config_->GetDbHandle() in GetConfigValueAtoHos()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_storage_executor.h33 int GetDbHandle(sqlite3 *&dbHandle) const;
H A Dsqlite_storage_executor.cpp47 int SQLiteStorageExecutor::GetDbHandle(sqlite3 *&dbHandle) const in GetDbHandle() function in DistributedDB::SQLiteStorageExecutor
H A Dsqlite_cloud_kv_store.cpp280 (void)handle->GetDbHandle(db); in FillCloudLogAndAsset()
357 (void)handle->GetDbHandle(db); in GetCloudGid()
404 (void)transactionHandle_->GetDbHandle(db); in GetTransactionDbHandleAndMemoryStatus()
428 (void)handle->GetDbHandle(db); in GetCloudVersion()
465 (void)handle->GetDbHandle(db); in GetLocalCloudVersion()
594 (void)transactionHandle_->GetDbHandle(db); in GetCompensatedSyncQuery()
661 (void)handle->GetDbHandle(db); in ReviseLocalModTime()
H A Dsqlite_single_ver_storage_engine.h101 int GetDbHandle(bool isWrite, const SecurityOption &secOpt, sqlite3 *&dbHandle);
H A Dsqlite_single_ver_storage_engine.cpp379 errCode = handle->GetDbHandle(dbHandle); // use executor get sqlite3 handle to operating database in FinishMigrateData()
616 int SQLiteSingleVerStorageEngine::GetDbHandle(bool isWrite, const SecurityOption &secOpt, sqlite3 *&dbHandle) in GetDbHandle() function in DistributedDB::SQLiteSingleVerStorageEngine
628 LOGI("[SQLiteSingleStorageEng][GetDbHandle] Only use for first create cache db! [%d] [%d]", in GetDbHandle()
635 LOGE("singleVerStorageEngine::GetDbHandle get cache handle fail! errCode = [%d]", errCode); in GetDbHandle()
840 errCode = GetDbHandle(isWrite, option_.securityOpt, dbHandle); in CreateNewExecutor()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_storage_engine.h51 int GetDbHandle(bool isWrite, const SecurityOption &secOpt, GRD_DB *&dbHandle);
H A Drd_single_ver_storage_engine.cpp153 int RdSingleVerStorageEngine::GetDbHandle(bool isWrite, const SecurityOption &secOpt, GRD_DB *&dbHandle) in GetDbHandle() function in DistributedDB::RdSingleVerStorageEngine
H A Drd_single_ver_storage_executor.h38 int GetDbHandle(GRD_DB *&dbHandle) const;
H A Drd_single_ver_storage_executor.cpp44 int RDStorageExecutor::GetDbHandle(GRD_DB *&dbHandle) const in GetDbHandle() function in DistributedDB::RDStorageExecutor
/foundation/barrierfree/accessibility/services/aams/include/
H A Daccessibility_settings_config.h103 std::shared_ptr<AccessibilityDatashareHelper> GetDbHandle() in GetDbHandle() function in OHOS::Accessibility::final
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_sqlite_single_ver_natural_executor_test.cpp1084 ASSERT_EQ(g_handle->GetDbHandle(db), E_OK); in HWTEST_F()
1146 EXPECT_EQ(storageObj.GetDbHandle(dbHandle), -E_NOT_FOUND); in HWTEST_F()

Completed in 17 milliseconds