Home
last modified time | relevance | path

Searched refs:packages (Results 1 – 25 of 83) sorted by relevance

1234

/system/core/libpackagelistparser/
Dpackagelistparser_test.cpp39 std::vector<pkg_info*> packages; in TEST() local
46 &packages); in TEST()
48 ASSERT_EQ(4U, packages.size()); in TEST()
50 ASSERT_STREQ("com.test.a0", packages[0]->name); in TEST()
51 ASSERT_EQ(10014, packages[0]->uid); in TEST()
52 ASSERT_FALSE(packages[0]->debuggable); in TEST()
53 ASSERT_STREQ("/data/user/0/com.test.a0", packages[0]->data_dir); in TEST()
54 ASSERT_STREQ("platform:privapp:targetSdkVersion=19", packages[0]->seinfo); in TEST()
55 ASSERT_EQ(0U, packages[0]->gids.cnt); in TEST()
56 ASSERT_FALSE(packages[0]->profileable_from_shell); in TEST()
[all …]
/system/update_engine/
Domaha_response_handler_action_unittest.cc133 for (const auto& package : in.packages) in DoTest()
148 string current_url = in.packages.size() ? in.packages[0].payload_urls[0] : ""; in DoTest()
184 in.packages.push_back( in TEST_F()
193 EXPECT_EQ(in.packages[0].payload_urls[0], install_plan.download_url); in TEST_F()
210 in.packages.push_back( in TEST_F()
220 EXPECT_EQ(in.packages[0].payload_urls[0], install_plan.download_url); in TEST_F()
232 in.packages.push_back( in TEST_F()
245 EXPECT_EQ(in.packages[0].payload_urls[0], install_plan.download_url); in TEST_F()
257 in.packages.push_back( in TEST_F()
268 EXPECT_EQ(in.packages[0].payload_urls[0], install_plan.download_url); in TEST_F()
[all …]
Domaha_request_action_unittest.cc651 response.packages[0].payload_urls[0]); in TEST_F()
653 EXPECT_EQ(fake_update_response_.hash, response.packages[0].hash); in TEST_F()
654 EXPECT_EQ(fake_update_response_.size, response.packages[0].size); in TEST_F()
655 EXPECT_EQ(true, response.packages[0].is_delta); in TEST_F()
681 response.packages[0].payload_urls[0]); in TEST_F()
683 response.packages[1].payload_urls[0]); in TEST_F()
684 EXPECT_EQ(fake_update_response_.hash, response.packages[0].hash); in TEST_F()
685 EXPECT_EQ(fake_update_response_.size, response.packages[0].size); in TEST_F()
686 EXPECT_EQ(true, response.packages[0].is_delta); in TEST_F()
687 EXPECT_EQ(11u, response.packages[0].metadata_size); in TEST_F()
[all …]
/system/iorap/src/binder/
Dpackage_manager_remote.cc69 std::optional<std::vector<std::string>> packages = GetAllPackages(); in GetPackageVersionMap() local
70 if (!packages) { in GetPackageVersionMap()
75 << packages->size() in GetPackageVersionMap()
78 for (const std::string& package : *packages) { in GetPackageVersionMap()
92 std::vector<std::string> packages; in GetAllPackages() local
94 [this, &packages]() { in GetAllPackages()
95 return package_service_->getAllPackages(/*out*/&packages); in GetAllPackages()
99 return packages; in GetAllPackages()
/system/iorap/src/db/
Dclean_up.cc88 std::vector<db::PackageModel> packages = db::PackageModel::SelectAll(db); in CleanUpFilesForDb() local
89 for (db::PackageModel package : packages) { in CleanUpFilesForDb()
104 std::vector<PackageModel> packages = PackageModel::SelectByName(db, package_name.c_str());; in CleanUpFilesForPackage() local
106 for (PackageModel& package : packages) { in CleanUpFilesForPackage()
110 if (packages.empty()) { in CleanUpFilesForPackage()
/system/core/libutils/
DREADME26 Overlay packages are special .apk files which provide no code but
28 resources in other packages. When an application requests resources,
44 During compilation, overlay packages are differentiated from regular
45 packages by passing the -o flag to aapt.
58 certificates and resources, though packages containing resources but
87 value may be different between packages.
138 Technically, this is achieved by adding resource-only packages (called
139 overlay packages) to existing resource namespaces, like so:
150 configuration/value pairs. Any number of overlay packages may be loaded
151 at a time; overlay packages are agnostic to what they target -- both
[all …]
/system/security/keystore/
DKeyAttestationApplicationId.cpp34 KeyAttestationApplicationId::KeyAttestationApplicationId(PackageInfoVector packages) in KeyAttestationApplicationId() argument
35 : packageInfos_(std::make_shared<PackageInfoVector>(std::move(packages))) {} in KeyAttestationApplicationId()
/system/iorap/src/maintenance/
Ddb_cleaner.cc39 std::vector<db::PackageModel> packages = db::PackageModel::SelectAll(db); in CleanUpDatabase() local
45 for (db::PackageModel package : packages) { in CleanUpDatabase()
Dcontroller.cc408 std::vector<db::PackageModel> packages = db::PackageModel::SelectAll(db); in CompileAppsOnDevice() local
410 for (db::PackageModel package : packages) { in CompileAppsOnDevice()
428 std::vector<db::PackageModel> packages = db::PackageModel::SelectByName(db, package_name.c_str()); in CompileSingleAppOnDevice() local
430 for (db::PackageModel package : packages) { in CompileSingleAppOnDevice()
585 std::vector<db::PackageModel> packages = db::PackageModel::SelectAll(db); in DumpAllPackages() local
586 for (db::PackageModel package : packages) { in DumpAllPackages()
/system/security/keystore/tests/
Daaid_truncation_test.cpp128 KeyAttestationApplicationId::PackageInfoVector packages; in TEST() local
136 packages.push_back( in TEST()
140 KeyAttestationApplicationId app_id(std::move(packages)); in TEST()
/system/tools/hidl/
Dupdate-makefiles-helper.sh103 local packages=$(get_packages $current_dir $current_package) || return 1
118 echo "$packages" |\
/system/sepolicy/prebuilts/api/29.0/private/
Dotapreopt_chroot.te11 # APEX packages in /postinstall/apex.
17 # This is required to unmount flattened APEX packages under
66 # Allow otapreopt_chroot to mount APEX packages in /postinstall/apex.
70 # devices used by ext4 images from APEX packages).
Dkernel.te6 # /postinstall, as it uses apexd logic to mount APEX packages in /postinstall/apex.
/system/sepolicy/private/
Dotapreopt_chroot.te11 # APEX packages in /postinstall/apex.
17 # This is required to unmount flattened APEX packages under
66 # Allow otapreopt_chroot to mount APEX packages in /postinstall/apex.
70 # devices used by ext4 images from APEX packages).
Dkernel.te6 # /postinstall, as it uses apexd logic to mount APEX packages in /postinstall/apex.
/system/sepolicy/prebuilts/api/30.0/private/
Dotapreopt_chroot.te11 # APEX packages in /postinstall/apex.
17 # This is required to unmount flattened APEX packages under
66 # Allow otapreopt_chroot to mount APEX packages in /postinstall/apex.
70 # devices used by ext4 images from APEX packages).
Dkernel.te6 # /postinstall, as it uses apexd logic to mount APEX packages in /postinstall/apex.
/system/tools/aidl/
Daidl_to_cpp_common.cpp73 const std::vector<std::string> packages = defined_type.GetSplitPackage(); in EnterNamespace() local
74 for (const std::string& package : packages) { in EnterNamespace()
79 const std::vector<std::string> packages = defined_type.GetSplitPackage(); in LeaveNamespace() local
80 for (auto it = packages.rbegin(); it != packages.rend(); ++it) { in LeaveNamespace()
/system/tools/hidl/scripts/
Dhal-queries.sh119 function aosp-released-packages() {
129 aosp-released-packages | hidl-gen-output "$outputDir"
/system/netd/
DTEST_MAPPING18 { "path": "packages/modules/DnsResolver" }
/system/sepolicy/prebuilts/api/29.0/public/
Dapexd.te1 # apexd -- manager for APEX packages
/system/sepolicy/prebuilts/api/30.0/public/
Dapexd.te1 # apexd -- manager for APEX packages
/system/sepolicy/public/
Dapexd.te1 # apexd -- manager for APEX packages
/system/security/keystore/include/keystore/
DKeyAttestationApplicationId.h37 explicit KeyAttestationApplicationId(PackageInfoVector packages);
/system/netd/server/
Dnetd.rc11 # packages are ready.

1234