/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
GSMTestHandler.java | 5 * you may not use this file except in compliance with the License. 32 * This class creates a HandlerThread which waits for the various messages. 56 mHandler = new Handler(getLooper(), this); 57 synchronized (this) { 63 synchronized (this) { 65 this.notifyAll(); 68 this.wait(); 99 synchronized (this) { 101 this.wait(FAIL_TIMEOUT_MILLIS); 112 this.notifyAll() [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
IconLoaderTest.java | 5 * you may not use this file except in compliance with the License. 70 synchronized(this) { 73 this.notifyAll(); 80 this.wait(); 95 return this;
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
Fat16RootDirectory.java | 4 * This library is free software; you can redistribute it and/or modify it 9 * This library is distributed in the hope that it will be useful, but 15 * along with this library; If not, write to the Free Software Foundation, Inc., 40 this.deviceOffset = FatUtils.getRootDirOffset(bs); 41 this.device = bs.getDevice(); 80 this.device.read(deviceOffset, data); 85 this.device.write(deviceOffset, data); 100 * As a FAT12/16 root directory can not change it's size, this method
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/ |
FileDisk.java | 4 * This library is free software; you can redistribute it and/or modify it 9 * This library is distributed in the hope that it will be useful, but 15 * along with this library; If not, write to the Free Software Foundation, Inc., 31 * This is a {@code BlockDevice} that uses a {@link File} as it's backing store. 60 this.readOnly = readOnly; 61 this.closed = false; 63 this.raf = new RandomAccessFile(file, modeString); 64 this.fc = raf.getChannel(); 68 this.closed = false; 69 this.raf = raf [all...] |
/cts/tests/src/android/os/cts/ |
TestThread.java | 5 * you may not use this file except in compliance with the License. 75 this.join(runTime); 76 if (this.isAlive()) { 77 this.interrupt(); 78 this.join(runTime);
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorManagerTestVerifier.java | 5 * you may not use this file except in compliance with the License. 35 * This class allows to perform operations in the Sensor Manager and performs all the expected test 63 mEventListener = new TestSensorListener(mSensorUnderTest, this); 98 this.unregisterListener(); 127 this.registerListener(""); 143 return this.getEvents(count, ""); 151 this.registerListener(debugInfo); 152 TestSensorEvent[] events = this.getEvents(eventCount, debugInfo); 153 this.unregisterListener(); 159 return this.collectEvents(eventCount, "") [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_StringWriter.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 29 * <code>lock</code> used to synchronize access to this Writer. 40 * the <code>lock</code> used to synchronize access to this Writer. 52 * Close this Writer. This is the concrete implementation required. This 56 * If an IO error occurs closing this StringWriter. 63 * Flush this Writer. This is the concrete implementation required. Thi [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
DefaultResponseParser.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 66 this.responseFactory = responseFactory; 67 this.lineBuf = new CharArrayBuffer(128); 68 this.maxGarbageLines = params.getIntParameter( 77 this.lineBuf.clear(); 82 int i = sessionBuffer.readLine(this.lineBuf); 87 cursor = new ParserCursor(0, this.lineBuf.length()) [all...] |
LoggingSessionInputBuffer.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 63 this.in = in; 64 this.wire = wire; 68 return this.in.isDataAvailable(timeout); 72 int l = this.in.read(b, off, len); 73 if (this.wire.enabled() && l > 0) { 74 this.wire.input(b, off, l) [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractMessageWriter.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 60 this.sessionBuffer = buffer; 61 this.lineBuf = new CharArrayBuffer(128); 62 this.lineFormatter = (formatter != null) ? 78 this.sessionBuffer.writeLine 79 (lineFormatter.formatHeader(this.lineBuf, header)); 81 this.lineBuf.clear() [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/ |
progress_manager.js | 2 // Use of this source code is governed by a BSD-style license that can be 11 this.xhr_ = null; 12 this.progressBar_ = document.querySelector('.progress-bar'); 13 this.selectedGridItem_ = null; 20 * Note: this must be called before xhr.send() function. Otherwise, we wont get 27 if (this.xhr_) 28 this.removeEventListeners_(); 29 this.hideProgressBar(this.selectedGridItem_); 30 this.xhr_ = xhr [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
SCPOutputStream.java | 27 this.session = session; 28 this.scp = client; 37 this.flush(); 47 this.write(0); 48 this.flush(); 52 this.write(StringEncoder.GetBytes("E\n")); 53 this.flush();
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSStatefulObject.java | 18 * <b>Implementation note:</b> This interface is accessed from multiple threads. The implementation must be thread safe. 25 * This class define a semaphore. On this multiple threads can wait the arrival of one event. Thread wait for a maximum defined by the timeout. 27 * Implementation note: this class is based on {@link java.util.concurrent.Semaphore} so that they can be released by the timeout timer. 86 aLog.append(this._name); 133 return this._dns; 137 this._dns = dns; 145 if (this._task == null && this._state == state) { 146 this.lock() [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
BoneTrack.java | 10 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer in the 17 * may be used to endorse or promote products derived from this software 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 49 * Bone index in the skeleton which this track effects. 75 this.targetBoneIndex = targetBoneIndex; 76 this.setKeyframes(times, translations, rotations); 88 this.targetBoneIndex = targetBoneIndex; 89 this.setKeyframes(times, translations, rotations, scales) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
From.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 97 * Warning -- this assumes that the embedded URI is a SipURL. 141 this.address = (AddressImpl) address; 151 this.setParameter(ParameterNames.TAG, t);
|
To.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 113 * Warning -- this assumes that the embedded URI is a SipURL. 168 * Set the tag member. This should remain empty for the initial request in 176 this.setParameter(ParameterNames.TAG, t);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
AcceptEncodingParser.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 93 // empty body is fine for this header. 108 this.lexer.match(';'); 109 this.lexer.SPorHT(); 110 this.lexer.match('q'); 111 this.lexer.SPorHT(); 112 this.lexer.match('=') [all...] |
AcceptLanguageParser.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 102 this.lexer.match(';'); 103 this.lexer.SPorHT(); 104 this.lexer.match('q'); 105 this.lexer.SPorHT(); 106 this.lexer.match('='); 107 this.lexer.SPorHT() [all...] |
AddressParser.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 41 this.lexer = lexer; 42 this.lexer.selectLexer("charLexer"); 46 this.lexer = new Lexer("charLexer", address); 53 if (this.lexer.lookAhead(0) == '<') { 54 this.lexer.consume(1); 55 this.lexer.selectLexer("sip_urlLexer") [all...] |
CSeqParser.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 59 this.lexer.match(TokenTypes.CSEQ); 60 this.lexer.SPorHT(); 61 this.lexer.match(':'); 62 this.lexer.SPorHT(); 63 String number = this.lexer.number(); 65 this.lexer.SPorHT() [all...] |
ChallengeParser.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 71 NameValue nv = this.nameValue('='); 88 this.lexer.SPorHT(); 91 this.lexer.SPorHT(); 97 this.parseParameter(header); 98 this.lexer.SPorHT(); 102 this.lexer.match(',') [all...] |
ContentDispositionParser.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 76 this.lexer.SPorHT(); 77 this.lexer.match(TokenTypes.ID); 81 this.lexer.SPorHT(); 84 this.lexer.SPorHT(); 85 this.lexer.match('\n'); 112 * CVS: If this change addresses one or more issues [all...] |
ContentEncodingParser.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 80 this.lexer.SPorHT(); 81 this.lexer.match(TokenTypes.ID); 86 this.lexer.SPorHT(); 91 this.lexer.match(','); 92 this.lexer.SPorHT(); 93 this.lexer.match(TokenTypes.ID) [all...] |
ContentLengthParser.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 58 String number = this.lexer.number(); 60 this.lexer.SPorHT(); 61 this.lexer.match('\n'); 89 * CVS: If this change addresses one or more issues, 92 * CVS: If this change has been taken from another system, 93 * CVS: then name the system in this line, otherwise delete it [all...] |
ContentTypeParser.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 63 this.headerName(TokenTypes.CONTENT_TYPE); 68 this.lexer.SPorHT(); 75 this.lexer.SPorHT(); 78 this.lexer.match('\n');
|