/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/mkbootimg/include/bootimg/ |
D | bootimg.h | 86 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/ |
D | AidlInterface.cpp | 78 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/ |
D | version.h | 82 #define CHRE_PAL_CREATE_API_VERSION(major, minor) \ argument 83 ((uint32_t) ((((major) & 0xFF) << 24) | (((minor) & 0xFF) << 16)))
|
/system/tools/hidl/lint/lints/ |
D | methodVersions.cpp | 65 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/ |
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/core/fs_mgr/libfiemap/ |
D | utility.cpp | 106 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()
|
D | utility.h | 46 bool BlockDeviceToName(uint32_t major, uint32_t minor, std::string* bdev_name);
|
/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)
|
/system/timezone/debug_tools/host/ |
D | README.android | 17 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/ |
D | FQName.cpp | 142 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/ |
D | Disk.cpp | 89 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()
|
D | PrivateVolume.cpp | 50 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/ |
D | environment_test.cpp | 100 int major; in TEST() local 102 ASSERT_TRUE(GetKernelVersion(&major, &minor)); in TEST()
|
/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/core/init/ |
D | uevent.h | 34 int major; member
|
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()
|
/system/bt/bta/include/ |
D | utl.h | 50 uint8_t major; member
|
/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.
|
/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.
|
/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.
|
/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/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/30.0/public/ |
D | fsck_untrusted.te | 21 # device, comparing the major and minor numbers to the filesystem 25 # major/minor values.
|