/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 432 static void pass_secondary_dex_validation(const std::string& package_name, in pass_secondary_dex_validation() argument 434 EXPECT_TRUE(validate_secondary_dex_path(package_name, dex_path, /*volume_uuid*/ nullptr, uid, in pass_secondary_dex_validation() 439 static void fail_secondary_dex_validation(const std::string& package_name, in fail_secondary_dex_validation() argument 441 EXPECT_FALSE(validate_secondary_dex_path(package_name, dex_path, /*volume_uuid*/ nullptr, uid, in fail_secondary_dex_validation() 447 std::string package_name = "com.test.app"; in TEST_F() local 448 std::string app_dir_ce_user_0 = "/data/data/" + package_name; in TEST_F() 449 std::string app_dir_ce_user_0_link = "/data/user/0/" + package_name; in TEST_F() 450 std::string app_dir_ce_user_10 = "/data/user/10/" + package_name; in TEST_F() 452 std::string app_dir_de_user_0 = "/data/user_de/0/" + package_name; in TEST_F() 453 std::string app_dir_de_user_10 = "/data/user_de/10/" + package_name; in TEST_F() [all …]
|
D | installd_dexopt_test.cpp | 920 void createProfileSnapshot(int32_t appid, const std::string& package_name, in createProfileSnapshot() argument 924 appid, package_name, kPrimaryProfile, apk_path_, &result)); in createProfileSnapshot() 962 void mergePackageProfiles(const std::string& package_name, in mergePackageProfiles() argument 967 kTestAppUid, package_name, code_path, &result)); in mergePackageProfiles() 990 void preparePackageProfile(const std::string& package_name, const std::string& profile_name, in preparePackageProfile() argument 994 package_name, kTestUserId, kTestAppId, profile_name, apk_path_, in preparePackageProfile() 1004 kTestUserId, package_name, profile_name, /*is_secondary_dex*/ false); in preparePackageProfile() 1005 std::string code_path_ref_profile = create_reference_profile_path(package_name, in preparePackageProfile() 1199 std::string package_name = "dummy_test_pkg" + std::to_string(i); in createAppProfilesForBootMerge() local 1200 LOG(INFO) << package_name; in createAppProfilesForBootMerge() [all …]
|
/frameworks/native/cmds/installd/ |
D | utils.h | 55 userid_t user, const char* package_name); 57 userid_t user, const char* package_name, ino_t ce_data_inode); 59 userid_t user, const char* package_name); 61 const char* volume_uuid, userid_t userid, const char* package_name); 70 userid_t user, int32_t snapshot_id, const char* package_name); 72 userid_t user, int32_t snapshot_id, const char* package_name, ino_t ce_rollback_inode); 74 userid_t user, int32_t snapshot_id, const char* package_name); 78 const char* data_type, const char* package_name); 86 std::string create_system_user_ce_package_path(userid_t userId, const char* package_name); 90 userid_t user, const std::string& package_name); [all …]
|
D | utils.cpp | 71 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 userid_t user, const char* package_name) { in create_data_user_ce_package_path() argument 112 check_package_name(package_name); in create_data_user_ce_package_path() 114 create_data_user_ce_path(volume_uuid, user).c_str(), package_name); in create_data_user_ce_package_path() 125 const char* volume_uuid, userid_t userid, const char* package_name) { in create_data_user_ce_package_path_as_user_link() argument 126 check_package_name(package_name); in create_data_user_ce_package_path_as_user_link() 128 return StringPrintf("%s/user/%u/%s", data.c_str(), userid, package_name); in create_data_user_ce_package_path_as_user_link() 132 const char* package_name, ino_t ce_data_inode) { in create_data_user_ce_package_path() argument [all …]
|
D | dexopt.cpp | 151 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 …]
|
D | view_compiler.cpp | 38 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()
|
D | view_compiler.h | 23 bool view_compiler(const char* apk_path, const char* package_name, const char* out_dex_file,
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
D | WapPushManager.java | 166 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/ |
D | IWapPushManager.aidl | 35 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/services/core/xsd/ |
D | Android.bp | 5 package_name: "com.android.server.pm.permission.configfile", 13 package_name: "com.android.server.compat.config", 21 package_name: "com.android.server.display.config",
|
/frameworks/base/core/java/com/android/internal/app/ |
D | EventLogTags.logtags | 5 53000 harmful_app_warning_uninstall (package_name|3) 6 53001 harmful_app_warning_launch_anyway (package_name|3)
|
/frameworks/base/libs/androidfw/ |
D | ResourceUtils.cpp | 53 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()
|
D | AssetManager2.cpp | 58 const std::string* package_name; member 166 String16 package_name(entry.package_name.c_str(), entry.package_name.size()); in BuildDynamicRefTable() local 168 package_name, static_cast<uint8_t>(entry.package_id)); in BuildDynamicRefTable() 178 const std::string& package_name = iter->packages_[0].loaded_package_->GetPackageName(); in BuildDynamicRefTable() local 180 iter2->dynamic_ref_table->addMapping(String16(package_name.c_str(), package_name.size()), in BuildDynamicRefTable() 278 bool AssetManager2::GetOverlayablesToString(const android::StringPiece& package_name, in GetOverlayablesToString() argument 293 if (loaded_package->GetPackageName() == package_name) { in GetOverlayablesToString() 300 ANDROID_LOG(ERROR) << base::StringPrintf("No package with name '%s", package_name.data()); in GetOverlayablesToString() 589 overlay_result.package_name}); in FindEntry() 767 out_entry->package_name = &best_package->GetPackageName(); in FindEntryInternal() [all …]
|
/frameworks/base/startop/view_compiler/ |
D | apk_layout_compiler.cc | 88 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() 142 JavaLangViewBuilder builder{package_name, layout_name, target_out}; in CompileApkAssetsLayouts()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Dump.cpp | 260 Maybe<std::string> package_name = GetPackageName(apk); in Dump() local 261 if (!package_name) { in Dump() 265 GetPrinter()->Println(package_name.value()); in Dump() 286 Maybe<std::string> package_name = GetPackageName(apk); in Dump() local 287 if (!package_name) { in Dump() 291 const auto target_style = ResourceName(package_name.value(), ResourceType::kStyle, style_); in Dump()
|
/frameworks/base/tools/incident_report/ |
D | formatter.cpp | 79 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/ |
D | LoadedArsc.h | 39 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/ |
D | main.cpp | 163 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/ |
D | JavaClassGenerator.cpp | 387 StringPiece package_name = attr_name.package; in ProcessStyleable() local 388 if (package_name.empty()) { in ProcessStyleable() 389 package_name = package_name_to_generate; in ProcessStyleable() 403 << "{@link " << package_name << ".R.attr#" in ProcessStyleable() 414 StringPrintf("@attr name %s:%s", package_name.data(), attr_name.entry.data())); in ProcessStyleable() 498 Maybe<std::string> JavaClassGenerator::UnmangleResource(const StringPiece& package_name, in UnmangleResource() argument 514 } else if (package_name_to_generate != package_name) { in UnmangleResource()
|
/frameworks/rs/ |
D | build_rs.py | 93 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
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 249 const std::string& package_name) const { in IsPackageDynamic() 257 if (package_name == loaded_package->GetPackageName() && loaded_package->IsDynamic()) { in IsPackageDynamic() 336 asset_manager_.ForEachPackage([&](const std::string& package_name, uint8_t id) -> bool { in FindByName() argument 338 if (package_name != name.package) { in FindByName() 340 real_name.package = package_name; in FindByName()
|
/frameworks/base/core/xsd/ |
D | Android.bp | 5 package_name: "com.android.xml.permission.configfile",
|
/frameworks/base/libs/hwui/service/ |
D | GraphicsStatsService.cpp | 285 if (proto->package_name().empty() || !proto->has_summary()) { in dumpAsTextToFd() 287 proto->package_name().c_str(), proto->has_summary()); in dumpAsTextToFd() 290 dprintf(fd, "\nPackage: %s", proto->package_name().c_str()); in dumpAsTextToFd() 339 if (statsProto.package_name().empty() || !statsProto.has_summary()) { in saveBuffer() 340 ALOGE("missing package_name() '%s' summary %d", statsProto.package_name().c_str(), in saveBuffer() 396 auto dumpKey = std::make_pair(stat.package_name(), stat.version_code()); in mergeStat() 543 AStatsEvent_writeString(event, stat.package_name().c_str()); in finishDumpInMemory()
|
/frameworks/compile/libbcc/gdb_plugin/ |
D | android-commands.py | 678 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/services/incremental/ |
D | Metadata.proto | 12 string package_name = 1; field
|