Lines Matching refs:pid
100 pid = GetPidByProcessName(processName)
101 command = f"hidumper --mem {pid}"
129 pid = None
131 pid = GetPidByProcessName("com.ohos.launcher")
133 pid = GetPidByProcessName("com.ohos.sceneboard")
135 pid = GetPidByProcessName("com.example.myapplication")
136 if pid == "":
138 command = f"hdc shell \"hidumper --mem-jsheap {pid}\""
148 pid = None
150 pid = GetPidByProcessName("com.ohos.launcher")
152 pid = GetPidByProcessName("com.ohos.sceneboard")
154 pid = GetPidByProcessName("com.example.myapplication")
155 if pid == "":
157 command = f"hdc shell \"hidumper --mem-jsheap {pid} -T {pid}\""
167 pid = None
169 pid = GetPidByProcessName("com.ohos.launcher")
171 pid = GetPidByProcessName("com.ohos.sceneboard")
173 pid = GetPidByProcessName("com.example.myapplication")
174 if pid == "":
176 command = f"hdc shell \"hidumper --mem-jsheap {pid} --gc\""
179 assert WaitUntillLogAppear("hdc shell \"hilog | grep ArkCompiler\"", f"TriggerGC tid 0 curTid {pid}", 10)
183 pid = None
185 pid = GetPidByProcessName("com.ohos.launcher")
187 pid = GetPidByProcessName("com.ohos.sceneboard")
189 pid = GetPidByProcessName("com.example.myapplication")
190 if pid == "":
192 command = f"hdc shell \"hidumper --mem-jsheap {pid} -T {pid} --gc\""
195 assert WaitUntillLogAppear("hdc shell \"hilog | grep ArkCompiler\"", f"TriggerGC tid 0 curTid {pid}", 10)