Searched refs:CONTEXT_ELS (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | ability_stage_context.cpp | 36 constexpr const char *CONTEXT_ELS[] = {"el1", "el2", "el3", "el4", "el5"}; variable 204 if (mode < 0 || mode >= static_cast<int>(sizeof(CONTEXT_ELS) / sizeof(CONTEXT_ELS[0]))) { in SwitchArea() 208 currArea_ = CONTEXT_ELS[mode]; in SwitchArea() 215 for (int i = 0; i < static_cast<int>(sizeof(CONTEXT_ELS) / sizeof(CONTEXT_ELS[0])); i++) { in GetArea() 216 if (currArea_ == CONTEXT_ELS[i]) { in GetArea()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/ |
H A D | context_impl.cpp | 74 const std::string ContextImpl::CONTEXT_ELS[] = {"el1", "el2", "el3", "el4", "el5"}; member in OHOS::AbilityRuntime::ContextImpl 247 if (currArea_ == CONTEXT_ELS[0]) { in GetGroupDirWithCheck() 345 …if (currArea_ == CONTEXT_ELS[1] || currArea_ == CONTEXT_ELS[AREA2] || currArea_ == CONTEXT_ELS[ARE… in GetDistributedFilesDir() 346 currArea_ == CONTEXT_ELS[AREA4]) { in GetDistributedFilesDir() 349 … dir = CONTEXT_DATA_STORAGE + CONTEXT_ELS[1] + CONTEXT_FILE_SEPARATOR + CONTEXT_DISTRIBUTEDFILES; in GetDistributedFilesDir() 361 …std::string dir = CONTEXT_DATA_STORAGE + CONTEXT_ELS[1] + CONTEXT_FILE_SEPARATOR + CONTEXT_CLOUDFI… in GetCloudFileDir() 369 if (mode < 0 || mode >= (int)(sizeof(CONTEXT_ELS) / sizeof(CONTEXT_ELS[0]))) { in SwitchArea() 373 currArea_ = CONTEXT_ELS[mode]; in SwitchArea() 629 for (int i = 0; i < (int)(sizeof(CONTEXT_ELS) / sizeof(CONTEXT_ELS[0])); i++) { in GetArea() 630 if (currArea_ == CONTEXT_ELS[i]) { in GetArea()
|
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | ext_backup_context.cpp | 29 …tring path = std::string(BConstants::BACKUP_DIR_PRE) + std::string(BConstants::CONTEXT_ELS[area]) + in GetBackupDir()
|
/ohos5.0/foundation/filemanagement/app_file_service/utils/include/b_resources/ |
H A D | b_constants.h | 134 static inline std::string CONTEXT_ELS[] = {"el1", "el2"}; variable
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | application_cleaner.cpp | 34 static const std::vector<std::string> CONTEXT_ELS{ "el1", "el2", "el3", "el4" }; variable
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/ |
H A D | context_impl.h | 420 static const std::string CONTEXT_ELS[]; variable
|