Home
last modified time | relevance | path

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

1234

/system/bt/bta/sys/
Dutl.cc162 uint8_t minor, major; in utl_set_device_class() local
167 BTM_COD_MINOR_CLASS(minor, dev); in utl_set_device_class()
172 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
188 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
195 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
205 FIELDS_TO_COD(dev_class, minor, major, service); in utl_set_device_class()
/system/update_engine/payload_generator/
Dpayload_generation_config.cc227 minor = minor_version; in PayloadVersion()
232 TEST_AND_RETURN_FALSE(minor == kFullPayloadMinorVersion || in Validate()
233 minor == kSourceMinorPayloadVersion || in Validate()
234 minor == kOpSrcHashMinorPayloadVersion || in Validate()
235 minor == kBrotliBsdiffMinorPayloadVersion || in Validate()
236 minor == kPuffdiffMinorPayloadVersion || in Validate()
237 minor == kVerityMinorPayloadVersion || in Validate()
238 minor == kPartialUpdateMinorPayloadVersion); in Validate()
258 return minor >= kBrotliBsdiffMinorPayloadVersion; in OperationAllowed()
262 return minor >= kSourceMinorPayloadVersion; in OperationAllowed()
[all …]
Dgenerate_delta_main.cc683 payload_config.version.minor = minor_version; in Main()
686 << payload_config.version.minor; in Main()
695 payload_config.version.minor = kFullPayloadMinorVersion; in Main()
697 << payload_config.version.minor; in Main()
700 payload_config.version.minor = FLAGS_minor_version; in Main()
704 if (payload_config.version.minor != kFullPayloadMinorVersion && in Main()
705 (payload_config.version.minor < kMinSupportedMinorPayloadVersion || in Main()
706 payload_config.version.minor > kMaxSupportedMinorPayloadVersion)) { in Main()
707 LOG(FATAL) << "Unsupported minor version " << payload_config.version.minor; in Main()
714 payload_config.version.minor >= kVerityMinorPayloadVersion) in Main()
/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/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.cpp72 size_t minor; in checkMethodVersion() local
73 if (!base::ParseUint(version.substr(underscore + 1), &minor)) { in checkMethodVersion()
79 if ((major == fqName.getPackageMajorVersion()) && (minor == fqName.getPackageMinorVersion())) { in checkMethodVersion()
84 std::to_string(minor) + " of "s + getSanitizedMethodName(method) + in checkMethodVersion()
/system/tools/hidl/build/
DfqName.go26 minor string member
46 minor: matches[0][3],
72 return f.major + "." + f.minor
75 return "V" + f.major + "_" + f.minor
/system/tools/hidl/test/version_test/
DAndroid.bp18 " test.version.version@2.3 2>&1 | grep \"Cannot enforce minor version\" > /dev/null)" +
22 " test.version.version@2.4 2>&1 | grep \"Cannot enforce minor version\" > /dev/null)" +
26 " test.version.version@2.5 2>&1 | grep \"Cannot enforce minor version\" > /dev/null)" +
30 " test.version.version@2.3 2>&1 | grep \"doesn't pass minor version\" > /dev/null)" +
34 " test.version.version@2.3 2>&1 | grep \"doesn't pass minor version\" > /dev/null)" +
/system/core/fs_mgr/libfiemap/
Dutility.cpp106 if (!BlockDeviceToName(major(st.st_dev), minor(st.st_dev), &bdev)) { in F2fsPinBeforeAllocate()
108 << minor(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/core/libappfuse/
DFuseBuffer.cc216 const uint32_t minor = in->minor; in HandleInit() local
223 if (in->major != FUSE_KERNEL_VERSION || in->minor < 6) { in HandleInit()
225 << "." << in->minor << " Expected at least " << FUSE_KERNEL_VERSION in HandleInit()
243 out->minor = std::min(minor, 15u); in HandleInit()
/system/tools/hidl/hidl2aidl/
DAidlInterface.cpp79 size_t minor; // 4 member
91 size_t major, minor; in getBaseName() local
94 base::ParseUint(version.substr(underscore + 1), &minor)) { in getBaseName()
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/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;
140 minor = int(match.group(4))
141 devNum = major * DEV_MAJOR_MULTIPLIER + minor;
152 devNum = major * DEV_MAJOR_MULTIPLIER + minor;
165 io.add_read_event(major, minor, event)
172 io.add_write_event(major, minor, event)
/system/core/init/
Ddevices.cpp245 void DeviceHandler::MakeDevice(const std::string& path, bool block, int major, int minor, in MakeDevice() argument
259 dev_t dev = makedev(major, minor); in MakeDevice()
407 … int major, int minor, const std::vector<std::string>& links) const { in HandleDevice() argument
409 MakeDevice(devpath, block, major, minor, links); in HandleDevice()
468 if (uevent.major < 0 || uevent.minor < 0) return; in HandleUevent()
492 int bus_id = uevent.minor / 128 + 1; in HandleUevent()
493 int device_id = uevent.minor % 128 + 1; in HandleUevent()
505 HandleDevice(uevent.action, devpath, block, uevent.major, uevent.minor, links); in HandleUevent()
Duevent.h35 int minor; member
Duevent_listener.cpp35 uevent->minor = -1; in ParseEvent()
62 uevent->minor = atoi(msg); in ParseEvent()
85 << ", " << uevent->minor << " }"; in ParseEvent()
/system/extras/simpleperf/
Denvironment_test.cpp101 int minor; 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/bt/bta/include/
Dutl.h49 uint8_t minor; 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.cpp99 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); 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