/frameworks/native/cmds/installd/ |
D | utils.h | 57 std::string create_data_app_package_path(const char* volume_uuid, const char* package_name); 63 userid_t user, const char* package_name); 65 userid_t user, const char* package_name, ino_t ce_data_inode); 67 userid_t user, const char* package_name); 70 std::string create_data_media_obb_path(const char* volume_uuid, const char* package_name); 72 const char* data_type, const char* package_name); 80 userid_t user, const std::string& package_name); 83 std::string create_primary_reference_profile_package_dir_path(const std::string& package_name); 86 userid_t user, const std::string& package_name, bool is_secondary_dex); 88 const std::string& package_name, bool is_secondary_dex);
|
D | utils.cpp | 61 static void check_package_name(const char* package_name) { in check_package_name() argument 62 CHECK(is_valid_filename(package_name)); in check_package_name() 63 CHECK(is_valid_package_name(package_name)); in check_package_name() 72 const char* package_name) { in create_data_app_package_path() argument 73 check_package_name(package_name); in create_data_app_package_path() 75 create_data_app_path(volume_uuid).c_str(), package_name); in create_data_app_package_path() 84 userid_t user, const char* package_name) { in create_data_user_ce_package_path() argument 85 check_package_name(package_name); in create_data_user_ce_package_path() 87 create_data_user_ce_path(volume_uuid, user).c_str(), package_name); in create_data_user_ce_package_path() 91 const char* package_name, ino_t ce_data_inode) { in create_data_user_ce_package_path() argument [all …]
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
D | WapPushManager.java | 162 protected boolean signatureCheck(String package_name) { in signatureCheck() argument 164 int match = pm.checkSignatures(mContext.getPackageName(), package_name); in signatureCheck() 167 + " and " + package_name + ", match=" + match); in signatureCheck() 244 String package_name, String class_name, in addPackage() argument 263 } else if (!lastapp.packageName.equals(package_name) || in addPackage() 274 values.put("package_name", package_name); in addPackage() 282 + " " + package_name + "." + class_name in addPackage() 296 String package_name, String class_name, in updatePackage() argument 320 values.put("package_name", package_name); in updatePackage() 328 + package_name + "." + class_name in updatePackage() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IWapPushManager.aidl | 34 String package_name, String class_name, in addPackage() argument 42 String package_name, String class_name, in updatePackage() argument 50 String package_name, String class_name); in deletePackage() argument
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | LoadedArsc.h | 36 DynamicPackageEntry(std::string&& package_name, int package_id) in DynamicPackageEntry() argument 37 : package_name(std::move(package_name)), package_id(package_id) {} in DynamicPackageEntry() 39 std::string package_name; variable
|
/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/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 378 StringPiece package_name = attr_name.package; in ProcessStyleable() local 379 if (package_name.empty()) { in ProcessStyleable() 380 package_name = context_->GetCompilationPackage(); in ProcessStyleable() 394 << "{@link " << package_name << ".R.attr#" in ProcessStyleable() 405 StringPrintf("@attr name %s:%s", package_name.data(), attr_name.entry.data())); in ProcessStyleable() 479 Maybe<std::string> JavaClassGenerator::UnmangleResource(const StringPiece& package_name, in UnmangleResource() argument 491 if (package_name != unmangled_package) { in UnmangleResource() 495 } else if (package_name_to_generate != package_name) { in UnmangleResource()
|
D | JavaClassGenerator.h | 87 Maybe<std::string> UnmangleResource(const android::StringPiece& package_name,
|
/frameworks/base/libs/androidfw/ |
D | AssetManager2.cpp | 84 String16 package_name(entry.package_name.c_str(), entry.package_name.size()); in BuildDynamicRefTable() local 86 package_name, static_cast<uint8_t>(entry.package_id)); in BuildDynamicRefTable() 94 const std::string& package_name = iter->packages_[0]->GetPackageName(); in BuildDynamicRefTable() local 96 iter2->dynamic_ref_table.addMapping(String16(package_name.c_str(), package_name.size()), in BuildDynamicRefTable() 631 StringPiece package_name, type, entry; in GetResourceId() local 632 if (!ExtractResourceName(resource_name, &package_name, &type, &entry)) { in GetResourceId() 640 if (package_name.empty()) { in GetResourceId() 641 package_name = fallback_package; in GetResourceId() 663 if (package_name != package->GetPackageName()) { in GetResourceId()
|
D | LoadedArsc.cpp | 581 std::string package_name; in Load() local 583 arraysize(entry_iter->packageName), &package_name); in Load() 588 dtohl(entry_iter->packageId), package_name.c_str()); in Load() 592 loaded_package->dynamic_package_map_.emplace_back(std::move(package_name), in Load()
|
/frameworks/base/libs/hwui/service/ |
D | GraphicsStatsService.cpp | 159 LOG_ALWAYS_FATAL_IF(proto->package_name().empty() in dumpAsTextToFd() 161 proto->package_name().c_str(), proto->has_summary()); in dumpAsTextToFd() 162 dprintf(fd, "\nPackage: %s", proto->package_name().c_str()); in dumpAsTextToFd() 197 LOG_ALWAYS_FATAL_IF(statsProto.package_name().empty() in saveBuffer() 199 statsProto.package_name().c_str(), statsProto.has_summary()); in saveBuffer()
|
/frameworks/rs/ |
D | build_rs.py | 96 package_name = 'renderscript-' + build_name 98 install_dir = os.path.join(install_host_dir, package_name) 107 tarball_name = package_name + '-' + host 111 'tar', '-cjC', install_host_dir, '-f', package_path, package_name
|
D | update-prebuilts.py | 95 def package_name(build_number, host): function 105 filename = package_name(build_number, host)
|
/frameworks/base/tools/streaming_proto/ |
D | main.cpp | 333 string const package_name = make_java_package(file_descriptor); in write_file() local 339 if (package_name.size() > 0) { in write_file() 340 if (package_name.size() > 0) { in write_file() 341 text << "package " << package_name << ";" << endl; in write_file()
|
/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/tools/aapt2/unflatten/ |
D | BinaryResourceParser.cpp | 202 std::u16string package_name; in ParsePackage() local 203 package_name.resize(len); in ParsePackage() 205 package_name[i] = util::DeviceToHost16(package_header->name[i]); in ParsePackage() 209 util::Utf16ToUtf8(package_name), static_cast<uint8_t>(package_id)); in ParsePackage() 212 DiagMessage(source_) << "incompatible package '" << package_name in ParsePackage()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | GraphicsStatsServiceTests.cpp | 78 EXPECT_EQ(packageName, loadedProto.package_name()); in TEST() 134 EXPECT_EQ(packageName, loadedProto.package_name()); in TEST()
|
/frameworks/base/libs/androidfw/tests/ |
D | LoadedArsc_test.cpp | 123 EXPECT_EQ(std::string("com.android.lib_one"), dynamic_pkg_map[0].package_name); in TEST() 126 EXPECT_EQ(std::string("com.android.lib_two"), dynamic_pkg_map[1].package_name); in TEST()
|
/frameworks/rs/tests/lldb/tests/harness/ |
D | util_android.py | 410 def stop_app(self, package_name): argument 417 self._validate_string(package_name) 418 self.shell('am force-stop ' + package_name)
|
/frameworks/base/core/proto/android/content/ |
D | component_name.proto | 28 string package_name = 1; field
|
/frameworks/base/tools/aapt2/link/ |
D | TableMerger.cpp | 97 const StringPiece& package_name, in MergeAndMangle() argument 103 if (package_name != package->name) { in MergeAndMangle() 109 bool mangle = package_name != context_->GetCompilationPackage(); in MergeAndMangle()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.h | 40 ResourceTableBuilder& SetPackageId(const android::StringPiece& package_name, uint8_t id) { in SetPackageId() argument 41 ResourceTablePackage* package = table_->CreatePackage(package_name, id); in SetPackageId()
|
/frameworks/base/core/proto/android/service/ |
D | graphicsstats.proto | 31 string package_name = 1; field
|
D | diskstats.proto | 72 string package_name = 1; field
|
/frameworks/base/tools/aapt2/ |
D | Format.proto | 53 optional string package_name = 2; field
|