HomeSort by relevance Sort by last modified time
    Searched defs:is (Results 351 - 375 of 2740) sorted by null

<<11121314151617181920>>

  /libcore/luni/src/test/java/libcore/java/net/
OldJarURLConnectionTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
82 InputStream is = jf.getInputStream(je); local
83 is.skip(je.getSize());
263 // The RI omits the empty authority "//" but the RFC doesn't say this is necessary
304 InputStream is = conn.getInputStream(); local
305 is.close();
OldURLClassLoaderTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
78 String[] resValues = { "This is a test resource file.",
79 "This is a resource from a subdir"};
130 assertEquals("Result array length is incorrect: " + i,
133 assertEquals("Result array item is incorrect: " + j,
179 assertNull("Implementation Title is not null",
181 assertNull("Implementation Vendor is not null",
183 assertNull("Implementation Version is not null.",
260 InputStream is = getClass().getResourceAsStream local
300 InputStream is = res.openStream(); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/channels/
SocketChannelTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
83 // This is not easily doable in openJdk libcore, but a connect to broadcast
85 // Kernel code that does it is at
129 InputStream is = scSocket.getInputStream(); local
134 is.close();
208 * the Socket object is requested/created after bind().
233 * Tests connect() and object state for a blocking SocketChannel. Blocking mode is the default.
367 // use close to guarantee all data is sent
406 // Closing the channel early to verify that is CloseChannelException thrown b
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
AbstractZipFileTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
49 * writing, this buffer's max size is 64KiB compressed bytes. We'll write a
63 InputStream is = zipFile.getInputStream(zipEntry); local
64 while (is.read(readBuffer, 0, readBuffer.length) != -1) {}
65 is.close();
133 * Make sure the size used for stored zip entires is the uncompressed size.
305 // Missing size is copied from compressed size.
325 // Missing compressed size is copied from size.
383 // Is file comment length checking done on bytes or characters? (Should be bytes.
    [all...]
  /libcore/ojluni/src/main/java/java/security/
Security.java 6 * This code is free software; you can redistribute it and/or modify it
12 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * version 2 for more details (a copy is included in the LICENSE file that
40 * methods. One of its primary uses is to manage providers.
43 * implementation-specific location, which is typically the properties file
54 // Android-removed: Debug is stubbed and disabled on Android.
70 // BEGIN Android-changed: doPrivileged is stubbed on Android.
71 // Also, because props is final it must be assigned in the static block, not a method.
87 // END Android-changed: doPrivileged is stubbed on Android.
91 InputStream is = null external variable declarations
101 props.load(is); external variable declarations
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
TestActivity.java 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
91 /** Called when the activity is first created. */
104 * Other application is trying to share a file via Bluetooth,
118 Log.v(Constants.TAG, " Get share intent with Uri " + stream + " mimetype is "
173 * "insert record id is " + id); Uri contentUri1 =
407 Log.d(TAG, "remote addr is "
472 updateStatus("[server:] A client is now connected");
502 java.io.InputStream is = op.openInputStream(); local
504 updateStatus("Got data bytes " + is.available() + " name
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
ImageLoader.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
133 InputStream is = null; local
144 is = context.getContentResolver().openInputStream(uri);
145 exif.readExif(is);
152 if (is != null) {
153 is.close();
251 * if it is a subset of the bitmap stored at uri. Otherwise returns
257 InputStream is = null; local
264 is = context.getContentResolver().openInputStream(uri)
327 InputStream is = null; local
513 InputStream is = context.getContentResolver().openInputStream( local
527 InputStream is = null; local
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
ProcStatsData.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
191 // The idea is that the memory used by the kernel for this is not really the kernel's
193 // much a process runs for as a sign of the proportion of Z-Ram it is responsible for.
247 /* Turned off now -- zram is being distributed across running apps.
320 for (int is = 0, NS = ps.mServices.size(); is < NS; is++) {
321 ServiceState ss = ps.mServices.valueAt(is);
347 InputStream is = new ParcelFileDescriptor.AutoCloseInputStream(pfd); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
NotificationStation.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
254 final IntentSender is = pi.getIntentSender(); local
255 sb.append("Intent(pkg=").append(is.getCreatorPackage());
258 ActivityManager.getService().isIntentSenderAnActivity(is.getTarget());
  /packages/apps/Settings/tests/app/src/com/android/settings/vpn2/
VpnTests.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
124 Log.d(TAG, "certificate file for this vpn is " + vpnInfo.getCertificateFile());
127 Log.d(TAG, "password for the certificate file is: " + vpnInfo.getPassword());
131 // disconnect existing vpn if there is any
136 // wait till the legacy VPN is disconnected.
146 // wait for 30 seconds after the previous VPN is disconnected.
244 InputStream is = urlConnection.getInputStream(); local
247 response = new String(Streams.readFully(is), StandardCharsets.UTF_8);
249 is.close()
    [all...]
  /packages/experimental/RpcPerformance/src/com/android/rpc_performance/
ProviderPerfActivity.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
97 /** Called when the activity is first created. */
397 FileInputStream is = new FileInputStream(f); local
398 int readBytes = is.read(buf, 0, 100);
399 is.close();
504 InputStream is = socket.getInputStream(); local
513 int gotBackByte = is.read();
  /art/test/201-built-in-except-detail-messages/src/
Main.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
172 assertEquals("source of type java.lang.String is not an array", ex.getMessage());
180 assertEquals("destination of type java.lang.Integer is not an array", ex.getMessage());
185 // destination is an array.
189 assertEquals("source of type Main$C is not an array", ex.getMessage());
240 * return type is Object, since otherwise the compiler will just reject the code.
248 * the return type is Object.
256 // There is no such thing as an array of void.
264 // This class name is valid, but doesn't exist
282 int[] is = new int[-123]; local
328 int[] is = null; local
337 int[] is = null; local
346 int[] is = null; local
    [all...]
  /bionic/libm/upstream-freebsd/lib/msun/src/
e_powf.c 11 * software is freely granted, provided that this notice
12 * is preserved.
61 int32_t hx,hy,ix,iy,is; local
70 /* x==1: 1**y = 1, even if y is NaN */
73 /* y!=zero: result is NaN if either arg is NaN */
78 /* determine if y is an odd int when x < 0
79 * yisint = 0 ... y is not an integer
80 * yisint = 1 ... y is an odd int
81 * yisint = 2 ... y is an even in
    [all...]
  /build/soong/python/
python_test.go 10 // distributed under the License is distributed on an "AS IS" BASIS,
44 "pkg_path: %q is not a valid format."
368 t.Fatalf("%s is not Python module!", name)
372 t.Fatalf("%s is not Python binary!", name)
  /cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
ClientTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
19 import static org.hamcrest.CoreMatchers.is;
97 assertThat(resolveInfo.size(), is(2));
99 is("com.android.cts.normalapp"));
101 is("com.android.cts.normalapp.ExposedActivity"));
103 is(false)); method
105 is("com.android.cts.normalapp"));
107 is("com.android.cts.normalapp.NormalActivity"));
109 is(false)) method
128 is(false)); method
134 is(false)); method
171 is(false)); method
177 is(false)); method
196 is(false)); method
202 is(false)); method
244 is(false)); method
268 is(false)); method
349 assertThat(testCursor.moveToFirst(), is(true)); method
    [all...]
  /cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
IntentReceiverActivity.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
149 // Here, we can't test that uri is the uri that was called with registerContentObserver
169 InputStream is = getContentResolver().openInputStream(uri); local
170 BufferedReader r = new BufferedReader(new InputStreamReader(is));
  /cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
InputTestCase.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
89 * is not received within the timeout period
98 // The wait can be decreased to 2 seconds after kernel 3.10 is no longer supported
185 IoUtils.closeQuietly(pipes[0]); // hid command is write-only
189 InputStream is = local
191 return readFully(is);
194 private static String readFully(InputStream is) throws IOException {
198 while ((read = is.read(buffer)) >= 0) {
  /cts/tests/tests/os/src/android/os/cts/
StrictModeTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
214 final FileInputStream is = new FileInputStream(test); local
235 is.read();
  /development/samples/ApiDemos/src/com/example/android/apis/content/
DocumentsSample.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
262 InputStream is = null; local
264 is = cr.openInputStream(uri);
265 log("read length=" + readFullyNoClose(is).length);
269 closeQuietly(is);
334 InputStream is = null; local
336 is = cr.openInputStream(newUri);
337 log("read length=" + readFullyNoClose(is).length);
341 closeQuietly(is);
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
BitmapDecode.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
51 private static byte[] streamToBytes(InputStream is) {
56 while ((len = is.read(buffer)) >= 0) {
68 java.io.InputStream is; local
69 is = context.getResources().openRawResource(R.drawable.beach);
75 bm = BitmapFactory.decodeStream(is, null, opts);
78 // bitmap, even though bm is null
82 bm = BitmapFactory.decodeStream(is, null, opts);
87 is = context.getResources().openRawResource(R.drawable.frog)
    [all...]
  /development/samples/TtsEngine/src/com/example/android/ttsengine/
RobotSpeakTtsService.java 11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
48 * This is the sampling rate of our output audio. This engine outputs
82 // Note that mCurrentLanguage is volatile because this can be called from
111 * Note that this method is synchronized, as is onSynthesizeText because
113 * is always called from a single thread only).
158 // Note that we call onLoadLanguage here since there is no guarantee
171 // it is guaranteed that we support it so we proceed with synthesis.
184 // It is crucial to call either of callback.error() or callback.done() to ensur
    [all...]
  /device/google/contexthub/firmware/lib/libm/
ef_pow.c 11 * software is freely granted, provided that this notice
12 * is preserved.
69 __int32_t hx,hy,ix,iy,is; local
85 /* determine if y is an odd int when x < 0
86 * yisint = 0 ... y is not an integer
87 * yisint = 1 ... y is an odd int
88 * yisint = 2 ... y is an even int
101 if (FLT_UWORD_IS_INFINITE(iy)) { /* y is +-inf */
109 if(iy==0x3f800000) { /* y is +-1 */
112 if(hy==0x40000000) return x*x; /* y is 2 *
    [all...]
  /external/apache-harmony/support/src/test/java/tests/support/resource/
Support_Resources.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
137 InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream(name); local
138 if (is == null) {
141 return is;
  /external/apache-http/src/org/apache/commons/logging/
LogFactory.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
41 * <p><strong>IMPLEMENTATION NOTE</strong> - This implementation is heavily
64 * is a floating-point number; higher values take priority over lower values.
71 * context class loader (TCCL), or not. By default, the TCCL is used.
112 * If a system property of this name is set then the value is
133 * LogFactory class is generating the output.
151 * <strong>Usage:</strong> Set this property when Java is invoked
167 * A typical use case is to allow a custo
509 InputStream is = getResourceAsStream(contextClassLoader, local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/xslt/
ObjectFactory.java 13 * distributed under the License is distributed on an "AS IS" BASIS,
34 * This class is duplicated for each JAXP subpackage so keep it in sync.
35 * It is package private and therefore is not exposed as part of the JAXP
38 * This code is designed to implement the JAXP 1.1 spec pluggability
39 * feature and is designed to run on JDK version 1.1 and
85 * specified order is the following:
97 * is found. Use null to mean no fallback.
108 * specified order is the following
539 InputStream is = null; local
    [all...]

Completed in 832 milliseconds

<<11121314151617181920>>