Home
last modified time | relevance | path

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

1234

/system/bt/bta/sys/
Dutl.cc163 uint8_t minor, major; in utl_set_device_class() local
169 BTM_COD_MAJOR_CLASS(major, dev); in utl_set_device_class()
174 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
190 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
197 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
206 FIELDS_TO_COD(dev_class, minor, major, service); in utl_set_device_class()
/system/iorap/src/inode2filename/
Dinode.h50 constexpr inline dev_t makedev(unsigned int major, unsigned int minor) { in makedev() argument
52 (((major) & 0xfffff000ULL) << 32) | (((major) & 0xfffULL) << 8) | in makedev()
56 #ifdef major
57 #undef major
61 constexpr inline unsigned int major(dev_t dev) { in major() function
107 return Inode{major(dev), minor(dev), static_cast<size_t>(inode)}; in FromDeviceAndInode()
/system/tools/mkbootimg/include/bootimg/
Dbootimg.h93 void SetOsVersion(unsigned major, unsigned minor, unsigned patch) { in SetOsVersion()
95 os_version |= (((major & 0x7f) << 25) | ((minor & 0x7f) << 18) | ((patch & 0x7f) << 11)); in SetOsVersion()
264 void SetOsVersion(unsigned major, unsigned minor, unsigned patch) { in SetOsVersion()
266 os_version |= (((major & 0x7f) << 25) | ((minor & 0x7f) << 18) | ((patch & 0x7f) << 11)); in SetOsVersion()
/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/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/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/hidl2aidl/
DAidlInterface.cpp87 size_t major; // 1 member
100 size_t major, minor; in getBaseName() local
102 base::ParseUint(version.substr(0, underscore), &major) && in getBaseName()
122 if ((current->major > versionedNode.major) || in pushVersionedNodeOntoMap()
123 (current->major == versionedNode.major && current->minor > versionedNode.minor)) { in pushVersionedNodeOntoMap()
223 << " from " << versionedType.major << "." << versionedType.minor in emitAidl()
233 << versionedMethod.major << "." << versionedMethod.minor in emitAidl()
/system/chre/chpp/clients/
Ddiscovery.c64 client->version.major == service->version.major); in chppIsClientCompatibleWithService()
144 response->services[i].version.major, in chppDiscoveryProcessDiscoverAll()
158 ->descriptor.version.major, in chppDiscoveryProcessDiscoverAll()
163 response->services[i].version.major, in chppDiscoveryProcessDiscoverAll()
177 ->descriptor.version.major, in chppDiscoveryProcessDiscoverAll()
182 response->services[i].version.major, in chppDiscoveryProcessDiscoverAll()
/system/bpf/libbpf_android/include/bpf/
DBpfUtils.h44 static inline bool isAtLeastKernelVersion(unsigned major, unsigned minor, unsigned sub) { in isAtLeastKernelVersion() argument
45 return kernelVersion() >= KVER(major, minor, sub); in isAtLeastKernelVersion()
/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()
/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/vold/model/
DPrivateVolume.cpp52 setId(StringPrintf("private:%u,%u", major(device), minor(device))); in PrivateVolume()
218 if ((major(mRawDevice) == kMajorBlockMmc || in doFormat()
219 major(mRawDevice) == kMajorBlockLoop || in doFormat()
220 IsVirtioBlkDevice(major(mRawDevice))) && f2fs::IsSupported()) { in doFormat()
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()
245 unsigned int majorId = major(mDevice); in readMetadata()
376 dev_t partDevice = makedev(major(mDevice), minor(mDevice) + i); in readPartitions()
569 unsigned int majorId = major(mDevice); in getMaxMinors()
/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.cpp134 StartEnd package, major, minor, name, type; in setTo() local
143 major.start = l; in setTo()
144 if ((major.end = l = eatNumber(l, end)) == nullptr) return false; in setTo()
169 CHECK((major.start == nullptr) == (minor.start == nullptr)); in setTo()
172 if (name.start == nullptr && major.start == nullptr) { in setTo()
183 if (major.start != nullptr) { in setTo()
184 if (!parseVersion(major.string(), minor.string(), &mMajor, &mMinor)) goto fail; in setTo()
498 FQName FQName::withVersion(size_t major, size_t minor) const { in withVersion() argument
500 ret.mMajor = major; in withVersion()
/system/extras/boot_control_copy/
Dboot_control_copy.cpp78 major(statbuf.st_dev), minor(statbuf.st_dev), major(system_a_dev), minor(system_a_dev), in module_getCurrentSlot()
79 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.h49 uint8_t major; member
/system/sepolicy/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/sepolicy/prebuilts/api/31.0/public/
Dfsck_untrusted.te21 # device, comparing the major and minor numbers to the filesystem
25 # major/minor values.
/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/30.0/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.

1234