Home
last modified time | relevance | path

Searched refs:ns (Results 1 – 25 of 30) sorted by relevance

12

/device/generic/goldfish/wifi/execns/
Dexecns.cpp92 static std::string readNamespacePid(const char* ns) { in readNamespacePid() argument
94 snprintf(nsPath, sizeof(nsPath), "%s/%s.pid", kNetNsDir, ns); in readNamespacePid()
99 nsPath, ns, strerror(errno)); in readNamespacePid()
121 static bool setNetworkNamespace(const char* ns) { in setNetworkNamespace() argument
130 std::string pid = readNamespacePid(ns); in setNetworkNamespace()
140 ns, nsPath, strerror(errno)); in setNetworkNamespace()
146 ns, strerror(errno)); in setNetworkNamespace()
/device/generic/goldfish-opengl/shared/qemupipe/
Dqemu_pipe_guest.cpp41 int qemu_pipe_open_ns(const char* ns, const char* pipeName, int flags) { in qemu_pipe_open_ns() argument
54 if (ns) { in qemu_pipe_open_ns()
55 bufLen = snprintf(buf, sizeof(buf), "pipe:%s:%s", ns, pipeName); in qemu_pipe_open_ns()
/device/linaro/dragonboard/qcom/tqftpserv/
Dtqftpserv.service.in3 Requires=qrtr-ns.service
4 After=qrtr-ns.service
/device/linaro/dragonboard/qcom/pd-mapper/
Dpd-mapper.service.in3 Requires=qrtr-ns.service
4 After=qrtr-ns.service
/device/linaro/dragonboard/qcom/rmtfs/
Drmtfs.service.in3 Requires=qrtr-ns.service
4 After=qrtr-ns.service
/device/generic/goldfish/gnss/
Dgnss_hw_listener.cpp136 char ns = 0; // north/south in parseGPRMC() local
142 &latdmm, &latdmmConsumed, &latf, &latfConsumed, &ns, in parseGPRMC()
153 const double lat = convertDMMF(latdmm, latf, latfConsumed - latdmmConsumed) * sign(ns, 'N'); in parseGPRMC()
222 char ns = 0; in parseGPGGA() local
228 &latdmm, &latdmmConsumed, &latf, &latfConsumed, &ns, in parseGPGGA()
/device/linaro/dragonboard/qcom/qrtr/
DMakefile27 $(proj)-ns-srcs := \
30 src/ns.c \
36 $(proj)-ns-cflags := -Ilib
52 targets := $(proj)-ns $(proj)-cfg $(proj)-lookup lib$(proj).so
137 $(eval $(call add-systemd-service-target,qrtr-ns.service))
DAndroid.bp15 name: "qrtr-ns",
20 "src/ns.c",
Dqrtr-ns.service.in5 ExecStart=QRTR_NS_PATH/qrtr-ns -f 1
/device/generic/goldfish/audio/
Dutil.cpp152 TimeSpec nsecs2TimeSpec(nsecs_t ns) { in nsecs2TimeSpec() argument
154 ts.tvSec = ns2s(ns); in nsecs2TimeSpec()
155 ts.tvNSec = ns - s2ns(ts.tvSec); in nsecs2TimeSpec()
/device/google/cuttlefish/guest/hals/camera/fake-pipeline2/
DSensor.h112 void setExposureTime(uint64_t ns);
113 void setFrameDuration(uint64_t ns);
DSensor.cpp139 void Sensor::setExposureTime(uint64_t ns) { in setExposureTime() argument
141 ALOGVV("Exposure set to %f", ns / 1000000.f); in setExposureTime()
142 mExposureTime = ns; in setExposureTime()
145 void Sensor::setFrameDuration(uint64_t ns) { in setFrameDuration() argument
147 ALOGVV("Frame duration set to %f", ns / 1000000.f); in setFrameDuration()
148 mFrameDuration = ns; in setFrameDuration()
/device/linaro/dragonboard/qcom/
Dinit.qcom.rc1 service qrtr-ns /vendor/bin/qrtr-ns -f 1
31 start qrtr-ns
/device/generic/goldfish/camera/fake-pipeline2/
DSensor.h113 void setExposureTime(uint64_t ns);
114 void setFrameDuration(uint64_t ns);
DSensor.cpp154 void Sensor::setExposureTime(uint64_t ns) { in setExposureTime() argument
156 ALOGVV("Exposure set to %f", ns/1000000.f); in setExposureTime()
157 mExposureTime = ns; in setExposureTime()
160 void Sensor::setFrameDuration(uint64_t ns) { in setFrameDuration() argument
162 ALOGVV("Frame duration set to %f", ns/1000000.f); in setFrameDuration()
163 mFrameDuration = ns; in setFrameDuration()
/device/google/contexthub/lib/nanohub/
Drsa.c217 uint32_t state1 = 0, state2 = 0, step = 0, ns = 0; in rsaPubOp() local
221 ns++; in rsaPubOp()
224 fprintf(stderr, "steps: %u\n", ns); in rsaPubOp()
/device/generic/goldfish-opengl/shared/qemupipe/include/
Dqemu_pipe_bp.h24 QEMU_PIPE_HANDLE qemu_pipe_open_ns(const char* ns, const char* pipeName, int flags);
/device/google/cuttlefish/common/libs/time/
Dmonotonic_time.h277 Nanoseconds(int64_t ns) : TimeDifference(ns / kNanosecondsPerSecond, in Nanoseconds() argument
278 ns % kNanosecondsPerSecond, 1) { } in Nanoseconds()
/device/linaro/hikey/power/
Dpower_hikey.c156 static void nanosleep_ns(long long ns) in nanosleep_ns() argument
159 ts.tv_sec = ns/NSEC_PER_SEC; in nanosleep_ns()
160 ts.tv_nsec = ns%NSEC_PER_SEC; in nanosleep_ns()
/device/generic/goldfish/fingerprint/
Dfingerprint.c120 int ns = fwrite(&listener->secureid[idx], sizeof(uint64_t), 1, fp); in saveFingerprint() local
129 if (ns != 1 || nf !=1) in saveFingerprint()
214 int ns = fread(listener->secureid, MAX_NUM_FINGERS * sizeof(uint64_t), 1, in loadFingerprints() local
218 if (ns != 1 || nf != 1) in loadFingerprints()
219 ALOGW("Corrupt emulator fingerprints storage (read %d+%db)", ns, nf); in loadFingerprints()
/device/linaro/dragonboard/db845c/
Ddevice.mk37 qrtr-ns \
/device/generic/goldfish/camera/qemu-pipeline3/
DQemuSensor.cpp136 void QemuSensor::setFrameDuration(uint64_t ns) { in setFrameDuration() argument
138 ALOGVV("Frame duration set to %f", ns/1000000.f); in setFrameDuration()
139 mFrameDuration = ns; in setFrameDuration()
DQemuSensor.h66 void setFrameDuration(uint64_t ns);
/device/linaro/dragonboard/
Dpixel3_mainline.mk25 P3_ONLY_VENDOR += %/ns.ko %/qcom_q6v5.ko %/qrtr.ko %/qcom_q6v5_mss.ko %/qrtr-smd.ko
/device/linaro/dragonboard/sepolicy/
Dfile_contexts35 /vendor/bin/qrtr-ns u:object_r:qrtr_exec:s0

12