Home
last modified time | relevance | path

Searched refs:ModuleColorMode (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dcontext_deal_test.cpp499 EXPECT_EQ(context_->GetColorMode(), static_cast<int32_t>(AppExecFwk::ModuleColorMode::AUTO));
510 context_->hapModuleInfoLocal_->colorMode = AppExecFwk::ModuleColorMode::DARK;
511 EXPECT_EQ(context_->GetColorMode(), static_cast<int32_t>(AppExecFwk::ModuleColorMode::DARK));
521 context_->SetColorMode(static_cast<int32_t>(AppExecFwk::ModuleColorMode::DARK));
522 EXPECT_NE(context_->GetColorMode(), static_cast<int32_t>(AppExecFwk::ModuleColorMode::DARK));
533 context_->SetColorMode(static_cast<int32_t>(AppExecFwk::ModuleColorMode::DARK));
534 EXPECT_EQ(context_->GetColorMode(), static_cast<int32_t>(AppExecFwk::ModuleColorMode::DARK));
535 context_->SetColorMode(static_cast<int32_t>(AppExecFwk::ModuleColorMode::LIGHT));
536 EXPECT_EQ(context_->GetColorMode(), static_cast<int32_t>(AppExecFwk::ModuleColorMode::LIGHT));
537 context_->SetColorMode(static_cast<int32_t>(AppExecFwk::ModuleColorMode::AUTO));
[all …]
H A Dcontext_deal_interface1_test.cpp64 int testValue = static_cast<int>(OHOS::AppExecFwk::ModuleColorMode::DARK);
80 int testValue = static_cast<int>(OHOS::AppExecFwk::ModuleColorMode::DARK);
96 int testValue = static_cast<int>(OHOS::AppExecFwk::ModuleColorMode::DARK);
112 int testValue = static_cast<int>(OHOS::AppExecFwk::ModuleColorMode::DARK);
H A Dcontext_container_test.cpp1633 context_->SetColorMode(static_cast<int>(ModuleColorMode::DARK));
1634 EXPECT_EQ(context_->GetColorMode(), static_cast<int>(ModuleColorMode::DARK));
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Dhap_module_info.h26 enum class ModuleColorMode { enum
104 ModuleColorMode colorMode = ModuleColorMode::AUTO;
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dhap_module_info.h29 enum class ModuleColorMode { enum
150 ModuleColorMode colorMode = ModuleColorMode::AUTO;
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dcontext_deal.cpp433 if (mode == static_cast<int>(ModuleColorMode::DARK)) { in SetColorMode()
434 hapModInfo->colorMode = ModuleColorMode::DARK; in SetColorMode()
435 } else if (mode == static_cast<int>(ModuleColorMode::LIGHT)) { in SetColorMode()
436 hapModInfo->colorMode = ModuleColorMode::LIGHT; in SetColorMode()
438 hapModInfo->colorMode = ModuleColorMode::AUTO; in SetColorMode()
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/
H A Dinner_bundle_info.h61 ModuleColorMode colorMode = ModuleColorMode::AUTO;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_base_test/
H A Dbms_bundle_kit_service_base_test.cpp61 const ModuleColorMode COLOR_MODE = ModuleColorMode::AUTO;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_profile.cpp78 const std::map<std::string, ModuleColorMode> moduleColorMode = {
79 {"auto", ModuleColorMode::AUTO},
80 {"dark", ModuleColorMode::DARK},
81 {"light", ModuleColorMode::LIGHT},
H A Dinner_bundle_info.cpp577 GetValueIfFindKey<ModuleColorMode>(jsonObject, in from_json()
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
H A Dhap_module_info.cpp352 GetValueIfFindKey<ModuleColorMode>(jsonObject, in from_json()
H A Dinner_bundle_info.cpp344 GetValueIfFindKey<ModuleColorMode>(jsonObject, in from_json()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dhap_module_info.cpp558 colorMode = static_cast<ModuleColorMode>(parcel.ReadInt32()); in ReadFromParcel()
1016 GetValueIfFindKey<ModuleColorMode>(jsonObject, in from_json()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinner_bundle_info.h95 ModuleColorMode colorMode = ModuleColorMode::AUTO;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_data_mgr_test.cpp110 const ModuleColorMode COLOR_MODE = ModuleColorMode::AUTO;
H A Dbms_bundle_kit_service_test.cpp116 const ModuleColorMode COLOR_MODE = ModuleColorMode::AUTO;