Sleep enough time for profiling file generated complete
This case using cmd “adb shell am profile stop android.server.am.debuggable” to stop profile. Wait only 100ms for profile file to be generated.And then use cmd "adb shell mv /data/local/tmp/profile.trace /storage/emulated/0/Android/data/android.server.cts.am/files/profile.trace" to move profie.trace file to an accessible folder. 100ms is not enough time for profiling file generated complete. So extend time to 300ms. Bug: 112251130 Test: run the test case testAmStartStartProfilerNoSamplingNoStreaming pass. Change-Id: I847d5860df354f9917dd4df91131bb36db24f07b
Loading
Please sign in to comment