Home
last modified time | relevance | path

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

123

/frameworks/native/cmds/installd/
Dutils.h50 std::string create_data_app_package_path(const char* volume_uuid, const char* package_name);
56 userid_t user, const char* package_name);
58 userid_t user, const char* package_name, ino_t ce_data_inode);
60 userid_t user, const char* package_name);
62 const char* volume_uuid, userid_t userid, const char* package_name);
71 userid_t user, int32_t snapshot_id, const char* package_name);
73 userid_t user, int32_t snapshot_id, const char* package_name, ino_t ce_rollback_inode);
75 userid_t user, int32_t snapshot_id, const char* package_name);
79 const char* data_type, const char* package_name);
87 userid_t user, const std::string& package_name);
[all …]
Dutils.cpp71 static void check_package_name(const char* package_name) { in check_package_name() argument
72 CHECK(is_valid_filename(package_name)); in check_package_name()
73 CHECK(is_valid_package_name(package_name)); in check_package_name()
111 const char* package_name) { in create_data_app_package_path() argument
112 check_package_name(package_name); in create_data_app_package_path()
114 create_data_app_path(volume_uuid).c_str(), package_name); in create_data_app_package_path()
123 userid_t user, const char* package_name) { in create_data_user_ce_package_path() argument
124 check_package_name(package_name); in create_data_user_ce_package_path()
126 create_data_user_ce_path(volume_uuid, user).c_str(), package_name); in create_data_user_ce_package_path()
137 const char* volume_uuid, userid_t userid, const char* package_name) { in create_data_user_ce_package_path_as_user_link() argument
[all …]
Ddexopt.cpp151 static bool clear_reference_profile(const std::string& package_name, const std::string& location, in clear_reference_profile() argument
153 return clear_profile(create_reference_profile_path(package_name, location, is_secondary_dex)); in clear_reference_profile()
158 static bool clear_current_profile(const std::string& package_name, const std::string& location, in clear_current_profile() argument
160 return clear_profile(create_current_profile_path(user, package_name, location, in clear_current_profile()
166 bool clear_primary_reference_profile(const std::string& package_name, in clear_primary_reference_profile() argument
168 return clear_reference_profile(package_name, location, /*is_secondary_dex*/false); in clear_primary_reference_profile()
173 bool clear_primary_current_profiles(const std::string& package_name, const std::string& location) { in clear_primary_current_profiles() argument
178 success &= clear_current_profile(package_name, location, user, /*is_secondary_dex*/false); in clear_primary_current_profiles()
184 bool clear_primary_current_profile(const std::string& package_name, const std::string& location, in clear_primary_current_profile() argument
186 return clear_current_profile(package_name, location, user, /*is_secondary_dex*/false); in clear_primary_current_profile()
[all …]
Dview_compiler.cpp38 bool view_compiler(const char* apk_path, const char* package_name, const char* out_dex_file, in view_compiler() argument
41 CHECK(package_name != nullptr); in view_compiler()
77 package_name}; in view_compiler()
Dview_compiler.h23 bool view_compiler(const char* apk_path, const char* package_name, const char* out_dex_file,
/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp439 static void pass_secondary_dex_validation(const std::string& package_name, in pass_secondary_dex_validation() argument
441 EXPECT_TRUE(validate_secondary_dex_path(package_name, dex_path, /*volume_uuid*/ nullptr, uid, in pass_secondary_dex_validation()
446 static void fail_secondary_dex_validation(const std::string& package_name, in fail_secondary_dex_validation() argument
448 EXPECT_FALSE(validate_secondary_dex_path(package_name, dex_path, /*volume_uuid*/ nullptr, uid, in fail_secondary_dex_validation()
454 std::string package_name = "com.test.app"; in TEST_F() local
455 std::string app_dir_ce_user_0 = "/data/data/" + package_name; in TEST_F()
456 std::string app_dir_ce_user_0_link = "/data/user/0/" + package_name; in TEST_F()
457 std::string app_dir_ce_user_10 = "/data/user/10/" + package_name; in TEST_F()
459 std::string app_dir_de_user_0 = "/data/user_de/0/" + package_name; in TEST_F()
460 std::string app_dir_de_user_10 = "/data/user_de/10/" + package_name; in TEST_F()
[all …]
Dinstalld_dexopt_test.cpp910 void createProfileSnapshot(int32_t appid, const std::string& package_name, in createProfileSnapshot() argument
914 appid, package_name, kPrimaryProfile, apk_path_, &result)); in createProfileSnapshot()
952 void mergePackageProfiles(const std::string& package_name, in mergePackageProfiles() argument
957 kTestAppUid, package_name, code_path, &result)); in mergePackageProfiles()
980 void preparePackageProfile(const std::string& package_name, const std::string& profile_name, in preparePackageProfile() argument
984 package_name, kTestUserId, kTestAppId, profile_name, apk_path_, in preparePackageProfile()
994 kTestUserId, package_name, profile_name, /*is_secondary_dex*/ false); in preparePackageProfile()
995 std::string code_path_ref_profile = create_reference_profile_path(package_name, in preparePackageProfile()
1189 std::string package_name = "dummy_test_pkg" + std::to_string(i); in createAppProfilesForBootMerge() local
1190 LOG(INFO) << package_name; in createAppProfilesForBootMerge()
[all …]
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/
DWapPushManager.java166 protected boolean signatureCheck(String package_name) { in signatureCheck() argument
168 int match = pm.checkSignatures(mContext.getPackageName(), package_name); in signatureCheck()
171 + " and " + package_name + ", match=" + match); in signatureCheck()
268 String package_name, String class_name, in addPackage() argument
287 } else if (!lastapp.packageName.equals(package_name) || in addPackage()
298 values.put("package_name", package_name); in addPackage()
306 + " " + package_name + "." + class_name in addPackage()
320 String package_name, String class_name, in updatePackage() argument
344 values.put("package_name", package_name); in updatePackage()
352 + package_name + "." + class_name in updatePackage()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DIWapPushManager.aidl35 String package_name, String class_name, in addPackage() argument
44 String package_name, String class_name, in updatePackage() argument
53 String package_name, String class_name); in deletePackage() argument
/frameworks/base/core/java/com/android/internal/app/
DEventLogTags.logtags5 53000 harmful_app_warning_uninstall (package_name|3)
6 53001 harmful_app_warning_launch_anyway (package_name|3)
/frameworks/base/services/core/xsd/
DAndroid.bp5 package_name: "com.android.server.pm.permission.configfile",
13 package_name: "com.android.server.compat.config",
/frameworks/base/tools/aapt2/cmd/
DDump.cpp254 Maybe<std::string> package_name = GetPackageName(apk); in Dump() local
255 if (!package_name) { in Dump()
259 GetPrinter()->Println(package_name.value()); in Dump()
280 Maybe<std::string> package_name = GetPackageName(apk); in Dump() local
281 if (!package_name) { in Dump()
285 const auto target_style = ResourceName(package_name.value(), ResourceType::kStyle, style_); in Dump()
/frameworks/base/startop/view_compiler/
Dapk_layout_compiler.cc88 std::string package_name; in CompileApkAssetsLayouts() local
94 package_name = package->GetPackageName(); in CompileApkAssetsLayouts()
100 dex_file.MakeClass(StringPrintf("%s.CompiledView", package_name.c_str()))}; in CompileApkAssetsLayouts()
140 JavaLangViewBuilder builder{package_name, layout_name, target_out}; in CompileApkAssetsLayouts()
/frameworks/base/libs/androidfw/
DResourceUtils.cpp53 const StringPiece& package_name, in ToResourceName() argument
55 out_name->package = package_name.data(); in ToResourceName()
56 out_name->package_len = package_name.size(); in ToResourceName()
/frameworks/base/tools/incident_report/
Dformatter.cpp79 int cmp = compare_name(name, get_string(msg->package_name), get_string(msg->package_name)); in find_message_index()
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h39 DynamicPackageEntry(std::string&& package_name, int package_id) in DynamicPackageEntry() argument
40 : package_name(std::move(package_name)), package_id(package_id) {} in DynamicPackageEntry()
42 std::string package_name; variable
/frameworks/base/tools/streaming_proto/java/
Dmain.cpp163 string const package_name = make_java_package(file_descriptor); in write_file() local
169 if (package_name.size() > 0) { in write_file()
170 if (package_name.size() > 0) { in write_file()
171 text << "package " << package_name << ";" << endl; in write_file()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp385 StringPiece package_name = attr_name.package; in ProcessStyleable() local
386 if (package_name.empty()) { in ProcessStyleable()
387 package_name = package_name_to_generate; in ProcessStyleable()
401 << "{@link " << package_name << ".R.attr#" in ProcessStyleable()
412 StringPrintf("@attr name %s:%s", package_name.data(), attr_name.entry.data())); in ProcessStyleable()
496 Maybe<std::string> JavaClassGenerator::UnmangleResource(const StringPiece& package_name, in UnmangleResource() argument
512 } else if (package_name_to_generate != package_name) { in UnmangleResource()
/frameworks/rs/
Dbuild_rs.py93 package_name = 'renderscript-' + build_name
95 install_dir = os.path.join(install_host_dir, package_name)
104 tarball_name = package_name + '-' + host
108 'tar', '-cjC', install_host_dir, '-f', package_path, package_name
Dupdate-prebuilts.py95 def package_name(build_number, host): function
105 filename = package_name(build_number, host)
/frameworks/base/libs/hwui/service/
DGraphicsStatsService.cpp231 if (proto->package_name().empty() || !proto->has_summary()) { in dumpAsTextToFd()
233 proto->package_name().c_str(), proto->has_summary()); in dumpAsTextToFd()
236 dprintf(fd, "\nPackage: %s", proto->package_name().c_str()); in dumpAsTextToFd()
277 if (statsProto.package_name().empty() || !statsProto.has_summary()) { in saveBuffer()
278 ALOGE("missing package_name() '%s' summary %d", statsProto.package_name().c_str(), in saveBuffer()
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp205 const Result<std::string> package_name = in Lookup() local
207 if (!package_name) { in Lookup()
210 target_package_name = *package_name; in Lookup()
/frameworks/compile/libbcc/gdb_plugin/
Dandroid-commands.py678 package_name = ''
682 package_name = args[0]
700 package_name = self._awk("extract-package-name.awk",
708 data_directory = self.adb._shell("run-as", package_name,
714 data_directory = os.path.join('/data', 'data', package_name)
716 + package_name + ". Meh, defaulting to " + data_directory
718 currentAppInfo.set_info(package_name, launchable, data_directory)
/frameworks/base/core/xsd/
DAndroid.bp5 package_name: "com.android.xml.permission.configfile",
/frameworks/base/core/proto/android/server/
Dforceappstandbytracker.proto54 optional string package_name = 2; field
75 optional string package_name = 2; field

123