Home
last modified time | relevance | path

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

12

/system/update_engine/payload_generator/
Dpayload_generation_config.cc117 minor = minor_version; in PayloadVersion()
123 TEST_AND_RETURN_FALSE(minor == kFullPayloadMinorVersion || in Validate()
124 minor == kInPlaceMinorPayloadVersion || in Validate()
125 minor == kSourceMinorPayloadVersion || in Validate()
126 minor == kOpSrcHashMinorPayloadVersion || in Validate()
127 minor == kImgdiffMinorPayloadVersion); in Validate()
143 minor >= kOpSrcHashMinorPayloadVersion; in OperationAllowed()
150 return minor >= kImgdiffMinorPayloadVersion; in OperationAllowed()
158 return minor == kInPlaceMinorPayloadVersion; in OperationAllowed()
162 return minor >= kSourceMinorPayloadVersion; in OperationAllowed()
[all …]
Ddelta_diff_generator.cc60 << "." << config.version.minor; in GenerateUpdatePayloadFile()
109 if (config.version.minor == kInPlaceMinorPayloadVersion) { in GenerateUpdatePayloadFile()
Dgenerate_delta_main.cc526 payload_config.version.minor = kInPlaceMinorPayloadVersion; in Main()
532 payload_config.version.minor = minor_version; in Main()
537 payload_config.version.minor = kFullPayloadMinorVersion; in Main()
539 LOG(INFO) << "Auto-detected minor_version=" << payload_config.version.minor; in Main()
541 payload_config.version.minor = FLAGS_minor_version; in Main()
Dpayload_generation_config.h131 uint32_t minor; member
Dfull_update_generator_unittest.cc38 config_.version.minor = kFullPayloadMinorVersion; in SetUp()
Dab_generator.cc74 if (config.version.minor >= kOpSrcHashMinorPayloadVersion) in GenerateOperations()
Dpayload_file.cc64 manifest_.set_minor_version(config.version.minor); in Init()
Dinplace_generator.cc799 TEST_AND_RETURN_FALSE(config.version.minor == kInPlacePayloadVersion.minor); in GenerateOperations()
/system/bt/bta/sys/
Dutl.c173 UINT8 minor, major; in utl_set_device_class() local
178 BTM_COD_MINOR_CLASS(minor, dev ); in utl_set_device_class()
184 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
200 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
207 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
217 FIELDS_TO_COD(dev_class, minor, major, service); in utl_set_device_class()
/system/core/init/
Ddevices.cpp70 int minor; member
234 int block, int major, int minor, in make_device() argument
252 dev = makedev(major, minor); in make_device()
372 uevent->minor = -1; in parse_event()
396 uevent->minor = 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/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/vold/
DDevmapper.cpp160 unsigned minor = (io->dev & 0xff) | ((io->dev >> 12) & 0xfff00); in lookupActive() local
162 snprintf(ubuffer, len, "/dev/block/dm-%u", minor); in lookupActive()
217 unsigned minor = (io->dev & 0xff) | ((io->dev >> 12) & 0xfff00); in create() local
218 snprintf(ubuffer, len, "/dev/block/dm-%u", minor); in create()
DEmulatedVolume.cpp48 setId(StringPrintf("emulated:%u,%u", major(device), minor(device))); in EmulatedVolume()
DPrivateVolume.cpp48 setId(StringPrintf("private:%u,%u", major(device), minor(device))); in PrivateVolume()
DPublicVolume.cpp46 setId(StringPrintf("public:%u,%u", major(device), minor(device))); in PublicVolume()
DDisk.cpp112 mId = StringPrintf("disk:%u,%u", major(device), minor(device)); in Disk()
327 dev_t partDevice = makedev(major(mDevice), minor(mDevice) + i); in readPartitions()
DVolumeManager.cpp294 int minor = atoi(evt->findParam("MINOR")); in handleBlockEvent() local
295 dev_t device = makedev(major, minor); in handleBlockEvent()
324 LOG(DEBUG) << "Disk at " << major << ":" << minor << " changed"; in handleBlockEvent()
/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.cpp98 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); in GetOsVersion() local
101 return (major * 100 + minor) * 100 + subminor; in GetOsVersion()
/system/bt/bta/include/
Dutl.h47 UINT8 minor; 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.
156 // On minor version 2 or newer, these operations are supported:
160 // On minor version 3 or newer and on major version 2 or newer, these
166 // On minor version 4 or newer, these operations are supported:
270 // The minor version, also referred as "delta version", of the payload.
/system/core/sdcard/
Dsdcard.c1440 handler->token, req->major, req->minor, req->max_readahead, req->flags); in handle_init()
1447 if (req->major != FUSE_KERNEL_VERSION || req->minor < 6) { in handle_init()
1449 req->major, req->minor, FUSE_KERNEL_VERSION); in handle_init()
1454 out.minor = MIN(req->minor, 15); in handle_init()
1462 if (req->minor <= 22) { 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
272 BTM_COD_MINOR_CLASS(minor, p_cod ); in BTM_SetDiscoverability()
279 FIELDS_TO_COD(cod, minor, major, service_class); in BTM_SetDiscoverability()

12