Home
last modified time | relevance | path

Searched defs:ns (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/av/services/audioflinger/afutils/
DTypedLogger.h105 #define LOG_OVERRUN(ns) do { NBLog::Writer *x = aflog::getThreadWriter(); if (x != nullptr) \ argument
117 #define LOG_UNDERRUN(ns) do { NBLog::Writer *x = aflog::getThreadWriter(); if (x != nullptr) \ argument
127 #define LOG_WORK_TIME(ns) do { NBLog::Writer *x = aflog::getThreadWriter(); if (x != nullptr) \ argument
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/
DTime.h58 nsecs_t ns() const { return std::chrono::nanoseconds(*this).count(); } in ns() function
65 constexpr TimePoint TimePoint::fromNs(nsecs_t ns) { in fromNs()
69 inline nsecs_t TimePoint::ns() const { in ns() function
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dclock_ns.h28 int64_t ns = kNanosPerSecond * (int64_t)t.tv_sec + (int64_t)t.tv_nsec; in GetSystemClockNs() local
34 int64_t ns = kNanosPerSecond * (int64_t)t.tv_sec + (int64_t)t.tv_nsec; in GetSystemClockRawNs() local
48 static inline timespec NsToTimespec(int64_t ns) { in NsToTimespec()
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp420 Attribute* Element::FindAttribute(StringPiece ns, StringPiece name) { in FindAttribute()
424 const Attribute* Element::FindAttribute(StringPiece ns, StringPiece name) const { in FindAttribute()
433 void Element::RemoveAttribute(StringPiece ns, StringPiece name) { in RemoveAttribute()
442 Attribute* Element::FindOrCreateAttribute(StringPiece ns, StringPiece name) { in FindOrCreateAttribute()
451 Element* Element::FindChild(StringPiece ns, StringPiece name) { in FindChild()
455 const Element* Element::FindChild(StringPiece ns, StringPiece name) const { in FindChild()
459 Element* Element::FindChildWithAttribute(StringPiece ns, StringPiece name, StringPiece attr_ns, in FindChildWithAttribute()
465 const Element* Element::FindChildWithAttribute(StringPiece ns, StringPiece name, in FindChildWithAttribute()
/frameworks/base/tools/bit/
Daapt.cpp45 string ns; member
52 string ns; member
85 Element::GetAttr(const string& ns, const string& name) const in GetAttr() argument
98 Element::FindElements(const string& ns, const string& name, vector<Element*>* result, bool recurse) in FindElements()
/frameworks/native/services/sensorservice/
DRotationVectorSensor.cpp69 status_t RotationVectorSensor::setDelay(void* ident, int /*handle*/, int64_t ns) { in setDelay()
154 status_t GyroDriftSensor::setDelay(void* ident, int /*handle*/, int64_t ns) { in setDelay()
DOrientationSensor.cpp78 status_t OrientationSensor::setDelay(void* ident, int /*handle*/, int64_t ns) { in setDelay()
DSensorInterface.cpp76 status_t HardwareSensor::setDelay(void* ident, int handle, int64_t ns) { in setDelay()
116 status_t RuntimeSensor::setDelay(void*, int, int64_t ns) { in setDelay()
DLinearAccelerationSensor.cpp68 status_t LinearAccelerationSensor::setDelay(void* ident, int handle, int64_t ns) { in setDelay()
DCorrectedGyroSensor.cpp75 status_t CorrectedGyroSensor::setDelay(void* ident, int /*handle*/, int64_t ns) { in setDelay()
DGravitySensor.cpp82 status_t GravitySensor::setDelay(void* ident, int /*handle*/, int64_t ns) { in setDelay()
/frameworks/native/opengl/libs/EGL/
DLoader.cpp177 android_namespace_t* ns = android::GraphicsEnv::getInstance().getAngleNamespace(); in should_unload_system_driver() local
540 static void* load_angle(const char* kind, android_namespace_t* ns) { in load_angle()
563 static void* load_updated_driver(const char* kind, android_namespace_t* ns) { in load_updated_driver()
589 android_namespace_t* ns = android::GraphicsEnv::getInstance().getAngleNamespace(); in attempt_to_load_angle() local
635 android_namespace_t* ns = android::GraphicsEnv::getInstance().getDriverNamespace(); in attempt_to_load_updated_driver() local
/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp82 bool ThreadCpuUsage::sampleAndEnable(double& ns) in sampleAndEnable()
102 bool ThreadCpuUsage::sample(double &ns) in sample()
/frameworks/base/media/java/android/media/audiofx/
DNoiseSuppressor.java64 NoiseSuppressor ns = null; in create() local
/frameworks/base/services/flags/java/com/android/server/flags/
DFeatureFlagsBinder.java84 String ns = sf.getNamespace(); in syncFlags() local
122 String ns = sf.getNamespace(); in queryFlags() local
/frameworks/base/tools/aapt/
DXMLNode.cpp247 const char16_t* ns = inXml->getElementNamespace(&nslen); in parseStyledString() local
304 const char16_t* ns = inXml->getElementNamespace(&nslen); in parseStyledString() local
418 const char16_t* ns) in build_namespace()
464 String8 ns = build_namespace(namespaces, ns16); in printXMLBlock() local
502 namespace_entry ns; in printXMLBlock() local
520 const namespace_entry& ns = namespaces.top(); in printXMLBlock() local
710 const XMLNode::attribute_entry* XMLNode::getAttribute(const String16& ns, in getAttribute()
723 bool XMLNode::removeAttribute(const String16& ns, const String16& name) in removeAttribute()
735 XMLNode::attribute_entry* XMLNode::editAttribute(const String16& ns, in editAttribute()
822 status_t XMLNode::addAttribute(const String16& ns, const String16& name, in addAttribute()
DAaptXml.h61 inline int32_t getIntegerAttribute(const android::ResXMLTree& tree, const char* ns, in getIntegerAttribute()
DXMLNode.h50 sp<XMLNode> newElement(const String8& filename, const String16& ns, const String16& name) { in newElement()
89 String16 ns; member
DAaptXml.cpp79 String8 getAttribute(const ResXMLTree& tree, const char* ns, in getAttribute()
139 int32_t getIntegerAttribute(const ResXMLTree& tree, const char* ns, in getIntegerAttribute()
/frameworks/av/media/module/libwatchdog/
DWatchdog.cpp45 auto ns = std::chrono::duration_cast<std::chrono::nanoseconds>(timeout); in Watchdog() local
/frameworks/libs/binary_translation/guest_loader/
Dguest_loader_test.cc52 android_namespace_t* ns = loader->CreateNamespace("classloader-namespace", in TEST() local
/frameworks/native/libs/sensor/
DISensorEventConnection.cpp75 virtual status_t setEventRate(int handle, nsecs_t ns) in setEventRate()
146 nsecs_t ns = data.readInt64(); in onTransact() local
/frameworks/av/media/libheadtracking/include/media/
DPose.h136 static float nsToFloatMs(T ns) { in nsToFloatMs()
/frameworks/base/native/webview/loader/
Dloader.cpp88 android_namespace_t* ns = in DoCreateRelroFile() local
127 android_namespace_t* ns = in DoLoadWithRelroFile() local
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp1074 int32_t ns = outputDelayRingBufferGetSamples(outBuffer, numSamples); in onQueueFilled() local
1115 int32_t ns = outputDelayRingBufferGetSamples(outBuffer, ringBufAvail); in onQueueFilled() local
1157 int32_t ns = outputDelayRingBufferGetSamples(0, avail); in onPortFlushCompleted() local

123