Home
last modified time | relevance | path

Searched refs:minor (Results 1 – 25 of 116) sorted by relevance

12345

/system/update_engine/payload_generator/
Dpayload_generation_config.cc282 minor = minor_version; in PayloadVersion()
287 TEST_AND_RETURN_FALSE(minor == kFullPayloadMinorVersion || in Validate()
288 minor == kSourceMinorPayloadVersion || in Validate()
289 minor == kOpSrcHashMinorPayloadVersion || in Validate()
290 minor == kBrotliBsdiffMinorPayloadVersion || in Validate()
291 minor == kPuffdiffMinorPayloadVersion || in Validate()
292 minor == kVerityMinorPayloadVersion || in Validate()
293 minor == kPartialUpdateMinorPayloadVersion || in Validate()
294 minor == kZucchiniMinorPayloadVersion || in Validate()
295 minor == kLZ4DIFFMinorPayloadVersion); in Validate()
[all …]
Dgenerate_delta_main.cc740 payload_config.version.minor = kPartialUpdateMinorPayloadVersion; in Main()
741 LOG(INFO) << "Using minor_version=" << payload_config.version.minor in Main()
747 payload_config.version.minor = kFullPayloadMinorVersion; in Main()
749 << payload_config.version.minor; in Main()
752 payload_config.version.minor = FLAGS_minor_version; in Main()
756 if (payload_config.version.minor != kFullPayloadMinorVersion && in Main()
757 (payload_config.version.minor < kMinSupportedMinorPayloadVersion || in Main()
758 payload_config.version.minor > kMaxSupportedMinorPayloadVersion)) { in Main()
759 LOG(FATAL) << "Unsupported minor version " << payload_config.version.minor; in Main()
775 payload_config.version.minor >= kVerityMinorPayloadVersion && in Main()
/system/core/fs_mgr/libsnapshot/snapuserd/
Dutility.cpp52 unsigned int major, minor; in KernelSupportsIoUring() local
55 if (sscanf(uts.release, "%u.%u", &major, &minor) != 2) { in KernelSupportsIoUring()
61 return major > 5 || (major == 5 && minor >= 6); in KernelSupportsIoUring()
/system/core/fs_mgr/tests/
Dvts_fs_test.cpp62 unsigned int major, minor; in TEST() local
63 ASSERT_EQ(sscanf(uts.release, "%u.%u", &major, &minor), 2); in TEST()
66 if (major < 5 || (major == 5 && minor < 10)) { in TEST()
88 unsigned int major, minor; in TEST() local
89 ASSERT_EQ(sscanf(uts.release, "%u.%u", &major, &minor), 2); in TEST()
90 if (major < 5 || (major == 5 && minor < 10)) { in TEST()
/system/tools/hidl/build/
DfqName.go26 minor string member
46 minor: matches[0][3],
72 return f.major + "." + f.minor
75 return "V" + f.major + "_" + f.minor
/system/tools/mkbootimg/include/bootimg/
Dbootimg.h93 void SetOsVersion(unsigned major, unsigned minor, unsigned patch) { in SetOsVersion()
95 os_version |= (((major & 0x7f) << 25) | ((minor & 0x7f) << 18) | ((patch & 0x7f) << 11)); in SetOsVersion()
264 void SetOsVersion(unsigned major, unsigned minor, unsigned patch) { in SetOsVersion()
266 os_version |= (((major & 0x7f) << 25) | ((minor & 0x7f) << 18) | ((patch & 0x7f) << 11)); in SetOsVersion()
/system/tools/hidl/lint/lints/
DmethodVersions.cpp72 size_t minor; in checkMethodVersion() local
73 if (!base::ParseUint(version.substr(underscore + 1), &minor)) { in checkMethodVersion()
79 if ((major == fqName.getPackageMajorVersion()) && (minor == fqName.getPackageMinorVersion())) { in checkMethodVersion()
84 std::to_string(minor) + " of "s + getSanitizedMethodName(method) + in checkMethodVersion()
/system/chre/pal/include/chre/pal/
Dversion.h82 #define CHRE_PAL_CREATE_API_VERSION(major, minor) \ argument
83 ((uint32_t)((((major)&0xFF) << 24) | (((minor)&0xFF) << 16)))
/system/tools/hidl/test/version_test/
DAndroid.bp27 " test.version.version@2.3 2>&1 | grep \"Cannot enforce minor version\" > /dev/null)" +
31 " test.version.version@2.4 2>&1 | grep \"Cannot enforce minor version\" > /dev/null)" +
35 " test.version.version@2.5 2>&1 | grep \"Cannot enforce minor version\" > /dev/null)" +
39 " test.version.version@2.3 2>&1 | grep \"doesn't pass minor version\" > /dev/null)" +
43 " test.version.version@2.3 2>&1 | grep \"doesn't pass minor version\" > /dev/null)" +
/system/core/libappfuse/
DFuseBuffer.cc216 const uint32_t minor = in->minor; in HandleInit() local
223 if (in->major != FUSE_KERNEL_VERSION || in->minor < 6) { in HandleInit()
225 << "." << in->minor << " Expected at least " << FUSE_KERNEL_VERSION in HandleInit()
243 out->minor = std::min(minor, 15u); in HandleInit()
/system/core/fs_mgr/libfiemap/
Dutility.cpp106 if (!BlockDeviceToName(major(st.st_dev), minor(st.st_dev), &bdev)) { in F2fsPinBeforeAllocate()
108 << minor(st.st_dev); in F2fsPinBeforeAllocate()
126 bool BlockDeviceToName(uint32_t major, uint32_t minor, std::string* bdev_name) { in BlockDeviceToName() argument
133 std::string sysfs_path = ::android::base::StringPrintf("/sys/dev/block/%u:%u", major, minor); in BlockDeviceToName()
/system/tools/hidl/hidl2aidl/
DAidlInterface.cpp88 size_t minor; // 4 member
100 size_t major, minor; in getBaseName() local
103 base::ParseUint(version.substr(underscore + 1), &minor)) { in getBaseName()
123 (current->major == versionedNode.major && current->minor > versionedNode.minor)) { in pushVersionedNodeOntoMap()
221 << " from " << versionedType.major << "." << versionedType.minor in emitAidl()
234 << versionedMethod.major << "." << versionedMethod.minor in emitAidl()
/system/chre/chpp/clients/
Ddiscovery.c144 service->version.major, service->version.minor, in chppProcessDiscoverAllResponse()
158 client->descriptor.version.minor, in chppProcessDiscoverAllResponse()
160 service->version.minor, service->version.patch); in chppProcessDiscoverAllResponse()
169 client->descriptor.version.minor, in chppProcessDiscoverAllResponse()
171 service->version.minor, service->version.patch); in chppProcessDiscoverAllResponse()
/system/netd/tests/
Dkernel_test.cpp131 #define ifIsKernelThenMinLTS(major, minor, sub) do { \ argument
133 if (!bpf::isKernelVersion((major), (minor))) GTEST_SKIP() << "Not for this LTS ver."; \
134 ASSERT_TRUE(bpf::isAtLeastKernelVersion((major), (minor), (sub))); \
/system/extras/boottime_tools/io_analysis/
Dcheck_io_trace_all.py65 def add_read_event(self, major, minor, event): argument
66 devNum = major * DEV_MAJOR_MULTIPLIER + minor;
76 def add_write_event(self, major, minor, event): argument
77 devNum = major * DEV_MAJOR_MULTIPLIER + minor;
140 minor = int(match.group(4))
141 devNum = major * DEV_MAJOR_MULTIPLIER + minor;
152 devNum = major * DEV_MAJOR_MULTIPLIER + minor;
165 io.add_read_event(major, minor, event)
172 io.add_write_event(major, minor, event)
/system/core/init/
Ddevices.cpp122 dev_t dev = makedev(uevent.major, uevent.minor); in FindDmDevice()
284 void DeviceHandler::MakeDevice(const std::string& path, bool block, int major, int minor, in MakeDevice() argument
300 dev_t dev = makedev(major, minor); in MakeDevice()
475 … int major, int minor, const std::vector<std::string>& links) const { in HandleDevice() argument
477 MakeDevice(devpath, block, major, minor, links); in HandleDevice()
551 if (uevent.major < 0 || uevent.minor < 0) return; in HandleUevent()
575 int bus_id = uevent.minor / 128 + 1; in HandleUevent()
576 int device_id = uevent.minor % 128 + 1; in HandleUevent()
592 HandleDevice(uevent.action, devpath, block, uevent.major, uevent.minor, links); in HandleUevent()
Duevent_listener.cpp35 uevent->minor = -1; in ParseEvent()
62 uevent->minor = atoi(msg); in ParseEvent()
85 << ", " << uevent->minor << " }"; in ParseEvent()
Duevent.h35 int minor; member
/system/libvintf/
DFQName.cpp123 StartEnd package, major, minor, name; in setTo() local
137 minor.start = l; in setTo()
138 if ((minor.end = l = eatNumber(l, end)) == nullptr) return false; in setTo()
153 CHECK((major.start == nullptr) == (minor.start == nullptr)); in setTo()
167 if (!parseVersion(major.string(), minor.string(), &mMajor, &mMinor)) goto fail; in setTo()
/system/extras/boot_control_copy/
Dboot_control_copy.cpp78 major(statbuf.st_dev), minor(statbuf.st_dev), major(system_a_dev), minor(system_a_dev), in module_getCurrentSlot()
79 major(system_b_dev), minor(system_b_dev)); in module_getCurrentSlot()
/system/tools/hidl/utils/
DFQName.cpp134 StartEnd package, major, minor, name, type; in setTo() local
148 minor.start = l; in setTo()
149 if ((minor.end = l = eatNumber(l, end)) == nullptr) return false; in setTo()
169 CHECK((major.start == nullptr) == (minor.start == nullptr)); in setTo()
184 if (!parseVersion(major.string(), minor.string(), &mMajor, &mMinor)) goto fail; in setTo()
490 FQName FQName::withVersion(size_t major, size_t minor) const { in withVersion()
493 ret.mMinor = minor; in withVersion()
/system/sepolicy/prebuilts/api/32.0/public/
Dfsck_untrusted.te21 # device, comparing the major and minor numbers to the filesystem
25 # major/minor values.
/system/sepolicy/prebuilts/api/30.0/public/
Dfsck_untrusted.te21 # device, comparing the major and minor numbers to the filesystem
25 # major/minor values.
/system/sepolicy/prebuilts/api/31.0/public/
Dfsck_untrusted.te21 # device, comparing the major and minor numbers to the filesystem
25 # major/minor values.
/system/sepolicy/prebuilts/api/29.0/public/
Dfsck_untrusted.te21 # device, comparing the major and minor numbers to the filesystem
25 # major/minor values.

12345