/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);
|
/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/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...] |
/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...] |
/frameworks/compile/libbcc/lib/Support/ |
CompilerConfig.cpp | 125 std::vector<std::string> attributes; local 128 attributes.push_back("+vfp3"); 130 attributes.push_back("+d16"); 137 attributes.push_back("+neon"); 140 attributes.push_back("-neon"); 141 attributes.push_back("-neonfp"); 148 attributes.push_back("+hwdiv-arm"); 151 attributes.push_back("+hwdiv"); 158 attributes.push_back("+fp16"); 160 setFeatureString(attributes); [all...] |
/frameworks/native/opengl/tests/configdump/ |
configdump.cpp | 29 Attribute attributes[] = { variable 79 for (int attr = 0 ; attr<sizeof(attributes)/sizeof(Attribute) ; attr++) { 81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value); 82 printf("\t%-32s: %10d (0x%08x)\n", attributes[attr].name, value, value);
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/ |
CertificationRequestInfo.java | 37 * attributes [0] IMPLICIT Attributes } 41 * Attributes ::= SET OF Attribute 52 /** the value of attributes field of the structure */ 53 private final List<?> attributes; field in class:CertificationRequestInfo 59 SubjectPublicKeyInfo subjectPublicKeyInfo, List<?> attributes, byte [] encoding) { 63 this.attributes = attributes; 97 res.append("\n attributes: "); 98 if (attributes != null) [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
RemoveNamedItemNS.java | 38 * element from the list and get its attributes. Try to remove the attribute 81 NamedNodeMap attributes; local 87 attributes = testAddress.getAttributes(); 88 removedNode = attributes.removeNamedItemNS("http://www.usa.com", 91 newAttr = (Attr) attributes.getNamedItem("dmstc:domestic"); 100 NamedNodeMap attributes; local 105 attributes = testAddress.getAttributes(); 110 attributes.removeNamedItemNS(namespaceURI, 130 // NamedNodeMap attributes; 147 // attributes = child2.getAttributes() [all...] |
/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();
|
/external/lldb/source/Plugins/SymbolFile/DWARF/ |
DWARFAbbreviationDeclaration.cpp | 102 const DWARFAttribute::collection& attributes = abbr_decl.Attributes(); local 103 const uint32_t num_abbr_decl_attributes = attributes.size(); 111 attributes[i].get(attr, form); 127 // Don't add these attributes 152 const DWARFAttribute::collection& attributes = abbr_decl.Attributes(); local 153 const uint32_t num_abbr_decl_attributes = attributes.size(); 162 attributes[i].get(attr, form); 193 && Attributes() == rhs.Attributes() [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
attributes.c | 45 static const XvAttribute attributes[] = { variable 63 result = malloc(sizeof(attributes)); 67 memcpy(result, attributes, sizeof(attributes)); 68 *number = sizeof(attributes) / sizeof(XvAttribute); 70 XVMC_MSG(XVMC_TRACE, "[XvMC] Returning %d attributes for context %p.\n", *number, context);
|
/external/skia/src/gpu/gl/mac/ |
SkCreatePlatformGLContext_mac.cpp | 29 CGLPixelFormatAttribute attributes[] = { local 39 CGLChoosePixelFormat(attributes, &pixFormat, &npix);
|
/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);
|
/hardware/intel/common/libva/test/basic/ |
test_04.c | 25 #define TEST_DESCRIPTION "Get config attributes for all profiles / entrypoints" 39 VAConfigAttrib attributes[] = { local 48 int num_attribs = sizeof(attributes) / sizeof(VAConfigAttrib); 55 VAConfigAttrib *attrib_list = (VAConfigAttrib *) malloc(sizeof(attributes)); 65 memcpy(attrib_list, attributes, sizeof(attributes));
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/ |
typeattr.py | 97 def attributes(self): member in class:BaseType 98 """Generator that yields all attributes for this type.""" 119 def attributes(self): member in class:Type 120 """Generator that yields all attributes for this type.""" 130 attrs = list(self.attributes()) 160 def attributes(self): member in class:TypeAttribute 161 """Generator that yields all attributes for this type.""" 162 raise TypeError("{0} is an attribute, thus does not have attributes.".format(self))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/setools/policyrep/ |
typeattr.py | 97 def attributes(self): member in class:BaseType 98 """Generator that yields all attributes for this type.""" 119 def attributes(self): member in class:Type 120 """Generator that yields all attributes for this type.""" 130 attrs = list(self.attributes()) 160 def attributes(self): member in class:TypeAttribute 161 """Generator that yields all attributes for this type.""" 162 raise TypeError("{0} is an attribute, thus does not have attributes.".format(self))
|
/cts/tests/tests/drm/src/android/drm/cts/ |
DrmEventTest.java | 30 HashMap<String, Object> attributes = new HashMap<String, Object>(3); local 31 attributes.put("Hello World", attributes); 32 attributes.put("Hello", "World"); 33 attributes.put("World", ""); 38 checkGetAttributeWithEventType(attributes, null, true); 39 checkGetAttributeWithEventType(attributes, "", true); 40 checkGetAttributeWithEventType(attributes, "Hello", true); 41 checkGetAttributeWithEventType(attributes, "World", true); 42 checkGetAttributeWithEventType(attributes, "Hello World", true) [all...] |
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/device/ |
DeviceInfoCollectorFuncTest.java | 53 Map<String, String> attributes = new HashMap<>(); local 54 attributes.put(CtsXmlResultReporter.CTS_RESULT_DIR, mResultDir.getAbsolutePath()); 55 EasyMock.expect(mMockBuildInfo.getBuildAttributes()).andStubReturn(attributes);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs10/ |
CertificationRequestInfoTest.java | 49 List attributes = new ArrayList(); local 51 attributes.add(new AttributeTypeAndValue("1.2.840.113549.1.9.1", 55 version, subject, spki, attributes); 63 assertEquals(attributes, certReqInfo.getAttributes());
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
HtmlPolicyBuilderFuzzerTest.java | 95 List<String> attributes = Lists.newArrayList(); local 100 attributes.clear(); 103 attributes.add(pick(rnd, ATTR_NAMES)); 104 attributes.add(pickChunk(rnd)); 107 policy.openTag(pick(rnd, ELEMENT_NAMES), attributes); local
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/util/ |
TestAttributeSet.java | 12 Map<String, String> attributes = new HashMap<String, String>(); field in class:TestAttributeSet 19 * Names of attributes to be validated for i18n-safe values. 32 public TestAttributeSet(Map<String, String> attributes, ResourceExtractor resourceExtractor, 34 this.attributes = attributes; 41 public TestAttributeSet(Map<String, String> attributes) { 42 this.attributes = attributes; 49 attributes.put(name, value); 186 if (attributes.containsKey(key)) [all...] |
/external/slf4j/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/ |
SLF4JLogFactory.java | 44 * This implementation ignores any configured attributes. 81 * Configuration attributes. 83 protected Hashtable attributes = new Hashtable(); field in class:SLF4JLogFactory 96 return (attributes.get(name)); 102 * attributes. If there are no such attributes, a zero length array is 109 Enumeration<String> keys = attributes.keys(); 138 * the factory's current set of configuration attributes. 195 attributes.remove(name); 213 attributes.remove(name) [all...] |