/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMTreeWalker.java | 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 31 * This class does a pre-order walk of the DTM tree, calling a ContentHandler 35 * I think normally this class should not be needed, because 45 /** DomHelper for this TreeWalker */ 93 this.m_contentHandler = contentHandler; 108 // %REVIEW% Why isn't this just traverse(pos,pos)? 110 int top = pos; // Remember the root of this subtree 131 // %REVIEW% This condition isn't tested in traverse(pos,top [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractSessionOutputBuffer.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 53 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 81 this.outstream = outstream; 82 this.buffer = new ByteArrayBuffer(buffersize); 83 this.charset = HttpProtocolParams.getHttpElementCharset(params); 84 this.ascii = this.charset.equalsIgnoreCase(HTTP.US_ASCII [all...] |
ContentLengthOutputStream.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 49 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 89 this.out = out; 90 this.contentLength = contentLength; 99 if (!this.closed) { 100 this.closed = true; 101 this.out.flush() [all...] |
/external/guava/guava/src/com/google/common/hash/ |
BloomFilter.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 39 * with one-sided error: if it claims that an element is contained in it, this might be in error, 40 * but if it claims that an element is <i>not</i> contained in it, then this is definitely true. 42 * <p>If you are unfamiliar with Bloom filters, this nice 52 * supported by future versions of this library. However, serial forms generated by newer versions 73 * <p>Returns whether any bits changed as a result of this operation. 85 * Identifier used to encode this strategy, when marshalled as part of a BloomFilter. 117 this.bits = checkNotNull(bits); 118 this.numHashFunctions = numHashFunctions; 119 this.funnel = checkNotNull(funnel) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
Pipeline.java | 4 * This software was developed by employees of the National Institute of 11 * This software is provided by NIST as a service and is expressly 20 * Permission to use this software is contingent upon your acceptance 21 * of the terms of this agreement 64 this.pipeline = pipeline; 68 if (this.isCancelled) 80 this.isCancelled = true; 95 this.length = length; 96 this.bytes = bytes; 107 if (this.readTimeout == -1 [all...] |
/external/apache-harmony/support/src/test/java/tests/util/ |
CallVerificationStack.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 82 if (!eles[i].getClassName().equals(this.getClass().getName())) { 86 this.callStack.push(eles[i]); 95 return this.callStack.peek().getClassName(); 104 return this.callStack.peek().getMethodName(); 112 this.callStack.clear(); 123 * Pushes a boolean onto the top of this stack. 128 this.push(new BaseTypeWrapper(val)) [all...] |
/external/apache-http/src/org/apache/http/impl/ |
HttpConnectionMetricsImpl.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 42 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 67 this.inTransportMetric = inTransportMetric; 68 this.outTransportMetric = outTransportMetric; 74 if (this.inTransportMetric != null) { 75 return this.inTransportMetric.getBytesTransferred(); 82 if (this.outTransportMetric != null) [all...] |
SocketHttpClientConnection.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 58 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 73 if (this.open) { 79 if (!this.open) { 107 this.socket = socket; 116 this.open = true; 120 return this.open [all...] |
SocketHttpServerConnection.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 58 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 73 if (this.open) { 79 if (!this.open) { 105 this.socket = socket; 114 this.open = true; 118 return this.socket [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
AbstractPoolEntry.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 70 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 82 /** The route for which this entry gets allocated. */ 98 * @param connOperator the Connection Operator for this entry 108 this.connOperator = connOperator; 109 this.connection = connOperator.createConnection(); 110 this.route = route [all...] |
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
CookieIntegrationTest.java | 12 * 1. Redistributions of source code must retain the above copyright notice, this 16 * this list of conditions and the following disclaimer in the documentation 20 * may be used to endorse or promote products derived from this software without 23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 31 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 71 this.cookiesReceived.add(new Cookie(cookieName, cookies.read(cookieName))); 73 for (Cookie c : this.cookiesToSend) { 87 this.testServer.cookiesToSend.add(new NanoHTTPD.Cookie("name", "value", 30)); 90 this.httpclient.execute(httpget, responseHandler); 92 CookieStore cookies = this.httpclient.getCookieStore() [all...] |
/cts/tests/tests/assist/testapp/src/android/assist/testapp/ |
TextViewActivity.java | 5 * you may not use this file except in compliance with the License. 58 TextViewActivity.this.mTextView.scrollTo(scrollX, scrollY); 63 TextViewActivity.this.mScrollView.fullScroll(View.FOCUS_DOWN); 64 TextViewActivity.this.mScrollView.fullScroll(View.FOCUS_RIGHT); 66 TextViewActivity.this.mScrollView.scrollTo(scrollX, scrollY); 69 Log.i(TAG, "the max height of this textview is: " + mTextView.getHeight()); 70 Log.i(TAG, "the max line count of this text view is: " + mTextView.getMaxLines());
|
/external/antlr/gunit/src/main/java/org/antlr/gunit/ |
gUnitTestSuite.java | 10 notice, this list of conditions and the following disclaimer. 12 notice, this list of conditions and the following disclaimer in the 15 derived from this software without specific prior written permission. 17 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 26 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 50 this.rule = rule; 54 this.rule = rule; 55 this.treeRule = treeRule; 58 public void setRuleName(String ruleName) { this.rule = ruleName; } 59 public void setLexicalRuleName(String lexicalRule) { this.lexicalRule = lexicalRule; this.isLexicalRule = true; [all...] |
/external/apache-http/src/org/apache/http/conn/params/ |
ConnPerRouteBean.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 39 * This class maintains a map of HTTP routes to maximum number of connections allowed 40 * for those routes. This class can be used by pooling 51 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 66 this.maxPerHostMap = new HashMap<HttpRoute, Integer>(); 71 this(DEFAULT_MAX_CONNECTIONS_PER_ROUTE); 75 return this.defaultMax [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
WaitingThread.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 40 * This class implements throwaway objects. It is instantiated whenever 46 * Instances of this class do <i>not</i> synchronize access! 51 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 67 /** True if this was interrupted. */ 84 this.cond = cond; 85 this.pool = pool [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
UriPatternMatcher.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 53 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 63 this.handlerMap = new HashMap(); 73 this.handlerMap.put(pattern, handler); 80 this.handlerMap.remove(pattern); 87 this.handlerMap.clear(); 88 this.handlerMap.putAll(map) [all...] |
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/io/ |
TeeInputStream.java | 10 * @hide This class is not part of the Android public SDK API 26 this.input = input; 27 this.output = output; 65 this.input.close(); 66 this.output.close();
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
InfoDialog.java | 42 me = this; 43 this.setLayout(new BorderLayout()); 45 this.add("North", new Label(label)); 49 this.add("Center", area); 60 this.add("South", bottom); 61 this.pack();
|
/external/junit/src/main/java/org/junit/rules/ |
Stopwatch.java | 12 * <p>Override them to get the time in nanoseconds. For example, this class will keep logging the 85 this(new Clock()); 89 this.clock = clock; 154 Stopwatch.this.starting(); 158 Stopwatch.this.finished(getNanos(), description); 162 Stopwatch.this.stopping(); 163 Stopwatch.this.succeeded(getNanos(), description); 167 Stopwatch.this.stopping(); 168 Stopwatch.this.failed(getNanos(), e, description); 172 Stopwatch.this.stopping() [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
PAssertedService.java | 5 * This software was developed by employees of the National Institute of 12 * This software is provided by NIST as a service and is expressly 21 * Permission to use this software is contingent upon your acceptance 22 * of the terms of this agreement 56 if(this.subServiceIds!=null) 60 retval.append(this.getSubserviceIdentifiers()); 63 else if(this.subAppIds!=null) 66 retval.append(this.getApplicationIdentifiers()); 78 if(this.subAppIds.charAt(0)=='.') 80 return this.subAppIds.substring(1) [all...] |
PPreferredService.java | 5 * This software was developed by employees of the National Institute of 12 * This software is provided by NIST as a service and is expressly 21 * Permission to use this software is contingent upon your acceptance 22 * of the terms of this agreement 55 if(this.subServiceIds!=null) 59 retval.append(this.getSubserviceIdentifiers()); 63 else if(this.subAppIds!=null) 66 retval.append(this.getApplicationIdentifiers()); 78 if(this.subAppIds.charAt(0)=='.') 80 return this.subAppIds.substring(1) [all...] |
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
SimpleFuture.java | 10 * @param <T> The result type returned by this Future's get method. 11 * @deprecation This class can introduce deadlocks, since its lock is held while invoking run(). 21 this.callable = callable; 41 while (!hasRun) this.wait(); 50 while (!hasRun) this.wait(unit.toMillis(timeout)); 66 this.notify();
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
FreeformActivity.java | 5 * you may not use this file except in compliance with the License. 32 final Intent intent = new Intent(this, TestActivity.class); 37 this.startActivity(intent, options.toBundle());
|
/cts/tests/tests/media/src/android/media/cts/ |
SafeWaitObject.java | 5 * you may not use this file except in compliance with the License. 26 synchronized (this) { 28 this.notify(); 34 synchronized (this) { 40 this.wait(timeToWait);
|
/external/apache-http/src/org/apache/http/client/protocol/ |
ClientContextConfigurer.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 43 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 55 this.context = context; 59 this.context.setAttribute(COOKIESPEC_REGISTRY, registry); 63 this.context.setAttribute(AUTHSCHEME_REGISTRY, registry); 67 this.context.setAttribute(COOKIE_STORE, store); 71 this.context.setAttribute(CREDS_PROVIDER, provider) [all...] |