Home
last modified time | relevance | path

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

123

/frameworks/av/services/audioflinger/
DTypedLogger.h106 #define LOG_OVERRUN(ns) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \ argument
118 #define LOG_UNDERRUN(ns) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \ argument
127 #define LOG_WORK_TIME(ns) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \ argument
/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/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringInterfaceUtils.java42 public static @Nullable InterfaceSet getTetheringInterfaces(UpstreamNetworkState ns) { in getTetheringInterfaces()
58 public static @Nullable String getIPv6Interface(UpstreamNetworkState ns) { in getIPv6Interface()
DIPv6TetheringCoordinator.java122 public void updateUpstreamNetworkState(UpstreamNetworkState ns) { in updateUpstreamNetworkState()
147 private void setUpstreamNetworkState(UpstreamNetworkState ns) { in setUpstreamNetworkState()
318 private static String toDebugString(UpstreamNetworkState ns) { in toDebugString()
DUpstreamNetworkMonitor.java508 public UpstreamNetworkState ns = null; field in UpstreamNetworkMonitor.TypeStatePair
554 private static boolean isCellular(UpstreamNetworkState ns) { in isCellular()
563 private static boolean hasCapability(UpstreamNetworkState ns, int netCap) { in hasCapability()
568 private static boolean isNetworkUsableAndNotCellular(UpstreamNetworkState ns) { in isNetworkUsableAndNotCellular()
DTethering.java1373 private boolean pertainsToCurrentUpstream(UpstreamNetworkState ns) { in pertainsToCurrentUpstream()
1539 final UpstreamNetworkState ns = (config.chooseUpstreamAutomatically) in chooseUpstreamType() local
1560 protected void setUpstreamNetwork(UpstreamNetworkState ns) { in setUpstreamNetwork()
1619 protected void handleNewUpstreamNetworkState(UpstreamNetworkState ns) { in handleNewUpstreamNetworkState()
1678 private void addUpstreamPrefixes(final UpstreamNetworkState ns) { in addUpstreamPrefixes()
1682 private void removeUpstreamPrefixes(final UpstreamNetworkState ns) { in removeUpstreamPrefixes()
1693 final UpstreamNetworkState ns = (UpstreamNetworkState) o; in handleUpstreamNetworkMonitorCallback() local
1981 public void updateUpstreamNetworkState(UpstreamNetworkState ns) { in updateUpstreamNetworkState()
2113 private void reportUpstreamChanged(UpstreamNetworkState ns) { in reportUpstreamChanged()
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareAgentNetworkSpecifier.java53 public WifiAwareAgentNetworkSpecifier(WifiAwareNetworkSpecifier ns) { in WifiAwareAgentNetworkSpecifier()
139 public boolean satisfiesAwareNetworkSpecifier(WifiAwareNetworkSpecifier ns) { in satisfiesAwareNetworkSpecifier()
159 private ByteArrayWrapper convert(WifiAwareNetworkSpecifier ns) { in convert()
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp415 Attribute* Element::FindAttribute(const StringPiece& ns, const StringPiece& name) { in FindAttribute()
419 const Attribute* Element::FindAttribute(const StringPiece& ns, const StringPiece& name) const { in FindAttribute() argument
428 void Element::RemoveAttribute(const StringPiece& ns, const StringPiece& name) { in RemoveAttribute()
437 Attribute* Element::FindOrCreateAttribute(const StringPiece& ns, const StringPiece& name) { in FindOrCreateAttribute()
446 Element* Element::FindChild(const StringPiece& ns, const StringPiece& name) { in FindChild()
450 const Element* Element::FindChild(const StringPiece& ns, const StringPiece& name) const { in FindChild() argument
454 Element* Element::FindChildWithAttribute(const StringPiece& ns, const StringPiece& name, in FindChildWithAttribute()
461 const Element* Element::FindChildWithAttribute(const StringPiece& ns, const StringPiece& name, in FindChildWithAttribute()
/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()
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/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/opengl/libs/EGL/
DLoader.cpp157 android_namespace_t* ns = android::GraphicsEnv::getInstance().getAngleNamespace(); in should_unload_system_driver() local
486 static void* load_angle(const char* kind, android_namespace_t* ns) { in load_angle()
506 static void* load_updated_driver(const char* kind, android_namespace_t* ns) { in load_updated_driver()
534 android_namespace_t* ns = android::GraphicsEnv::getInstance().getAngleNamespace(); in attempt_to_load_angle() local
577 android_namespace_t* ns = android::GraphicsEnv::getInstance().getDriverNamespace(); in attempt_to_load_updated_driver() local
/frameworks/base/media/java/android/media/audiofx/
DNoiseSuppressor.java64 NoiseSuppressor ns = null; in create() local
/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp81 bool ThreadCpuUsage::sampleAndEnable(double& ns) in sampleAndEnable()
101 bool ThreadCpuUsage::sample(double &ns) in sample()
/frameworks/av/media/libwatchdog/
DWatchdog.cpp45 auto ns = std::chrono::duration_cast<std::chrono::nanoseconds>(timeout); in Watchdog() 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/base/core/java/android/net/
DMatchAllNetworkSpecifier.java39 public static void checkNotMatchAllNetworkSpecifier(NetworkSpecifier ns) { in checkNotMatchAllNetworkSpecifier()
/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/base/native/webview/loader/
Dloader.cpp88 android_namespace_t* ns = in DoCreateRelroFile() local
127 android_namespace_t* ns = in DoLoadWithRelroFile() local

123