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

12

/system/bt/bta/sys/
H A Dutl.c160 ** BTA_UTL_SET_COD_MAJOR_MINOR, - overwrite major, minor class
163 ** BTA_UTL_SET_COD_ALL - overwrite major, minor, set the bits in service class
164 ** BTA_UTL_INIT_COD - overwrite major, minor, and service class
173 UINT8 minor, major; local
179 BTM_COD_MAJOR_CLASS(major, dev );
185 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK;
201 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK;
208 major
[all...]
/system/bt/bta/include/
H A Dutl.h48 UINT8 major; member in struct:__anon494
115 ** BTA_UTL_SET_COD_MAJOR_MINOR, - overwrite major, minor class
118 ** BTA_UTL_SET_COD_ALL - overwrite major, minor, set the bits in service class
119 ** BTA_UTL_INIT_COD - overwrite major, minor, and service class
/system/update_engine/payload_generator/
H A Dpayload_generation_config.cc118 major = major_version;
123 TEST_AND_RETURN_FALSE(major == kChromeOSMajorPayloadVersion ||
124 major == kBrilloMajorPayloadVersion);
142 // These operations are included in the major version used in Brillo, but
144 return major == kBrilloMajorPayloadVersion ||
208 if (version.major == kChromeOSMajorPayloadVersion)
H A Dpayload_generation_config.h130 // The major version of the payload.
131 uint64_t major; member in struct:chromeos_update_engine::PayloadVersion
159 // The major/minor version of the payload.
H A Dpayload_signer_unittest.cc144 EXPECT_EQ(config.version.major, load_major_version);
153 config.version.major = kChromeOSMajorPayloadVersion;
159 config.version.major = kBrilloMajorPayloadVersion;
214 config.version.major = kBrilloMajorPayloadVersion;
239 config.version.major = kBrilloMajorPayloadVersion;
H A Ddelta_diff_generator.cc59 LOG(ERROR) << "Unsupported major.minor version: " << config.version.major
H A Dpayload_file.cc63 major_version_ = config.version.major;
199 // Write major version number
H A Dinplace_generator.cc795 TEST_AND_RETURN_FALSE(config.version.major == kInPlacePayloadVersion.major);
H A Dgenerate_delta_main.cc306 "The major version of the payload being generated.");
354 "Only allowed in major version 2 or newer.");
416 << "--new_partitions flag and major version 2.";
420 << "--new_partitions flag and major version 2.";
472 << "Postinstall config is only allowed in major version 2 or newer.";
519 payload_config.version.major = FLAGS_major_version;
/system/core/libcutils/
H A Dashmem-dev.c122 fd, st.st_mode, major(st.st_rdev), minor(st.st_rdev),
124 major(rdev), minor(rdev));
127 fd, st.st_mode, major(st.st_rdev), minor(st.st_rdev),
/system/keymaster/
H A Dkeymaster_configuration.cpp97 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); local
101 return (major * 100 + minor) * 100 + subminor;
H A Dandroid_keymaster_test_utils.h219 keymaster_error_t GetVersion(uint8_t* major, uint8_t* minor, uint8_t* subminor);
/system/vold/
H A DDisk.cpp82 static bool isVirtioBlkDevice(unsigned int major) { argument
88 * major number, but relies on the kernel to assign one from a specific
97 * b) If the major number is an experimental block device major number (for
98 * x86/x86_64 3.10 ranchu kernels, virtio-blk always gets major number
105 return IsRunningInEmulator() && major >= kMajorBlockExperimentalMin
106 && major <= kMajorBlockExperimentalMax;
113 mId = StringPrintf("disk:%u,%u", major(device), minor(device));
230 unsigned int majorId = major(mDevice);
266 LOG(DEBUG) << "Recognized experimental block major I
[all...]
H A DPrivateVolume.cpp48 setId(StringPrintf("private:%u,%u", major(device), minor(device)));
180 if ((major(mRawDevice) == kMajorBlockMmc) && f2fs::IsSupported()) {
H A DEmulatedVolume.cpp48 setId(StringPrintf("emulated:%u,%u", major(device), minor(device)));
H A DPublicVolume.cpp46 setId(StringPrintf("public:%u,%u", major(device), minor(device)));
H A DVolumeManager.cpp293 int major = atoi(evt->findParam("MAJOR")); local
295 dev_t device = makedev(major, minor);
305 if (major == kMajorBlockMmc
307 && major >= (int) kMajorBlockExperimentalMin
308 && major <= (int) kMajorBlockExperimentalMax)) {
324 LOG(DEBUG) << "Disk at " << major << ":" << minor << " changed";
H A DUtils.cpp74 PLOG(ERROR) << "Failed to create device node for " << major(dev)
/system/extras/boot_control_copy/
H A Dboot_control_copy.c83 major(statbuf.st_dev), minor(statbuf.st_dev),
84 major(system_a_dev), minor(system_a_dev),
85 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/init/
H A Ddevices.cpp69 int major; member in struct:uevent
234 int block, int major, int minor,
252 dev = makedev(major, minor);
371 uevent->major = -1;
393 uevent->major = atoi(msg);
416 uevent->firmware, uevent->major, uevent->minor);
533 const char *path, int block, int major, int minor, char **links)
538 make_device(devpath, path, block, major, minor, (const char **)links);
575 if((uevent->major < 0) || (uevent->minor < 0))
612 uevent->major, ueven
232 make_device(const char *path, const char * , int block, int major, int minor, const char **links) argument
532 handle_device(const char *action, const char *devpath, const char *path, int block, int major, int minor, char **links) argument
[all...]
/system/update_engine/common/
H A Dtest_utils.cc23 #include <linux/major.h>
/system/bt/stack/btm/
H A Dbtm_inq.c167 UINT8 major, minor; local
273 BTM_COD_MAJOR_CLASS(major, p_cod );
279 FIELDS_TO_COD(cod, minor, major, service_class);
/system/core/adb/
H A Dusb_linux.cpp268 major(st.st_rdev), minor(st.st_rdev));
/system/core/sdcard/
H A Dsdcard.c1452 handler->token, req->major, req->minor, req->max_readahead, req->flags);
1459 if (req->major != FUSE_KERNEL_VERSION || req->minor < 6) {
1461 req->major, req->minor, FUSE_KERNEL_VERSION);
1479 out.major = FUSE_KERNEL_VERSION;

Completed in 509 milliseconds

12