Searched refs:major (Results 1 - 25 of 39) sorted by relevance

12

/system/chre/pal/include/chre/pal/
H A Dversion.h27 * where the most significant byte represents the major version, the next most
31 * Semantic versioning guidelines are followed, such that a new major version
43 * nanoapps and the CHRE system, however this may require a major version bump
71 * Constructs an API version from major & minor patch versions
73 * @param major Major version, valid range 0-255
76 #define CHRE_PAL_CREATE_API_VERSION(major, minor) \
77 ((uint32_t) ((((major) & 0xFF) << 24) | (((minor) & 0xFF) << 16)))
/system/bt/bta/sys/
H A Dutl.cc145 * BTA_UTL_SET_COD_MAJOR_MINOR, - overwrite major,
151 * BTA_UTL_SET_COD_ALL - overwrite major, minor, set
153 * BTA_UTL_INIT_COD - overwrite major, minor, and
162 uint8_t minor, major; local
168 BTM_COD_MAJOR_CLASS(major, dev);
173 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK;
189 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK;
196 major
[all...]
/system/core/init/
H A Duevent.h33 int major; member in struct:android::init::Uevent
H A Ddevices.cpp222 void DeviceHandler::MakeDevice(const std::string& path, bool block, int major, int minor, argument
241 dev_t dev = makedev(major, minor);
350 int major, int minor, const std::vector<std::string>& links) const {
352 MakeDevice(devpath, block, major, minor, links);
381 if (uevent.major < 0 || uevent.minor < 0) return;
420 HandleDevice(uevent.action, devpath, block, uevent.major, uevent.minor, links);
349 HandleDevice(const std::string& action, const std::string& devpath, bool block, int major, int minor, const std::vector<std::string>& links) const argument
H A Ddevices.h118 void MakeDevice(const std::string& path, bool block, int major, int minor,
120 void HandleDevice(const std::string& action, const std::string& devpath, bool block, int major,
H A Duevent_listener.cpp34 uevent->major = -1;
58 uevent->major = atoi(msg);
80 << uevent->subsystem << "', '" << uevent->firmware << "', " << uevent->major
/system/bt/bta/include/
H A Dutl.h50 uint8_t major; member in struct:__anon474
111 * BTA_UTL_SET_COD_MAJOR_MINOR, - overwrite major,
117 * BTA_UTL_SET_COD_ALL - overwrite major, minor, set
119 * BTA_UTL_INIT_COD - overwrite major, minor, and
/system/update_engine/payload_generator/
H A Dpayload_generation_config.cc120 major = major_version;
125 TEST_AND_RETURN_FALSE(major == kChromeOSMajorPayloadVersion ||
126 major == kBrilloMajorPayloadVersion);
144 // These operations are included in the major version used in Brillo, but
146 return major == kBrilloMajorPayloadVersion ||
210 if (version.major == kChromeOSMajorPayloadVersion)
H A Dpayload_generation_config.h135 // The major version of the payload.
136 uint64_t major; member in struct:chromeos_update_engine::PayloadVersion
164 // The major/minor version of the payload.
H A Dpayload_signer_unittest.cc146 EXPECT_EQ(config.version.major, load_major_version);
155 config.version.major = kChromeOSMajorPayloadVersion;
161 config.version.major = kBrilloMajorPayloadVersion;
223 config.version.major = kBrilloMajorPayloadVersion;
251 config.version.major = kBrilloMajorPayloadVersion;
H A Ddelta_diff_generator.cc59 LOG(ERROR) << "Unsupported major.minor version: " << config.version.major
/system/core/libcutils/
H A Dashmem-dev.c123 fd, st.st_mode, major(st.st_rdev), minor(st.st_rdev),
125 major(rdev), minor(rdev));
128 fd, st.st_mode, major(st.st_rdev), minor(st.st_rdev),
/system/keymaster/
H A Dkeymaster_configuration.cpp92 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); local
96 return (major * 100 + minor) * 100 + subminor;
/system/vold/
H A DDisk.cpp86 static bool isVirtioBlkDevice(unsigned int major) { argument
92 * major number, but relies on the kernel to assign one from a specific
101 * b) If the major number is an experimental block device major number (for
102 * x86/x86_64 3.10 ranchu kernels, virtio-blk always gets major number
109 return IsRunningInEmulator() && major >= kMajorBlockExperimentalMin
110 && major <= kMajorBlockExperimentalMax;
117 mId = StringPrintf("disk:%u,%u", major(device), minor(device));
234 unsigned int majorId = major(mDevice);
274 LOG(DEBUG) << "Recognized experimental block major I
[all...]
H A DPrivateVolume.cpp49 setId(StringPrintf("private:%u,%u", major(device), minor(device)));
181 if ((major(mRawDevice) == kMajorBlockMmc) && f2fs::IsSupported()) {
H A DEmulatedVolume.cpp49 setId(StringPrintf("emulated:%u,%u", major(device), minor(device)));
H A DPublicVolume.cpp47 setId(StringPrintf("public:%u,%u", major(device), minor(device)));
/system/libvintf/
H A Dparse_string.cpp191 size_t major, minor; local
192 if (!ParseUint(v[0], &major)) {
198 *ver = Version(major, minor);
269 size_t version, major, minor; local
273 if (!ParseUint(v[1], &major)) {
279 *kernelVersion = KernelVersion(version, major, minor);
/system/core/libappfuse/
H A DFuseBuffer.cc223 if (in->major != FUSE_KERNEL_VERSION || in->minor < 6) {
224 LOG(ERROR) << "Fuse kernel version mismatch: Kernel version " << in->major
242 out->major = FUSE_KERNEL_VERSION;
/system/extras/boot_control_copy/
H A Dboot_control_copy.c84 major(statbuf.st_dev), minor(statbuf.st_dev),
85 major(system_a_dev), minor(system_a_dev),
86 major(system_b_dev), minor(system_b_dev));
/system/extras/showslab/
H A Dshowslab.c65 unsigned int major, minor; local
78 if (sscanf(line, "slabinfo - version: %u.%u", &major, &minor) != 2) {
83 if (major != 2 || minor > 1) {
/system/core/libappfuse/tests/
H A DFuseBufferTest.cc164 buffer.request.init_in.major = FUSE_KERNEL_VERSION;
173 buffer.response.init_out.major);
H A DFuseBridgeLoopTest.cc109 request_.init_in.major = FUSE_KERNEL_VERSION;
/system/core/trusty/storage/proxy/
H A Drpmb.c26 #include <linux/major.h>
/system/libhidl/base/include/hidl/
H A DHidlSupport.h798 constexpr hidl_version(uint16_t major, uint16_t minor) : mMajor(major), mMinor(minor) {} argument
829 inline android::hardware::hidl_version make_hidl_version(uint16_t major, uint16_t minor) { argument
830 return hidl_version(major,minor);

Completed in 338 milliseconds

12