OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dev_path
(Results
1 - 9
of
9
) sorted by null
/system/core/metricsd/
metrics_collector_main.cc
35
std::string
dev_path
;
local
42
dev_path
= dev_path_cstr;
44
if (!base::StartsWith(
dev_path
, dev_prefix,
46
LOG(WARNING) << "unexpected root device " <<
dev_path
;
49
return "/sys/class/block/" +
dev_path
.substr(dev_prefix.length()) + "/stat";
/external/rootdev/
rootdev.h
40
const char *search, const char *
dev_path
);
74
* @
dev_path
: path to dev tree. NULL for default (/dev)
89
const char *
dev_path
);
rootdev.c
346
const char *
dev_path
) {
349
if (!
dev_path
)
350
dev_path
= kDefaultDevPath;
355
path_len = snprintf(path, size, "%s/%s",
dev_path
, device);
356
if (path_len != strlen(
dev_path
) + 1 + strlen(device))
370
const char *search, const char *
dev_path
) {
375
if (!
dev_path
)
376
dev_path
= kDefaultDevPath;
398
res = rootdev_get_path(path, size, devname,
dev_path
);
/external/autotest/client/site_tests/hardware_TrackpadFunction/
hardware_TrackpadFunction.py
67
dev_path
= named_device.get(KEY_DEVPATH)
95
if (dev.get(KEY_DEVPATH, '').find(
dev_path
) == 0 and
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
mpu_iio.c
238
int setup_dmp(char *
dev_path
, int p_event)
244
printf("INFO: sysfs path=%s\n",
dev_path
);
246
ret = write_sysfs_int_and_verify("power_state",
dev_path
, 1);
250
ret = write_sysfs_int("in_accel_scale",
dev_path
, 0);
253
ret = write_sysfs_int("in_anglvel_scale",
dev_path
, 3);
256
ret = write_sysfs_int("sampling_frequency",
dev_path
, 200);
259
ret = write_sysfs_int_and_verify("firmware_loaded",
dev_path
, 0);
263
sprintf(dmp_path, "%s/dmp_firmware",
dev_path
);
271
read_sysfs_posint("firmware_loaded",
dev_path
));
275
//
dev_path
, 0xabcd0000)
[
all
...]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
stress_iio.c
220
static void setup_dmp(char *
dev_path
){
224
sprintf(sysfs_path, "%s",
dev_path
);
230
ret = write_sysfs_int("in_accel_scale",
dev_path
, 0);
233
ret = write_sysfs_int("in_anglvel_scale",
dev_path
, 3);
242
sprintf(dmp_path, "%s/dmp_firmware",
dev_path
);
/system/bt/btif/co/
bta_hh_co.c
39
const char *
dev_path
= "/dev/uhid";
variable
304
p_dev->fd = open(
dev_path
, O_RDWR | O_CLOEXEC);
333
p_dev->fd = open(
dev_path
, O_RDWR | O_CLOEXEC);
/system/core/adb/
usb_linux.cpp
501
static void register_device(const char* dev_name, const char*
dev_path
,
554
"/sys/bus/usb/devices/%s/serial",
dev_path
+ 4);
571
register_usb_transport(done_usb, serial.c_str(),
dev_path
, done_usb->writeable);
/device/google/marlin/recovery/oem-recovery/
gpt-utils.cpp
741
//
dev_path
is the path to the block device that contains the GPT image that
748
int prepare_partitions(enum boot_update_stage stage, const char *
dev_path
)
758
if (!
dev_path
) {
759
fprintf(stderr, "%s: Invalid
dev_path
\n",
764
fd = open(
dev_path
, O_RDWR);
[
all
...]
Completed in 224 milliseconds