/frameworks/rs/ |
H A D | update-prebuilts.py | 95 def package_name(build_number, host): function 98 >>> package_name('1234', 'linux') 105 filename = package_name(build_number, host)
|
/frameworks/base/tools/streaming_proto/java/ |
H A D | main.cpp | 163 string const package_name = make_java_package(file_descriptor); local 169 if (package_name.size() > 0) { 170 if (package_name.size() > 0) { 171 text << "package " << package_name << ";" << endl;
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | LoadedArsc.h | 37 DynamicPackageEntry(std::string&& package_name, int package_id) argument 38 : package_name(std::move(package_name)), package_id(package_id) {} 40 std::string package_name; member in class:android::DynamicPackageEntry
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
H A D | WapPushManager.java | 83 + "package_name TEXT, " 128 new String[] {"install_order", "package_name", "class_name", 141 ret.packageName = cur.getString(cur.getColumnIndex("package_name")); 166 protected boolean signatureCheck(String package_name) { argument 168 int match = pm.checkSignatures(mContext.getPackageName(), package_name); 171 + " and " + package_name + ", match=" + match); 268 String package_name, String class_name, 287 } else if (!lastapp.packageName.equals(package_name) || 298 values.put("package_name", package_name); 267 addPackage(String x_app_id, String content_type, String package_name, String class_name, int app_type, boolean need_signature, boolean further_processing) argument 319 updatePackage(String x_app_id, String content_type, String package_name, String class_name, int app_type, boolean need_signature, boolean further_processing) argument 363 deletePackage(String x_app_id, String content_type, String package_name, String class_name) argument 416 verifyData(String x_app_id, String content_type, String package_name, String class_name, int app_type, boolean need_signature, boolean further_processing) argument 451 isDataExist(String x_app_id, String content_type, String package_name, String class_name) argument [all...] |
/frameworks/base/tools/aapt2/format/binary/ |
H A D | BinaryResourceParser.cpp | 180 std::u16string package_name; local 181 package_name.resize(len); 183 package_name[i] = util::DeviceToHost16(package_header->name[i]); 187 table_->CreatePackage(util::Utf16ToUtf8(package_name), static_cast<uint8_t>(package_id)); 190 << "incompatible package '" << package_name << "' with ID " << package_id);
|
/frameworks/base/tools/aapt2/link/ |
H A D | TableMerger.cpp | 67 bool TableMerger::MergeAndMangle(const Source& src, const StringPiece& package_name, argument 72 if (package_name != package->name) { 77 bool mangle = package_name != context_->GetCompilationPackage();
|
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.cpp | 309 const android::String16 package_name = table.getBasePackageName(i); local 313 if (StringPiece16(package_name) != package16) { 315 real_package16 = package_name.string();
|
/frameworks/base/libs/androidfw/ |
H A D | LoadedArsc.cpp | 538 std::string package_name; local 540 arraysize(entry_iter->packageName), &package_name); 545 dtohl(entry_iter->packageId), package_name.c_str()); 549 loaded_package->dynamic_package_map_.emplace_back(std::move(package_name),
|
H A D | AssetManager2.cpp | 116 String16 package_name(entry.package_name.c_str(), entry.package_name.size()); 118 package_name, static_cast<uint8_t>(entry.package_id)); 126 const std::string& package_name = iter->packages_[0].loaded_package_->GetPackageName(); local 128 iter2->dynamic_ref_table.addMapping(String16(package_name.c_str(), package_name.size()), 774 StringPiece package_name, type, entry; local 775 if (!ExtractResourceName(resource_name, &package_name, &type, &entry)) { 783 if (package_name [all...] |
/frameworks/base/tools/aapt2/java/ |
H A D | JavaClassGenerator.cpp | 373 StringPiece package_name = attr_name.package; local 374 if (package_name.empty()) { 375 package_name = context_->GetCompilationPackage(); 389 << "{@link " << package_name << ".R.attr#" 400 StringPrintf("@attr name %s:%s", package_name.data(), attr_name.entry.data())); 484 Maybe<std::string> JavaClassGenerator::UnmangleResource(const StringPiece& package_name, argument 500 } else if (package_name_to_generate != package_name) {
|
/frameworks/base/tools/aapt2/test/ |
H A D | Builders.cpp | 36 ResourceTableBuilder& ResourceTableBuilder::SetPackageId(const StringPiece& package_name, argument 38 ResourceTablePackage* package = table_->CreatePackage(package_name, id);
|
/frameworks/native/cmds/installd/tests/ |
H A D | installd_utils_test.cpp | 340 EXPECT_EQ(true, is_valid_package_name("really_LONG.a1234.package_name")); 422 static void pass_secondary_dex_validation(const std::string& package_name, argument 424 EXPECT_TRUE(validate_secondary_dex_path(package_name, dex_path, /*volume_uuid*/ nullptr, uid, 429 static void fail_secondary_dex_validation(const std::string& package_name, argument 431 EXPECT_FALSE(validate_secondary_dex_path(package_name, dex_path, /*volume_uuid*/ nullptr, uid, 437 std::string package_name = "com.test.app"; local 438 std::string app_dir_ce_user_0 = "/data/data/" + package_name; 439 std::string app_dir_ce_user_0_link = "/data/user/0/" + package_name; 440 std::string app_dir_ce_user_10 = "/data/user/10/" + package_name; 442 std::string app_dir_de_user_0 = "/data/user_de/0/" + package_name; [all...] |
H A D | installd_dexopt_test.cpp | 703 void createProfileSnapshot(int32_t appid, const std::string& package_name, argument 707 appid, package_name, kPrimaryProfile, apk_path_, &result); 744 void mergePackageProfiles(const std::string& package_name, argument 749 kTestAppUid, package_name, code_path, &result); 773 void preparePackageProfile(const std::string& package_name, const std::string& profile_name, argument 777 package_name, kTestUserId, kTestAppId, profile_name, apk_path_, 788 kTestUserId, package_name, profile_name, /*is_secondary_dex*/ false); 789 std::string code_path_ref_profile = create_reference_profile_path(package_name,
|
/frameworks/native/cmds/installd/ |
H A D | utils.cpp | 65 static void check_package_name(const char* package_name) { argument 66 CHECK(is_valid_filename(package_name)); 67 CHECK(is_valid_package_name(package_name)); 76 const char* package_name) { 77 check_package_name(package_name); 79 create_data_app_path(volume_uuid).c_str(), package_name); 88 userid_t user, const char* package_name) { 89 check_package_name(package_name); 91 create_data_user_ce_path(volume_uuid, user).c_str(), package_name); 102 const char* volume_uuid, userid_t userid, const char* package_name) { 75 create_data_app_package_path(const char* volume_uuid, const char* package_name) argument 87 create_data_user_ce_package_path(const char* volume_uuid, userid_t user, const char* package_name) argument 101 create_data_user_ce_package_path_as_user_link( const char* volume_uuid, userid_t userid, const char* package_name) argument 108 create_data_user_ce_package_path(const char* volume_uuid, userid_t user, const char* package_name, ino_t ce_data_inode) argument 143 create_data_user_de_package_path(const char* volume_uuid, userid_t user, const char* package_name) argument 201 create_data_media_obb_path(const char* volume_uuid, const char* package_name) argument 205 create_data_media_package_path(const char* volume_uuid, userid_t userid, const char* data_type, const char* package_name) argument 219 create_primary_current_profile_package_dir_path(userid_t user, const std::string& package_name) argument 230 create_primary_reference_profile_package_dir_path(const std::string& package_name) argument 262 create_current_profile_path(userid_t user, const std::string& package_name, const std::string& location, bool is_secondary_dex) argument 281 create_reference_profile_path(const std::string& package_name, const std::string& location, bool is_secondary_dex) argument [all...] |
H A D | InstalldNativeService.cpp | 819 const char* package_name = packageName.c_str(); local 859 auto from_ce = create_data_user_ce_package_path(from_uuid, user, package_name); 883 auto from = create_data_user_de_package_path(from_uuid, user, package_name); 896 auto from = create_data_user_ce_package_path(from_uuid, user, package_name); 931 auto to = create_data_user_de_package_path(to_uuid, user, package_name); 937 auto to = create_data_user_ce_package_path(to_uuid, user, package_name);
|
H A D | dexopt.cpp | 146 static bool clear_reference_profile(const std::string& package_name, const std::string& location, argument 148 return clear_profile(create_reference_profile_path(package_name, location, is_secondary_dex)); 153 static bool clear_current_profile(const std::string& package_name, const std::string& location, argument 155 return clear_profile(create_current_profile_path(user, package_name, location, 161 bool clear_primary_reference_profile(const std::string& package_name, argument 163 return clear_reference_profile(package_name, location, /*is_secondary_dex*/false); 168 bool clear_primary_current_profiles(const std::string& package_name, const std::string& location) { argument 173 success &= clear_current_profile(package_name, location, user, /*is_secondary_dex*/false); 179 bool clear_primary_current_profile(const std::string& package_name, const std::string& location, argument 181 return clear_current_profile(package_name, locatio 670 open_current_profile(uid_t uid, userid_t user, const std::string& package_name, const std::string& location, bool is_secondary_dex) argument 677 open_reference_profile(uid_t uid, const std::string& package_name, const std::string& location, bool read_write, bool is_secondary_dex) argument 683 open_spnashot_profile(uid_t uid, const std::string& package_name, const std::string& location) argument 689 open_profile_files(uid_t uid, const std::string& package_name, const std::string& location, bool is_secondary_dex, std::vector<unique_fd>* profiles_fd, unique_fd* reference_profile_fd) argument 832 analyze_profiles(uid_t uid, const std::string& package_name, const std::string& location, bool is_secondary_dex) argument 916 analyze_primary_profiles(uid_t uid, const std::string& package_name, const std::string& profile_name) argument 1010 copy_system_profile(const std::string& system_profile, uid_t packageUid, const std::string& package_name, const std::string& profile_name) argument 2637 create_app_profile_snapshot(int32_t app_id, const std::string& package_name, const std::string& profile_name, const std::string& classpath) argument 2683 create_boot_image_profile_snapshot(const std::string& package_name, const std::string& profile_name, const std::string& classpath) argument 2764 create_profile_snapshot(int32_t app_id, const std::string& package_name, const std::string& profile_name, const std::string& classpath) argument 2773 prepare_app_profile(const std::string& package_name, userid_t user_id, appid_t app_id, const std::string& profile_name, const std::string& code_path, const std::unique_ptr<std::string>& dex_metadata) argument [all...] |
/frameworks/base/tools/aapt2/cmd/ |
H A D | Link.cpp | 170 void SetCompilationPackage(const StringPiece& package_name) { argument 171 compilation_package_ = package_name.to_string();
|