Home
last modified time | relevance | path

Searched refs:major (Results 1 – 25 of 30) sorted by relevance

12

/system/bt/bta/sys/
Dutl.c173 UINT8 minor, major; in utl_set_device_class() local
179 BTM_COD_MAJOR_CLASS(major, dev ); in utl_set_device_class()
185 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
201 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
208 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
217 FIELDS_TO_COD(dev_class, minor, major, service); in utl_set_device_class()
/system/update_engine/payload_generator/
Dpayload_generation_config.cc123 major = major_version; in PayloadVersion()
128 TEST_AND_RETURN_FALSE(major == kChromeOSMajorPayloadVersion || in Validate()
129 major == kBrilloMajorPayloadVersion); in Validate()
149 return major == kBrilloMajorPayloadVersion || in OperationAllowed()
213 if (version.major == kChromeOSMajorPayloadVersion) in Validate()
Dpayload_signer_unittest.cc144 EXPECT_EQ(config.version.major, load_major_version); in DoWriteAndLoadPayloadTest()
153 config.version.major = kChromeOSMajorPayloadVersion; in TEST_F()
159 config.version.major = kBrilloMajorPayloadVersion; in TEST_F()
214 config.version.major = kBrilloMajorPayloadVersion; in TEST_F()
239 config.version.major = kBrilloMajorPayloadVersion; in TEST_F()
Dpayload_generation_config.h136 uint64_t major; member
Ddelta_diff_generator.cc59 LOG(ERROR) << "Unsupported major.minor version: " << config.version.major in GenerateUpdatePayloadFile()
Dpayload_file.cc63 major_version_ = config.version.major; in Init()
Dinplace_generator.cc795 TEST_AND_RETURN_FALSE(config.version.major == kInPlacePayloadVersion.major); in GenerateOperations()
Dgenerate_delta_main.cc542 payload_config.version.major = FLAGS_major_version; in Main()
/system/core/libcutils/
Dashmem-dev.c122 fd, st.st_mode, major(st.st_rdev), minor(st.st_rdev), in __ashmem_is_ashmem()
124 major(rdev), minor(rdev)); in __ashmem_is_ashmem()
127 fd, st.st_mode, major(st.st_rdev), minor(st.st_rdev), in __ashmem_is_ashmem()
/system/core/init/
Ddevices.cpp69 int major; member
234 int block, int major, int minor, in make_device() argument
252 dev = makedev(major, minor); in make_device()
371 uevent->major = -1; in parse_event()
393 uevent->major = atoi(msg); in parse_event()
416 uevent->firmware, uevent->major, uevent->minor); in parse_event()
533 const char *path, int block, int major, int minor, char **links) in handle_device() argument
538 make_device(devpath, path, block, major, minor, (const char **)links); in handle_device()
575 if((uevent->major < 0) || (uevent->minor < 0)) in parse_device_name()
612 uevent->major, uevent->minor, links); in handle_block_device_event()
[all …]
/system/vold/
DDisk.cpp82 static bool isVirtioBlkDevice(unsigned int major) { in isVirtioBlkDevice() argument
105 return IsRunningInEmulator() && major >= kMajorBlockExperimentalMin in isVirtioBlkDevice()
106 && major <= kMajorBlockExperimentalMax; in isVirtioBlkDevice()
113 mId = StringPrintf("disk:%u,%u", major(device), minor(device)); in Disk()
230 unsigned int majorId = major(mDevice); in readMetadata()
328 dev_t partDevice = makedev(major(mDevice), minor(mDevice) + i); in readPartitions()
535 unsigned int majorId = major(mDevice); in getMaxMinors()
DPrivateVolume.cpp48 setId(StringPrintf("private:%u,%u", major(device), minor(device))); in PrivateVolume()
180 if ((major(mRawDevice) == kMajorBlockMmc) && f2fs::IsSupported()) { in doFormat()
DEmulatedVolume.cpp48 setId(StringPrintf("emulated:%u,%u", major(device), minor(device))); in EmulatedVolume()
DVolumeManager.cpp293 int major = atoi(evt->findParam("MAJOR")); in handleBlockEvent() local
295 dev_t device = makedev(major, minor); in handleBlockEvent()
305 if (major == kMajorBlockMmc in handleBlockEvent()
307 && major >= (int) kMajorBlockExperimentalMin in handleBlockEvent()
308 && major <= (int) kMajorBlockExperimentalMax)) { in handleBlockEvent()
324 LOG(DEBUG) << "Disk at " << major << ":" << minor << " changed"; in handleBlockEvent()
DPublicVolume.cpp46 setId(StringPrintf("public:%u,%u", major(device), minor(device))); in PublicVolume()
DUtils.cpp74 PLOG(ERROR) << "Failed to create device node for " << major(dev) in CreateDeviceNode()
/system/extras/boot_control_copy/
Dboot_control_copy.c83 major(statbuf.st_dev), minor(statbuf.st_dev), in module_getCurrentSlot()
84 major(system_a_dev), minor(system_a_dev), in module_getCurrentSlot()
85 major(system_b_dev), minor(system_b_dev)); in module_getCurrentSlot()
/system/keymaster/
Dkeymaster_configuration.cpp97 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); in GetOsVersion() local
101 return (major * 100 + minor) * 100 + subminor; in GetOsVersion()
Dandroid_keymaster_test_utils.h219 keymaster_error_t GetVersion(uint8_t* major, uint8_t* minor, uint8_t* subminor);
/system/bt/bta/include/
Dutl.h48 UINT8 major; member
/system/extras/showslab/
Dshowslab.c65 unsigned int major, minor; in get_slabinfo() local
78 if (sscanf(line, "slabinfo - version: %u.%u", &major, &minor) != 2) { in get_slabinfo()
83 if (major != 2 || minor > 1) { in get_slabinfo()
/system/update_engine/
Dupdate_metadata.proto82 // major and minor version. See InstallOperation.Type bellow for details.
160 // On minor version 3 or newer and on major version 2 or newer, these
245 // Only present in major version = 1. List of install operations for the
246 // kernel and rootfs partitions. For major version = 2 see the |partitions|
262 // Only present in major version = 1. Partition metadata used to validate the
263 // update. For major version = 2 see the |partitions| field.
277 // Only present in major version >= 2. List of partitions that will be
280 // |{old,new}_{kernel,rootfs}_info| fields used in major version = 1. This
/system/core/sdcard/
Dsdcard.c1452 handler->token, req->major, req->minor, req->max_readahead, req->flags); in handle_init()
1459 if (req->major != FUSE_KERNEL_VERSION || req->minor < 6) { in handle_init()
1461 req->major, req->minor, FUSE_KERNEL_VERSION); in handle_init()
1479 out.major = FUSE_KERNEL_VERSION; in handle_init()
/system/core/adb/
Dusb_linux.cpp268 major(st.st_rdev), minor(st.st_rdev)); in find_usb_device()
/system/bt/stack/btm/
Dbtm_inq.c167 UINT8 major, minor; in BTM_SetDiscoverability() local
273 BTM_COD_MAJOR_CLASS(major, p_cod ); in BTM_SetDiscoverability()
279 FIELDS_TO_COD(cod, minor, major, service_class); in BTM_SetDiscoverability()

12