/system/update_engine/ |
D | boot_control_chromeos_unittest.cc | 73 string id, package; in TEST_F() local 75 EXPECT_TRUE(bootctl_.ParseDlcPartitionName("dlc/id/package", &id, &package)); in TEST_F() 77 EXPECT_EQ(package, "package"); in TEST_F() 80 bootctl_.ParseDlcPartitionName("dlc-foo/id/package", &id, &package)); in TEST_F() 82 bootctl_.ParseDlcPartitionName("dlc-foo/id/package/", &id, &package)); in TEST_F() 83 EXPECT_FALSE(bootctl_.ParseDlcPartitionName("dlc/id", &id, &package)); in TEST_F() 84 EXPECT_FALSE(bootctl_.ParseDlcPartitionName("dlc/id/", &id, &package)); in TEST_F() 85 EXPECT_FALSE(bootctl_.ParseDlcPartitionName("dlc//package", &id, &package)); in TEST_F() 86 EXPECT_FALSE(bootctl_.ParseDlcPartitionName("dlc", &id, &package)); in TEST_F() 87 EXPECT_FALSE(bootctl_.ParseDlcPartitionName("foo", &id, &package)); in TEST_F()
|
D | omaha_response_handler_action.cc | 95 for (const auto& package : response.packages) { in PerformAction() local 97 if (!base::HexStringToBytes(package.hash, &raw_hash)) { in PerformAction() 99 << package.hash; in PerformAction() 104 {.payload_urls = package.payload_urls, in PerformAction() 105 .size = package.size, in PerformAction() 106 .metadata_size = package.metadata_size, in PerformAction() 107 .metadata_signature = package.metadata_signature, in PerformAction() 109 .type = package.is_delta ? InstallPayloadType::kDelta in PerformAction() 111 update_check_response_hash += package.hash + ":"; in PerformAction()
|
/system/tools/hidl/test/error_test/ |
D | hidl_error_test.sh | 17 package=$(basename $dir) 18 output=$($HIDL_GEN_PATH -L check -r test:$HIDL_ERROR_TEST_DIR test.$package@1.0 2>&1) 20 error=$(cat $HIDL_ERROR_TEST_DIR/$package/1.0/required_error) 23 echo "error: No required error message specified for $package." 29 echo "error: $package test finished with code $command_fails, but expected 1" 34 echo "error: error output for $package does not contain '$error':"
|
/system/tools/hidl/c2hal/ |
D | main.cpp | 52 auto package = val.substr(0, index); in addPackageRootToMap() local 55 packageRootPaths[package] = path; in addPackageRootToMap() 74 const std::string &package, in applyPackageRootPath() argument 77 auto index = package.find_first_of('@'); in applyPackageRootPath() 80 auto packagePath = package.substr(0, index); in applyPackageRootPath() 81 auto packageVersion = package.substr(index + 1); in applyPackageRootPath() 102 CHECK(!outputPath.empty()) << "No package root path provided for: " << package; in applyPackageRootPath() 116 std::string package; in main() local 129 package = optarg; in main() 165 applyPackageRootPath(packageRootPaths, package, outputDir); in main() [all …]
|
/system/libvintf/include/vintf/ |
D | HalGroup.h | 91 bool forEachInstanceOfPackage(HalFormat format, const std::string& package, in forEachInstanceOfPackage() 93 for (const auto* hal : getHals(package)) { in forEachInstanceOfPackage() 103 bool forEachHidlInstanceOfPackage(const std::string& package, in forEachHidlInstanceOfPackage() 105 return forEachInstanceOfPackage(HalFormat::HIDL, package, func); in forEachHidlInstanceOfPackage() 114 HalFormat format, const std::string& package, const Version& expectVersion, 121 bool forEachInstanceOfInterface(HalFormat format, const std::string& package, in forEachInstanceOfInterface() 124 return forEachInstanceOfVersion(format, package, expectVersion, in forEachInstanceOfInterface() 138 const std::string& package, const Version& expectVersion, in forEachHidlInstanceOfVersion() 140 return forEachInstanceOfVersion(HalFormat::HIDL, package, expectVersion, func); in forEachHidlInstanceOfVersion() 147 const std::string& package, const Version& expectVersion, const std::string& interface, in forEachHidlInstanceOfInterface() [all …]
|
D | HalManifest.h | 125 std::set<std::string> getHidlInstances(const std::string& package, const Version& version, 127 std::set<std::string> getAidlInstances(const std::string& package, 131 bool hasHidlInstance(const std::string& package, const Version& version, 135 bool hasAidlInstance(const std::string& package, const std::string& interfaceName, 154 HalFormat format, const std::string& package, const Version& expectVersion, 193 std::set<std::string> getInstances(HalFormat format, const std::string& package, 198 bool hasInstance(HalFormat format, const std::string& package, const Version& version,
|
/system/libhidl/base/ |
D | HidlInternal.cpp | 60 HidlInstrumentor::HidlInstrumentor(const std::string& package, const std::string& interface) in HidlInstrumentor() argument 62 mInstrumentationLibPackage(package), in HidlInstrumentor() 175 std::string package = mInstrumentationLibPackage; in registerInstrumentationCallbacks() local 176 for (size_t i = 0; i < package.size(); i++) { in registerInstrumentationCallbacks() 177 if (package[i] == '.') { in registerInstrumentationCallbacks() 178 package[i] = '_'; in registerInstrumentationCallbacks() 182 if (package[i] == '@') { in registerInstrumentationCallbacks() 183 package[i] = '_'; in registerInstrumentationCallbacks() 184 package.insert(i + 1, "V"); in registerInstrumentationCallbacks() 189 + package + "_" + mInterfaceName).c_str()); in registerInstrumentationCallbacks() [all …]
|
/system/core/libutils/ |
D | README | 30 package or any associated overlay package. Any redirection is completely 36 * overlay package, matching config (eg res/values-en-land) 38 * original package, matching config 40 * overlay package, no config (eg res/values) 42 * original package, no config 82 * pp: corresponds to the package namespace (details below). 85 resource of the same type within the same package has the same 116 ResourceTypes.cpp supports package IDs between 0x01 and 0x7f 124 mPackageMap[0x00] -> system package 129 mPackageMap[0x7f - 1] -> application package [all …]
|
/system/apex/apexd/ |
D | apex_database.h | 118 inline void AddMountedApex(const std::string& package, bool latest, in AddMountedApex() argument 120 auto it = mounted_apexes_.find(package); in AddMountedApex() 123 mounted_apexes_.emplace(package, std::map<MountedApexData, bool>()); in AddMountedApex() 136 inline void RemoveMountedApex(const std::string& package, in RemoveMountedApex() argument 138 auto it = mounted_apexes_.find(package); in RemoveMountedApex() 153 inline void SetLatest(const std::string& package, in SetLatest() argument 155 auto it = mounted_apexes_.find(package); in SetLatest() 173 LOG(FATAL) << "Did not find " << package << " " << full_path; in SetLatest() 176 inline void UnsetLatestForall(const std::string& package) { in UnsetLatestForall() argument 177 auto it = mounted_apexes_.find(package); in UnsetLatestForall() [all …]
|
D | apexservice.cpp | 177 for (const auto& package : *packages) { in submitStagedSession() 179 out.moduleName = package.GetManifest().name(); in submitStagedSession() 180 out.modulePath = package.GetPath(); in submitStagedSession() 181 out.versionCode = package.GetManifest().version(); in submitStagedSession() 269 static ApexInfo getApexInfo(const ApexFile& package) { in getApexInfo() argument 271 out.moduleName = package.GetManifest().name(); in getApexInfo() 272 out.modulePath = package.GetPath(); in getApexInfo() 273 out.versionCode = package.GetManifest().version(); in getApexInfo() 274 out.versionName = package.GetManifest().versionname(); in getApexInfo() 275 out.isFactory = package.IsBuiltin(); in getApexInfo() [all …]
|
/system/tools/hidl/lint/lints/ |
D | importTypes.cpp | 30 if (fqName.package() == ast.package().package() && in importTypes() 31 fqName.version() == ast.package().version()) { in importTypes()
|
/system/tools/aidl/tests/ |
D | fake_io_delegate.cpp | 105 string package, class_name, rel_path; in AddStubParcelable() local 106 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); in AddStubParcelable() 110 package.c_str(), class_name.c_str()); in AddStubParcelable() 113 package.c_str(), class_name.c_str(), in AddStubParcelable() 120 string package, class_name, rel_path; in AddStubInterface() local 121 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); in AddStubInterface() 123 package.c_str(), class_name.c_str()); in AddStubInterface() 129 string package, class_name, rel_path; in AddCompoundParcelable() local 130 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); in AddCompoundParcelable() 131 string contents = StringPrintf("package %s;\n", package.c_str()); in AddCompoundParcelable()
|
/system/libvintf/ |
D | MatrixInstance.cpp | 53 const std::string& MatrixInstance::package() const { in package() function in android::vintf::MatrixInstance 74 return package() == provided.getPackage() && in isSatisfiedBy() 109 return toFQNameString(package(), replaceVersion, interface()); in interfaceDescription() 112 return toAidlFqnameString(package(), interface()); in interfaceDescription() 123 return toFQNameString(package(), replaceVersion, interface(), instanceDescription); in description() 126 return toAidlFqnameString(package(), interface(), instanceDescription); in description()
|
D | HalManifest.cpp | 175 names.insert(toFQNameString(e.package(), e.version())); in getHalNamesAndVersions() 178 names.insert(e.package()); in getHalNamesAndVersions() 186 Transport HalManifest::getHidlTransport(const std::string& package, const Version& v, in getHidlTransport() argument 190 forEachInstanceOfInterface(HalFormat::HIDL, package, v, interfaceName, [&](const auto& e) { in getHidlTransport() 198 << toFQNameString(package, v, interfaceName, instanceName); in getHidlTransport() 204 HalFormat format, const std::string& package, const Version& expectVersion, in forEachInstanceOfVersion() argument 206 for (const ManifestHal* hal : getHals(package)) { in forEachInstanceOfVersion() 283 if (mat.matchInstance(manifestInstance.format(), manifestInstance.package(), in checkUnusedHals() 299 if (mat.matchInstance(manifestInstance.format(), fqName.package(), in checkUnusedHals() 441 .name = e.package(), in generateCompatibleMatrix() [all …]
|
/system/tools/hidl/ |
D | Coordinator.cpp | 86 FQName package = FQName(root, "0.0", ""); in addPackagePath() local 88 if (packageRoot.root.inPackage(root) || package.inPackage(packageRoot.root.package())) { in addPackagePath() 91 packageRoot.root.package() + in addPackagePath() 100 mPackageRoots.push_back({path, package}); in addPackagePath() 282 if ((*ast)->package().package() != fqName.package() || in parseOptional() 283 (*ast)->package().version() != fqName.version()) { in parseOptional() 353 CHECK(!fqName.package().empty()) << fqName.string(); in findPackageRoot() 364 if (!fqName.inPackage(it->root.package())) { in findPackageRoot() 370 << it->root.package() << " and " << ret->root.package() << ")\n"; in findPackageRoot() 402 *root = packageRoot->root.package(); in getPackageRoot() [all …]
|
D | update-makefiles-helper.sh | 109 local package="$3" 110 echo "Updating $package" 111 hidl-gen -O "$owner" -Landroidbp $root_arguments $package || { 112 echo "Command failed: hidl-gen -O \"$owner\" -Landroidbp $root_arguments $package";
|
/system/tools/hidl/utils/ |
D | FQName.cpp | 33 FQName::FQName(const std::string& package, const std::string& version, const std::string& name, in FQName() argument 37 CHECK(setTo(package, majorVer, minorVer, name, valueName)) << string(); in FQName() 40 bool FQName::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() argument 42 mPackage = package; in setTo() 142 StartEnd package, major, minor, name, type; in setTo() local 145 package.start = l; in setTo() 146 if ((package.end = l = eatPackage(l, end)) == nullptr) return false; in setTo() 181 name.start = package.start; in setTo() 182 name.end = package.end; in setTo() 183 package.start = package.end = nullptr; in setTo() [all …]
|
D | FqInstance.cpp | 26 return mFqName.package(); in getPackage() 108 bool FqInstance::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() argument 110 if (!mFqName.setTo(package, majorVer, minorVer, interface)) return false; in setTo() 142 bool FqInstance::inPackage(const std::string& package) const { in inPackage() 143 return mFqName.inPackage(package); in inPackage()
|
/system/libvintf/libaidlvintf_test_helper/ |
D | Vintf.cpp | 27 const std::string package = descriptor.substr(0, lastDot); in getAidlHalInstanceNames() local 33 for (const std::string& instance : deviceManifest->getAidlInstances(package, iface)) { in getAidlHalInstanceNames() 38 for (const std::string& instance : frameworkManifest->getAidlInstances(package, iface)) { in getAidlHalInstanceNames()
|
/system/libhidl/adapter/include/hidladapter/ |
D | HidlBinderAdapter.h | 34 int adapterMain(const std::string& package, int argc, char** argv, const AdaptersFactory& adapters); 42 int adapterMain(const std::string& package, int argc, char** argv) { in adapterMain() argument 44 package, argc, argv, in adapterMain()
|
/system/tools/hidl/test/version_test/bad4/version/2.3/ |
D | IBaz.hal | 17 package test.version.version@2.3; 21 // ERROR: no interface from the previous package is in this package
|
/system/core/libpackagelistparser/ |
D | packagelistparser_test.cpp | 89 for (auto& package : packages) packagelist_free(package); in TEST() local 115 for (auto& package : packages) packagelist_free(package); in TEST() local
|
/system/tools/hidl/scripts/ |
D | hal-queries.sh | 43 local package="$2" 46 | sed "s,^,$package.,g" \ 72 local package="$2" 77 comm -3 <(all-interfaces "$package_root" "$package") <(current-interfaces "$package_root")
|
/system/security/keystore/ |
D | KeyAttestationApplicationId.cpp | 29 std::unique_ptr<KeyAttestationPackageInfo> package) : in KeyAttestationApplicationId() argument 31 packageInfos_->push_back(std::move(package)); in KeyAttestationApplicationId()
|
/system/tools/hidl/utils/include/hidl-util/ |
D | FQName.h | 31 FQName(const std::string& package, const std::string& version, const std::string& name = "", 40 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer, 48 const std::string& package() const; 219 bool inPackage(const std::string &package) const;
|