/system/extras/simpleperf/ |
D | cmd_api_test.cpp | 31 static bool WaitUntilAppExit(const std::string& package_name) { in WaitUntilAppExit() argument 41 if (s.find(package_name) == std::string::npos) { in WaitUntilAppExit() 62 static void RecordApp(const std::string& package_name, const std::string& apk_path) { in RecordApp() argument 68 ASSERT_TRUE(app_helper.InstallApk(apk_path, package_name)); in RecordApp() 69 ASSERT_TRUE(app_helper.StartApp("am start " + package_name + "/.MainActivity")); in RecordApp() 73 ASSERT_TRUE(WaitUntilAppExit(package_name)); in RecordApp() 79 CreateCommandInstance("api-collect")->Run({"--app", package_name, "-o", tmpfile.path})); in RecordApp()
|
D | environment.cpp | 561 std::set<pid_t> WaitForAppProcesses(const std::string& package_name) { in WaitForAppProcesses() argument 579 if (process_name != package_name) { in WaitForAppProcesses() 596 LOG(INFO) << "Got process " << pid << " for package " << package_name; in WaitForAppProcesses() 604 LOG(INFO) << "Waiting for process of app " << package_name; in WaitForAppProcesses() 610 bool IsAppDebuggable(const std::string& package_name) { in IsAppDebuggable() argument 611 return Workload::RunCmd({"run-as", package_name, "echo", ">/dev/null", "2>/dev/null"}, false); in IsAppDebuggable() 618 InAppRunner(const std::string& package_name) : package_name_(package_name) {} in InAppRunner() argument 740 RunAs(const std::string& package_name) : InAppRunner(package_name) {} in RunAs() argument 785 SimpleperfAppRunner(const std::string& package_name) : InAppRunner(package_name) {} in SimpleperfAppRunner() argument
|
D | test_util.h | 151 bool InstallApk(const std::string& apk_path, const std::string& package_name) { in InstallApk() argument 153 installed_packages_.emplace_back(package_name); in InstallApk()
|
D | environment.h | 106 std::set<pid_t> WaitForAppProcesses(const std::string& package_name); 107 bool IsAppDebuggable(const std::string& package_name);
|
/system/security/keystore/ |
D | keystore_attestation_id.cpp | 83 ASN1_OCTET_STRING* package_name; member 92 ASN1_SIMPLE(KM_ATTESTATION_PACKAGE_INFO, package_name, ASN1_OCTET_STRING), 156 if (!pinfo.package_name()) { in build_attestation_package_info() 161 std::string pkg_name(String8(*pinfo.package_name()).string()); in build_attestation_package_info() 162 if (!ASN1_OCTET_STRING_set(attestation_package_info->package_name, in build_attestation_package_info() 208 if (!pinfo->package_name()) { in build_attestation_application_id() 212 std::string package_name(String8(*pinfo->package_name()).string()); in build_attestation_application_id() local 219 estimated_encoded_size += AAID_PKG_INFO_OVERHEAD + package_name.size(); in build_attestation_application_id()
|
/system/iorap/include/binder/ |
D | activity_info.h | 30 std::string package_name; member 34 IORAP_INTROSPECT_ADAPT_STRUCT(ActivityInfo, package_name, activity_name);
|
D | package_event.h | 34 std::string package_name; member 37 IORAP_INTROSPECT_ADAPT_STRUCT(PackageEvent, type, package_uri, package_name);
|
/system/security/keystore/tests/ |
D | aaid_truncation_test.cpp | 79 make_package_info_with_signatures(const char* package_name, in make_package_info_with_signatures() argument 82 String16(package_name), 1 /* version code */, in make_package_info_with_signatures() 86 std::unique_ptr<KeyAttestationPackageInfo> make_package_info(const char* package_name) { in make_package_info() argument 87 return make_package_info_with_signatures(package_name, in make_package_info()
|
/system/core/run-as/ |
D | run-as.cpp | 102 static void check_data_path(const char* package_name, const char* data_path, uid_t uid) { in check_data_path() argument 105 error(1, 0, "%s data path not absolute: %s", package_name, data_path); in check_data_path() 122 error(1, 0, "%s data path too long: %s", package_name, data_path); in check_data_path() 130 error(1, 0, "%s contains '..': %s", package_name, data_path); in check_data_path()
|
/system/extras/simpleperf/scripts/ |
D | test.py | 276 def prepare(cls, example_name, package_name, activity_name, abi=None, adb_root=False): argument 287 cls.package_name = package_name 305 cls.adb.check_run(["uninstall", cls.package_name]) 332 args = ['app_profiler.py', '--app', self.package_name, '-r', record_arg, '-o', 'perf.data'] 452 self.run_cmd([INFERNO_SCRIPT, "-p", self.package_name, "-t", "3"] + append_args) 454 self.run_cmd([INFERNO_SCRIPT, "-p", self.package_name, "-f", "1000", "-du", "-t", "1"] + 456 self.run_cmd([INFERNO_SCRIPT, "-p", self.package_name, "-e", "100000 cpu-cycles", 489 self.adb.check_run(['shell', 'am', 'force-stop', self.package_name]) 491 self.package_name + '/.MultiProcessActivity']) 501 self.adb.check_run(['shell', 'am', 'start', '-n', self.package_name + '/.MainActivity']) [all …]
|
/system/tools/xsdc/tests/resources/reference/ |
D | Android.bp | 5 package_name: "reference",
|
/system/tools/xsdc/tests/resources/group/ |
D | Android.bp | 5 package_name: "group",
|
/system/tools/xsdc/tests/resources/predefined_types/ |
D | Android.bp | 5 package_name: "predefined.types",
|
/system/tools/xsdc/tests/resources/nested_type/ |
D | Android.bp | 5 package_name: "nested.type",
|
/system/tools/xsdc/tests/resources/simple_type/ |
D | Android.bp | 5 package_name: "simple.type",
|
/system/tools/xsdc/tests/resources/purchase_simple/ |
D | Android.bp | 5 package_name: "purchase.simple",
|
/system/tools/xsdc/tests/resources/attr_group_simple/ |
D | Android.bp | 5 package_name: "attr.group.simple",
|
/system/tools/xsdc/tests/resources/simple_complex_content/ |
D | Android.bp | 5 package_name: "simple.complex.content",
|
/system/tools/sysprop/ |
D | JavaGen.cpp | 295 std::string package_name = GetJavaPackageName(props); in GenerateJavaClass() local 300 writer.Write("package %s;\n\n", package_name.c_str()); in GenerateJavaClass() 419 std::string package_name = GetJavaPackageName(props); in GenerateJavaLibrary() local 421 java_output_dir + "/" + std::regex_replace(package_name, kRegexDot, "/"); in GenerateJavaLibrary()
|
/system/security/keystore/include/keystore/ |
D | KeyAttestationPackageInfo.h | 47 const std::unique_ptr<String16>& package_name() const { return packageName_; } in package_name() function
|
/system/libvintf/xsd/compatibilityMatrix/ |
D | Android.bp | 25 package_name: "compatibility.matrix",
|
/system/libvintf/xsd/halManifest/ |
D | Android.bp | 20 package_name: "hal.manifest",
|
/system/core/adb/client/ |
D | fastdeploy.cpp | 244 std::string package_name = get_package_name_from_apk(apk_path); in extract_metadata() local 250 kAgentDumpCommandPattern, kRequiredAgentVersion, package_name.c_str()); in extract_metadata() 282 package_name.c_str()); in extract_metadata()
|
/system/apex/apexd/aidl/android/apex/ |
D | IApexService.aidl | 66 ApexInfo getActivePackage(in @utf8InCpp String package_name); in getActivePackage() argument
|
/system/iorap/src/manager/ |
D | event_manager.cc | 156 const std::string& package_name = event.intent_proto->component().package_name(); in OnNewEvent() local 158 AppComponentName component_name{package_name, class_name}; in OnNewEvent()
|