/frameworks/base/tools/localize/ |
H A D | XMLNode.h | 10 string ns; member in struct:XMLAttribute 15 const string& ns, const string& name, const string& def);
|
H A D | res_check.cpp | 71 is_xliff_block(const string& ns, const string& name) argument 73 if (ns == XLIFF_XMLNS) {
|
H A D | ValuesFile.cpp | 31 virtual int OnStartElement(const SourcePos& pos, const string& ns, const string& name, 56 ArrayHandler::OnStartElement(const SourcePos& pos, const string& ns, const string& name, argument 59 if (ns == "" && name == "item") { 60 XMLNode* node = XMLNode::NewElement(pos, ns, name, attrs, XMLNode::EXACT); 93 virtual int OnStartElement(const SourcePos& pos, const string& ns, const string& name, 113 ValuesHandler::OnStartElement(const SourcePos& pos, const string& ns, const string& name, argument 116 if (ns == "" && name == "string") { 118 XMLNode* node = XMLNode::NewElement(pos, ns, name, attrs, XMLNode::EXACT); 124 else if (ns == "" && name == "array") {
|
H A D | XMLHandler.h | 19 string ns; member in struct:XMLAttribute 25 XMLAttribute(string ns, string name, string value); 38 const string& ns, const string& name, const string& def); 46 string Get(const string& ns) const; 47 string GetPrefix(const string& ns) const; 66 static XMLNode* NewElement(const SourcePos& pos, const string& ns, const string& name, 89 inline void SetName(const string& ns, const string& n) { m_ns = ns; m_name = n; } argument 94 vector<XMLNode*> GetElementsByName(const string& ns, const string& name) const; 95 XMLNode* GetElementByNameAt(const string& ns, cons [all...] |
H A D | XLIFFFile.cpp | 37 get_unique_node(const XMLNode* parent, const string& ns, const string& name, bool required) argument 39 size_t count = parent->CountElementsByName(ns, name); 41 return parent->GetElementByNameAt(ns, name, 0);
|
H A D | XMLHandler.cpp | 72 XMLNamespaceMap::Get(const string& ns) const 74 if (ns == "xml") { 75 return ns; 77 map<string,string>::const_iterator it = m_map.find(ns); 86 XMLNamespaceMap::GetPrefix(const string& ns) const 88 if (ns == "") { 91 map<string,string>::const_iterator it = m_map.find(ns); 128 :ns(that.ns), 135 :ns( 158 Find(const vector<XMLAttribute>& list, const string& ns, const string& name, const string& def) argument 208 NewElement(const SourcePos& pos, const string& ns, const string& name, const vector<XMLAttribute>& attrs, int pretty) argument 394 GetElementsByName(const string& ns, const string& name) const argument 408 GetElementByNameAt(const string& ns, const string& name, size_t index) const argument 426 CountElementsByName(const string& ns, const string& name) const argument 440 GetAttribute(const string& ns, const string& name, const string& def) const argument 446 parse_namespace(const char* data, string* ns, string* name) argument 742 OnEndElement(const SourcePos& pos, const string& ns, const string& name) argument [all...] |
/frameworks/base/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 | OrientationSensor.cpp | 69 status_t OrientationSensor::setDelay(void* ident, int handle, int64_t ns) { argument 70 return mSensorFusion.setDelay(this, ns);
|
H A D | RotationVectorSensor.cpp | 59 status_t RotationVectorSensor::setDelay(void* ident, int handle, int64_t ns) { argument 60 return mSensorFusion.setDelay(this, ns); 108 status_t GyroDriftSensor::setDelay(void* ident, int handle, int64_t ns) { argument 109 return mSensorFusion.setDelay(this, ns);
|
H A D | GravitySensor.cpp | 73 status_t GravitySensor::setDelay(void* ident, int handle, int64_t ns) { argument 74 return mSensorFusion.setDelay(this, ns);
|
H A D | LinearAccelerationSensor.cpp | 57 status_t LinearAccelerationSensor::setDelay(void* ident, int handle, int64_t ns) { argument 58 return mGravitySensor.setDelay(this, handle, ns);
|
H A D | SensorInterface.cpp | 53 status_t HardwareSensor::setDelay(void* ident, int handle, int64_t ns) { argument 54 return mSensorDevice.setDelay(ident, handle, ns);
|
H A D | SensorFusion.cpp | 109 status_t SensorFusion::setDelay(void* ident, int64_t ns) { argument 110 mSensorDevice.setDelay(ident, mAcc.getHandle(), ns);
|
H A D | SensorDevice.cpp | 235 nsecs_t ns = info.selectDelay(); local 236 mSensorDevice->setDelay(mSensorDevice, handle, ns); 242 status_t SensorDevice::setDelay(void* ident, int handle, int64_t ns) argument 247 status_t err = info.setDelayForIdent(ident, ns); 249 ns = info.selectDelay(); 250 return mSensorDevice->setDelay(mSensorDevice, handle, ns); 255 status_t SensorDevice::Info::setDelayForIdent(void* ident, int64_t ns) argument 259 LOGE("Info::setDelayForIdent(ident=%p, ns=%lld) failed (%s)", 260 ident, ns, strerror(-index)); 263 rates.editValueAt(index) = ns; 269 nsecs_t ns = rates.valueAt(0); local [all...] |
H A D | SensorService.cpp | 470 int handle, nsecs_t ns) 479 if (ns < 0) 483 if (ns < minDelayNs) { 484 ns = minDelayNs; 487 if (ns < MINIMUM_EVENTS_PERIOD) 488 ns = MINIMUM_EVENTS_PERIOD; 490 return sensor->setDelay(connection.get(), handle, ns); 625 int handle, nsecs_t ns) 627 return mService->setEventRate(this, handle, ns); 469 setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns) argument 624 setEventRate( int handle, nsecs_t ns) argument
|
/frameworks/base/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);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Material.java | 34 private float ns; field in class:Material 57 Math.min(Math.max(ns, 0), 128)); 69 // Math.min(Math.max(ns, 0), 128)); 101 this.ns = dis.readFloat(); 112 "ns=" + ns + "," +
|
/frameworks/base/core/jni/ |
H A D | android_util_XmlBlock.cpp | 257 jstring ns, jstring name) 267 if (ns) { 268 ns16 = env->GetStringChars(ns, NULL); 269 nsLen = env->GetStringLength(ns); 277 if (ns) { 278 env->ReleaseStringChars(ns, ns16); 255 android_content_XmlBlock_nativeGetAttributeIndex(JNIEnv* env, jobject clazz, jint token, jstring ns, jstring name) argument
|
/frameworks/base/tools/aapt/ |
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,
|
H A D | XMLNode.cpp | 221 const uint16_t* ns = inXml->getElementNamespace(&nslen); local 222 if (ns == NULL) { 223 ns = (const uint16_t*)"\0\0"; 226 const String8 nspace(String16(ns, nslen)); 278 const uint16_t* ns = inXml->getElementNamespace(&nslen); local 279 if (ns == NULL) { 280 ns = (const uint16_t*)"\0\0"; 283 const String8 nspace(String16(ns, nslen)); 390 const uint16_t* ns) 393 if (ns ! 389 build_namespace(const Vector<namespace_entry>& namespaces, const uint16_t* ns) argument 436 String8 ns = build_namespace(namespaces, ns16); local 469 namespace_entry ns; local 484 const namespace_entry& ns = namespaces.top(); local [all...] |
H A D | Command.cpp | 240 String8 getAttribute(const ResXMLTree& tree, const char* ns, argument 243 ssize_t idx = tree.indexOfAttribute(ns, attr);
|
H A D | Resource.cpp | 416 const char* ns, const char* attr, const char* validChars, bool required) 420 ssize_t index = parser.indexOfAttribute(ns, attr); 647 const String16 ns(ns8); 650 if (node->getAttribute(ns, attr) != NULL) { 653 String8(attr).string(), String8(ns).string()); 657 node->addAttribute(ns, attr, String16(value)); 2151 const char* ns; member in struct:NamespaceAttributePair 2154 NamespaceAttributePair(const char* n, const char* a) : ns(n), attr(a) {} 2155 NamespaceAttributePair() : ns(NULL), attr(NULL) {} 2205 ssize_t attrIndex = tree.indexOfAttribute(nsAttr.ns, nsAtt 414 validateAttr(const String8& path, const ResTable& table, const ResXMLParser& parser, const char* ns, const char* attr, const char* validChars, bool required) argument 2223 addTagAttrPair(KeyedVector<String8, NamespaceAttributePair>* dest, const char* tag, const char* ns, const char* attr) argument [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
H A D | Settings.java | 1372 private int readInt(XmlPullParser parser, String ns, String name, int defValue) { argument 1373 String v = parser.getAttributeValue(ns, name);
|
/frameworks/base/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 515 webrtc::NoiseSuppression *ns = static_cast<webrtc::NoiseSuppression *>(effect->engine); local 516 ns->set_level(kNsDefaultLevel); 522 webrtc::NoiseSuppression *ns = effect->session->apm->noise_suppression(); local 523 LOGV("NsCreate got ns %p", ns); 524 if (ns == NULL) { 528 effect->engine = static_cast<preproc_fx_handle_t>(ns); 550 webrtc::NoiseSuppression *ns = static_cast<webrtc::NoiseSuppression *>(effect->engine); local 551 LOGV("NsEnable ns %p", ns); 558 webrtc::NoiseSuppression *ns = static_cast<webrtc::NoiseSuppression *>(effect->engine); local [all...] |
/frameworks/base/include/utils/ |
H A D | ResourceTypes.h | 549 struct ResStringPool_ref ns; member in struct:android::ResXMLTree_endElementExt 564 struct ResStringPool_ref ns; member in struct:android::ResXMLTree_attrExt 594 struct ResStringPool_ref ns; member in struct:android::ResXMLTree_attribute 685 ssize_t indexOfAttribute(const char* ns, const char* attr) const; 686 ssize_t indexOfAttribute(const char16_t* ns, size_t nsLen,
|