/external/chromium_org/ppapi/shared_impl/ |
media_stream_audio_track_shared.cc | 11 const Attributes& attributes) { 12 if (attributes.buffers < 0) 14 if (!(attributes.duration == 0 || 15 (attributes.duration >= 10 && attributes.duration <= 10000)))
|
media_stream_audio_track_shared_unittest.cc | 12 MediaStreamAudioTrackShared::Attributes attributes; local 13 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes)); 18 MediaStreamAudioTrackShared::Attributes attributes; local 19 attributes.buffers = 0; 20 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes)); 22 attributes.buffers = 8; 23 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes)); 25 attributes.buffers = 1024 34 MediaStreamAudioTrackShared::Attributes attributes; local [all...] |
media_stream_video_track_shared_unittest.cc | 12 MediaStreamVideoTrackShared::Attributes attributes; local 13 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes)); 18 MediaStreamVideoTrackShared::Attributes attributes; local 19 attributes.buffers = 0; 20 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes)); 22 attributes.buffers = 8; 23 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes)); 25 attributes.buffers = 1024 34 MediaStreamVideoTrackShared::Attributes attributes; local 52 MediaStreamVideoTrackShared::Attributes attributes; local 74 MediaStreamVideoTrackShared::Attributes attributes; local [all...] |
media_stream_video_track_shared.cc | 20 const Attributes& attributes) { 21 if (attributes.buffers < 0) 23 if (attributes.format < PP_VIDEOFRAME_FORMAT_UNKNOWN || 24 attributes.format > PP_VIDEOFRAME_FORMAT_LAST) { 27 if (attributes.width < 0 || 28 attributes.width > kMaxWidth || 29 attributes.width & 0x3) { 32 if (attributes.height < 0 || 33 attributes.height > kMaxHeight | [all...] |
/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/chromium_org/third_party/WebKit/Source/core/dom/ |
ElementDataCache.cpp | 36 inline unsigned attributeHash(const Vector<Attribute>& attributes) 38 return StringHasher::hashMemory(attributes.data(), attributes.size() * sizeof(Attribute)); 41 inline bool hasSameAttributes(const Vector<Attribute>& attributes, ShareableElementData& elementData) 43 if (attributes.size() != elementData.attributes().size()) 45 return !memcmp(attributes.data(), elementData.m_attributeArray, attributes.size() * sizeof(Attribute)); 48 PassRefPtrWillBeRawPtr<ShareableElementData> ElementDataCache::cachedShareableElementDataWithAttributes(const Vector<Attribute>& attributes) 50 ASSERT(!attributes.isEmpty()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGResourceRadialGradient.cpp | 47 FloatPoint RenderSVGResourceRadialGradient::centerPoint(const RadialGradientAttributes& attributes) const 49 return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.cx(), attributes.cy()); 52 FloatPoint RenderSVGResourceRadialGradient::focalPoint(const RadialGradientAttributes& attributes) const 54 return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.fx(), attributes.fy()); 57 float RenderSVGResourceRadialGradient::radius(const RadialGradientAttributes& attributes) const 59 return SVGLengthContext::resolveLength(element(), attributes.gradientUnits(), attributes.r()) [all...] |
RenderSVGResourceLinearGradient.cpp | 46 FloatPoint RenderSVGResourceLinearGradient::startPoint(const LinearGradientAttributes& attributes) const 48 return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.x1(), attributes.y1()); 51 FloatPoint RenderSVGResourceLinearGradient::endPoint(const LinearGradientAttributes& attributes) const 53 return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.x2(), attributes.y2());
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
CurrentXmlHandler.java | 19 import org.xml.sax.Attributes; 55 public void startElement(String uri, String localName, String name, Attributes attributes) 57 super.startElement(uri, localName, name, attributes); 59 mCurrentPackageName = getValue(attributes, "name"); 65 if (isEnum(attributes)) { 70 mCurrentClassName = getValue(attributes, "name"); 71 mDeprecated = isDeprecated(attributes); 72 ApiClass apiClass = new ApiClass(mCurrentClassName, mDeprecated, isAbstract(attributes)); 79 mDeprecated = isDeprecated(attributes); [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/chromium_org/chrome/browser/chromeos/policy/ |
stub_enterprise_install_attributes.cc | 41 StubEnterpriseInstallAttributes* attributes = local 43 attributes->SetDomain(domain); 44 attributes->SetRegistrationUser(registration_user); 45 attributes->SetDeviceId(device_id); 46 attributes->SetMode(mode); 47 BrowserPolicyConnectorChromeOS::SetInstallAttributesForTesting(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();
|
/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...] |
/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...] |
/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...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGLinearGradientElement.cpp | 106 static void setGradientAttributes(SVGGradientElement* element, LinearGradientAttributes& attributes, bool isLinear = true) 108 if (!attributes.hasSpreadMethod() && element->spreadMethod()->isSpecified()) 109 attributes.setSpreadMethod(element->spreadMethod()->currentValue()->enumValue()); 111 if (!attributes.hasGradientUnits() && element->gradientUnits()->isSpecified()) 112 attributes.setGradientUnits(element->gradientUnits()->currentValue()->enumValue()); 114 if (!attributes.hasGradientTransform() && element->gradientTransform()->isSpecified()) { 117 attributes.setGradientTransform(transform); 120 if (!attributes.hasStops()) { 123 attributes.setStops(stops); 129 if (!attributes.hasX1() && linear->x1()->isSpecified() [all...] |
SVGRadialGradientElement.cpp | 120 static void setGradientAttributes(SVGGradientElement* element, RadialGradientAttributes& attributes, bool isRadial = true) 122 if (!attributes.hasSpreadMethod() && element->spreadMethod()->isSpecified()) 123 attributes.setSpreadMethod(element->spreadMethod()->currentValue()->enumValue()); 125 if (!attributes.hasGradientUnits() && element->gradientUnits()->isSpecified()) 126 attributes.setGradientUnits(element->gradientUnits()->currentValue()->enumValue()); 128 if (!attributes.hasGradientTransform() && element->gradientTransform()->isSpecified()) { 131 attributes.setGradientTransform(transform); 134 if (!attributes.hasStops()) { 137 attributes.setStops(stops); 143 if (!attributes.hasCx() && radial->cx()->isSpecified() [all...] |
/external/deqp/modules/gles3/functional/ |
es3fVertexArrayObjectTests.cpp | 75 vector<Attribute> attributes; member in struct:deqp::gles3::Functional::__anon24770::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...] |
/external/chromium_org/sandbox/win/src/ |
window.cc | 16 // Gets the security attributes of a window object referenced by |handle|. The 19 bool GetSecurityAttributes(HANDLE handle, SECURITY_ATTRIBUTES* attributes) { 20 attributes->bInheritHandle = FALSE; 21 attributes->nLength = sizeof(SECURITY_ATTRIBUTES); 26 NULL, &attributes->lpSecurityDescriptor); 38 // Get the security attributes from the current window station; we will 39 // use this as the base security attributes for the new window station. 40 SECURITY_ATTRIBUTES attributes = {0}; local 41 if (!GetSecurityAttributes(::GetProcessWindowStation(), &attributes)) { 48 *winsta = ::CreateWindowStationW(NULL, 0, WINSTA_ALL_ACCESS, &attributes); 68 SECURITY_ATTRIBUTES attributes = {0}; local [all...] |
app_container_unittest.cc | 39 scoped_ptr<AppContainerAttributes> attributes(new AppContainerAttributes); 42 attributes->SetAppContainer(L"S-1-foo", capabilities)); 45 attributes->SetAppContainer(L"S-1-15-2-12345-234", capabilities)); 46 EXPECT_TRUE(attributes->HasAppContainer()); 48 attributes.reset(new AppContainerAttributes); 54 attributes->SetAppContainer(L"S-1-15-2-1-2", capabilities)); 55 EXPECT_TRUE(attributes->HasAppContainer());
|
/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/chromium_org/third_party/WebKit/Source/core/html/parser/ |
TextDocumentParser.cpp | 59 Vector<Attribute> attributes; local 60 attributes.append(Attribute(styleAttr, "word-wrap: break-word; white-space: pre-wrap;")); 61 AtomicHTMLToken fakePre(HTMLToken::StartTag, preTag.localName(), attributes);
|