Searched refs:hapList (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/ability/ability_runtime/services/dialog_ui/ams_system_dialog/entry/src/main/ets/ServiceExtAbility/ |
H A D | SelectorServiceExtAbility.ts | 50 for (let i = 1; i <= globalThis.params.hapList.length; i++) { 51 …o(TAG, 'hapList[' + (i - 1).toString() + ']: ' + JSON.stringify(globalThis.params.hapList[i - 1])); 52 await this.getHapResource(globalThis.params.hapList[i - 1], showHapList, jsonIconMap); 57 if (i >= globalThis.params.hapList.length && showHapList.length > 0) { 67 for (let i = 1; i <= globalThis.params.hapList.length; i++) { 69 … await this.getHapResource(globalThis.params.hapList[i - 1], signalRowShowHapList, jsonIconMap); 74 if (i >= globalThis.params.hapList.length && signalRowShowHapList.length > 0) { 86 for (let i = 0; i < globalThis.params.hapList.length; i++) { 87 await this.getHapResource(globalThis.params.hapList[i], pcShowHapList, jsonIconMap); 161 if (globalThis.params && globalThis.params.hapList && globalThis.params.hapList.length) { [all …]
|
/ohos5.0/foundation/ability/ability_runtime/services/dialog_ui/ams_system_dialog/entry/src/main/ets/pages/ |
H A D | selectorPcDialog.ets | 35 @State private hapList: HapInfo[] = []; 58 this.hapList = globalThis.params.hapList; 185 if (this.hapList.length == 2) { 195 } else if (this.hapList.length == 3) { 201 } else if (this.hapList.length == 4) { 207 } else if (this.hapList.length > 4) { 230 if (this.hapList.length > 6) { 237 if (this.hapList.length == 1 || this.hapList.length == 2) { 239 } else if (this.hapList.length == 3) { 241 } else if (this.hapList.length == 4) { [all …]
|
H A D | selectorPhoneDialog.ets | 83 @State private hapList: HapInfo[] = []; 111 this.hapList = globalThis.params.hapList; 138 if (this.hapList.length > 8) { 145 } else if (this.hapList.length > 4) { 150 } else if (this.hapList.length > 3) { 152 } else if (this.hapList.length > 2) {
|
/ohos5.0/foundation/ability/ability_runtime/js_environment/interfaces/inner_api/ |
H A D | source_map_operator.h | 44 std::vector<std::string> hapList; in InitSourceMap() local 45 … sourceMapOperator->sourceMapObj_->GetHapPath(sourceMapOperator->bundleName_, hapList); in InitSourceMap() 46 for (auto &hapInfo : hapList) { in InitSourceMap()
|
H A D | source_map.h | 69 …thCallback = std::function<void(const std::string &bundleName, std::vector<std::string> &hapList)>; 82 static void GetHapPath(const std::string &bundleName, std::vector<std::string> &hapList);
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_module_reader.cpp | 203 …id JsModuleReader::GetHapPathList(const std::string &bundleName, std::vector<std::string> &hapList) in GetHapPathList() argument 224 hapList.emplace_back(hapModuleInfo.hapPath); in GetHapPathList()
|
H A D | js_module_reader.h | 47 static void GetHapPathList(const std::string &bundleName, std::vector<std::string> &hapList);
|
/ohos5.0/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/ |
H A D | source_map.cpp | 558 void SourceMap::GetHapPath(const std::string &bundleName, std::vector<std::string> &hapList) in GetHapPath() argument 562 getHapPathFunc_(bundleName, hapList); in GetHapPath()
|