Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 568) sorted by relevance

12345678910>>...23

/system/tools/hidl/test/version_test/
DAndroid.bp7 " -r test.version:system/tools/hidl/test/version_test/good" +
8 " test.version.version@1.0" +
9 " test.version.version@2.2" +
10 " test.version.version@2.3" +
11 " test.version.version@2.4" +
12 " test.version.version@2.5" +
13 " test.version.version@3.0" +
14 " test.version.version@3.1" +
17 " -r test.version:system/tools/hidl/test/version_test/bad1" +
18 " test.version.version@2.3 2>&1 | grep \"Cannot enforce minor version\" > /dev/null)" +
[all …]
/system/sepolicy/
Dtreble_sepolicy_tests_for_release.mk1 version := $(version_under_treble_tests)
7 LOCAL_MODULE := treble_sepolicy_tests_$(version)
17 $(version)_PLAT_PUBLIC_POLICY := $(LOCAL_PATH)/prebuilts/api/$(version)/public
18 $(version)_PLAT_PRIVATE_POLICY := $(LOCAL_PATH)/prebuilts/api/$(version)/private
19 …es := $(call build_policy, $(sepolicy_build_files), $($(version)_PLAT_PUBLIC_POLICY) $($(version)_…
20 $(version)_plat_policy.conf := $(intermediates)/$(version)_plat_policy.conf
21 $($(version)_plat_policy.conf): PRIVATE_MLS_SENS := $(MLS_SENS)
22 $($(version)_plat_policy.conf): PRIVATE_MLS_CATS := $(MLS_CATS)
23 $($(version)_plat_policy.conf): PRIVATE_TARGET_BUILD_VARIANT := user
24 $($(version)_plat_policy.conf): PRIVATE_TGT_ARCH := $(my_target_arch)
[all …]
Dcompat.mk1 version := $(version_under_treble_tests)
7 LOCAL_MODULE := $(version)_compat_test
8 LOCAL_REQUIRED_MODULES := $(version).compat.cil
19 $(ALL_MODULES.$(version).compat.cil.BUILT) \
47 version :=
/system/libvintf/include/vintf/
DVendorNdk.h29 VendorNdk(std::string&& version) : mVersion(std::move(version)) {} in VendorNdk() argument
30 VendorNdk(std::string&& version, std::set<std::string>&& libs) in VendorNdk() argument
31 : mVersion(std::move(version)), mLibraries(std::move(libs)) {} in VendorNdk()
32 VendorNdk(const std::string& version) : mVersion(version) {} in VendorNdk() argument
33 VendorNdk(const std::string& version, const std::set<std::string>& libs) in VendorNdk() argument
34 : mVersion(version), mLibraries(libs) {} in VendorNdk()
35 bool operator==(const VendorNdk& other) const { return version() == other.version(); }
36 const std::string& version() const { return mVersion; } in version() function
DVersion.h73 version(v), majorRev(mj), minorRev(mi) {} in KernelVersion()
75 size_t version; member
80 return version == other.version
89 if (version < other.version) return true;
90 if (version > other.version) return false;
96 inline constexpr Version dropMinor() const { return Version{version, majorRev}; } in dropMinor()
/system/chre/chre_api/legacy/v1_1/chre/
Dversion.h91 #define CHRE_EXTRACT_MAJOR_VERSION(version) \ argument
92 (((version) & UINT32_C(0xFF000000)) >> 24)
102 #define CHRE_EXTRACT_MINOR_VERSION(version) \ argument
103 (((version) & UINT32_C(0x00FF0000)) >> 16)
115 #define CHRE_EXTRACT_PATCH_VERSION(version) ((version) & UINT32_C(0xFFFF)) argument
/system/chre/chre_api/legacy/v1_2/chre/
Dversion.h101 #define CHRE_EXTRACT_MAJOR_VERSION(version) \ argument
102 (((version) & UINT32_C(0xFF000000)) >> 24)
112 #define CHRE_EXTRACT_MINOR_VERSION(version) \ argument
113 (((version) & UINT32_C(0x00FF0000)) >> 16)
125 #define CHRE_EXTRACT_PATCH_VERSION(version) ((version) & UINT32_C(0xFFFF)) argument
/system/chre/chre_api/include/chre_api/chre/
Dversion.h113 #define CHRE_EXTRACT_MAJOR_VERSION(version) \ argument
114 (((version) & UINT32_C(0xFF000000)) >> 24)
124 #define CHRE_EXTRACT_MINOR_VERSION(version) \ argument
125 (((version) & UINT32_C(0x00FF0000)) >> 16)
137 #define CHRE_EXTRACT_PATCH_VERSION(version) ((version) & UINT32_C(0xFFFF)) argument
/system/tools/hidl/hidl2aidl/
DAidlNamedType.cpp28 std::pair<size_t, size_t> version; member
74 std::pair<size_t, size_t> version = compoundType.fqName().hasVersion() in processCompoundType()
92 if (version.first > it->version.first || in processCompoundType()
93 (version.first == it->version.first && version.second > it->version.second)) { in processCompoundType()
95 << "Keeping " << field->get()->typeName() << " from " << version.first in processCompoundType()
96 << "." << version.second << " and discarding " in processCompoundType()
97 << (it->field)->get()->typeName() << " from " << it->version.first in processCompoundType()
98 << "." << it->version.second << ".\n"; in processCompoundType()
101 it->version = version; in processCompoundType()
105 << it->version.first << "." << it->version.second << " and discarding " in processCompoundType()
[all …]
/system/extras/libfscrypt/tests/
Dfscrypt_test.cpp62 EXPECT_EQ(1, options.version); in TEST()
70 EXPECT_EQ(2, options.version); in TEST()
81 EXPECT_EQ(1, options.version); in TEST()
88 EXPECT_EQ(1, options.version); in TEST()
95 EXPECT_EQ(2, options.version); in TEST()
102 EXPECT_EQ(1, options.version); in TEST()
111 EXPECT_EQ(1, options.version); in TEST()
119 EXPECT_EQ(1, options.version); in TEST()
126 EXPECT_EQ(1, options.version); in TEST()
133 EXPECT_EQ(2, options.version); in TEST()
[all …]
/system/extras/tests/crypto/
Dget_dm_versions.c16 io->version[0] = 4; in ioctl_init()
17 io->version[1] = 0; in ioctl_init()
18 io->version[2] = 0; in ioctl_init()
50 printf("%s: %d.%d.%d\n", v->name, v->version[0], v->version[1], v->version[2]); in main()
/system/update_engine/
Domaha_response_handler_action_unittest.cc132 if (in.update_exists && in.version != kBadVersion) { in DoTest()
184 in.version = "a.b.c.d"; in TEST_F()
205 EXPECT_EQ(in.version, install_plan.version); in TEST_F()
210 in.version = "a.b.c.d"; in TEST_F()
227 EXPECT_EQ(in.version, install_plan.version); in TEST_F()
232 in.version = "a.b.c.d"; in TEST_F()
252 EXPECT_EQ(in.version, install_plan.version); in TEST_F()
257 in.version = "a.b.c.d"; in TEST_F()
275 EXPECT_EQ(in.version, install_plan.version); in TEST_F()
290 in.version = "a.b.c.d"; in TEST_F()
[all …]
Domaha_response_handler_action.cc77 install_plan_.version = response.version; in PerformAction()
195 base::Version new_version(response.version); in PerformAction()
201 << " Update's version number: " << response.version; in PerformAction()
254 OmahaResponse::RollbackKeyVersion version = in PerformAction() local
258 max_firmware_rollforward = static_cast<uint32_t>(version.firmware_key) in PerformAction()
260 static_cast<uint32_t>(version.firmware); in PerformAction()
261 max_kernel_rollforward = static_cast<uint32_t>(version.kernel_key) << 16 | in PerformAction()
262 static_cast<uint32_t>(version.kernel); in PerformAction()
/system/netd/server/
DXfrmControllerTest.cpp203 const int version; member
222 switch (info.param.version) { in TestNameGenerator()
233 name += android::base::StringPrintf("UNKNOWN family type: %d", info.param.version); in TestNameGenerator()
257 const int version = params.version; in TEST_P() local
258 const int family = (version == 6) ? AF_INET6 : AF_INET; in TEST_P()
259 const std::string localAddr = (version == 6) ? LOCALHOST_V6 : LOCALHOST_V4; in TEST_P()
260 const std::string remoteAddr = (version == 6) ? TEST_ADDR_V6 : TEST_ADDR_V4; in TEST_P()
315 const int version = params.version; in testIpSecAddSecurityAssociation() local
316 const int family = (version == 6) ? AF_INET6 : AF_INET; in testIpSecAddSecurityAssociation()
317 const std::string localAddr = (version == 6) ? LOCALHOST_V6 : LOCALHOST_V4; in testIpSecAddSecurityAssociation()
[all …]
/system/timezone/testing/data/
Dcreate-test-data.sh34 mkdir -p ${TEST_DIR}/output_data/version
43 -output_version_file ${TEST_DIR}/output_data/version/tz_version
54 mkdir -p ${TEST_DIR}/output_data/version
63 -output_version_file ${TEST_DIR}/output_data/version/tz_version
79 mkdir -p ${TEST_DIR}/output_data/version
88 -output_version_file ${TEST_DIR}/output_data/version/tz_version
/system/update_engine/payload_generator/
Dab_generator.h64 static bool FragmentOperations(const PayloadVersion& version,
91 static bool SplitAReplaceOp(const PayloadVersion& version,
107 const PayloadVersion& version,
126 const PayloadVersion& version,
Ddelta_diff_utils.h51 const PayloadVersion& version,
70 const PayloadVersion& version,
93 const PayloadVersion& version,
111 const PayloadVersion& version,
120 const PayloadVersion& version,
/system/libvintf/
DHalManifest.cpp153 if (xmlFile.version() == it->second.version()) { in shouldAddXmlFile()
175 names.insert(toFQNameString(e.package(), e.version())); in getHalNamesAndVersions()
209 manifestInstance.version().minorAtLeast(expectVersion)) { in forEachInstanceOfVersion()
284 manifestInstance.version(), manifestInstance.interface(), in checkUnusedHals()
320 if (matVendorNdk.version().empty()) { in checkVendorNdkCompatibility()
324 if (vndk.version() != matVendorNdk.version()) { in checkVendorNdkCompatibility()
334 *error = "Vndk libs incompatible for version " + matVendorNdk.version() + in checkVendorNdkCompatibility()
347 *error = "Vndk version " + matVendorNdk.version() + " is not supported. " + in checkVendorNdkCompatibility()
350 *error += " " + vndk.version(); in checkVendorNdkCompatibility()
432 return kernel().has_value() && kernel()->version() != KernelVersion{}; in shouldCheckKernelCompatibility()
[all …]
/system/timezone/distro/tools/
Dtzupdate.properties3 # This should be the tzdata version. e.g. "2015a".
4 rules.version=
16 output.version.file=
/system/tools/mkbootimg/
Dunpack_bootimg.py76 version = kernel_ramdisk_second_info[8]
77 if version < 3:
92 print('boot image header version: %s' % version)
94 if version < 3:
103 if version < 3:
106 if version < 3:
111 if version < 3:
122 if 0 < version < 3:
131 if 1 < version < 3:
/system/chre/pal/tests/src/
Dversion_test.cc21 constexpr uint32_t version = CHRE_PAL_CREATE_API_VERSION(3, 6); in TEST() local
22 EXPECT_EQ(version, 0x03060000); in TEST()
23 EXPECT_EQ(CHRE_PAL_GET_API_MAJOR_VERSION(version), 3); in TEST()
/system/tools/hidl/utils/
DFQName.cpp33 FQName::FQName(const std::string& package, const std::string& version, const std::string& name, in FQName() argument
36 CHECK(parseVersion(version, &majorVer, &minorVer)); in FQName()
68 return !mPackage.empty() && !version().empty() && !mName.empty(); in isFullyQualified()
200 if (!mPackage.empty() && version().empty()) goto fail; in setTo()
215 if (relativeTo.version() != version()) { in getRelativeFQName()
217 if (!mName.empty() && !version().empty()) { in getRelativeFQName()
237 std::string FQName::version() const { in version() function in android::FQName
252 std::string v = version(); in atVersion()
320 return FQName(mPackage, version(), mName); in typeName()
328 CHECK(mPackage.empty() || !version().empty()); in applyDefaults()
[all …]
/system/extras/libfscrypt/include/fscrypt/
Dfscrypt.h33 int version; member
40 EncryptionOptions() : version(0) {} in EncryptionOptions()
65 return (lhs.version == rhs.version) && (lhs.contents_mode == rhs.contents_mode) &&
/system/bt/tools/scripts/
Dbtsnooz.py70 version, last_timestamp_ms = struct.unpack_from('=bQ', snooz)
72 if version != 1 and version != 2:
73 sys.stderr.write('Unsupported btsnooz version: %s\n' % version)
81 if version == 1:
83 elif version == 2:
/system/core/libprocessgroup/cgrouprc_format/
Dcgroup_controller.cpp28 CgroupController::CgroupController(uint32_t version, uint32_t flags, const std::string& name, in CgroupController() argument
34 version_ = version; in CgroupController()
42 uint32_t CgroupController::version() const { in version() function in android::cgrouprc::format::CgroupController

12345678910>>...23