/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
DeviceOwner.java | 77 DeviceOwner(InputStream in, OutputStream out) { 79 mOutputStreamForTest = out; 271 XmlSerializer out = new FastXmlSerializer(); local 272 out.setOutput(outputStream, "utf-8"); 273 out.startDocument(null, true); 277 out.startTag(null, TAG_DEVICE_OWNER); 278 out.attribute(null, ATTR_PACKAGE, mDeviceOwner.packageName); 280 out.attribute(null, ATTR_NAME, mDeviceOwner.name); 282 out.endTag(null, TAG_DEVICE_OWNER); 288 out.startTag(null, TAG_PROFILE_OWNER) [all...] |
/frameworks/base/tests/backup/src/com/android/backuptest/ |
BackupTestActivity.java | 206 PrintStream out = new PrintStream(openFileOutput(name, mode)); local 207 out.print(contents); 208 out.close();
|
/libcore/luni/src/main/java/libcore/io/ |
StrictLineReader.java | 174 ByteArrayOutputStream out = new ByteArrayOutputStream(end - pos + 80) { local 183 out.write(buf, pos, end - pos); 191 out.write(buf, pos, i - pos); 194 return out.toString();
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Choice.java | 319 public void encodeASN(BerOutputStream out) { 320 encodeContent(out); 323 public final void encodeContent(BerOutputStream out) { 324 out.encodeChoice(this); 331 public final void setEncodingContent(BerOutputStream out) { 332 out.getChoiceLength(this);
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatFieldTest.java | 46 ObjectOutputStream out = null; local 50 out = new ObjectOutputStream(bytes); 59 out.writeObject(mfield); 60 out.writeObject(field); 84 if (out != null) 85 out.close();
|
OldNumberFormatFieldTest.java | 46 ObjectOutputStream out = new ObjectOutputStream(bytes); local 54 out.writeObject(nfield); 55 out.writeObject(field); 68 out.close();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterInputStreamTest.java | 33 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 38 out.write(b); 42 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray()))); 54 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 58 out.write(buffer, 0, count); 60 return out.toByteArray(); 67 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 72 out.write(buffer, 0, count); 76 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray())));
|
ZipInputStreamTest.java | 55 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 63 out.write(buffer, 0, count); 69 return out.toByteArray();
|
/libcore/luni/src/test/java/libcore/xml/ |
DeclarationTest.java | 63 OutputStream out = new FileOutputStream(file); local 64 out.write(contents.getBytes("UTF-8")); 65 out.close();
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AbstractHtmlTemplates.java | 53 final String out = mFormatter.toString(); local 57 return out; 66 final StringBuilder out = new StringBuilder(); local 76 out.append(buf, 0, chars); 79 return out.toString();
|
/art/runtime/base/ |
hex_dump.cc | 38 char out[(kBitsPerWord / 4) + /* offset */ local 51 memset(out, ' ', sizeof(out)-1); 52 out[kBitsPerWord / 4] = ':'; 53 out[sizeof(out)-1] = '\0'; 60 char* hex = out; 61 char* asc = out + (kBitsPerWord / 4) + /* offset */ 1 + /* colon */ 101 os << prefix_ << out; local
|
/art/test/009-instanceof/src/ |
Main.java | 30 System.out.println("iface1.mFloaty = " + face1.mFloaty + " " + face1.mWahoo); 31 System.out.println("aa.mFloaty = " + aa.mFloaty + " " + aa.mWahoo); 32 System.out.println("bb.mWhoami = " + bb.mWhoami); 35 System.out.print("aaOkay (false) = "); 36 System.out.println(aaOkay); 38 System.out.print("bbOkay (true) = "); 39 System.out.println(bbOkay); 46 System.out.println("Caught a ClassCastException (expected)"); 56 System.out.print("instanceof Serializable = "); 57 System.out.println((Object)aaArray instanceof java.io.Serializable) [all...] |
/art/test/041-narrowing/src/ |
Main.java | 8 System.out.println(); 9 System.out.println("Double.POSITIVE_INFINITY = " 11 System.out.println("Double.NEGATIVE_INFINITY = " 13 System.out.println("Float.POSITIVE_INFINITY = " 15 System.out.println("Float.NEGATIVE_INFINITY = " 17 System.out.println("Double.NaN = " 19 System.out.println("Float.NaN = " 22 System.out.println(); 23 System.out.println("(byte) Double.NaN = " 26 System.out.println("(short) Double.NaN = [all...] |
/art/test/047-returns/src/ |
Main.java | 23 System.out.println("pick 1"); 25 System.out.println(((CommonInterface)pickOne(1)).doStuff()); 27 System.out.println("pick 2"); 29 System.out.println(((CommonInterface)pickOne(2)).doStuff()); 31 System.out.println("pick 3"); 53 System.out.println("one running"); 56 System.out.println("one"); 63 System.out.println("two running"); 66 System.out.println("two"); 73 System.out.println("three running") [all...] |
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
PackageTest.java | 32 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] + " 5000"); local 33 assertTrue(out, ALLOW_MONKEY.matcher(out).find()); 34 assertFalse(out, ALLOW_CHIMP.matcher(out).find()); 36 out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[1] + " 5000"); 37 assertFalse(out, ALLOW_MONKEY.matcher(out).find()); 38 assertTrue(out, ALLOW_CHIMP.matcher(out).find()) 42 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] local [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
GetAllocationTest.java | 44 int [] out = new int[INPUTSIZE]; local 45 mOut.copyTo(out); 49 out[i]);
|
InitTest.java | 37 float[] out = new float[INPUTSIZE]; local 51 mOut.copyTo(out); 52 checkArray(ref, out, INPUTSIZE, 1, 1, 0);
|
/dalvik/hit/src/com/android/hit/ |
StackTrace.java | 61 System.out.println(mFrames[i].toString());
|
/developers/build/prebuilts/gradle/TextSwitcher/Application/src/main/java/com/example/android/textswitcher/ |
MainActivity.java | 33 * the current text out and new text in when 53 * Set the in and out animations. Using the fade_in/out animations 58 Animation out = AnimationUtils.loadAnimation(this, local 61 mSwitcher.setOutAnimation(out); 67 * automatically animated using the in/out animations set above.
|
/developers/samples/android/ui/views/TextSwitcher/Application/src/main/java/com/example/android/textswitcher/ |
MainActivity.java | 33 * the current text out and new text in when 53 * Set the in and out animations. Using the fade_in/out animations 58 Animation out = AnimationUtils.loadAnimation(this, local 61 mSwitcher.setOutAnimation(out); 67 * automatically animated using the in/out animations set above.
|
/development/samples/browseable/TextSwitcher/src/com.example.android.textswitcher/ |
MainActivity.java | 33 * the current text out and new text in when 53 * Set the in and out animations. Using the fade_in/out animations 58 Animation out = AnimationUtils.loadAnimation(this, local 61 mSwitcher.setOutAnimation(out); 67 * automatically animated using the in/out animations set above.
|
/device/google/accessory/arduino/AndroidAccessory/ |
AndroidAccessory.h | 35 uint8_t out; member in class:AndroidAccessory
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
AnyTest.java | 51 DerOutputStream out = new DerOutputStream(ASN1Any.getInstance(), local 53 assertTrue("False", Arrays.equals(encoded, out.encoded));
|
BooleanTest.java | 60 DerOutputStream out = new DerOutputStream(asn1, Boolean.FALSE); local 61 assertTrue("Encoding false value", Arrays.equals(eFalse, out.encoded)); 64 out = new DerOutputStream(asn1, Boolean.TRUE); 65 assertTrue("Encoding true value", Arrays.equals(eTrue, out.encoded));
|
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
FinishedTest.java | 41 HandshakeIODataStream out = new HandshakeIODataStream(); local 42 message.send(out); 43 byte[] encoded = out.getData(1000); 44 assertEquals("incorrect out data length", message.length(),
|