/prebuilts/tools/common/m2/repository/org/apache/commons/commons-exec/1.1/ |
commons-exec-1.1.jar | |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteStatementTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 36 private static final String STRING1 = "this is a test"; 114 // if the SQL statement is something that causes rows of data to 151 // if the sql statement is something that causes rows of data to 329 private static void assertInputStreamContent(byte[] expected, InputStream is) 333 int count = is.read(observed); 335 assertEquals(-1, is.read()); 338 is.close();
|
/cts/tests/tests/media/src/android/media/cts/ |
SoundPoolTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 125 InputStream is = mContext.getResources().openRawResource(getSoundA()); local 127 int length = is.read(buffer); 130 length = is.read(buffer); 237 // The number of possible SoundPool streams simultaneously active is limited by 238 // track resources. Generally this is no greater than 32, but the actual 240 // Here we attempt to create more streams than what is normally possible; 335 * Load a sample and wait until it is ready to be played. 346 * Wait until the specified sample is loaded [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
DebugEventSocketProxy.java | 17 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 81 InputStream is = socket.getInputStream(); local 82 InputStreamReader isr = new InputStreamReader(is, "UTF8"); 342 // this escape is slow but easy to understand
|
/external/apache-http/android/src/android/net/http/ |
Request.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 72 // is http/1.1 feature. 101 * @param bodyLength length of body, must be 0 if bodyProvider is null 122 // it is ok to have null entity for BasicHttpEntityEnclosingRequest. 182 * Add all headers in given map to this request. This is a helper 272 InputStream is = entity.getContent(); local 282 nis = new GZIPInputStream(is); 284 nis = is; 326 // if there is uncommited content, we should commit the [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/ |
TestVersionTracker.java | 5 * which accompanies this distribution, and is available at 206 InputStream is = null; 209 is = new BufferedInputStream(new FileInputStream(pluginXml)); 210 InputSource inputSource = new InputSource(is); 234 is.close(); 271 InputStream is = null; 274 is = new BufferedInputStream(new FileInputStream(testXml)); 275 InputSource inputSource = new InputSource(is); 299 is.close();
|
/external/javasqlite/src/main/java/SQLite/ |
Shell.java | 8 * SQLite command line shell. This is a partial reimplementaion 461 String read_line(BufferedReader is, String prompt) { 467 String line = is.readLine(); 474 void do_input(BufferedReader is) { 477 while ((line = read_line(is, prompt)) != null) { 588 BufferedReader is = local 590 s.do_input(is);
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
ImageToAwt.java | 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 53 final int bpp, am, rm, gm, bm, as, rs, gs, bs, im, is; field in class:ImageToAwt.DecodeParams 55 public DecodeParams(int bpp, int am, int rm, int gm, int bm, int as, int rs, int gs, int bs, int im, int is) { 66 this.is = is; 69 public DecodeParams(int bpp, int rm, int rs, int im, int is, boolean alpha){ 88 this.is = is; 91 public DecodeParams(int bpp, int rm, int rs, int im, int is){ [all...] |
/external/libvorbis/lib/ |
smallft.c | 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * 25 * Note that the packing is a little strange; rather than the FFT r/i 44 int ld, ii, ip, is, nq, nr; local 78 is=0; 93 i=is; 102 is+=ido; 275 int idij,ipph,i,j,k,l,ic,ik,is; local 305 is=-ido 843 int idij,ipph,i,j,k,l,ik,is,t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10, local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
ViewLoaderTest.java | 169 assertThat(mediaView.findViewById(R.id.include_id).getVisibility(), is(View.GONE)); method 202 assertThat(overrideIncludeView.findViewById(R.id.snippet_text).getVisibility(), is(View.INVISIBLE)); method
|
/external/speex/libspeex/ |
smallft.c | 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * 25 * Note that the packing is a little strange; rather than the FFT r/i 46 int ld, ii, ip, is, nq, nr; local 80 is=0; 95 i=is; 104 is+=ido; 277 int idij,ipph,i,j,k,l,ic,ik,is; local 307 is=-ido 845 int idij,ipph,i,j,k,l,ik,is,t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10, local [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
FileRotator.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 37 * Utility that rotates files over time, similar to {@code logrotate}. There is 38 * a single "active" file, which is periodically rotated into historical files, 161 final FileInputStream is = new FileInputStream(file); local 163 Streams.copy(is, zos); 165 IoUtils.closeQuietly(is); 178 * writing modified data. Maintains a backup during write, which is restored 215 * data. Each file is processed atomically. 229 * writing modified data. Maintains a backup during write, which is restore [all...] |
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerBaseTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 62 private static final String SAMPLE1_TEXT = "This is sample text.\n\nTesting 1 2 3."; 142 * This is not the mount path, but the normalized path to the actual OBB file 175 Log.i(LOG_TAG, "OfficialPath is now: " + path); 230 InputStream is = null; local 232 is = res.openRawResource(rawResId); 239 assertTrue(FileUtils.copyToFile(is, outFile)); 269 * @param fileName The full name and path to the file on the OBB to open once the OBB is mounted 276 assertTrue("Cannot open file when OBB is not mounted!", mSm.isObbMounted(obbPath)) [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
Icon.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 54 * it comes to threading and fetching. This class is therefore focused on encapsulation rather than 139 * valid compressed bitmap data is found. 234 * is available. The {@link android.os.Message#obj obj} 235 * property is populated with the Drawable. 290 // if none is specified, try the given context 328 InputStream is = null; local 332 is = context.getContentResolver().openInputStream(uri); 338 is = new FileInputStream(new File(mString1)) [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
BitmapRegionTileSource.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 71 InputStream is, boolean isShareable) { 73 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(is, isShareable); 108 public static DumbBitmapRegionDecoder newInstance(InputStream is) { 109 Bitmap b = BitmapFactory.decodeStream(is); 267 InputStream is = mContext.getContentResolver().openInputStream(mUri); local 268 return new BufferedInputStream(is); 273 InputStream is = regenerateInputStream(); local 275 SimpleBitmapRegionDecoderWrapper.newInstance(is, false) 291 InputStream is = regenerateInputStream(); local 302 InputStream is = null; local 332 InputStream is = mRes.openRawResource(mResId); local 337 InputStream is = regenerateInputStream(); local 355 InputStream is = regenerateInputStream(); local [all...] |
/frameworks/base/services/core/java/com/android/server/input/ |
PersistentDataStore.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 208 final InputStream is; local 210 is = mAtomicFile.openRead(); 218 parser.setInput(new BufferedInputStream(is), StandardCharsets.UTF_8.name()); 227 IoUtils.closeQuietly(is); 497 // Maintain invariant that there is always a current keyboard layout unless
|
/libcore/luni/src/main/java/java/net/ |
URLConnection.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 62 * is supported, but with no public subclass. FTP connections can 103 * Specifies whether the using of caches is enabled or the data has to be 109 * Specifies whether this {@code URLConnection} is already connected to the 110 * remote resource. If this field is set to {@code true} the flags for 178 * URLConnection} is connected to. First, it attempts to get the content 180 * header field "Content-Type". If none is found it will guess the content 206 * URLConnection} is connected to. First, it attempts to get the content 208 * header field "Content-Type". If none is found it will guess the conten [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 543 InputStream is = new ByteArrayInputStream(writeProperties()); local 545 myProvider.load(is);
|
/libcore/support/src/test/java/tests/support/ |
Support_TestWebServer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 28 * TestWebServer is a simulated controllable test server that 55 /* Indicator for whether this server is configured as a HTTP/1.1 161 * Sets the maximum byte count of any chunk if the server is using 178 * When this value is set, the server will respond to a request with 214 * The AcceptThread is responsible for initiating worker threads 224 * Hard-coding ports is evil, so always pass 0! 303 * connection. If pipelining is turned on, this will allow this 305 * connection is closed 568 InputStream is = new BufferedInputStream(s.getInputStream()); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppObexServerSession.java | 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 77 /* status when server is blocking for user/auto confirmation */ 116 * Called when connection is accepted from remote, to retrieve the first 202 if (D) Log.w(TAG, "length is 0, reject the transfer"); 208 if (D) Log.w(TAG, "name is null or empty, reject the transfer"); 218 if (D) Log.w(TAG, "There is no file extension or mime type," + 226 if (V) Log.v(TAG, "Mimetype guessed from extension " + extension + " is " + type); 251 if (D) Log.w(TAG, "mimeType is null or in unacceptable list, reject the transfer"); 361 /* TODO need to check if this line is correct * 439 InputStream is = null; local [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/ |
BitmapCropTask.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 151 InputStream is = regenerateInputStream(); local 152 if (is != null) { 155 BitmapFactory.decodeStream(is, null, options); 156 Utils.closeSilently(is); 183 InputStream is = regenerateInputStream(); local 184 if (is != null) { 185 wallpaperManager.setStream(is); 186 Utils.closeSilently(is); 237 InputStream is = null; local [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/ |
BitmapRegionTileSource.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 70 InputStream is, boolean isShareable) { 72 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(is, isShareable); 107 public static DumbBitmapRegionDecoder newInstance(InputStream is) { 108 Bitmap b = BitmapFactory.decodeStream(is); 285 InputStream is = mContext.getContentResolver().openInputStream(mUri); local 286 return new BufferedInputStream(is); 291 InputStream is = regenerateInputStream(); local 293 SimpleBitmapRegionDecoderWrapper.newInstance(is, false) 309 InputStream is = regenerateInputStream(); local 320 InputStream is = null; local 349 InputStream is = mRes.openRawResource(mResId); local 354 InputStream is = regenerateInputStream(); local 372 InputStream is = regenerateInputStream(); local [all...] |
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
PartnerBookmarksProvider.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 327 InputStream is = res.openRawResource(id); 332 while ((read = is.read(buf)) > 0) { 338 is.close();
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PicasaSource.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 212 log(TAG, "selection is (" + selection.length() + "): " + selection.toString()); 434 InputStream is = null; local 450 is = mResolver.openInputStream(photoUriBuilder.build()); 453 is = null; 456 if (is != null) { 463 return is;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
DomUtilities.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 95 * element, etc). This will include the node itself, if it is an element. 247 * node. This is not the same as just calling {@link DomUtilities#getNode} and taking 251 * For example, for the XML {@code <foo>^</foo>}, if the caret ^ is inside the foo 252 * element, between the opening and closing tags, then the foo element is the parent, 253 * and the child is null which represents a potential text node. 255 * If the node is inside an element tag definition (between the opening and closing 259 * If the node is in a text node, then the text node will be the child and its parent 262 * Finally, if the caret is on a boundary of a text node, then the text node will b 893 InputSource is = new InputSource(new StringReader(xml)); local [all...] |