Home
last modified time | relevance | path

Searched refs:package_name (Results 1 – 25 of 32) sorted by relevance

12

/system/extras/simpleperf/
Dcmd_api_test.cpp31 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()
Denvironment.cpp561 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
Dtest_util.h151 bool InstallApk(const std::string& apk_path, const std::string& package_name) { in InstallApk() argument
153 installed_packages_.emplace_back(package_name); in InstallApk()
Denvironment.h106 std::set<pid_t> WaitForAppProcesses(const std::string& package_name);
107 bool IsAppDebuggable(const std::string& package_name);
/system/security/keystore/
Dkeystore_attestation_id.cpp83 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/
Dactivity_info.h30 std::string package_name; member
34 IORAP_INTROSPECT_ADAPT_STRUCT(ActivityInfo, package_name, activity_name);
Dpackage_event.h34 std::string package_name; member
37 IORAP_INTROSPECT_ADAPT_STRUCT(PackageEvent, type, package_uri, package_name);
/system/security/keystore/tests/
Daaid_truncation_test.cpp79 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/
Drun-as.cpp102 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/
Dtest.py276 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/
DAndroid.bp5 package_name: "reference",
/system/tools/xsdc/tests/resources/group/
DAndroid.bp5 package_name: "group",
/system/tools/xsdc/tests/resources/predefined_types/
DAndroid.bp5 package_name: "predefined.types",
/system/tools/xsdc/tests/resources/nested_type/
DAndroid.bp5 package_name: "nested.type",
/system/tools/xsdc/tests/resources/simple_type/
DAndroid.bp5 package_name: "simple.type",
/system/tools/xsdc/tests/resources/purchase_simple/
DAndroid.bp5 package_name: "purchase.simple",
/system/tools/xsdc/tests/resources/attr_group_simple/
DAndroid.bp5 package_name: "attr.group.simple",
/system/tools/xsdc/tests/resources/simple_complex_content/
DAndroid.bp5 package_name: "simple.complex.content",
/system/tools/sysprop/
DJavaGen.cpp295 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/
DKeyAttestationPackageInfo.h47 const std::unique_ptr<String16>& package_name() const { return packageName_; } in package_name() function
/system/libvintf/xsd/compatibilityMatrix/
DAndroid.bp25 package_name: "compatibility.matrix",
/system/libvintf/xsd/halManifest/
DAndroid.bp20 package_name: "hal.manifest",
/system/core/adb/client/
Dfastdeploy.cpp244 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/
DIApexService.aidl66 ApexInfo getActivePackage(in @utf8InCpp String package_name); in getActivePackage() argument
/system/iorap/src/manager/
Devent_manager.cc156 const std::string& package_name = event.intent_proto->component().package_name(); in OnNewEvent() local
158 AppComponentName component_name{package_name, class_name}; in OnNewEvent()

12