/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
H A D | MultipartTest.java | 60 StringBuffer output = new StringBuffer(); 62 output.append("--"); 63 output.append(boundry); 64 output.append(CRLF); 66 output.append("Content-Disposition: form-data; name=\"stringpart\""); 67 output.append(CRLF); 68 output.append("Content-Type: text/plain; charset=US-ASCII"); 69 output.append(CRLF); 70 output.append("Content-Transfer-Encoding: 8bit"); 71 output [all...] |
/frameworks/base/opengl/libs/GLES2_dbg/ |
H A D | generate_debugger_message_proto.py | 22 def generate_egl_entries(output, lines, i): 26 output.write(" %s = %d;\n" % (line, i)) 31 def generate_gl_entries(output,lines,i): 35 output.write(" %s = %d;\n" % (line, i)) 41 output = open("debugger_message.proto",'w') variable 42 output.write("""\ 75 i = generate_gl_entries(output, lines, i) 76 output.write(" // end of GL functions\n") 79 #i = generate_gl_entries(output, lines, i) 80 #output [all...] |
H A D | generate_caller_cpp.py | 27 output = "" 44 output += "\ 51 output += "\ 57 output += "\ 59 break; // annotated output pointers\n" % (functionName) 116 output += "\ 121 output += "\ 127 return output 132 output = generate_caller(lines) variable 183 out.write(output) [all...] |
H A D | generate_debug_in.py | 64 output = open("../debug.in", "w") variable 66 output.write("// the following functions are not defined in GLESv2_dbg\n") 79 output.write(line)
|
/frameworks/ex/common/tools/ |
H A D | make-iana-tld-pattern.py | 42 output = ' '; 46 output += '+ "' 48 output += '"(' 50 output += '+ "|' 53 output += '(' 56 output += '?:' 61 output += '|' 65 output += '\\\\' # escape the '-' character. 66 output += letter 69 output [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | AdditionalTextOutput.java | 52 StringBuilder output = getStringBuilderForType(OutputType.EXCEEDED_DB_QUOTA_MESSAGE); 70 output.append("UI DELEGATE DATABASE CALLBACK: "); 71 output.append("exceededDatabaseQuotaForSecurityOrigin:{"); 72 output.append(protocol + ", " + host + ", " + port + "} "); 73 output.append("database:" + databaseIdentifier + "\n"); 77 StringBuilder output = getStringBuilderForType(OutputType.CONSOLE_MESSAGE); 79 output.append("CONSOLE MESSAGE: line " + consoleMessage.lineNumber()); 80 output.append(": " + consoleMessage.message() + "\n"); 84 StringBuilder output = getStringBuilderForType(OutputType.JS_DIALOG); 86 output [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Base64.java | 35 * of the output (if any). 40 * Encoder flag bit to omit all line terminators (i.e., the output 62 * should not close the output stream it is wrapping when it 72 public byte[] output; field in class:Base64.Coder 76 * Encode/decode another block of input data. this.output is 83 * include any final bytes in the output. 111 * @param flags controls certain features of the decoded output. 129 * @param flags controls certain features of the decoded output. 149 * @param flags controls certain features of the decoded output. 164 // Maybe we got lucky and allocated exactly enough output spac 241 Decoder(int flags, byte[] output) argument 581 Encoder(int flags, byte[] output) argument [all...] |
H A D | Base64InputStream.java | 70 coder.output = new byte[coder.maxOutputSize(BUFFER_SIZE)]; 115 return coder.output[outputStart++] & 0xff; 127 System.arraycopy(coder.output, outputStart, b, off, bytes); 134 * decode/encode it into the empty coder.output, and reset the
|
H A D | Base64OutputStream.java | 137 coder.output = embiggen(coder.output, coder.maxOutputSize(len)); 141 out.write(coder.output, 0, coder.op);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaPlayerStressTest.java | 64 private void writeTestOutput(String filename, Writer output) throws Exception{ argument 65 output.write("File Name: " + filename); 66 output.write(" Complete: " + CodecTest.onCompleteSuccess); 67 output.write(" Error: " + CodecTest.mPlaybackError); 68 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); 69 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); 70 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); 71 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); 72 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); 73 output 76 writeTestSummary(Writer output) argument [all...] |
H A D | MediaRecorderStressTest.java | 151 Writer output = new BufferedWriter(new FileWriter(stressOutFile, true)); 152 output.write("Camera start preview stress:\n"); 153 output.write("Total number of loops:" + 157 output.write("No of loop: "); 172 output.write(" ," + i); 178 output.write("\n\n"); 179 output.close(); 189 Writer output = new BufferedWriter(new FileWriter(stressOutFile, true)); 190 output.write("H263 video record- reset after prepare Stress test\n"); 191 output [all...] |
/frameworks/base/libs/gui/ |
H A D | LayerState.cpp | 24 status_t layer_state_t::write(Parcel& output) const 29 err = output.writeInt32(len); 32 void* buf = output.writeInplace(len); 41 err = output.write(this, size); 62 status_t ComposerState::write(Parcel& output) const { 63 output.writeStrongBinder(client->asBinder()); 64 return state.write(output);
|
/frameworks/base/libs/utils/tests/ |
H A D | Unicode_test.cpp | 41 << "Zero length input should return zero length output."; 97 char16_t output[1 + 1 + 1 + 2 + 1]; // Room for NULL local 99 utf8_to_utf16(str, sizeof(str), output); 101 EXPECT_EQ(0x0030, output[0]) 103 EXPECT_EQ(0x0100, output[1]) 105 EXPECT_EQ(0x2323, output[2]) 107 EXPECT_EQ(0xD800, output[3]) 109 EXPECT_EQ(0xDC00, output[4]) 111 EXPECT_EQ(NULL, output[5])
|
/frameworks/base/include/media/ |
H A D | IAudioFlinger.h | 56 int output, 74 virtual uint32_t sampleRate(int output) const = 0; 75 virtual int channelCount(int output) const = 0; 76 virtual uint32_t format(int output) const = 0; 77 virtual size_t frameCount(int output) const = 0; 78 virtual uint32_t latency(int output) const = 0; 92 virtual status_t setStreamVolume(int stream, float value, int output) = 0; 95 virtual float streamVolume(int stream, int output) const = 0; 108 // register a current process for audio output change notifications 121 virtual status_t closeOutput(int output) [all...] |
H A D | IAudioPolicyService.h | 57 virtual status_t startOutput(audio_io_handle_t output, 60 virtual status_t stopOutput(audio_io_handle_t output, 63 virtual void releaseOutput(audio_io_handle_t output) = 0;
|
/frameworks/base/libs/rs/scriptc/ |
H A D | rs_core.rsh | 101 * Make a script to script call to launch work. One of the input or output is 102 * required to be a valid object. The input and output must be of the same 108 * @param output the allocation to write date into 119 rs_allocation output, const void * usrData, 126 rs_allocation output, const void * usrData); 130 * Make a script to script call to launch work. One of the input or output is 131 * required to be a valid object. The input and output must be of the same 137 * @param output the allocation to write date into 148 rsForEach(rs_script script, rs_allocation input, rs_allocation output, 154 rsForEach(rs_script script, rs_allocation input, rs_allocation output, [all...] |
/frameworks/base/tests/backup/src/com/android/backuptest/ |
H A D | BackupTestActivity.java | 79 PrintStream output = null; 81 output = new PrintStream(openFileOutput(FILE_NAME, MODE_APPEND)); 83 output.println(formatter.format(new Date())); 84 output.close(); 86 if (output != null) { 87 output.close(); 95 PrintStream output = null; 97 output = new PrintStream(openFileOutput(FILE_NAME, MODE_PRIVATE)); 98 output.close(); 100 if (output ! [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | post_filter.cpp | 34 uint8 *output) 54 oscl_memcpy(output, decodedFrame, size); 55 oscl_memcpy(output + size, decodedFrame + size, (size >> 2)); 56 oscl_memcpy(output + size + (size >> 2), decodedFrame + size + (size >> 2), (size >> 2)); 75 CombinedHorzVertRingFilter(output, width, height, QP_store, 0, pp_mod); 83 CombinedHorzVertFilter(output, width, height, 88 CombinedHorzVertFilter_NoSoftDeblocking(output, width, height, 94 Deringing_Luma(output, width, height, QP_store, 103 output += size; 107 CombinedHorzVertRingFilter(output, (in 31 PostFilter( VideoDecData *video, int filter_type, uint8 *output) argument [all...] |
/frameworks/base/media/libmedia/ |
H A D | AudioSystem.cpp | 123 status_t AudioSystem::setStreamVolume(int stream, float value, int output) argument 128 af->setStreamVolume(stream, value, output); 141 status_t AudioSystem::getStreamVolume(int stream, float* volume, int output) argument 146 *volume = af->streamVolume(stream, output); 209 audio_io_handle_t output; local 215 output = getOutput((audio_stream_type_t)streamType); 216 if (output == 0) { 221 outputDesc = AudioSystem::gOutputs.valueFor(output); 223 LOGV("getOutputSamplingRate() no output descriptor for output 242 audio_io_handle_t output; local 273 audio_io_handle_t output; local 570 audio_io_handle_t output = 0; local 599 startOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument 608 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument 617 releaseOutput(audio_io_handle_t output) argument [all...] |
H A D | IAudioFlinger.cpp | 92 int output, 107 data.writeInt32(output); 173 virtual uint32_t sampleRate(int output) const 177 data.writeInt32(output); 182 virtual int channelCount(int output) const 186 data.writeInt32(output); 191 virtual uint32_t format(int output) const 195 data.writeInt32(output); 200 virtual size_t frameCount(int output) const 204 data.writeInt32(output); 83 createTrack( pid_t pid, int streamType, uint32_t sampleRate, uint32_t format, uint32_t channelMask, int frameCount, uint32_t flags, const sp<IMemory>& sharedBuffer, int output, int *sessionId, status_t *status) argument 252 setStreamVolume(int stream, float value, int output) argument 379 int output = reply.readInt32(); local 404 closeOutput(int output) argument 413 suspendOutput(int output) argument 422 restoreOutput(int output) argument 471 setStreamOutput(uint32_t stream, int output) argument 490 getRenderPosition(uint32_t *halFrames, uint32_t *dspFrames, int output) argument 605 createEffect(pid_t pid, effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, int output, int sessionId, status_t *status, int *id, int *enabled) argument 686 int output = data.readInt32(); local 764 int output = data.readInt32(); local 777 int output = data.readInt32(); local 841 int output = openOutput(&devices, local 906 int output = data.readInt32(); local 918 int output = data.readInt32(); local 991 int output = data.readInt32(); local [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | VerifierDeviceIdentity.java | 138 long output = 0L; 169 output = (output << 5) | value; 185 return output;
|
/frameworks/base/include/private/surfaceflinger/ |
H A D | LayerState.h | 46 status_t write(Parcel& output) const; 75 status_t write(Parcel& output) const;
|
/frameworks/base/tools/obbtool/ |
H A D | mkobb.sh | 94 unset output 102 output="${output}${c}" 105 eval $outvar="$output" 106 unset output
|
/frameworks/base/voip/jni/rtp/ |
H A D | AudioGroup.cpp | 104 bool mix(int32_t *output, int head, int tail, int sampleRate); 234 bool AudioStream::mix(int32_t *output, int head, int tail, int sampleRate) argument 255 output[i - head] += mBuffer[i & mBufferMask]; 789 int output = 0; local 791 if (AudioTrack::getMinFrameCount(&output, AUDIO_STREAM_VOICE_CALL, 792 sampleRate) != NO_ERROR || output <= 0 || 798 LOGD("reported frame count: output %d, input %d", output, input); 800 if (output < sampleCount * 2) { 801 output 865 int16_t output[sampleCount]; local [all...] |
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.c | 539 * Writes the header of the output file. 542 * @param[out] pOutput The output from the conversion process. 588 * @param[out] pOutput The output from the conversion process. 822 * Encrypts the given character and writes it to the output buffer. 826 * @param[in,out] pOutput The output from the conversion process. 860 * @param[in,out] pOutput The output from the conversion process. 872 // to the output buffer and start over. 883 // The current character isn't part of the delimiter. Write it to the output buffer. 928 * @param[in,out] pOutput The output from the conversion process. 1069 * @param[in,out] pOutput The output fro 1266 FwdLockConv_Output_t output; local [all...] |