/external/perfetto/src/trace_processor/metrics/webview/ |
D | webview_power_usage.sql | 50 extract_arg(process.arg_set_id, 'chrome.host_app_package_name') AS app_name 60 AND app_name IS NOT NULL; 75 app_name, 78 GROUP BY app_name; 86 extract_arg(process.arg_set_id, 'chrome.host_app_package_name') as app_name 91 AND app_name IS NOT NULL; 99 app_name, 104 GROUP BY app_name; 112 app_name, 120 GROUP BY app_name, core_type_per_cpu.core_type; [all …]
|
/external/perfetto/test/cts/ |
D | heapprofd_test_cts.cc | 61 const std::string& app_name) { in ProfileRuntime() argument 65 if (IsAppRunning(app_name)) { in ProfileRuntime() 66 StopApp(app_name, "old.app.stopped", &task_runner); in ProfileRuntime() 69 StartAppActivity(app_name, "MainActivity", "target.app.running", &task_runner, in ProfileRuntime() 89 heapprofd_config.add_process_cmdline(app_name.c_str()); in ProfileRuntime() 104 const std::string& app_name, in ProfileStartup() argument 108 if (IsAppRunning(app_name)) { in ProfileStartup() 109 StopApp(app_name, "old.app.stopped", &task_runner); in ProfileStartup() 130 heapprofd_config.add_process_cmdline(app_name.c_str()); in ProfileStartup() 139 StartAppActivity(app_name, "MainActivity", "target.app.running", &task_runner, in ProfileStartup() [all …]
|
D | traced_perf_test_cts.cc | 60 std::vector<protos::gen::TracePacket> ProfileSystemWide(std::string app_name) { in ProfileSystemWide() argument 64 if (IsAppRunning(app_name)) { in ProfileSystemWide() 65 StopApp(app_name, "old.app.stopped", &task_runner); in ProfileSystemWide() 68 StartAppActivity(app_name, "BusyWaitActivity", "target.app.running", in ProfileSystemWide() 163 std::string app_name = "android.perfetto.cts.app.debuggable"; in TEST() local 164 const auto& packets = ProfileSystemWide(app_name); in TEST() 165 int app_pid = PidForProcessName(app_name); in TEST() 169 PERFETTO_CHECK(IsAppRunning(app_name)); in TEST() 170 StopApp(app_name); in TEST() 177 std::string app_name = "android.perfetto.cts.app.profileable"; in TEST() local [all …]
|
D | heapprofd_java_test_cts.cc | 49 std::vector<protos::gen::TracePacket> ProfileRuntime(std::string app_name) { in ProfileRuntime() argument 53 if (IsAppRunning(app_name)) { in ProfileRuntime() 54 StopApp(app_name, "old.app.stopped", &task_runner); in ProfileRuntime() 57 StartAppActivity(app_name, "MainActivity", "target.app.running", &task_runner, in ProfileRuntime() 78 java_hprof_config.add_process_cmdline(app_name.c_str()); in ProfileRuntime() 86 PERFETTO_CHECK(IsAppRunning(app_name)); in ProfileRuntime() 87 StopApp(app_name, "new.app.stopped", &task_runner); in ProfileRuntime() 116 std::string app_name = "android.perfetto.cts.app.debuggable"; in TEST() local 117 const auto& packets = ProfileRuntime(app_name); in TEST() 122 std::string app_name = "android.perfetto.cts.app.profileable"; in TEST() local [all …]
|
D | end_to_end_integrationtest_cts.cc | 47 const std::string app_name = "android.perfetto.producer"; in TestMockProducer() local 49 if (IsAppRunning(app_name)) { in TestMockProducer() 50 StopApp(app_name, "old.app.stopped", &task_runner); in TestMockProducer() 53 StartAppActivity(app_name, activity, "target.app.running", &task_runner, in TestMockProducer()
|
/external/skia/gn/ |
D | ios.gni | 107 app_name = target_name 111 action("${app_name}_generate_info_plist") { 113 outputs = [ "$gen_path/${app_name}_Info.plist" ] 115 rebase_path("$gen_path/$app_name", root_build_dir), 120 bundle_data("${app_name}_bundle_info_plist") { 121 public_deps = [ ":${app_name}_generate_info_plist" ] 122 sources = [ "$gen_path/${app_name}_Info.plist" ] 127 bundle_data("${app_name}_bundle_resources_and_skps") { 136 bundle_data_ib_file("${app_name}_bundle_launchscreen") { 141 executable("${app_name}_generate_executable") { [all …]
|
/external/webrtc/tools_webrtc/android/profiling/ |
D | utilities.sh | 78 local app_name="$1" 79 adb shell ps | grep "${app_name}" | awk '{print $2}' 83 local app_name="$1" 85 | grep "${app_name}" | awk -F':' '{print $2}') 87 && [[ "${installed_app_name}" = "${app_name}" ]] 91 local app_name="$1" 92 local app_pid=$(find_app_pid "${app_name}") 97 local app_name="$1" 99 -n "${app_name}/.ConnectActivity" \ 104 local app_name="$1" [all …]
|
/external/perfetto/test/ |
D | android_test_utils.cc | 105 void StartAppActivity(const std::string& app_name, in StartAppActivity() argument 110 std::string start_cmd = "am start " + app_name + "/." + activity_name; in StartAppActivity() 113 WaitForProcess(app_name, checkpoint_name, task_runner, delay_ms); in StartAppActivity() 116 void StopApp(const std::string& app_name, in StopApp() argument 119 std::string stop_cmd = "am force-stop " + app_name; in StopApp() 125 task_runner->PostTask([desired_run_state, task_runner, app_name, checkpoint] { in StopApp() 126 PollRunState(desired_run_state, task_runner, app_name, in StopApp() 131 void StopApp(const std::string& app_name) { in StopApp() argument 132 std::string stop_cmd = "am force-stop " + app_name; in StopApp()
|
D | android_test_utils.h | 39 void StartAppActivity(const std::string& app_name, 45 void StopApp(const std::string& app_name, 49 void StopApp(const std::string& app_name);
|
/external/skia/infra/bots/recipe_modules/flavor/ |
D | ios.py | 13 def __init__(self, m, app_name): argument 14 super(iOSFlavor, self).__init__(m, app_name) 31 'IOS_BUNDLE_ID': 'com.google.%s' % self.app_name, 97 if self.app_name: 98 app_package = self.host_dirs.bin_dir.join('%s.app' % self.app_name) 103 'uninstall %s' % self.app_name, 105 'com.google.%s' % self.app_name], 111 self.m.run.with_retry(self.m.step, 'install %s' % self.app_name, 118 app_name = cmd[0] 119 bundle_id = 'com.google.%s' % app_name
|
D | ssh.py | 20 def __init__(self, m, app_name): argument 21 super(SSHFlavor, self).__init__(m, app_name) 47 if self.app_name: 49 host_path = self.host_dirs.bin_dir.join(self.app_name) 50 device_path = self.device_path_join(self.device_dirs.bin_dir, self.app_name) 52 self.ssh('make %s executable' % self.app_name, 'chmod', '+x', device_path)
|
D | api.py | 64 def get_flavor(self, vars_api, app_name): argument 67 return chromebook.ChromebookFlavor(self, app_name) 69 return android.AndroidFlavor(self, app_name) 71 return docker.DockerFlavor(self, app_name) 73 return ios.iOSFlavor(self, app_name) 75 return valgrind.ValgrindFlavor(self, app_name) 77 return default.DefaultFlavor(self, app_name) 79 def setup(self, app_name): argument 80 self._f = self.get_flavor(self.m.vars, app_name)
|
D | android.py | 17 def __init__(self, m, app_name): argument 18 super(AndroidFlavor, self).__init__(m, app_name) 445 if self.app_name: 446 if (self.app_name == 'nanobench'): 450 app_path = self.host_dirs.bin_dir.join(self.app_name) 451 self._adb('push %s' % self.app_name,
|
D | valgrind.py | 13 def __init__(self, m, app_name): argument 14 super(ValgrindFlavor, self).__init__(m, app_name)
|
D | chromebook.py | 17 def __init__(self, m, app_name): argument 18 super(ChromebookFlavor, self).__init__(m, app_name)
|
D | docker.py | 24 def __init__(self, m, app_name): argument 25 super(DockerFlavor, self).__init__(m, app_name)
|
/external/skia/platform_tools/android/bin/ |
D | android_build_app | 37 ':' + args.app_name + ':assemble' + target_cpu + android_buildtype, 38 '-papps/' + args.app_name, 50 apk_src = os.path.join(current_dir, "..", "apps", args.app_name, "build", "outputs", "apk", 52 args.app_name + "-" + target_cpu + "-" + android_buildtype + ".apk") 53 apk_dst = os.path.join(args.output_dir, args.app_name + ".apk")
|
/external/skqp/platform_tools/android/bin/ |
D | android_build_app | 37 ':' + args.app_name + ':assemble' + target_cpu + android_buildtype, 38 '-papps/' + args.app_name, 50 apk_src = os.path.join(current_dir, "..", "apps", args.app_name, "build", "outputs", "apk", 52 args.app_name + "-" + target_cpu + "-" + android_buildtype + ".apk") 53 apk_dst = os.path.join(args.output_dir, args.app_name + ".apk")
|
/external/mesa3d/src/intel/tools/ |
D | aub_read.c | 98 char app_name[33]; in handle_trace_header() local 99 strncpy(app_name, (const char *)&p[2], 32); in handle_trace_header() 100 app_name[32] = 0; in handle_trace_header() 103 read->info(read->user_data, aub_pci_id, app_name); in handle_trace_header() 112 char app_name[64]; in handle_memtrace_version() local 113 int app_name_len = MIN2(4 * (header_length + 1 - 5), ARRAY_SIZE(app_name) - 1); in handle_memtrace_version() 117 strncpy(app_name, (const char *)&p[5], app_name_len); in handle_memtrace_version() 118 app_name[app_name_len] = 0; in handle_memtrace_version() 120 if (sscanf(app_name, "PCI-ID=%i %n", &aub_pci_id, &pci_id_len) > 0) { in handle_memtrace_version() 127 read->info(read->user_data, aub_pci_id, app_name + pci_id_len); in handle_memtrace_version()
|
D | aub_write.c | 100 char app_name[8 * 4]; in write_execlists_header() local 104 snprintf(app_name, sizeof(app_name), "PCI-ID=0x%X %s", in write_execlists_header() 114 data_out(aub, app_name, app_name_len); in write_execlists_header() 120 char app_name[8 * 4]; in write_legacy_header() local 134 strncpy(app_name, name, sizeof(app_name)); in write_legacy_header() 135 app_name[sizeof(app_name) - 1] = 0; in write_legacy_header() 136 data_out(aub, app_name, sizeof(app_name)); in write_legacy_header() 146 aub_write_header(struct aub_file *aub, const char *app_name) in aub_write_header() argument 149 write_execlists_header(aub, app_name); in aub_write_header() 151 write_legacy_header(aub, app_name); in aub_write_header() [all …]
|
/external/skqp/infra/bots/recipe_modules/flavor/ |
D | ios.py | 34 for app_name in ['dm', 'nanobench']: 35 app_package = self.host_dirs.bin_dir.join('%s.app' % app_name) 40 'uninstall_' + app_name, 41 cmd=['ideviceinstaller', '-U', 'com.google.%s' % app_name], 47 self.m.run.with_retry(self.m.step, 'install_' + app_name, num_attempts,
|
/external/skqp/tools/ |
D | win_dbghelp.cpp | 54 void setAppName(const char* app_name) { in setAppName() argument 55 strncpyOrSetBlank(debug_app_name, app_name, sizeof(debug_app_name)); in setAppName() 222 char app_name[MAX_PATH]; in setUpDebuggingFromArgs() local 223 strncpy(app_name, vargs0 + pos_last_slash + 1, pos_period - pos_last_slash - 1); in setUpDebuggingFromArgs() 224 app_name[pos_period - pos_last_slash] = '\0'; in setUpDebuggingFromArgs() 225 setAppName(app_name); in setUpDebuggingFromArgs()
|
/external/skia/tools/ |
D | win_dbghelp.cpp | 54 void setAppName(const char* app_name) { in setAppName() argument 55 strncpyOrSetBlank(debug_app_name, app_name, sizeof(debug_app_name)); in setAppName() 222 char app_name[MAX_PATH]; in setUpDebuggingFromArgs() local 223 strncpy(app_name, vargs0 + pos_last_slash + 1, pos_period - pos_last_slash - 1); in setUpDebuggingFromArgs() 224 app_name[pos_period - pos_last_slash] = '\0'; in setUpDebuggingFromArgs() 225 setAppName(app_name); in setUpDebuggingFromArgs()
|
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/ |
D | atrace_agent.py | 118 if config.app_name is not None: 119 extra_args.extend(['-a', config.app_name]) 431 app_name, compress_trace_data, from_file, argument 437 self.app_name = app_name 473 options.app_name, options.compress_trace_data,
|
/external/igt-gpu-tools/tools/ |
D | aubdump.c | 517 char app_name[8 * 4]; in gen10_write_header() local 521 snprintf(app_name, sizeof(app_name), "PCI-ID=0x%X %s", device, in gen10_write_header() 532 data_out(app_name, app_name_len); in gen10_write_header() 605 char app_name[8 * 4]; in write_header() local 620 strncpy(app_name, program_invocation_short_name, sizeof(app_name)); in write_header() 621 app_name[sizeof(app_name) - 1] = 0; in write_header() 622 data_out(app_name, sizeof(app_name)); in write_header()
|