| /arkcompiler/toolchain/test/autotest/testcases/toolchain/hotreload/ |
| D | TestHotReloadMultiModule.py | 77 'bundle_name': 'com.example.HotReloadHsp01', 89 self.driver.start_app(package_name=self.config['bundle_name']) 90 self.pid = self.common_utils.get_pid(self.config['bundle_name']) 91 assert self.pid != 0, f'Failed to get pid of {self.config["bundle_name"]}' 121 self.driver.stop_app(package_name=self.config['bundle_name']) 124 self.driver.start_app(package_name=self.config['bundle_name']) 127 assert any(app['bundleName'] == self.config['bundle_name'] for app in foreground_apps), \ 138 self.driver.uninstall_app(self.config['bundle_name'])
|
| D | TestHotReloadHarHsp01.py | 74 'bundle_name': 'com.example.HotReloadHarHsp01', 85 self.driver.start_app(package_name=self.config['bundle_name']) 86 self.pid = self.common_utils.get_pid(self.config['bundle_name']) 87 assert self.pid != 0, f'Failed to get pid of {self.config["bundle_name"]}' 115 pid = self.common_utils.get_pid(self.config['bundle_name']) 120 self.driver.uninstall_app(self.config['bundle_name'])
|
| D | TestHotReloadClass01.py | 72 'bundle_name': 'com.example.HotReloadClass01', 86 self.driver.start_app(package_name=self.config['bundle_name']) 87 self.pid = self.common_utils.get_pid(self.config['bundle_name']) 88 assert self.pid != 0, f'Failed to get pid of {self.config["bundle_name"]}' 136 pid = self.common_utils.get_pid(self.config['bundle_name']) 141 self.driver.uninstall_app(self.config['bundle_name'])
|
| D | TestHotReloadPages02.py | 77 'bundle_name': 'com.example.HotReloadPages01', 91 self.driver.start_app(package_name=self.config['bundle_name']) 92 self.pid = self.common_utils.get_pid(self.config['bundle_name']) 93 assert self.pid != 0, f'Failed to get pid of {self.config["bundle_name"]}' 146 pid = self.common_utils.get_pid(self.config['bundle_name']) 151 self.driver.uninstall_app(self.config['bundle_name'])
|
| D | TestHotReloadPages01.py | 92 'bundle_name': 'com.example.HotReloadPages01', 106 self.driver.start_app(package_name=self.config['bundle_name']) 107 self.pid = self.common_utils.get_pid(self.config['bundle_name']) 108 assert self.pid != 0, f'Failed to get pid of {self.config["bundle_name"]}' 147 pid = self.common_utils.get_pid(self.config['bundle_name']) 152 self.driver.uninstall_app(self.config['bundle_name'])
|
| /arkcompiler/toolchain/test/autotest/ |
| D | README.md | 125 bundle_name = 'com.example.worker' 130 'bundle_name': bundle_name, 134 pid = Application.launch_application(config['bundle_name'], config['hap_path'], start_mode='-D') 140 Fport.fport_connect_server(config['connect_server_port'], config['pid'], config['bundle_name'])
|
| D | preload.py | 102 bundle_name = "" 103 d.start_app(bundle_name, "MainAbility")
|
| /arkcompiler/ets_runtime/ |
| D | hisysevent.yaml | 18 BUNDLE_NAME: {type: STRING, desc: application bundle name} 37 BUNDLE_NAME: {type: STRING, desc: application bundle name} 47 BUNDLE_NAME: {type: STRING, desc: bundleName} 88 BUNDLE_NAME: {type: STRING, desc: Application bundle name} 102 BUNDLE_NAME: {type: STRING, desc: Application bundle name}
|
| /arkcompiler/runtime_core/abc2program/ |
| D | abc2program_compiler.h | 41 void SetBundleName(std::string bundle_name) in SetBundleName() argument 43 bundle_name_ = bundle_name; in SetBundleName()
|
| /arkcompiler/toolchain/test/autotest/aw/ |
| D | fport.py | 27 def fport_connect_server(self, port, pid, bundle_name): argument 29 cmd = f"fport tcp:{port} ark:{pid}@{bundle_name}"
|
| D | all_utils.py | 135 def get_pid(self, bundle_name): argument 139 pid = self.driver.shell("pidof " + bundle_name).strip() 142 self.driver.log_info(f'pid of {bundle_name}: ' + pid) 145 def attach(self, bundle_name): argument 149 attach_result = self.driver.shell(f"aa attach b {bundle_name}").strip() 160 config['bundle_name']) 585 bundle_name = '' 589 self.driver.shell(f"lshal debug {bundle_name}@{self.perfg_version}"
|
| /arkcompiler/toolchain/test/autotest/testcases/toolchain/performance/ |
| D | TestAllocationMassiveMoveNode.py | 50 'bundle_name': 'com.example.performance03', 62 … self.driver.start_app(package_name=self.config['bundle_name'], params=self.config['start_mode']) 63 self.config['pid'] = self.common_utils.get_pid(self.config['bundle_name']) 64 assert self.config['pid'] != 0, f'Failed to get pid of {self.config["bundle_name"]}' 75 self.common_utils.attach(self.config['bundle_name']) 104 self.driver.stop_app(self.config['bundle_name']) 106 self.driver.uninstall_app(self.config['bundle_name'])
|
| /arkcompiler/runtime_core/abc2program/common/ |
| D | abc2program_entity_container.h | 35 uint32_t class_id, std::string bundle_name) in Abc2ProgramEntityContainer() argument 37 current_class_id_(class_id), bundle_name_(bundle_name) {} in Abc2ProgramEntityContainer()
|
| /arkcompiler/ets_frontend/test/scripts/sdk_test/ |
| D | config.yaml | 52 # -bundle_name: the bundle name of the project. 107 bundle_name: com.example.stagedemoemptyability 136 bundle_name: com.example.idefademoemptyability 165 bundle_name: com.example.idecompatible8demoemptyability 194 bundle_name: com.example.idejsdemoemptyability 225 bundle_name: com.example.out
|
| D | options.py | 102 self.bundle_name = '' 201 task.bundle_name = hap['bundle_name']
|
| D | utils.py | 189 …run_cmd(['hdc', 'shell', 'aa', 'start', '-a', f'{task.ability_name}', '-b', f'{task.bundle_name}']) 197 run_cmd(['hdc', 'shell', 'aa', 'force-stop', f'{task.bundle_name}']) 198 run_cmd(['hdc', 'shell', 'bm', 'uninstall', '-n', f'{task.bundle_name}'])
|
| /arkcompiler/toolchain/test/autotest/testcases/toolchain/profiler/ |
| D | TestNativeProfilerTime.py | 59 'bundle_name': 'com.example.native01', 68 … self.driver.start_app(package_name=self.config['bundle_name'], params=self.config['start_mode']) 69 self.config['pid'] = self.common_utils.get_pid(self.config['bundle_name']) 70 assert self.config['pid'] != 0, f'Failed to get pid of {self.config["bundle_name"]}' 91 self.driver.stop_app(self.config['bundle_name']) 93 self.driver.uninstall_app(self.config['bundle_name'])
|
| D | TestProfilerHeapDump.py | 59 'bundle_name': 'com.example.multiWorker02', 68 … self.driver.start_app(package_name=self.config['bundle_name'], params=self.config['start_mode']) 69 self.config['pid'] = self.common_utils.get_pid(self.config['bundle_name']) 70 assert self.config['pid'] != 0, f'Failed to get pid of {self.config["bundle_name"]}' 79 self.common_utils.attach(self.config['bundle_name']) 93 self.driver.stop_app(self.config['bundle_name']) 95 self.driver.uninstall_app(self.config['bundle_name'])
|
| D | TestWorkerProfilerHeapSampling.py | 59 'bundle_name': 'com.example.multiWorker02', 68 … self.driver.start_app(package_name=self.config['bundle_name'], params=self.config['start_mode']) 69 self.config['pid'] = self.common_utils.get_pid(self.config['bundle_name']) 70 assert self.config['pid'] != 0, f'Failed to get pid of {self.config["bundle_name"]}' 79 self.common_utils.attach(self.config['bundle_name']) 93 self.driver.stop_app(self.config['bundle_name']) 95 self.driver.uninstall_app(self.config['bundle_name'])
|
| D | TestWorkerProfilerLaunch.py | 62 'bundle_name': 'com.example.multiWorker02', 71 … self.driver.start_app(package_name=self.config['bundle_name'], params=self.config['start_mode']) 72 self.config['pid'] = self.common_utils.get_pid(self.config['bundle_name']) 73 assert self.config['pid'] != 0, f'Failed to get pid of {self.config["bundle_name"]}' 94 self.driver.stop_app(self.config['bundle_name']) 96 self.driver.uninstall_app(self.config['bundle_name'])
|
| D | TestWorkerProfilerAllocation01.py | 61 'bundle_name': 'com.example.multiWorker02', 70 … self.driver.start_app(package_name=self.config['bundle_name'], params=self.config['start_mode']) 71 self.config['pid'] = self.common_utils.get_pid(self.config['bundle_name']) 72 assert self.config['pid'] != 0, f'Failed to get pid of {self.config["bundle_name"]}' 81 self.common_utils.attach(self.config['bundle_name']) 95 self.driver.stop_app(self.config['bundle_name']) 97 self.driver.uninstall_app(self.config['bundle_name'])
|
| D | TestWorkerProfilerTime.py | 60 'bundle_name': 'com.example.multiWorker02', 69 … self.driver.start_app(package_name=self.config['bundle_name'], params=self.config['start_mode']) 70 self.config['pid'] = self.common_utils.get_pid(self.config['bundle_name']) 71 assert self.config['pid'] != 0, f'Failed to get pid of {self.config["bundle_name"]}' 92 self.driver.stop_app(self.config['bundle_name']) 94 self.driver.uninstall_app(self.config['bundle_name'])
|
| /arkcompiler/toolchain/test/autotest/testcases/toolchain/debug/ |
| D | TestWorkerRunAfterProfiler.py | 73 'bundle_name': 'com.example.multiWorker06', 82 … self.driver.start_app(package_name=self.config['bundle_name'], params=self.config['start_mode']) 83 self.config['pid'] = self.common_utils.get_pid(self.config['bundle_name']) 84 assert self.config['pid'] != 0, f'Failed to get pid of {self.config["bundle_name"]}' 110 self.driver.stop_app(self.config['bundle_name']) 112 self.driver.uninstall_app(self.config['bundle_name'])
|
| D | TestMainExceptionBreakpoints03.py | 69 'bundle_name': 'com.example.mainInstance04', 82 … self.driver.start_app(package_name=self.config['bundle_name'], params=self.config['start_mode']) 83 self.config['pid'] = self.common_utils.get_pid(self.config['bundle_name']) 84 assert self.config['pid'] != 0, f'Failed to get pid of {self.config["bundle_name"]}' 104 self.driver.stop_app(self.config['bundle_name']) 106 self.driver.uninstall_app(self.config['bundle_name'])
|
| D | TestMainExceptionBreakpoints02.py | 69 'bundle_name': 'com.example.mainInstance04', 82 … self.driver.start_app(package_name=self.config['bundle_name'], params=self.config['start_mode']) 83 self.config['pid'] = self.common_utils.get_pid(self.config['bundle_name']) 84 assert self.config['pid'] != 0, f'Failed to get pid of {self.config["bundle_name"]}' 104 self.driver.stop_app(self.config['bundle_name']) 106 self.driver.uninstall_app(self.config['bundle_name'])
|