Home
last modified time | relevance | path

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

1234

/system/bt/bta/sys/
Dutl.cc162 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/mkbootimg/include/bootimg/
Dbootimg.h86 void SetOsVersion(unsigned major, unsigned minor, unsigned patch) { in SetOsVersion()
88 os_version |= (((major & 0x7f) << 25) | ((minor & 0x7f) << 18) | ((patch & 0x7f) << 11)); in SetOsVersion()
256 void SetOsVersion(unsigned major, unsigned minor, unsigned patch) { in SetOsVersion()
258 os_version |= (((major & 0x7f) << 25) | ((minor & 0x7f) << 18) | ((patch & 0x7f) << 11)); in SetOsVersion()
/system/tools/hidl/hidl2aidl/
DAidlInterface.cpp78 size_t major; // 1 member
91 size_t major, minor; in getBaseName() local
93 base::ParseUint(version.substr(0, underscore), &major) && in getBaseName()
113 if ((current->major > versionedNode.major) || in pushVersionedNodeOntoMap()
114 (current->major == versionedNode.major && current->minor > versionedNode.minor)) { in pushVersionedNodeOntoMap()
189 << " from " << versionedType.major << "." << versionedType.minor in emitAidl()
199 << versionedMethod.major << "." << versionedMethod.minor in emitAidl()
/system/chre/pal/include/chre/pal/
Dversion.h82 #define CHRE_PAL_CREATE_API_VERSION(major, minor) \ argument
83 ((uint32_t) ((((major) & 0xFF) << 24) | (((minor) & 0xFF) << 16)))
/system/tools/hidl/lint/lints/
DmethodVersions.cpp65 size_t major; in checkMethodVersion() local
66 if (!base::ParseUint(version.substr(0, underscore), &major)) { in checkMethodVersion()
79 if ((major == fqName.getPackageMajorVersion()) && (minor == fqName.getPackageMinorVersion())) { in checkMethodVersion()
83 *error = method.name() + " looks like version "s + std::to_string(major) + "."s + in checkMethodVersion()
/system/tools/hidl/build/
DfqName.go27 major string member
45 major: matches[0][2],
72 return f.major + "." + f.minor
75 return "V" + f.major + "_" + f.minor
/system/core/fs_mgr/libfiemap/
Dutility.cpp106 if (!BlockDeviceToName(major(st.st_dev), minor(st.st_dev), &bdev)) { in F2fsPinBeforeAllocate()
107 LOG(ERROR) << "Failed to get block device name for " << major(st.st_dev) << ":" in F2fsPinBeforeAllocate()
126 bool BlockDeviceToName(uint32_t major, uint32_t minor, std::string* bdev_name) { in BlockDeviceToName() argument
133 std::string sysfs_path = ::android::base::StringPrintf("/sys/dev/block/%u:%u", major, minor); in BlockDeviceToName()
Dutility.h46 bool BlockDeviceToName(uint32_t major, uint32_t minor, std::string* bdev_name);
/system/extras/boottime_tools/io_analysis/
Dcheck_io_trace_all.py65 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)
/system/timezone/debug_tools/host/
DREADME.android17 from being the same as one major region to be the same as a different major
19 behavior because neither of the IDs for the major region describe the time
/system/tools/hidl/utils/
DFQName.cpp142 StartEnd package, major, minor, name, type; in setTo() local
151 major.start = l; in setTo()
152 if ((major.end = l = eatNumber(l, end)) == nullptr) return false; in setTo()
177 CHECK((major.start == nullptr) == (minor.start == nullptr)); in setTo()
180 if (name.start == nullptr && major.start == nullptr) { in setTo()
191 if (major.start != nullptr) { in setTo()
192 if (!parseVersion(major.string(), minor.string(), &mMajor, &mMinor)) goto fail; in setTo()
506 FQName FQName::withVersion(size_t major, size_t minor) const { in withVersion() argument
508 ret.mMajor = major; in withVersion()
/system/vold/model/
DDisk.cpp89 static bool isNvmeBlkDevice(unsigned int major, const std::string& sysPath) { in isNvmeBlkDevice() argument
90 return sysPath.find("nvme") != std::string::npos && major >= kMajorBlockDynamicMin && in isNvmeBlkDevice()
91 major <= kMajorBlockDynamicMax; in isNvmeBlkDevice()
101 mId = StringPrintf("disk:%u,%u", major(device), minor(device)); in Disk()
221 unsigned int majorId = major(mDevice); in readMetadata()
352 dev_t partDevice = makedev(major(mDevice), minor(mDevice) + i); in readPartitions()
539 unsigned int majorId = major(mDevice); in getMaxMinors()
DPrivateVolume.cpp50 setId(StringPrintf("private:%u,%u", major(device), minor(device))); in PrivateVolume()
182 if ((major(mRawDevice) == kMajorBlockMmc || in doFormat()
183 IsVirtioBlkDevice(major(mRawDevice))) && f2fs::IsSupported()) { in doFormat()
/system/extras/simpleperf/
Denvironment_test.cpp100 int major; in TEST() local
102 ASSERT_TRUE(GetKernelVersion(&major, &minor)); in TEST()
/system/extras/boot_control_copy/
Dboot_control_copy.cpp84 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/core/init/
Duevent.h34 int major; member
Duevent_listener.cpp34 uevent->major = -1; in ParseEvent()
59 uevent->major = atoi(msg); in ParseEvent()
84 << uevent->subsystem << "', '" << uevent->firmware << "', " << uevent->major in ParseEvent()
/system/bt/bta/include/
Dutl.h50 uint8_t major; member
/system/sepolicy/prebuilts/api/26.0/public/
Dfsck_untrusted.te21 # device, comparing the major and minor numbers to the filesystem
25 # major/minor values.
/system/sepolicy/prebuilts/api/27.0/public/
Dfsck_untrusted.te21 # device, comparing the major and minor numbers to the filesystem
25 # major/minor values.
/system/sepolicy/public/
Dfsck_untrusted.te21 # device, comparing the major and minor numbers to the filesystem
25 # major/minor values.
/system/sepolicy/prebuilts/api/28.0/public/
Dfsck_untrusted.te21 # device, comparing the major and minor numbers to the filesystem
25 # major/minor values.
/system/sepolicy/prebuilts/api/29.0/public/
Dfsck_untrusted.te21 # device, comparing the major and minor numbers to the filesystem
25 # major/minor values.
/system/keymaster/android_keymaster/
Dkeymaster_configuration.cpp98 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/30.0/public/
Dfsck_untrusted.te21 # device, comparing the major and minor numbers to the filesystem
25 # major/minor values.

1234