Home
last modified time | relevance | path

Searched full:bundle_name (Results 1 – 25 of 62) sorted by relevance

123

/arkcompiler/toolchain/test/autotest/testcases/toolchain/hotreload/
DTestHotReloadMultiModule.py77 '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'])
DTestHotReloadHarHsp01.py74 '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'])
DTestHotReloadClass01.py72 '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'])
DTestHotReloadPages02.py77 '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'])
DTestHotReloadPages01.py92 '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/
DREADME.md125 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'])
Dpreload.py102 bundle_name = ""
103 d.start_app(bundle_name, "MainAbility")
/arkcompiler/ets_runtime/
Dhisysevent.yaml18 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/
Dabc2program_compiler.h41 void SetBundleName(std::string bundle_name) in SetBundleName() argument
43 bundle_name_ = bundle_name; in SetBundleName()
/arkcompiler/toolchain/test/autotest/aw/
Dfport.py27 def fport_connect_server(self, port, pid, bundle_name): argument
29 cmd = f"fport tcp:{port} ark:{pid}@{bundle_name}"
Dall_utils.py135 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/
DTestAllocationMassiveMoveNode.py50 '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/
Dabc2program_entity_container.h35 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/
Dconfig.yaml52 # -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
Doptions.py102 self.bundle_name = ''
201 task.bundle_name = hap['bundle_name']
Dutils.py189 …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/
DTestNativeProfilerTime.py59 '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'])
DTestProfilerHeapDump.py59 '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'])
DTestWorkerProfilerHeapSampling.py59 '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'])
DTestWorkerProfilerLaunch.py62 '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'])
DTestWorkerProfilerAllocation01.py61 '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'])
DTestWorkerProfilerTime.py60 '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/
DTestWorkerRunAfterProfiler.py73 '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'])
DTestMainExceptionBreakpoints03.py69 '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'])
DTestMainExceptionBreakpoints02.py69 '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'])

123