/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
SimpleAttributeTableGenerator.java | 13 private final AttributeTable attributes; field in class:SimpleAttributeTableGenerator 16 AttributeTable attributes) 18 this.attributes = attributes; 23 return attributes;
|
/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
SampleGattAttributes.java | 22 * This class includes a small subset of standard GATT attributes for demonstration purposes. 25 private static HashMap<String, String> attributes = new HashMap(); field in class:SampleGattAttributes 31 attributes.put("0000180d-0000-1000-8000-00805f9b34fb", "Heart Rate Service"); 32 attributes.put("0000180a-0000-1000-8000-00805f9b34fb", "Device Information Service"); 34 attributes.put(HEART_RATE_MEASUREMENT, "Heart Rate Measurement"); 35 attributes.put("00002a29-0000-1000-8000-00805f9b34fb", "Manufacturer Name String"); 39 String name = attributes.get(uuid);
|
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
SampleGattAttributes.java | 22 * This class includes a small subset of standard GATT attributes for demonstration purposes. 25 private static HashMap<String, String> attributes = new HashMap(); field in class:SampleGattAttributes 31 attributes.put("0000180d-0000-1000-8000-00805f9b34fb", "Heart Rate Service"); 32 attributes.put("0000180a-0000-1000-8000-00805f9b34fb", "Device Information Service"); 34 attributes.put(HEART_RATE_MEASUREMENT, "Heart Rate Measurement"); 35 attributes.put("00002a29-0000-1000-8000-00805f9b34fb", "Manufacturer Name String"); 39 String name = attributes.get(uuid);
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
SampleGattAttributes.java | 22 * This class includes a small subset of standard GATT attributes for demonstration purposes. 25 private static HashMap<String, String> attributes = new HashMap(); field in class:SampleGattAttributes 31 attributes.put("0000180d-0000-1000-8000-00805f9b34fb", "Heart Rate Service"); 32 attributes.put("0000180a-0000-1000-8000-00805f9b34fb", "Device Information Service"); 34 attributes.put(HEART_RATE_MEASUREMENT, "Heart Rate Measurement"); 35 attributes.put("00002a29-0000-1000-8000-00805f9b34fb", "Manufacturer Name String"); 39 String name = attributes.get(uuid);
|
/external/proguard/src/proguard/classfile/editor/ |
AttributesEditor.java | 27 * This class can add and delete attributes to and from classes, fields, 28 * methods, and code attributes. Attributes to be added must be filled out 30 * attributes of the same type are always replaced. 43 * Creates a new AttributeAdder that will edit attributes in the given 54 * Creates a new AttributeAdder that will edit attributes in the given 66 * Creates a new AttributeAdder that will edit attributes in the given 90 targetAttribute.attributes, 94 targetMember.attributes, 97 targetClass.attributes, [all...] |
/frameworks/base/sax/java/android/sax/ |
StartElementListener.java | 19 import org.xml.sax.Attributes; 29 * @param attributes from the element 31 void start(Attributes attributes);
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
CurrentXmlHandler.java | 19 import org.xml.sax.Attributes; 61 public void startElement(String uri, String localName, String name, Attributes attributes) 63 super.startElement(uri, localName, name, attributes); 65 mCurrentPackageName = getValue(attributes, "name"); 71 if (isEnum(attributes)) { 76 mCurrentClassName = getValue(attributes, "name"); 77 mDeprecated = isDeprecated(attributes); 78 String superClass = attributes.getValue("extends"); 80 mCurrentClassName, mDeprecated, is(attributes, "abstract"), superClass) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
Attributes.java | 20 * Attributes ::= 24 public class Attributes 27 private ASN1Set attributes; field in class:Attributes 29 private Attributes(ASN1Set set) 31 attributes = set; 34 public Attributes(ASN1EncodableVector v) 36 attributes = new DLSet(v); 45 * <li> {@link Attributes} object 46 * <li> {@link org.bouncycastle.asn1.ASN1Set#getInstance(java.lang.Object) ASN1Set} input formats with Attributes structure inside 52 public static Attributes getInstance(Object obj [all...] |
/frameworks/base/core/java/android/os/ |
Vibrator.java | 74 * @param attributes {@link AudioAttributes} corresponding to the vibration. For example, 79 public void vibrate(long milliseconds, AudioAttributes attributes) { 80 vibrate(Process.myUid(), mPackageName, milliseconds, attributes); local 126 * @param attributes {@link AudioAttributes} corresponding to the vibration. For example, 131 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { 132 vibrate(Process.myUid(), mPackageName, pattern, repeat, attributes); local 141 AudioAttributes attributes); 149 AudioAttributes attributes);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/ |
PlatformStatus.java | 29 NamedNodeMap attributes = anElement.getAttributes(); local 30 this.id = (String) attributes.getNamedItem("id").getNodeValue(); 31 this.name = (String) attributes.getNamedItem("name").getNodeValue(); 32 this.fileName = (String) attributes.getNamedItem("fileName").getNodeValue();
|
/libcore/luni/src/test/java/libcore/xml/ |
SaxTest.java | 26 import org.xml.sax.Attributes; 41 String qName, Attributes attributes) { 45 assertEquals(1, attributes.getLength()); 46 assertEquals("", attributes.getURI(0)); 47 assertOneOf("bar", "", attributes.getLocalName(0)); 48 assertEquals("bar", attributes.getQName(0)); 54 String qName, Attributes attributes) { 58 assertEquals(1, attributes.getLength()) [all...] |
/development/tools/apkcheck/src/com/android/apkcheck/ |
ApiDescrHandler.java | 69 Attributes attributes) { 74 attributes.getValue("name")); 78 attributes.getValue("name"), 79 attributes.getValue("extends"), 80 attributes.getValue("static")); 83 mCurrentClass.addInterface(attributes.getValue("name")); 86 mCurrentMethod = new MethodInfo(attributes.getValue("name"), 87 attributes.getValue("return")); 121 FieldInfo fInfo = new FieldInfo(attributes.getValue("name") [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
LocaleInternalsTest.java | 67 Set<String> attributes = new HashSet<String>(); local 69 // Only attributes. 70 Locale.parseUnicodeExtension("foooo".split("-"), keywords, attributes); 71 assertTrue(attributes.contains("foooo")); 74 attributes.clear(); 77 keywords, attributes); 78 assertTrue(attributes.contains("foooo")); 79 assertTrue(attributes.contains("baa")); 80 assertTrue(attributes.contains("baaabaaa")); 84 attributes.clear() [all...] |
/external/jdiff/src/jdiff/ |
APIHandler.java | 7 import org.xml.sax.Attributes; 73 java.lang.String qName, Attributes attributes) { 78 String apiName = attributes.getValue("name"); 79 String version = attributes.getValue("jdversion"); // Not used yet 83 String pkgName = attributes.getValue("name"); 87 String className = attributes.getValue("name"); 88 String parentName = attributes.getValue("extends"); 90 if (attributes.getValue("abstract").compareTo("true") == 0) 92 XMLToAPI.addClass(className, parentName, isAbstract, getModifiers(attributes)); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
DownloadRecord.java | 26 // Only word lists have attributes, and the ContentValues should contain the same 28 // attributes, a null pointer here means this record represents metadata. 30 public DownloadRecord(final String clientId, final ContentValues attributes) { 32 mAttributes = attributes;
|
/external/doclava/src/com/google/doclava/apicheck/ |
XmlApiFile.java | 30 import org.xml.sax.Attributes; 70 public void startElement(String uri, String localName, String qName, Attributes attributes) { 73 new PackageInfo(attributes.getValue("name"), SourcePositionInfo.fromXml(attributes 82 SourcePositionInfo position = SourcePositionInfo.fromXml(attributes.getValue("source")); 83 String visibility = attributes.getValue("visibility"); 88 boolean isStatic = Boolean.valueOf(attributes.getValue("static")); 90 boolean isAbstract = Boolean.valueOf(attributes.getValue("abstract")); 96 boolean isFinal = Boolean.valueOf(attributes.getValue("final")) [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
namednodemapchildnoderange.java | 33 * Create a NamedNodeMap object from the attributes of the 68 NamedNodeMap attributes; local 74 attributes = testEmployee.getAttributes(); 75 length = (int) attributes.getLength(); 77 child = attributes.item(0); 78 child = attributes.item(1);
|
hc_namednodemapchildnoderange.java | 31 * Create a NamedNodeMap object from the attributes of the 66 NamedNodeMap attributes; local 73 attributes = testEmployee.getAttributes(); 74 length = (int) attributes.getLength(); 80 child = attributes.item(2); 84 child = attributes.item(0); 86 child = attributes.item(1); 88 child = attributes.item(3);
|
/external/deqp/modules/gles3/functional/ |
es3fVertexArrayObjectTests.cpp | 75 vector<Attribute> attributes; member in struct:deqp::gles3::Functional::__anon7787::VertexArrayState 201 for (int attribNdx = 0; attribNdx < (int)state.attributes.size(); attribNdx++) 205 << "\tGL_VERTEX_ATTRIB_ARRAY_ENABLED : " << (state.attributes[attribNdx].enabled ? "GL_TRUE" : "GL_FALSE") << "\n" 206 << "\tGL_VERTEX_ATTRIB_ARRAY_SIZE : " << state.attributes[attribNdx].size << "\n" 207 << "\tGL_VERTEX_ATTRIB_ARRAY_STRIDE : " << state.attributes[attribNdx].stride << "\n" 208 << "\tGL_VERTEX_ATTRIB_ARRAY_TYPE : " << state.attributes[attribNdx].type << "\n" 209 << "\tGL_VERTEX_ATTRIB_ARRAY_NORMALIZED : " << (state.attributes[attribNdx].normalized ? "GL_TRUE" : "GL_FALSE") << "\n" 210 << "\tGL_VERTEX_ATTRIB_ARRAY_INTEGER : " << (state.attributes[attribNdx].integer ? "GL_TRUE" : "GL_FALSE") << "\n" 211 << "\tGL_VERTEX_ATTRIB_ARRAY_DIVISOR : " << state.attributes[attribNdx].divisor << "\n" 212 << "\tGL_VERTEX_ATTRIB_ARRAY_POINTER : " << state.attributes[attribNdx].offset << "\n [all...] |
/dalvik/dx/src/com/android/dx/cf/attrib/ |
AttCode.java | 25 * Attribute class for standard {@code Code} attributes. 28 /** {@code non-null;} attribute name for attributes of this type */ 43 /** {@code non-null;} the associated list of attributes */ 44 private final AttributeList attributes; field in class:AttCode 53 * @param attributes {@code non-null;} the associated list of attributes 56 ByteCatchList catches, AttributeList attributes) { 81 if (attributes.isMutable()) { 82 throw new MutabilityException("attributes.isMutable()"); 86 throw new NullPointerException("attributes == null") [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
TestAttributeSetTest.java | 21 private HashMap<String, String> attributes; field in class:TestAttributeSetTest 26 attributes = new HashMap<String, String>(); 35 attributes.put("android:id", "@android:id/text1"); 36 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null, false); 42 attributes.put("id", "@id/text1"); 43 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null, false); 49 attributes.put("id", "@null"); 50 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null, false); 56 attributes.put("android:id", "@+id/text1"); 58 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null, true) [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
NamedNodeMapSetNamedItemNS.java | 42 * http://www.nist.gov", and put its attributes into a named node map. Create a 85 NamedNodeMap attributes; local 96 attributes = element.getAttributes(); 99 attribute = (Attr) attributes.getNamedItemNS( 106 NamedNodeMap attributes; local 116 attributes = element.getAttributes(); 117 attributes.setNamedItemNS(attribute1); 118 attribute = (Attr) attributes.getNamedItemNS( 127 NamedNodeMap attributes; local 140 attributes = element.getAttributes() 164 NamedNodeMap attributes; local 230 NamedNodeMap attributes; local 256 NamedNodeMap attributes; local 282 NamedNodeMap attributes; local [all...] |
NamedNodeMapGetNamedItemNS.java | 102 NamedNodeMap attributes; local 111 attributes = element.getAttributes(); 112 attribute = (Attr) attributes.getNamedItemNS("http://www.nist.gov", 119 NamedNodeMap attributes; local 132 attributes = element.getAttributes(); 133 attribute = (Attr) attributes.getNamedItemNS( 140 NamedNodeMap attributes; local 151 attributes = element.getAttributes(); 152 attribute = (Attr) attributes.getNamedItemNS( 159 NamedNodeMap attributes; local [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
TestPackageXmlParser.java | 23 import org.xml.sax.Attributes; 77 public void startElement(String uri, String localName, String name, Attributes attributes) { 79 final String appPackageName = attributes.getValue("appPackageName"); 80 final String testPackageNameSpace = attributes.getValue("appNameSpace"); 81 final String packageName = attributes.getValue("name"); 82 final String runnerName = attributes.getValue("runner"); 83 final String jarPath = attributes.getValue("jarPath"); 84 final String javaPackageFilter = attributes.getValue("javaPackageFilter"); 85 final String targetBinaryName = attributes.getValue("targetBinaryName") [all...] |
/external/gptfdisk/ |
attributes.h | 10 #define NUM_ATR 64 /* # of attributes -- 64, since it's a 64-bit field */ 15 class Attributes { 20 uint64_t attributes; member in class:Attributes 23 Attributes(void); 24 Attributes(const uint64_t a); 25 ~Attributes(void); 26 void operator=(uint64_t a) {attributes = a;} 28 uint64_t GetAttributes(void) const {return attributes;} 37 }; // class Attributes 39 ostream & operator<<(ostream & os, const Attributes & data) [all...] |