/frameworks/base/tests/framework-tests/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/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/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetString.cpp | 9 jstring output = _env->NewStringUTF(chars);
local 10 return output;
|
/frameworks/base/opengl/tools/glgen/stubs/jsr239/ |
H A D | glGetString.cpp | 9 jstring output = _env->NewStringUTF(chars);
local 10 return output;
|
/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++]; 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/awt/javax/imageio/spi/ |
H A D | ImageOutputStreamSpi.java | 38 * The output class. 57 * the output class. 65 * Gets an output Class object that represents the class or interface that 66 * must be implemented by an output source. 68 * @return the output class. 100 * output object should be an instance of the class returned by 104 * @param output 105 * the output Object. 110 public ImageOutputStream createOutputStreamInstance(Object output) throws IOException { argument 111 return createOutputStreamInstance(output, tru 130 createOutputStreamInstance(Object output, boolean useCache, File cacheDir) argument [all...] |
/frameworks/base/awt/org/apache/harmony/x/imageio/spi/ |
H A D | OutputStreamIOSSpi.java | 40 public ImageOutputStream createOutputStreamInstance(Object output, boolean useCache, File cacheDir) throws IOException { argument 41 if (output instanceof OutputStream) { 43 return new FileCacheImageOutputStream((OutputStream) output, cacheDir); 45 return new MemoryCacheImageOutputStream((OutputStream) output);
|
H A D | FileIOSSpi.java | 40 public ImageOutputStream createOutputStreamInstance(Object output, boolean useCache, argument 42 if (output instanceof File) { 43 return new FileImageOutputStream((File) output); 45 throw new IllegalArgumentException("output is not instance of File");
|
H A D | RAFIOSSpi.java | 41 public ImageOutputStream createOutputStreamInstance(Object output, boolean useCache, argument 43 if (output instanceof RandomAccessFile) { 44 return new FileImageOutputStream((RandomAccessFile) output); 46 throw new IllegalArgumentException("output is not instance of java.io.RandomAccessFile");
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
H A D | MediaPlayerPerformance.java | 288 Log.v(TAG, "output format " + outFormat); 332 //Write the ps output to the file 333 public void getMemoryWriteToLog(Writer output, int writeCount) { argument 338 output.write("Start memory : " + mStartMemory + "\n"); 341 output.write(memusage); 344 output.write("End Memory :" + mEndMemory + "\n"); 392 public boolean validateMemoryResult(int startPid, int startMemory, Writer output, int limit) argument 401 output.write("The total diff = " + memDiff); 402 output.write("\n\n"); 405 output [all...] |
/frameworks/base/include/media/ |
H A D | IAudioFlinger.h | 53 int output, 69 virtual uint32_t sampleRate(int output) const = 0; 70 virtual int channelCount(int output) const = 0; 71 virtual int format(int output) const = 0; 72 virtual size_t frameCount(int output) const = 0; 73 virtual uint32_t latency(int output) const = 0; 87 virtual status_t setStreamVolume(int stream, float value, int output) = 0; 90 virtual float streamVolume(int stream, int output) const = 0; 106 // register a current process for audio output change notifications 119 virtual status_t closeOutput(int output) [all...] |
H A D | IAudioPolicyService.h | 56 virtual status_t startOutput(audio_io_handle_t output, AudioSystem::stream_type stream) = 0; 57 virtual status_t stopOutput(audio_io_handle_t output, AudioSystem::stream_type stream) = 0; 58 virtual void releaseOutput(audio_io_handle_t output) = 0;
|
/frameworks/base/libs/surfaceflinger_client/ |
H A D | LayerState.cpp | 23 status_t layer_state_t::write(Parcel& output) const 28 err = output.writeInt32(len); 31 void* buf = output.writeInplace(len); 40 err = output.write(this, size);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaRecorderStressTest.java | 161 Writer output = new BufferedWriter(new FileWriter(stressOutFile, true)); 162 output.write("Camera start preview stress:\n"); 163 output.write("Total number of loops:" + 167 output.write("No of loop: "); 184 output.write(" ," + i); 190 output.write("\n\n"); 191 output.close(); 201 Writer output = new BufferedWriter(new FileWriter(stressOutFile, true)); 202 output.write("H263 video record- reset after prepare Stress test\n"); 203 output [all...] |
/frameworks/base/libs/audioflinger/ |
H A D | AudioMixer.h | 84 void process(void* output); 119 typedef void (*mix_t)(state_t* state, void* output); 145 void (*hook)(track_t* t, int32_t* output, size_t numOutFrames, int32_t* temp); 182 static void process__validate(state_t* state, void* output); 183 static void process__nop(state_t* state, void* output); 184 static void process__genericNoResampling(state_t* state, void* output); 185 static void process__genericResampling(state_t* state, void* output); 186 static void process__OneTrack16BitsStereoNoResampling(state_t* state, void* output); 187 static void process__TwoTracks16BitsStereoNoResampling(state_t* state, void* output);
|
H A D | AudioPolicyManagerBase.cpp | 46 // handle output devices 58 // handle output device connection 93 // handle output device disconnection 102 // remove device from available output devices 274 // check for device and output changes triggered by new phone state 278 // suspend A2DP output if a SCO device is present. 302 // delay the device change command by twice the output latency to have some margin 317 // setting output device above 386 // check for device and output changes triggered by new phone state 423 audio_io_handle_t output local 541 startOutput(audio_io_handle_t output, AudioSystem::stream_type stream) argument 577 stopOutput(audio_io_handle_t output, AudioSystem::stream_type stream) argument 619 releaseOutput(audio_io_handle_t output) argument 1120 testOutputIndex(audio_io_handle_t output) argument 1344 getNewDevice(audio_io_handle_t output, bool fromCache) argument 1540 setOutputDevice(audio_io_handle_t output, uint32_t device, bool force, int delayMs) argument 1655 computeVolume(int stream, int index, audio_io_handle_t output, uint32_t device) argument 1697 checkAndSetVolume(int stream, int index, audio_io_handle_t output, uint32_t device, int delayMs, bool force) argument 1741 applyStreamVolumes(audio_io_handle_t output, uint32_t device, int delayMs) argument 1750 setStrategyMute(routing_strategy strategy, bool on, audio_io_handle_t output, int delayMs) argument 1760 setStreamMute(int stream, bool on, audio_io_handle_t output, int delayMs) argument [all...] |
H A D | AudioPolicyService.h | 57 virtual status_t startOutput(audio_io_handle_t output, AudioSystem::stream_type stream); 58 virtual status_t stopOutput(audio_io_handle_t output, AudioSystem::stream_type stream); 59 virtual void releaseOutput(audio_io_handle_t output); 93 virtual status_t closeOutput(audio_io_handle_t output); 94 virtual status_t suspendOutput(audio_io_handle_t output); 95 virtual status_t restoreOutput(audio_io_handle_t output); 102 virtual status_t setStreamVolume(AudioSystem::stream_type stream, float volume, audio_io_handle_t output, int delayMs = 0); 103 virtual status_t setStreamOutput(AudioSystem::stream_type stream, audio_io_handle_t output); 147 status_t volumeCommand(int stream, float volume, int output, int delayMs = 0);
|
/frameworks/base/awt/javax/imageio/ |
H A D | ImageIO.java | 140 * Object should obtain the output source such as File, or OutputStream. 142 * @param output 143 * the output Object such as File, or OutputStream. 148 public static ImageOutputStream createImageOutputStream(Object output) throws IOException { argument 149 if (output == null) { 150 throw new IllegalArgumentException("output destination cannot be NULL"); 158 if (spi.getOutputClass().isInstance(output)) { 160 return spi.createOutputStreamInstance(output); 495 * @param output 501 public static boolean write(RenderedImage im, String formatName, ImageOutputStream output) argument 541 write(RenderedImage im, String formatName, File output) argument 572 write(RenderedImage im, String formatName, OutputStream output) argument [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/libmedia/ |
H A D | IAudioFlinger.cpp | 85 int output, 99 data.writeInt32(output); 146 virtual uint32_t sampleRate(int output) const 150 data.writeInt32(output); 155 virtual int channelCount(int output) const 159 data.writeInt32(output); 164 virtual int format(int output) const 168 data.writeInt32(output); 173 virtual size_t frameCount(int output) const 177 data.writeInt32(output); 76 createTrack( pid_t pid, int streamType, uint32_t sampleRate, int format, int channelCount, int frameCount, uint32_t flags, const sp<IMemory>& sharedBuffer, int output, status_t *status) argument 225 setStreamVolume(int stream, float value, int output) argument 361 int output = reply.readInt32(); local 386 closeOutput(int output) argument 395 suspendOutput(int output) argument 404 restoreOutput(int output) argument 453 setStreamOutput(uint32_t stream, int output) argument 472 getRenderPosition(uint32_t *halFrames, uint32_t *dspFrames, int output) argument 520 int output = data.readInt32(); local 594 int output = data.readInt32(); local 607 int output = data.readInt32(); local 677 int output = openOutput(&devices, local 742 int output = data.readInt32(); local 754 int output = data.readInt32(); local [all...] |
H A D | AudioSystem.cpp | 128 status_t AudioSystem::setStreamVolume(int stream, float value, int output) argument 133 af->setStreamVolume(stream, value, output); 146 status_t AudioSystem::getStreamVolume(int stream, float* volume, int output) argument 151 *volume = af->streamVolume(stream, output); 223 audio_io_handle_t output; local 229 output = getOutput((stream_type)streamType); 230 if (output == 0) { 235 outputDesc = AudioSystem::gOutputs.valueFor(output); 237 LOGV("getOutputSamplingRate() no output descriptor for output 256 audio_io_handle_t output; local 287 audio_io_handle_t output; local 558 audio_io_handle_t output = 0; local 587 startOutput(audio_io_handle_t output, AudioSystem::stream_type stream) argument 594 stopOutput(audio_io_handle_t output, AudioSystem::stream_type stream) argument 601 releaseOutput(audio_io_handle_t output) argument [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/tests/CoreTests/android/core/ |
H A D | DeflateTest.java | 49 byte[] output = new byte[100]; 53 int compressedDataLength = compresser.deflate(output); 57 decompresser.setInput(output, 0, compressedDataLength); 80 byte[] output = new byte[128 * 1024 + 512]; 87 expand(inflater, comp, (int) deflater.getBytesWritten(), output); 123 * and output to exercise that part of the code. 153 // deflate to current position in output buffer 159 //System.out.println("Compressed " + want + ", output " + compCount); 189 // inflate to current position in output buffer 195 //System.out.println("Expanded " + want + ", output " [all...] |