/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 560 webrtc::NoiseSuppression *ns = static_cast<webrtc::NoiseSuppression *>(effect->engine); local 561 ns->set_level(kNsDefaultLevel); 567 webrtc::NoiseSuppression *ns = effect->session->apm->noise_suppression(); local 568 ALOGV("NsCreate got ns %p", ns); 569 if (ns == NULL) { 573 effect->engine = static_cast<preproc_fx_handle_t>(ns); 595 webrtc::NoiseSuppression *ns = static_cast<webrtc::NoiseSuppression *>(effect->engine); local 596 ALOGV("NsEnable ns %p", ns); 603 webrtc::NoiseSuppression *ns = static_cast<webrtc::NoiseSuppression *>(effect->engine); local [all...] |
/frameworks/av/media/libnbaio/ |
H A D | MonoPipe.cpp | 132 uint32_t ns; local 138 ns = written * ( 500000000 / Format_sampleRate(mFormat)); 141 ns = written * ( 750000000 / Format_sampleRate(mFormat)); 144 ns = written * (1000000000 / Format_sampleRate(mFormat)); 147 ns = written * (1150000000 / Format_sampleRate(mFormat)); 150 ns = written * (1350000000 / Format_sampleRate(mFormat)); 153 ns = written * (1750000000 / Format_sampleRate(mFormat)); 156 ns = count * (1350000000 / Format_sampleRate(mFormat)); 158 if (ns > 999999999) { 159 ns [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | LegacySensorManager.java | 383 final float ns = 1.0f / 1000000000.0f; 410 final float T = (mT[j]/2 + mT[j+1]/2 - time)*ns; 411 float dT = (mT[j] - mT[j+1])*ns;
|
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 1578 int ns = 0; 1585 } else if (ns == stops.length) { 1586 int[] nstops = new int[ns * 2]; 1587 for (int i = 0; i < ns; ++i) { 1592 stops[ns++] = ((TabStopSpan) o).getTabStop(); 1595 if (ns > 1) { 1596 Arrays.sort(stops, 0, ns); 1602 this.mNumStops = ns; 1606 int ns = this.mNumStops; 1607 if (ns > [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_XmlBlock.cpp | 256 jstring ns, jstring name) 266 if (ns) { 267 ns16 = env->GetStringChars(ns, NULL); 268 nsLen = env->GetStringLength(ns); 276 if (ns) { 277 env->ReleaseStringChars(ns, ns16); 254 android_content_XmlBlock_nativeGetAttributeIndex(JNIEnv* env, jobject clazz, jint token, jstring ns, jstring name) argument
|
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 557 struct ResStringPool_ref ns; member in struct:android::ResXMLTree_endElementExt 572 struct ResStringPool_ref ns; member in struct:android::ResXMLTree_attrExt 602 struct ResStringPool_ref ns; member in struct:android::ResXMLTree_attribute 693 ssize_t indexOfAttribute(const char* ns, const char* attr) const; 694 ssize_t indexOfAttribute(const char16_t* ns, size_t nsLen,
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 878 return dtohl(((const ResXMLTree_attrExt*)mCurExt)->ns.index); 881 return dtohl(((const ResXMLTree_endElementExt*)mCurExt)->ns.index); 926 return dtohl(attr->ns.index); 1040 ssize_t ResXMLParser::indexOfAttribute(const char* ns, const char* attr) const argument 1042 String16 nsStr(ns != NULL ? ns : ""); 1044 return indexOfAttribute(ns ? nsStr.string() : NULL, ns ? nsStr.size() : 0, 1048 ssize_t ResXMLParser::indexOfAttribute(const char16_t* ns, size_t nsLen, argument 1057 //printf("%d: ns [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | NoiseSuppressor.java | 64 NoiseSuppressor ns = null; 66 ns = new NoiseSuppressor(audioSession); 68 Log.w(TAG, "not implemented on this device "+ns); 74 return ns;
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
H A D | StackOverflowXmlParser.java | 33 private static final String ns = null; field in class:StackOverflowXmlParser 52 parser.require(XmlPullParser.START_TAG, ns, "feed"); 86 parser.require(XmlPullParser.START_TAG, ns, "entry"); 110 parser.require(XmlPullParser.START_TAG, ns, "title"); 112 parser.require(XmlPullParser.END_TAG, ns, "title"); 119 parser.require(XmlPullParser.START_TAG, ns, "link"); 128 parser.require(XmlPullParser.END_TAG, ns, "link"); 134 parser.require(XmlPullParser.START_TAG, ns, "summary"); 136 parser.require(XmlPullParser.END_TAG, ns, "summary");
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | Settings.java | 1832 private int readInt(XmlPullParser parser, String ns, String name, int defValue) { argument 1833 String v = parser.getAttributeValue(ns, name);
|
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 241 String8 getAttribute(const ResXMLTree& tree, const char* ns, argument 244 ssize_t idx = tree.indexOfAttribute(ns, attr);
|
H A D | Main.h | 58 String8 getAttribute(const ResXMLTree& tree, const char* ns,
|
H A D | Resource.cpp | 452 const char* ns, const char* attr, const char* validChars, bool required) 456 ssize_t index = parser.indexOfAttribute(ns, attr); 689 const String16 ns(ns8); 692 if (node->getAttribute(ns, attr) != NULL) { 696 String8(attr).string(), String8(ns).string(), value); 702 String8(attr).string(), String8(ns).string()); 708 node->addAttribute(ns, attr, String16(value)); 2409 const char* ns; member in struct:NamespaceAttributePair 2412 NamespaceAttributePair(const char* n, const char* a) : ns(n), attr(a) {} 2413 NamespaceAttributePair() : ns(NUL 450 validateAttr(const String8& path, const ResTable& table, const ResXMLParser& parser, const char* ns, const char* attr, const char* validChars, bool required) argument 2492 addTagAttrPair(KeyedVector<String8, Vector<NamespaceAttributePair> >* dest, const char* tag, const char* ns, const char* attr) argument [all...] |
H A D | XMLNode.cpp | 228 const uint16_t* ns = inXml->getElementNamespace(&nslen); local 229 if (ns == NULL) { 230 ns = (const uint16_t*)"\0\0"; 233 const String8 nspace(String16(ns, nslen)); 285 const uint16_t* ns = inXml->getElementNamespace(&nslen); local 286 if (ns == NULL) { 287 ns = (const uint16_t*)"\0\0"; 290 const String8 nspace(String16(ns, nslen)); 397 const uint16_t* ns) 400 if (ns ! 396 build_namespace(const Vector<namespace_entry>& namespaces, const uint16_t* ns) argument 443 String8 ns = build_namespace(namespaces, ns16); local 476 namespace_entry ns; local 491 const namespace_entry& ns = namespaces.top(); local [all...] |
H A D | XMLNode.h | 48 sp<XMLNode> newElement(const String8& filename, const String16& ns, const String16& name) { argument 49 return new XMLNode(filename, ns, name, false); 86 String16 ns; member in struct:XMLNode::attribute_entry 97 const attribute_entry* getAttribute(const String16& ns, const String16& name) const; 99 attribute_entry* editAttribute(const String16& ns, const String16& name); 116 status_t addAttribute(const String16& ns, const String16& name,
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | BridgeXmlPullAttributes.java | 58 String ns = mParser.getAttributeNamespace(index); 60 if (BridgeConstants.NS_RESOURCES.equals(ns)) { 71 if (mContext.getProjectCallback().getNamespace().equals(ns)) {
|
/frameworks/compile/mclinker/tools/llvm-mcld/ |
H A D | llvm-mcld.cpp | 801 cl::list<std::string>::iterator ns; local 803 for (ns=ArgNameSpecList.begin(); ns!=nsEnd; ++ns) { 806 ArgNameSpecList.getPosition(ns-ArgNameSpecList.begin()), 807 *ns));
|
/frameworks/native/include/cpustats/ |
H A D | ThreadCpuUsage.h | 26 // Units are in per-thread CPU ns, as reported by 79 // then adds a sample for tracked CPU ns since the previous 82 // now disabled, then adds a sample for the tracked CPU ns accumulated 86 // Returns true if the sample 'ns' is valid, or false if invalid. 87 // Note that 'ns' is an output parameter passed by reference. 90 bool sampleAndEnable(double& ns); 95 // and don't add sample. Otherwise, adds a sample for tracked CPU ns since 99 // Note that 'ns' is an output parameter passed by reference. 102 bool sample(double& ns); 104 // Return the elapsed delta wall clock ns sinc [all...] |
/frameworks/native/include/gui/ |
H A D | ISensorEventConnection.h | 40 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
|
H A D | SensorEventQueue.h | 68 status_t setEventRate(Sensor const* sensor, nsecs_t ns) const;
|
/frameworks/native/libs/cpustats/ |
H A D | ThreadCpuUsage.cpp | 76 bool ThreadCpuUsage::sampleAndEnable(double& ns) argument 82 return sample(ns); 85 ns = (double) mAccumulator; 87 ALOGV("sampleAndEnable %.0f", ns); 91 ns = 0.0; 97 bool ThreadCpuUsage::sample(double &ns) argument 106 ns = 0.0; 117 ns = (double) mAccumulator; 118 ALOGV("sample %.0f", ns); 123 ns [all...] |
/frameworks/native/libs/gui/ |
H A D | ISensorEventConnection.cpp | 65 virtual status_t setEventRate(int handle, nsecs_t ns) argument 70 data.writeInt64(ns); 101 int ns = data.readInt64(); local 102 status_t result = setEventRate(handle, ns);
|
H A D | SensorEventQueue.cpp | 129 status_t SensorEventQueue::setEventRate(Sensor const* sensor, nsecs_t ns) const { 130 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns);
|
/frameworks/native/services/sensorservice/ |
H A D | CorrectedGyroSensor.cpp | 64 status_t CorrectedGyroSensor::setDelay(void* ident, int handle, int64_t ns) { argument 65 mSensorDevice.setDelay(this, mGyro.getHandle(), ns); 66 return mSensorFusion.setDelay(this, ns);
|
H A D | CorrectedGyroSensor.h | 44 virtual status_t setDelay(void* ident, int handle, int64_t ns);
|