Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 838) sorted by relevance

12345678910>>...34

/device/google/contexthub/firmware/os/core/
Dprintf.c38 static uint32_t StrPrvPrintfEx_number(printf_write_c putc_, struct PrintfData *data, bool *bail) in StrPrvPrintfEx_number() argument
48 if (data->fieldWidth > sizeof(buf) - 1) in StrPrvPrintfEx_number()
49 data->fieldWidth = sizeof(buf) - 1; in StrPrvPrintfEx_number()
51 if (data->precision > sizeof(buf) - 1) in StrPrvPrintfEx_number()
52 data->precision = sizeof(buf) - 1; in StrPrvPrintfEx_number()
57 if (data->flags & FLAG_IS_SIGNED) { in StrPrvPrintfEx_number()
59 if (((int64_t)data->number) < 0) { in StrPrvPrintfEx_number()
61 data->posChar = '-'; in StrPrvPrintfEx_number()
62 data->number = -data->number; in StrPrvPrintfEx_number()
67 if (data->base == 8) { in StrPrvPrintfEx_number()
[all …]
/device/google/bonito/
Dinit.radio.sh6 if [ -f /vendor/radio/qcril_database/qcril.db -a ! -f /data/vendor/radio/qcril.db ]; then
7 cp /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril.db
8 chown -h radio.radio /data/vendor/radio/qcril.db
10 echo 1 > /data/vendor/radio/db_check_done
12 cp /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril_prebuilt.db
13 chown radio.radio /data/vendor/radio/qcril_prebuilt.db
14 chmod 0660 /data/vendor/radio/qcril_prebuilt.db
19 if [ -f /data/vendor/radio/ver_info.txt ]; then
20 prev_version_info=`cat /data/vendor/radio/ver_info.txt`
27 rm -rf /data/vendor/radio/modem_config
[all …]
Dinit.hardware.mpssrfs.rc.userdebug1 on post-fs-data
3 mkdir /data/vendor/rfs 0770 vendor_rfs vendor_rfs
4 mkdir /data/vendor/rfs/mpss 0770 vendor_rfs vendor_rfs
5 mkdir /data/vendor/tombstones/rfs 0770 vendor_rfs vendor_rfs
6 write /data/vendor/rfs/mpss/mcfg_nv_list_flag "1"
7 chown vendor_rfs vendor_rfs /data/vendor/rfs/mpss/mcfg_nv_list_flag
8 chmod 0700 /data/vendor/rfs/mpss/mcfg_nv_list_flag
11 chmod 0660 /data/vendor/rfs/mpss/modem_efs
/device/google/coral/
Dinit.radio.sh6 if [ -f /vendor/radio/qcril_database/qcril.db -a ! -f /data/vendor/radio/qcril.db ]; then
7 cp /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril.db
8 chown -h radio.radio /data/vendor/radio/qcril.db
10 echo 1 > /data/vendor/radio/db_check_done
12 cp /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril_prebuilt.db
13 chown radio.radio /data/vendor/radio/qcril_prebuilt.db
14 chmod 0660 /data/vendor/radio/qcril_prebuilt.db
19 if [ -f /data/vendor/radio/ver_info.txt ]; then
20 prev_version_info=`cat /data/vendor/radio/ver_info.txt`
27 rm -rf /data/vendor/radio/modem_config
[all …]
Dinit.hardware.mpssrfs.rc.userdebug1 on post-fs-data
3 mkdir /data/vendor/rfs 0770 vendor_rfs vendor_rfs
4 mkdir /data/vendor/rfs/mpss 0770 vendor_rfs vendor_rfs
5 mkdir /data/vendor/tombstones/rfs 0770 vendor_rfs vendor_rfs
6 write /data/vendor/rfs/mpss/mcfg_nv_list_flag "1"
7 chown vendor_rfs vendor_rfs /data/vendor/rfs/mpss/mcfg_nv_list_flag
8 chmod 0700 /data/vendor/rfs/mpss/mcfg_nv_list_flag
11 chmod 0660 /data/vendor/rfs/mpss/modem_efs
/device/google/crosshatch/
Dinit.radio.sh6 if [ -f /vendor/radio/qcril_database/qcril.db -a ! -f /data/vendor/radio/qcril.db ]; then
7 cp /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril.db
8 chown -h radio.radio /data/vendor/radio/qcril.db
10 echo 1 > /data/vendor/radio/db_check_done
12 cp /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril_prebuilt.db
13 chown radio.radio /data/vendor/radio/qcril_prebuilt.db
14 chmod 0660 /data/vendor/radio/qcril_prebuilt.db
19 if [ -f /data/vendor/radio/ver_info.txt ]; then
20 prev_version_info=`cat /data/vendor/radio/ver_info.txt`
27 rm -rf /data/vendor/radio/modem_config
[all …]
Dinit.hardware.mpssrfs.rc.userdebug1 on post-fs-data
3 mkdir /data/vendor/rfs 0770 vendor_rfs system
4 mkdir /data/vendor/rfs/mpss 0770 vendor_rfs system
5 mkdir /data/vendor/tombstones/rfs 0770 vendor_rfs system
6 write /data/vendor/rfs/mpss/mcfg_nv_list_flag "1"
7 chown vendor_rfs vendor_rfs /data/vendor/rfs/mpss/mcfg_nv_list_flag
8 chmod 0700 /data/vendor/rfs/mpss/mcfg_nv_list_flag
/device/google/cuttlefish/host/commands/modem_simulator/unittest/
Diccfile.txt4 …<SIMIO cmd="C0" p1="0" p2="0" p3="F" data="">144,0,621A8205422100300483022F008A01058B032F060180020…
5 …<SIMIO cmd="B2" p1="1" p2="4" p3="30" data="">144,0,61184F10A0000003431002FF86FF0389FFFFFFFF500443…
6 …<SIMIO cmd="B2" p1="2" p2="4" p3="30" data="">144,0,61184F10A0000000871002FF86FF0389FFFFFFFF500455…
7 …<SIMIO cmd="B2" p1="3" p2="4" p3="30" data="">144,0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF…
8 …<SIMIO cmd="B2" p1="4" p2="4" p3="30" data="">144,0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF…
11 …<SIMIO cmd="C0" p1="0" p2="0" p3="F" data="">144,0,62178202412183022FE28A01058B032F06038002000A880…
12 <SIMIO cmd="B0" p1="0" p2="0" p3="A" data="">144,0,98683081462002318379</SIMIO>
17 …<SIMIO cmd="C0" p1="0" p2="0" p3="F" data="">144,0,62178202412183022F058A01058B032F060280020004880…
18 <SIMIO cmd="B0" p1="0" p2="0" p3="4" data="">144,0,FFFFFFFF</SIMIO>
24 …<SIMIO cmd="C0" p1="0" p2="0" p3="F" data="">144,0,62198205422100400283024F308A01058B036F060680020…
[all …]
/device/google/wahoo/
Dinit.radio.sh6 if [ -f /vendor/radio/qcril_database/qcril.db -a ! -f /data/vendor/radio/qcril.db ]; then
7 cp /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril.db
8 chown -h radio.radio /data/vendor/radio/qcril.db
10 echo 1 > /data/vendor/radio/db_check_done
15 if [ -f /data/vendor/radio/ver_info.txt ]; then
16 prev_version_info=`cat /data/vendor/radio/ver_info.txt`
23 rm -rf /data/vendor/radio/modem_config
24 mkdir /data/vendor/radio/modem_config
25 chmod 770 /data/vendor/radio/modem_config
26 cp -r /firmware/image/modem_pr/mcfg/configs/* /data/vendor/radio/modem_config
[all …]
Dsystem.prop45 # Simulate sdcard on /data/media
52 persist.rmnet.data.enable=true
53 persist.data.wda.enable=true
54 persist.data.df.dl_mode=5
55 persist.data.df.ul_mode=5
56 persist.data.df.agg.dl_pkt=10
57 persist.data.df.agg.dl_size=4096
58 persist.data.df.mux_count=8
59 persist.data.df.iwlan_mux=9
60 persist.data.df.dev_name=rmnet_usb0
[all …]
/device/google/contexthub/firmware/os/algos/common/math/
Dlevenberg_marquardt.c46 void lmSolverSetData(struct LmSolver *solver, struct LmData *data) { in lmSolverSetData() argument
48 ASSERT_NOT_NULL(data); in lmSolverSetData()
49 solver->data = data; in lmSolverSetData()
69 ASSERT_NOT_NULL(solver->data); in lmSolverSolve()
73 struct LmData *data = solver->data; in lmSolverSolve() local
81 if (computeResidualAndGradients(solver->func, state, f_data, data->temp, in lmSolverSolve()
83 meas_dim, data->residual, in lmSolverSolve()
84 data->gradient, in lmSolverSolve()
85 data->hessian)) { in lmSolverSolve()
91 matMaxDiagonalElement(data->hessian, state_dim); in lmSolverSolve()
[all …]
/device/google/contexthub/util/common/
DJSONObject.cpp31 static ssize_t parseInt32(const char *data, size_t numDigits, int32_t *out) { in parseInt32() argument
36 x += data[i] - '0'; in parseInt32()
38 CHECK(isdigit(data[i])); in parseInt32()
51 ssize_t JSONValue::Parse(const char *data, size_t size, JSONValue *out) { in Parse() argument
53 while (offset < size && isspace(data[offset])) { in Parse()
61 if (data[offset] == '[') { in Parse()
66 while (offset < size && isspace(data[offset])) { in Parse()
74 if (data[offset] == ']') { in Parse()
80 ssize_t n = Parse(&data[offset], size - offset, &val); in Parse()
90 while (offset < size && isspace(data[offset])) { in Parse()
[all …]
/device/google/wahoo/sepolicy/vendor/
Dmove-widevine-data-sh.te1 type move-widevine-data-sh, domain, coredomain;
2 type move-widevine-data-sh_exec, system_file_type, exec_type, file_type;
3 init_daemon_domain(move-widevine-data-sh);
5 typeattribute move-widevine-data-sh data_between_core_and_vendor_violators;
7 allow move-widevine-data-sh shell_exec:file rx_file_perms;
8 allow move-widevine-data-sh toolbox_exec:file rx_file_perms;
10 allow move-widevine-data-sh file_contexts_file:file { read getattr open };
12 allow move-widevine-data-sh media_data_file:file { getattr setattr relabelfrom };
13 allow move-widevine-data-sh media_data_file:dir { reparent rename rmdir setattr rw_dir_perms relab…
15 allow move-widevine-data-sh mediadrm_vendor_data_file:dir { create_dir_perms relabelto };
[all …]
/device/google/cuttlefish/common/libs/utils/
Dbase64.cpp23 bool EncodeBase64(const void *data, size_t size, std::string *out) { in EncodeBase64() argument
30 auto enc_res = EVP_EncodeBlock(reinterpret_cast<uint8_t *>(out->data()), in EncodeBase64()
31 reinterpret_cast<const uint8_t *>(data), size); in EncodeBase64()
39 bool DecodeBase64(const std::string &data, std::vector<uint8_t> *buffer) { in DecodeBase64() argument
41 auto len_res = EVP_DecodedLength(&out_len, data.size()); in DecodeBase64()
46 return EVP_DecodeBase64(buffer->data(), &out_len, out_len, in DecodeBase64()
47 reinterpret_cast<const uint8_t *>(data.data()), in DecodeBase64()
48 data.size()); in DecodeBase64()
/device/google/contexthub/contexthubhal/
Dmessage_buf.h41 char *data; variable
49 data = buf; in MessageBuf()
55 data = const_cast<char *>(buf); in MessageBuf()
59 const char *getData() const { return data; } in getData()
67 return data[pos++]; in readU8()
72 data[pos++] = val; in writeU8()
79 memcpy(&val, &data[pos], sizeof(val)); in readU16()
88 memcpy(&data[pos], &tmp, sizeof(tmp)); in writeU16()
96 memcpy(&val, &data[pos], sizeof(val)); in readU32()
105 memcpy(&data[pos], &tmp, sizeof(tmp)); in writeU32()
[all …]
/device/linaro/dragonboard/qcom/qrtr/src/
Dmap.c39 free(map->data); in map_destroy()
47 if (!map->data[i].item) in map_clear()
49 if (map->data[i].item != &deleted) in map_clear()
50 (* release)(map->data[i].item); in map_clear()
51 map->data[i].item = NULL; in map_clear()
59 map->data = 0; in map_create()
75 e = &map->data[idx]; in map_hash()
102 if (map->data[rc].item == &deleted) in map_reput()
105 *old = map->data[rc].item; in map_reput()
107 map->data[rc].item = value; in map_reput()
[all …]
/device/generic/goldfish/wifi/wifi_hal/
Dnetlinkmessage.cpp40 auto header = reinterpret_cast<nlmsghdr*>(mData.data()); in NetlinkMessage()
48 NetlinkMessage::NetlinkMessage(const char* data, size_t size) in NetlinkMessage() argument
49 : mData(data, data + size) { in NetlinkMessage()
52 bool NetlinkMessage::getAttribute(int attributeId, void* data, size_t size) const { in getAttribute() argument
61 memcpy(data, value, size); in getAttribute()
66 auto header = reinterpret_cast<const nlmsghdr*>(mData.data()); in type()
71 auto header = reinterpret_cast<const nlmsghdr*>(mData.data()); in sequence()
78 const uint8_t* end = mData.data() + mData.size(); in findAttribute()
83 const uint8_t* attribute = mData.data() + attrOffset; in findAttribute()
/device/generic/goldfish/camera/
DExif.cpp76 entry->data = reinterpret_cast<unsigned char*>(exif_mem_alloc(mem, size)); in allocateEntry()
105 exif_set_rational(&entry->data[i * rationalSize], byteOrder, rational); in createEntry()
129 const unsigned char* data, in createEntry() argument
134 memcpy(entry->data, data, size); in createEntry()
148 const unsigned char* data = reinterpret_cast<const unsigned char*>(value); in createEntry() local
149 return createEntry(exifData, ifd, tag, data, length, EXIF_FORMAT_ASCII); in createEntry()
185 exif_set_long(entry->data, byteOrder, value); in createEntry()
202 exif_set_short(entry->data, byteOrder, value); in createEntry()
375 focalLength = (entry.count > 0) ? entry.data.f[0] : 5.0f; in createExifDataCommon()
378 degrees = (entry.count > 0) ? entry.data.i32[0] : 0; in createExifDataCommon()
[all …]
/device/linaro/hikey/
Dinit.common.nanohub.rc1 on post-fs-data
2 mkdir /data/vendor/sensor
3 chown root system /data/vendor/sensor
4 chmod 0770 /data/vendor/sensor
6 mkdir /data/system/nanohub_lock
7 restorecon /data/system/nanohub_lock
/device/google/cuttlefish/guest/hals/ril/
Dcuttlefish_ril.cpp240 static void request_setup_data_call(void* data, size_t datalen, RIL_Token t) { in request_setup_data_call() argument
241 char** details = static_cast<char**>(data); in request_setup_data_call()
324 static void request_teardown_data_call(void* data, size_t /*datalen*/, in request_teardown_data_call() argument
326 char** data_strs = (char**)data; in request_teardown_data_call()
369 static void request_radio_power(void* data, size_t /*datalen*/, RIL_Token t) { in request_radio_power() argument
370 int on = ((int*)data)[0]; in request_radio_power()
505 static void request_dial(void* data, size_t /*datalen*/, RIL_Token t) { in request_dial() argument
506 RIL_Dial* p_dial = (RIL_Dial*)data; in request_dial()
539 void request_set_mute(void* data, size_t /*datalen*/, RIL_Token t) { in request_set_mute() argument
540 gMicrophoneMute = ((int*)data)[0] != 0; in request_set_mute()
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c282 static void onRequest (int request, void *data, size_t datalen, RIL_Token t);
589 static void requestRadioPower(void *data, size_t datalen __unused, RIL_Token t) in requestRadioPower() argument
597 onOff = ((int *)data)[0]; in requestRadioPower()
650 static void requestDataCallList(void *data __unused, size_t datalen __unused, RIL_Token t) in requestDataCallList()
657 void *data __unused, size_t datalen __unused, RIL_Token t, int request) in requestCallSelection()
957 void *data __unused, size_t datalen __unused, RIL_Token t) in requestQueryNetworkSelectionMode()
1000 static void requestGetCurrentCalls(void *data __unused, size_t datalen __unused, RIL_Token t)
1125 static void requestDial(void *data, size_t datalen __unused, RIL_Token t) argument
1132 p_dial = (RIL_Dial *)data;
1152 static void requestWriteSmsToSim(void *data, size_t datalen __unused, RIL_Token t) argument
[all …]
/device/google_car/crosshatch_car/
Daosp_crosshatch_car.mk65 …frameworks/native/data/etc/android.hardware.screen.landscape.xml:system/etc/permissions/android.ha…
69 …frameworks/native/data/etc/android.hardware.broadcastradio.xml:system/etc/permissions/android.hard…
74 … frameworks/native/data/etc/car_core_hardware.xml:system/etc/permissions/car_core_hardware.xml \
75 …frameworks/native/data/etc/android.hardware.type.automotive.xml:system/etc/permissions/android.har…
76 …frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardw…
77 …frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hard…
78 …frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardwa…
79 …frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permiss…
80 …frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.…
81 …frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardwar…
[all …]
/device/google_car/coral_car/
Daosp_coral_car.mk60 …frameworks/native/data/etc/android.hardware.screen.landscape.xml:system/etc/permissions/android.ha…
66 … frameworks/native/data/etc/car_core_hardware.xml:system/etc/permissions/car_core_hardware.xml \
67 …frameworks/native/data/etc/android.hardware.type.automotive.xml:system/etc/permissions/android.har…
68 …frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardw…
69 …frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hard…
70 …frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardwa…
71 …frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permiss…
72 …frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.…
73 …frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardwar…
74 …frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.s…
[all …]
/device/google/contexthub/util/nanotool/
Dnanomessage.cpp37 const uint8_t *data = buffer.data(); in Populate() local
38 const VersionInfo *source = reinterpret_cast<const VersionInfo *>(data); in Populate()
77 const uint8_t *data = buffer.data(); in Populate() local
78 const Response *source = reinterpret_cast<const Response *>(data); in Populate()
89 uint8_t *data = buffer.data(); in GetBytes() local
90 Request *req = reinterpret_cast<Request *>(data); in GetBytes()
183 return *reinterpret_cast<const uint32_t *>(buffer.data()); in EventTypeFromBuffer()
204 uint8_t *data = buffer.data(); in GetBytes() local
205 Configuration *configuration = reinterpret_cast<Configuration *>(data); in GetBytes()
212 void ConfigureSensorRequest::SetAdditionalData(const std::vector<uint8_t>& data) { in SetAdditionalData() argument
[all …]
/device/linaro/poplar/wifi/
Dwifi.rc5 on post-fs-data
7 mkdir /data/vendor/misc 0770 wifi wifi
8 mkdir /data/vendor/misc/wifi 0770 wifi wifi
9 mkdir /data/vendor/misc/wifi/sockets 0770 wifi wifi
10 mkdir /data/vendor/misc/dhcp 0770 dhcp system
14 -e/data/misc/wifi/entropy.bin -N \
16 -O/data/vendor/misc/wifi/sockets \
23 writepid /data/vendor/misc/wifi/wpa_supplicant.pid

12345678910>>...34