/tools/loganalysis/tests/src/com/android/loganalysis/item/ |
ProcrankItemTest.java | 39 JSONObject output = new JSONObject(item.toJson().toString()); local 41 assertTrue(output.has(ProcrankItem.LINES)); 42 assertTrue(output.get(ProcrankItem.LINES) instanceof JSONArray); 43 assertTrue(output.has(ProcrankItem.TEXT)); 44 assertEquals("foo\nbar", output.get(ProcrankItem.TEXT)); 46 JSONArray lines = output.getJSONArray(ProcrankItem.LINES);
|
SmartMonkeyLogItemTest.java | 41 JSONObject output = new JSONObject(item.toJson().toString()); local 43 assertTrue(output.has(SmartMonkeyLogItem.APPLICATIONS)); 44 assertTrue(output.get(SmartMonkeyLogItem.APPLICATIONS) instanceof JSONArray); 45 assertTrue(output.has(SmartMonkeyLogItem.PACKAGES)); 46 assertTrue(output.get(SmartMonkeyLogItem.PACKAGES) instanceof JSONArray); 47 assertTrue(output.has(SmartMonkeyLogItem.ANR_TIMES)); 48 assertTrue(output.get(SmartMonkeyLogItem.ANR_TIMES) instanceof JSONArray); 49 assertTrue(output.has(SmartMonkeyLogItem.CRASH_TIMES)); 50 assertTrue(output.get(SmartMonkeyLogItem.CRASH_TIMES) instanceof JSONArray);
|
SystemPropsItemTest.java | 38 JSONObject output = new JSONObject(item.toJson().toString()); local 40 assertTrue(output.has(SystemPropsItem.LINES)); 41 assertTrue(output.get(SystemPropsItem.LINES) instanceof JSONObject); 42 assertTrue(output.has(SystemPropsItem.TEXT)); 43 assertEquals("[foo]: [123]\n[bar]: [456]", output.get(SystemPropsItem.TEXT)); 45 JSONObject lines = output.getJSONObject(SystemPropsItem.LINES);
|
WakelockItemTest.java | 42 JSONObject output = new JSONObject(item.toJson().toString()); local 44 assertTrue(output.has(WakelockItem.WAKELOCKS)); 45 assertTrue(output.get(WakelockItem.WAKELOCKS) instanceof JSONArray); 47 JSONArray wakelockInfo = output.getJSONArray(WakelockItem.WAKELOCKS);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
FileDeferredOutputStream.java | 10 * A deferred output stream that uses a file as its backing store, with a in-memory intermediate buffer. 16 @Nonnull private final NakedBufferedOutputStream output; field in class:FileDeferredOutputStream 25 output = new NakedBufferedOutputStream(new FileOutputStream(backingFile), bufferSize); 29 byte[] outBuf = output.getBuffer(); 30 int count = output.getCount(); 31 output.resetBuffer(); 32 output.close(); 45 output.write(i); 50 output.write(bytes); 55 output.write(bytes, off, len) [all...] |
/external/turbine/java/com/google/turbine/bytecode/ |
ClassWriter.java | 40 ByteArrayDataOutput output = ByteStreams.newDataOutput(); local 41 output.writeShort(classfile.access()); 42 output.writeShort(pool.classInfo(classfile.name())); 43 output.writeShort(classfile.superName() != null ? pool.classInfo(classfile.superName()) : 0); 44 output.writeShort(classfile.interfaces().size()); 46 output.writeShort(pool.classInfo(i)); 48 output.writeShort(classfile.fields().size()); 50 writeField(pool, output, f); 52 output.writeShort(classfile.methods().size()); 54 writeMethod(pool, output, m) [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
BitmapFactorySecurityTests.java | 41 FileOutputStream output = new FileOutputStream(file); local 45 output.write(buffer, 0, readLength); 48 output.close(); 69 // This previously crashed in fread. No need to check the output.
|
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/output/ |
FileOutput.java | 12 package org.jacoco.agent.rt.internal.output; 24 * Local only agent output that will write coverage data to the filesystem. This 53 final OutputStream output = openFile(); local 55 final ExecutionDataWriter writer = new ExecutionDataWriter(output); 58 output.close();
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/csv/ |
CSVFormatterTest.java | 44 private MemoryOutput output; field in class:CSVFormatterTest 50 output = new MemoryOutput(); 51 visitor = formatter.createVisitor(output); 56 output.assertClosed(); 95 visitor = formatter.createVisitor(output); 129 output.close(); 138 output.getContentsAsStream(), encoding));
|
/frameworks/support/work/workmanager/src/test/java/androidx/work/ |
OverwritingInputMergerTest.java | 42 Data output = getOutputFor(input); local 44 assertThat(output.size(), is(1)); 45 assertThat(output.getString(key, null), is(value)); 67 Data output = getOutputFor(input1, input2); local 69 assertThat(output.size(), is(3)); 70 assertThat(output.getString(key1, null), is(value1a)); 71 assertThat(output.getString(key2, null), is(value2)); 72 assertThat(output.getString(key3, null), is(value3));
|
/build/blueprint/gotestmain/ |
gotestmain.go | 34 output = flag.String("o", "", "output filename") 98 err = ioutil.WriteFile(*output, buf.Bytes(), 0666) 33 output = flag.String("o", "", "output filename") var
|
/build/kati/ |
command.h | 28 explicit Command(Symbol o) : output(o), echo(true), ignore_error(false) {} 29 Symbol output; member in struct:Command
|
/development/gsi/gsi_util/gsi_util/commands/ |
dump.py | 25 """Format and output dump info result to a output stream. 28 os is the stream to output the formatted, which should be inherited from 29 io.IOBase. name_list is a string list describe the info names to be output. 31 After collected all dump result, calls output() to output the 39 """Inits DumpReporter with an output stream and an info name list. 42 os: the output stream of outputing the report 43 name_list: the info name list will be output 50 """Enable force output dump info without dump result 60 def output(self, dump_result_dict): member in class:DumpReporter [all...] |
/external/ImageMagick/MagickWand/tests/ |
add_first.c | 28 *output; local 58 /* append all images together to create the output wand */ 60 output = MagickAppendImages(wand,MagickFalse); 63 /* Final output */ 64 status = MagickWriteImage(output,"show:"); 66 ThrowWandException(output); 68 output = DestroyMagickWand(output);
|
add_first_lists.c | 28 *output; local 77 /* append all images together to create the output wand */ 79 output = MagickAppendImages(wand,MagickFalse); 82 /* Final output */ 83 status = MagickWriteImage(output,"show:"); 85 ThrowWandException(output); 87 output = DestroyMagickWand(output);
|
add_index.c | 28 *output; local 67 /* append all images together to create the output wand */ 69 output = MagickAppendImages(wand,MagickFalse); 72 /* Final output */ 73 status = MagickWriteImage(output,"show:"); 75 ThrowWandException(output); 77 output = DestroyMagickWand(output);
|
add_last.c | 27 *output; local 57 /* append all images together to create the output wand */ 59 output = MagickAppendImages(wand,MagickFalse); 62 /* Final output */ 63 status = MagickWriteImage(output,"show:"); 65 ThrowWandException(output); 67 output = DestroyMagickWand(output);
|
add_last_lists.c | 28 *output; local 76 /* append all images together to create the output wand */ 78 output = MagickAppendImages(wand,MagickFalse); 81 /* Final output */ 82 status = MagickWriteImage(output,"show:"); 84 ThrowWandException(output); 86 output = DestroyMagickWand(output);
|
add_mixed.c | 27 *output; local 81 /* append all images together to create the output wand */ 83 output = MagickAppendImages(wand,MagickFalse); 86 /* Final output */ 87 status = MagickWriteImage(output,"show:"); 89 ThrowWandException(output); 91 output = DestroyMagickWand(output);
|
add_mixed_lists.c | 28 *output; local 76 /* append all images together to create the output wand */ 78 output = MagickAppendImages(wand,MagickFalse); 81 /* Final output */ 82 status = MagickWriteImage(output,"show:"); 84 ThrowWandException(output); 86 output = DestroyMagickWand(output);
|
add_norm.c | 27 *output; local 55 /* append all images together to create the output wand */ 57 output = MagickAppendImages(wand,MagickFalse); 60 /* Final output */ 61 status = MagickWriteImage(output,"show:"); 63 ThrowWandException(output); 65 output = DestroyMagickWand(output);
|
add_norm_lists.c | 28 *output; local 75 /* append all images together to create the output wand */ 77 output = MagickAppendImages(wand,MagickFalse); 80 /* Final output */ 81 status = MagickWriteImage(output,"show:"); 83 ThrowWandException(output); 85 output = DestroyMagickWand(output);
|
/external/ImageMagick/api_examples/ |
wand.c | 49 *output; /* the appended output image */ local 100 /* append all images together to create the output wand */ 102 output = MagickAppendImages(red,MagickFalse); 115 /* Final output */ 116 status = MagickWriteImage(output,"show:"); 118 ThrowWandException(output); 120 output = DestroyMagickWand(output);
|
/external/autotest/cli/ |
test.py | 105 def output(self, results): member in class:test_list 117 super(test_list, self).output(results, keys)
|
user.py | 95 def output(self, results): member in class:user_list 101 super(user_list, self).output(results, keys)
|