1/* 2 * Copyright (C) 2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15{ 16 "module": { 17 "name": "entry_test", 18 "type": "feature", 19 "description": "$string:module_test_desc", 20 "mainElement": "TestAbility", 21 "deviceTypes": [], 22 "deliveryWithInstall": true, 23 "installationFree": false, 24 "pages": "$profile:test_pages", 25 "abilities": [ 26 { 27 "name": "TestAbility", 28 "srcEntry": "./ets/testability/TestAbility.ets", 29 "description": "$string:TestAbility_desc", 30 "icon": "$media:icon", 31 "label": "$string:TestAbility_label", 32 "exported": true, 33 "startWindowIcon": "$media:icon", 34 "startWindowBackground": "$color:start_window_background", 35 "skills": [ 36 { 37 "actions": [ 38 "action.system.home" 39 ], 40 "entities": [ 41 "entity.system.home" 42 ] 43 } 44 ] 45 }, 46 { 47 "name": "SecondAbility", 48 "srcEntry": "./ets/test/secondability/SecondAbility.ts", 49 "description": "$string:SecondAbility_desc", 50 "icon": "$media:icon", 51 "label": "$string:SecondAbility_label", 52 "startWindowIcon": "$media:icon", 53 "startWindowBackground": "$color:start_window_background", 54 "launchType": "multiton", 55 "skills": [ 56 { 57 "actions": [ 58 "action.system.home", 59 "ohos.want.action.viewData" 60 ], 61 "entities": [ 62 "entity.system.home", 63 "entity.system.browsable" 64 ], 65 "uris": [ 66 { 67 "scheme": "example", 68 "host": "www.example.com" 69 } 70 ] 71 } 72 ] 73 }, 74 { 75 "name": "UiAbility01", 76 "srcEntry": "./ets/test/UiAbility/UiAbility01.ts", 77 "description": "$string:SecondAbility_desc", 78 "icon": "$media:icon", 79 "label": "$string:SecondAbility_label", 80 "startWindowIcon": "$media:icon", 81 "startWindowBackground": "$color:start_window_background", 82 "launchType": "multiton", 83 "skills": [ 84 { 85 "actions": [ 86 "action.system.home", 87 "ohos.want.action.viewData" 88 ], 89 "entities": [ 90 "entity.system.home", 91 "entity.system.browsable" 92 ], 93 "uris": [ 94 { 95 "scheme": "example1", 96 "host": "www.example1.com" 97 } 98 ] 99 } 100 ] 101 }, 102 { 103 "name": "UiAbility02", 104 "srcEntry": "./ets/test/UiAbility/UiAbility02.ts", 105 "description": "$string:SecondAbility_desc", 106 "icon": "$media:icon", 107 "label": "$string:SecondAbility_label", 108 "startWindowIcon": "$media:icon", 109 "startWindowBackground": "$color:start_window_background", 110 "launchType": "multiton", 111 "skills": [ 112 { 113 "actions": [ 114 "action.system.home", 115 "ohos.want.action.viewData" 116 ], 117 "entities": [ 118 "entity.system.home", 119 "entity.system.browsable" 120 ], 121 "uris": [ 122 { 123 "scheme": "https", 124 "host": "www.example2.com" 125 } 126 ] 127 } 128 ] 129 }, 130 { 131 "name": "UiAbility03", 132 "srcEntry": "./ets/test/UiAbility/UiAbility03.ts", 133 "description": "$string:SecondAbility_desc", 134 "icon": "$media:icon", 135 "label": "$string:SecondAbility_label", 136 "startWindowIcon": "$media:icon", 137 "startWindowBackground": "$color:start_window_background", 138 "launchType": "multiton", 139 "skills": [ 140 { 141 "actions": [ 142 "action.system.home", 143 "ohos.want.action.viewData" 144 ], 145 "entities": [ 146 "entity.system.home", 147 "entity.system.browsable" 148 ], 149 "uris": [ 150 { 151 "scheme": "https", 152 "host": "www.example3.com" 153 } 154 ] 155 } 156 ] 157 }, 158 { 159 "name": "UiAbility04", 160 "srcEntry": "./ets/test/UiAbility/UiAbility04.ts", 161 "description": "$string:SecondAbility_desc", 162 "icon": "$media:icon", 163 "label": "$string:SecondAbility_label", 164 "startWindowIcon": "$media:icon", 165 "startWindowBackground": "$color:start_window_background", 166 "launchType": "multiton", 167 "skills": [ 168 { 169 "actions": [ 170 "action.system.home", 171 "ohos.want.action.viewData" 172 ], 173 "entities": [ 174 "entity.system.home", 175 "entity.system.browsable" 176 ], 177 "uris": [ 178 { 179 "scheme": "https", 180 "host": "www.example4.com" 181 } 182 ] 183 } 184 ] 185 }, 186 { 187 "name": "UiAbility05", 188 "srcEntry": "./ets/test/UiAbility/UiAbility05.ts", 189 "description": "$string:SecondAbility_desc", 190 "icon": "$media:icon", 191 "label": "$string:SecondAbility_label", 192 "startWindowIcon": "$media:icon", 193 "startWindowBackground": "$color:start_window_background", 194 "launchType": "multiton", 195 "skills": [ 196 { 197 "actions": [ 198 "action.system.home", 199 "ohos.want.action.viewData" 200 ], 201 "entities": [ 202 "entity.system.home", 203 "entity.system.browsable" 204 ], 205 "uris": [ 206 { 207 "scheme": "https", 208 "host": "www.example5.com" 209 } 210 ] 211 } 212 ] 213 }, 214 { 215 "name": "UiAbility06", 216 "srcEntry": "./ets/test/UiAbility/UiAbility06.ts", 217 "description": "$string:SecondAbility_desc", 218 "icon": "$media:icon", 219 "label": "$string:SecondAbility_label", 220 "startWindowIcon": "$media:icon", 221 "startWindowBackground": "$color:start_window_background", 222 "launchType": "multiton", 223 "skills": [ 224 { 225 "actions": [ 226 "action.system.home", 227 "ohos.want.action.viewData" 228 ], 229 "entities": [ 230 "entity.system.home", 231 "entity.system.browsable" 232 ], 233 "uris": [ 234 { 235 "scheme": "https", 236 "host": "www.example6.com" 237 } 238 ] 239 } 240 ] 241 }, 242 { 243 "name": "UiAbility07", 244 "srcEntry": "./ets/test/UiAbility/UiAbility07.ts", 245 "description": "$string:SecondAbility_desc", 246 "icon": "$media:icon", 247 "label": "$string:SecondAbility_label", 248 "startWindowIcon": "$media:icon", 249 "startWindowBackground": "$color:start_window_background", 250 "launchType": "multiton", 251 "skills": [ 252 { 253 "actions": [ 254 "action.system.home", 255 "ohos.want.action.viewData" 256 ], 257 "entities": [ 258 "entity.system.home", 259 "entity.system.browsable" 260 ], 261 "uris": [ 262 { 263 "scheme": "https", 264 "host": "www.example7.com" 265 } 266 ] 267 } 268 ] 269 }, 270 { 271 "name": "UiAbility08", 272 "srcEntry": "./ets/test/UiAbility/UiAbility08.ts", 273 "description": "$string:SecondAbility_desc", 274 "icon": "$media:icon", 275 "label": "$string:SecondAbility_label", 276 "startWindowIcon": "$media:icon", 277 "startWindowBackground": "$color:start_window_background", 278 "launchType": "multiton", 279 "skills": [ 280 { 281 "actions": [ 282 "action.system.home", 283 "ohos.want.action.viewData" 284 ], 285 "entities": [ 286 "entity.system.home", 287 "entity.system.browsable" 288 ], 289 "uris": [ 290 { 291 "scheme": "https", 292 "host": "www.example8.com" 293 } 294 ] 295 } 296 ] 297 }, 298 { 299 "name": "UiAbility09", 300 "srcEntry": "./ets/test/UiAbility/UiAbility09.ts", 301 "description": "$string:SecondAbility_desc", 302 "icon": "$media:icon", 303 "label": "$string:SecondAbility_label", 304 "startWindowIcon": "$media:icon", 305 "startWindowBackground": "$color:start_window_background", 306 "launchType": "multiton", 307 "skills": [ 308 { 309 "actions": [ 310 "action.system.home", 311 "ohos.want.action.viewData" 312 ], 313 "entities": [ 314 "entity.system.home", 315 "entity.system.browsable" 316 ], 317 "uris": [ 318 { 319 "scheme": "https", 320 "host": "www.example9.com" 321 } 322 ] 323 } 324 ] 325 }, 326 { 327 "name": "UiAbility10", 328 "srcEntry": "./ets/test/UiAbility/UiAbility10.ts", 329 "description": "$string:SecondAbility_desc", 330 "icon": "$media:icon", 331 "label": "$string:SecondAbility_label", 332 "startWindowIcon": "$media:icon", 333 "startWindowBackground": "$color:start_window_background", 334 "launchType": "multiton", 335 "skills": [ 336 { 337 "actions": [ 338 "action.system.home", 339 "ohos.want.action.viewData" 340 ], 341 "entities": [ 342 "entity.system.home", 343 "entity.system.browsable" 344 ], 345 "uris": [ 346 { 347 "scheme": "https", 348 "host": "www.example10.com" 349 } 350 ] 351 } 352 ] 353 }, 354 { 355 "name": "UiAbility11", 356 "srcEntry": "./ets/test/UiAbility/UiAbility11.ts", 357 "description": "$string:SecondAbility_desc", 358 "icon": "$media:icon", 359 "label": "$string:SecondAbility_label", 360 "startWindowIcon": "$media:icon", 361 "startWindowBackground": "$color:start_window_background", 362 "launchType": "multiton", 363 "skills": [ 364 { 365 "actions": [ 366 "action.system.home", 367 "ohos.want.action.viewData" 368 ], 369 "entities": [ 370 "entity.system.home", 371 "entity.system.browsable" 372 ], 373 "uris": [ 374 { 375 "scheme": "https", 376 "host": "www.example11.com" 377 } 378 ] 379 } 380 ] 381 }, 382 { 383 "name": "UiAbility12", 384 "srcEntry": "./ets/test/UiAbility/UiAbility12.ts", 385 "description": "$string:SecondAbility_desc", 386 "icon": "$media:icon", 387 "label": "$string:SecondAbility_label", 388 "startWindowIcon": "$media:icon", 389 "startWindowBackground": "$color:start_window_background", 390 "launchType": "multiton", 391 "skills": [ 392 { 393 "actions": [ 394 "action.system.home", 395 "ohos.want.action.viewData" 396 ], 397 "entities": [ 398 "entity.system.home", 399 "entity.system.browsable" 400 ], 401 "uris": [ 402 { 403 "scheme": "https", 404 "host": "www.example12.com" 405 } 406 ] 407 } 408 ] 409 }, 410 { 411 "name": "UiAbility13", 412 "srcEntry": "./ets/test/UiAbility/UiAbility13.ts", 413 "description": "$string:SecondAbility_desc", 414 "icon": "$media:icon", 415 "label": "$string:SecondAbility_label", 416 "startWindowIcon": "$media:icon", 417 "startWindowBackground": "$color:start_window_background", 418 "launchType": "multiton", 419 "skills": [ 420 { 421 "actions": [ 422 "action.system.home", 423 "ohos.want.action.viewData" 424 ], 425 "entities": [ 426 "entity.system.home", 427 "entity.system.browsable" 428 ], 429 "uris": [ 430 { 431 "scheme": "https", 432 "host": "www.example13.com" 433 } 434 ] 435 } 436 ] 437 }, 438 { 439 "name": "UiAbility14", 440 "srcEntry": "./ets/test/UiAbility/UiAbility14.ts", 441 "description": "$string:SecondAbility_desc", 442 "icon": "$media:icon", 443 "label": "$string:SecondAbility_label", 444 "startWindowIcon": "$media:icon", 445 "startWindowBackground": "$color:start_window_background", 446 "launchType": "multiton", 447 "skills": [ 448 { 449 "actions": [ 450 "action.system.home", 451 "ohos.want.action.viewData" 452 ], 453 "entities": [ 454 "entity.system.home", 455 "entity.system.browsable" 456 ], 457 "uris": [ 458 { 459 "scheme": "https", 460 "host": "www.example14.com" 461 } 462 ] 463 } 464 ] 465 }, 466 { 467 "name": "UiAbility15", 468 "srcEntry": "./ets/test/UiAbility/UiAbility15.ts", 469 "description": "$string:SecondAbility_desc", 470 "icon": "$media:icon", 471 "label": "$string:SecondAbility_label", 472 "startWindowIcon": "$media:icon", 473 "startWindowBackground": "$color:start_window_background", 474 "launchType": "multiton", 475 "skills": [ 476 { 477 "actions": [ 478 "action.system.home", 479 "ohos.want.action.viewData" 480 ], 481 "entities": [ 482 "entity.system.home", 483 "entity.system.browsable" 484 ], 485 "uris": [ 486 { 487 "scheme": "https", 488 "host": "www.example15.com" 489 } 490 ] 491 } 492 ] 493 }, 494 { 495 "name": "UiAbility16", 496 "srcEntry": "./ets/test/UiAbility/UiAbility16.ts", 497 "description": "$string:SecondAbility_desc", 498 "icon": "$media:icon", 499 "label": "$string:SecondAbility_label", 500 "startWindowIcon": "$media:icon", 501 "startWindowBackground": "$color:start_window_background", 502 "launchType": "multiton", 503 "skills": [ 504 { 505 "actions": [ 506 "action.system.home", 507 "ohos.want.action.viewData" 508 ], 509 "entities": [ 510 "entity.system.home", 511 "entity.system.browsable" 512 ], 513 "uris": [ 514 { 515 "scheme": "https", 516 "host": "www.example16.com" 517 } 518 ] 519 } 520 ] 521 }, 522 { 523 "name": "UiAbility17", 524 "srcEntry": "./ets/test/UiAbility/UiAbility17.ts", 525 "description": "$string:SecondAbility_desc", 526 "icon": "$media:icon", 527 "label": "$string:SecondAbility_label", 528 "startWindowIcon": "$media:icon", 529 "startWindowBackground": "$color:start_window_background", 530 "launchType": "multiton", 531 "skills": [ 532 { 533 "actions": [ 534 "action.system.home", 535 "ohos.want.action.viewData" 536 ], 537 "entities": [ 538 "entity.system.home", 539 "entity.system.browsable" 540 ], 541 "uris": [ 542 { 543 "scheme": "https", 544 "host": "www.example17.com" 545 } 546 ] 547 } 548 ] 549 }, 550 { 551 "name": "UiAbility18", 552 "srcEntry": "./ets/test/UiAbility/UiAbility18.ts", 553 "description": "$string:SecondAbility_desc", 554 "icon": "$media:icon", 555 "label": "$string:SecondAbility_label", 556 "startWindowIcon": "$media:icon", 557 "startWindowBackground": "$color:start_window_background", 558 "launchType": "multiton", 559 "skills": [ 560 { 561 "actions": [ 562 "action.system.home", 563 "ohos.want.action.viewData" 564 ], 565 "entities": [ 566 "entity.system.home", 567 "entity.system.browsable" 568 ], 569 "uris": [ 570 { 571 "scheme": "https", 572 "host": "www.example18.com" 573 } 574 ] 575 } 576 ] 577 }, 578 { 579 "name": "UiAbility19", 580 "srcEntry": "./ets/test/UiAbility/UiAbility19.ts", 581 "description": "$string:SecondAbility_desc", 582 "icon": "$media:icon", 583 "label": "$string:SecondAbility_label", 584 "startWindowIcon": "$media:icon", 585 "startWindowBackground": "$color:start_window_background", 586 "launchType": "multiton", 587 "skills": [ 588 { 589 "actions": [ 590 "action.system.home", 591 "ohos.want.action.viewData" 592 ], 593 "entities": [ 594 "entity.system.home", 595 "entity.system.browsable" 596 ], 597 "uris": [ 598 { 599 "scheme": "https", 600 "host": "www.example19.com" 601 } 602 ] 603 } 604 ] 605 }, 606 { 607 "name": "UiAbility20", 608 "srcEntry": "./ets/test/UiAbility/UiAbility20.ts", 609 "description": "$string:SecondAbility_desc", 610 "icon": "$media:icon", 611 "label": "$string:SecondAbility_label", 612 "startWindowIcon": "$media:icon", 613 "startWindowBackground": "$color:start_window_background", 614 "launchType": "multiton", 615 "skills": [ 616 { 617 "actions": [ 618 "action.system.home", 619 "ohos.want.action.viewData" 620 ], 621 "entities": [ 622 "entity.system.home", 623 "entity.system.browsable" 624 ], 625 "uris": [ 626 { 627 "scheme": "https", 628 "host": "www.example20.com" 629 } 630 ] 631 } 632 ] 633 }, 634 { 635 "name": "UiAbility21", 636 "srcEntry": "./ets/test/UiAbility/UiAbility21.ts", 637 "description": "$string:SecondAbility_desc", 638 "icon": "$media:icon", 639 "label": "$string:SecondAbility_label", 640 "startWindowIcon": "$media:icon", 641 "startWindowBackground": "$color:start_window_background", 642 "launchType": "multiton", 643 "skills": [ 644 { 645 "actions": [ 646 "action.system.home", 647 "ohos.want.action.viewData" 648 ], 649 "entities": [ 650 "entity.system.home", 651 "entity.system.browsable" 652 ], 653 "uris": [ 654 { 655 "scheme": "https", 656 "host": "www.example21.com" 657 } 658 ] 659 } 660 ] 661 } 662 ], 663 "requestPermissions": [ 664 { 665 "name": "ohos.permission.INTERNET" 666 }, 667 { 668 "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" 669 } 670 ] 671 } 672} 673