Home
last modified time | relevance | path

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

/system/bt/bta/sys/
Dutl.c195 UINT8 minor, major; in utl_set_device_class() local
201 BTM_COD_MAJOR_CLASS(major, dev ); in utl_set_device_class()
207 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
223 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
230 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
239 FIELDS_TO_COD(dev_class, minor, major, service); in utl_set_device_class()
/system/core/init/
Ddevices.cpp68 int major; member
233 int block, int major, int minor, in make_device() argument
249 dev = makedev(major, minor); in make_device()
363 uevent->major = -1; in parse_event()
385 uevent->major = atoi(msg); in parse_event()
408 uevent->firmware, uevent->major, uevent->minor); in parse_event()
525 const char *path, int block, int major, int minor, char **links) in handle_device() argument
530 make_device(devpath, path, block, major, minor, (const char **)links); in handle_device()
567 if((uevent->major < 0) || (uevent->minor < 0)) in parse_device_name()
604 uevent->major, uevent->minor, links); in handle_block_device_event()
[all …]
/system/vold/
DDisk.cpp83 mId = StringPrintf("disk:%u,%u", major(device), minor(device)); in Disk()
200 switch (major(mDevice)) { in readMetadata()
234 LOG(WARNING) << "Unsupported block major type" << major(mDevice); in readMetadata()
291 dev_t partDevice = makedev(major(mDevice), minor(mDevice) + i); in readPartitions()
493 switch (major(mDevice)) { in getMaxMinors()
512 LOG(ERROR) << "Unsupported block major type " << major(mDevice); in getMaxMinors()
DPrivateVolume.cpp48 setId(StringPrintf("private:%u,%u", major(device), minor(device))); in PrivateVolume()
195 if ((major(mRawDevice) == kMajorBlockMmc) && f2fs::IsSupported()) { in doFormat()
DEmulatedVolume.cpp48 setId(StringPrintf("emulated:%u,%u", major(device), minor(device))); in EmulatedVolume()
DPublicVolume.cpp46 setId(StringPrintf("public:%u,%u", major(device), minor(device))); in PublicVolume()
DVolumeManager.cpp291 int major = atoi(evt->findParam("MAJOR")); in handleBlockEvent() local
293 dev_t device = makedev(major, minor); in handleBlockEvent()
302 if (major == kMajorBlockMmc) { in handleBlockEvent()
318 LOG(DEBUG) << "Disk at " << major << ":" << minor << " changed"; in handleBlockEvent()
DUtils.cpp74 PLOG(ERROR) << "Failed to create device node for " << major(dev) in CreateDeviceNode()
/system/bt/bta/include/
Dutl.h48 UINT8 major; member
/system/extras/showslab/
Dshowslab.c65 unsigned int major, minor; in get_slabinfo() local
78 if (sscanf(line, "slabinfo - version: %u.%u", &major, &minor) != 2) { in get_slabinfo()
83 if (major != 2 || minor > 1) { in get_slabinfo()
/system/core/sdcard/
Dsdcard.c1433 handler->token, req->major, req->minor, req->max_readahead, req->flags); in handle_init()
1440 if (req->major != FUSE_KERNEL_VERSION || req->minor < 6) { in handle_init()
1442 req->major, req->minor, FUSE_KERNEL_VERSION); in handle_init()
1460 out.major = FUSE_KERNEL_VERSION; in handle_init()
/system/core/toolbox/
Dls.c299 major(s->st_rdev), minor(s->st_rdev), in listfile_long()
/system/core/adb/
Dusb_linux.cpp283 major(st.st_rdev), minor(st.st_rdev)); in find_usb_device()
/system/bt/stack/btm/
Dbtm_inq.c161 UINT8 major, minor; in BTM_SetDiscoverability() local
267 BTM_COD_MAJOR_CLASS(major, p_cod ); in BTM_SetDiscoverability()
273 FIELDS_TO_COD(cod, minor, major, service_class); in BTM_SetDiscoverability()
Dbtm_sec.c6033 UINT8 major = (UINT8)(p_dev_rec->dev_class[1] & BTM_COD_MAJOR_CLASS_MASK); in btm_sec_check_prefetch_pin() local
6037 if ((major == BTM_COD_MAJOR_AUDIO) in btm_sec_check_prefetch_pin()
6041 __func__, major, minor); in btm_sec_check_prefetch_pin()
/system/keymaster/
Dandroid_keymaster_test_utils.h208 keymaster_error_t GetVersion(uint8_t* major, uint8_t* minor, uint8_t* subminor);
/system/bt/doc/
Dstyle_guide.md7 Directories at the top-level should consist of major subsystems in Bluedroid.