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 D | context_deal_test.cpp | 499 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 D | context_deal_interface1_test.cpp | 64 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 D | context_container_test.cpp | 1633 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 D | hap_module_info.h | 26 enum class ModuleColorMode { enum 104 ModuleColorMode colorMode = ModuleColorMode::AUTO;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | hap_module_info.h | 29 enum class ModuleColorMode { enum 150 ModuleColorMode colorMode = ModuleColorMode::AUTO;
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | context_deal.cpp | 433 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 D | inner_bundle_info.h | 61 ModuleColorMode colorMode = ModuleColorMode::AUTO;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_base_test/ |
H A D | bms_bundle_kit_service_base_test.cpp | 61 const ModuleColorMode COLOR_MODE = ModuleColorMode::AUTO;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_profile.cpp | 78 const std::map<std::string, ModuleColorMode> moduleColorMode = { 79 {"auto", ModuleColorMode::AUTO}, 80 {"dark", ModuleColorMode::DARK}, 81 {"light", ModuleColorMode::LIGHT},
|
H A D | inner_bundle_info.cpp | 577 GetValueIfFindKey<ModuleColorMode>(jsonObject, in from_json()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/ |
H A D | hap_module_info.cpp | 352 GetValueIfFindKey<ModuleColorMode>(jsonObject, in from_json()
|
H A D | inner_bundle_info.cpp | 344 GetValueIfFindKey<ModuleColorMode>(jsonObject, in from_json()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | hap_module_info.cpp | 558 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 D | inner_bundle_info.h | 95 ModuleColorMode colorMode = ModuleColorMode::AUTO;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_data_mgr_test.cpp | 110 const ModuleColorMode COLOR_MODE = ModuleColorMode::AUTO;
|
H A D | bms_bundle_kit_service_test.cpp | 116 const ModuleColorMode COLOR_MODE = ModuleColorMode::AUTO;
|