Home
last modified time | relevance | path

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 DSelectorServiceExtAbility.ts50 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 DselectorPcDialog.ets35 @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 DselectorPhoneDialog.ets83 @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 Dsource_map_operator.h44 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 Dsource_map.h69 …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 Djs_module_reader.cpp203 …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 Djs_module_reader.h47 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 Dsource_map.cpp558 void SourceMap::GetHapPath(const std::string &bundleName, std::vector<std::string> &hapList) in GetHapPath() argument
562 getHapPathFunc_(bundleName, hapList); in GetHapPath()