/system/bt/bta/sys/ |
D | utl.cc | 162 uint8_t minor, major; in utl_set_device_class() local 168 BTM_COD_MAJOR_CLASS(major, dev); in utl_set_device_class() 173 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class() 189 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class() 196 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class() 205 FIELDS_TO_COD(dev_class, minor, major, service); in utl_set_device_class()
|
/system/tools/hidl/build/ |
D | fqName.go | 27 major string member 45 major: matches[0][2], 72 return f.major + "." + f.minor 75 return "V" + f.major + "_" + f.minor
|
/system/chre/pal/include/chre/pal/ |
D | version.h | 82 #define CHRE_PAL_CREATE_API_VERSION(major, minor) \ argument 83 ((uint32_t) ((((major) & 0xFF) << 24) | (((minor) & 0xFF) << 16)))
|
/system/vold/model/ |
D | Disk.cpp | 92 static bool isVirtioBlkDevice(unsigned int major) { in isVirtioBlkDevice() argument 115 return IsRunningInEmulator() && major >= kMajorBlockExperimentalMin && in isVirtioBlkDevice() 116 major <= kMajorBlockExperimentalMax; in isVirtioBlkDevice() 119 static bool isNvmeBlkDevice(unsigned int major, const std::string& sysPath) { in isNvmeBlkDevice() argument 120 return sysPath.find("nvme") != std::string::npos && major >= kMajorBlockDynamicMin && in isNvmeBlkDevice() 121 major <= kMajorBlockDynamicMax; in isNvmeBlkDevice() 131 mId = StringPrintf("disk:%u,%u", major(device), minor(device)); in Disk() 250 unsigned int majorId = major(mDevice); in readMetadata() 381 dev_t partDevice = makedev(major(mDevice), minor(mDevice) + i); in readPartitions() 567 unsigned int majorId = major(mDevice); in getMaxMinors()
|
/system/core/mkbootimg/include/bootimg/ |
D | bootimg.h | 55 void SetOsVersion(unsigned major, unsigned minor, unsigned patch) { in SetOsVersion() 57 os_version |= (((major & 0x7f) << 25) | ((minor & 0x7f) << 18) | ((patch & 0x7f) << 11)); in SetOsVersion()
|
/system/extras/boottime_tools/io_analysis/ |
D | check_io_trace_all.py | 65 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; 139 major = int(match.group(3)) 141 devNum = major * DEV_MAJOR_MULTIPLIER + minor; 151 if major == DM_MAJOR: 152 devNum = major * DEV_MAJOR_MULTIPLIER + minor; 165 io.add_read_event(major, minor, event) 172 io.add_write_event(major, minor, event)
|
D | check_io_trace.py | 75 major = int(match.group(2)) 88 if major == DM_MAJOR: 89 devNum = major * DEV_MAJOR_MULTIPLIER + minor;
|
/system/update_engine/payload_generator/ |
D | payload_generation_config.cc | 208 major = major_version; in PayloadVersion() 213 TEST_AND_RETURN_FALSE(major == kChromeOSMajorPayloadVersion || in Validate() 214 major == kBrilloMajorPayloadVersion); in Validate() 236 return major == kBrilloMajorPayloadVersion || in OperationAllowed() 304 if (version.major == kChromeOSMajorPayloadVersion) in Validate()
|
/system/core/init/ |
D | uevent_listener.cpp | 34 uevent->major = -1; in ParseEvent() 59 uevent->major = atoi(msg); in ParseEvent() 84 << uevent->subsystem << "', '" << uevent->firmware << "', " << uevent->major in ParseEvent()
|
D | uevent.h | 34 int major; member
|
D | devices.cpp | 257 void DeviceHandler::MakeDevice(const std::string& path, bool block, int major, int minor, in MakeDevice() argument 271 dev_t dev = makedev(major, minor); in MakeDevice() 387 … int major, int minor, const std::vector<std::string>& links) const { in HandleDevice() argument 389 MakeDevice(devpath, block, major, minor, links); in HandleDevice() 424 if (uevent.major < 0 || uevent.minor < 0) return; in HandleUevent() 461 HandleDevice(uevent.action, devpath, block, uevent.major, uevent.minor, links); in HandleUevent()
|
/system/extras/boot_control_copy/ |
D | boot_control_copy.cpp | 84 major(statbuf.st_dev), minor(statbuf.st_dev), in module_getCurrentSlot() 85 major(system_a_dev), minor(system_a_dev), in module_getCurrentSlot() 86 major(system_b_dev), minor(system_b_dev)); in module_getCurrentSlot()
|
/system/bt/bta/include/ |
D | utl.h | 50 uint8_t major; member
|
/system/keymaster/android_keymaster/ |
D | keymaster_configuration.cpp | 98 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); in GetOsVersion() local 102 return (major * 100 + minor) * 100 + subminor; in GetOsVersion()
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | fsck_untrusted.te | 21 # device, comparing the major and minor numbers to the filesystem 25 # major/minor values.
|
D | fsck.te | 26 # device, comparing the major and minor numbers to the filesystem 30 # major/minor values.
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | fsck_untrusted.te | 21 # device, comparing the major and minor numbers to the filesystem 25 # major/minor values.
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | fsck_untrusted.te | 21 # device, comparing the major and minor numbers to the filesystem 25 # major/minor values.
|
D | fsck.te | 26 # device, comparing the major and minor numbers to the filesystem 30 # major/minor values.
|
/system/sepolicy/public/ |
D | fsck_untrusted.te | 21 # device, comparing the major and minor numbers to the filesystem 25 # major/minor values.
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | fsck_untrusted.te | 21 # device, comparing the major and minor numbers to the filesystem 25 # major/minor values.
|
D | fsck.te | 26 # device, comparing the major and minor numbers to the filesystem 30 # major/minor values.
|
/system/core/libcutils/ |
D | ashmem-dev.cpp | 305 fd, st.st_mode, major(st.st_rdev), minor(st.st_rdev), in __ashmem_is_ashmem() 307 major(rdev), minor(rdev)); in __ashmem_is_ashmem() 310 fd, st.st_mode, major(st.st_rdev), minor(st.st_rdev), in __ashmem_is_ashmem()
|
/system/core/libappfuse/ |
D | FuseBuffer.cc | 223 if (in->major != FUSE_KERNEL_VERSION || in->minor < 6) { in HandleInit() 224 LOG(ERROR) << "Fuse kernel version mismatch: Kernel version " << in->major in HandleInit() 242 out->major = FUSE_KERNEL_VERSION; in HandleInit()
|
/system/libvintf/ |
D | parse_string.cpp | 221 size_t major, minor; in parse() local 222 if (!ParseUint(v[0], &major)) { in parse() 228 *ver = Version(major, minor); in parse() 302 size_t version, major, minor; in parse() local 306 if (!ParseUint(v[1], &major)) { in parse() 312 *kernelVersion = KernelVersion(version, major, minor); in parse()
|