Searched defs:out (Results 76 - 100 of 520) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/projection/
H A DMediaProjectionInfo.java76 public void writeToParcel(Parcel out, int flags) { argument
77 out.writeString(mPackageName);
78 UserHandle.writeToParcel(mUserHandle, out);
/frameworks/base/media/jni/
H A Dandroid_media_ResampleInputStream.cpp93 short out[BUF_SIZE]; local
101 out[i] = (short)(sum >> 16);
105 env->SetByteArrayRegion(jOut, jOutOffset, jNpoints * 2, (jbyte*)out);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDurableUtils.java33 final ByteArrayOutputStream out = new ByteArrayOutputStream();
34 d.write(new DataOutputStream(out));
35 return out.toByteArray();
85 public static void writeNullableString(DataOutputStream out, String value) throws IOException { argument
87 out.write(1);
88 out.writeUTF(value);
90 out.write(0);
/frameworks/base/services/core/java/com/android/server/
H A DRandomBlock.java67 RandomAccessFile out = null;
69 out = new RandomAccessFile(filename, sync ? "rws" : "rw");
70 toDataOut(out);
71 truncateIfPossible(out);
73 close(out);
87 private void toDataOut(DataOutput out) throws IOException { argument
88 out.write(block);
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountAuthenticatorCache.java84 public void writeAsXml(AuthenticatorDescription item, XmlSerializer out) argument
86 out.attribute(null, "type", item.type);
/frameworks/base/services/core/java/com/android/server/net/
H A DDelayedDiskWrite.java37 public void onWriteCalled(DataOutputStream out) throws IOException; argument
67 DataOutputStream out = null;
70 out = new DataOutputStream(new BufferedOutputStream(
73 w.onWriteCalled(out);
77 if (out != null) {
79 out.close();
H A DNetworkIdentitySet.java81 public void writeToStream(DataOutputStream out) throws IOException { argument
82 out.writeInt(VERSION_ADD_METERED);
83 out.writeInt(size());
85 out.writeInt(ident.getType());
86 out.writeInt(ident.getSubType());
87 writeOptionalString(out, ident.getSubscriberId());
88 writeOptionalString(out, ident.getNetworkId());
89 out.writeBoolean(ident.getRoaming());
90 out.writeBoolean(ident.getMetered());
107 private static void writeOptionalString(DataOutputStream out, Strin argument
[all...]
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsXml.java116 static void write(OutputStream out, IntervalStats stats) throws IOException { argument
118 xml.setOutput(out, "utf-8");
/frameworks/base/telephony/java/com/android/ims/
H A DImsCallForwardInfo.java54 public void writeToParcel(Parcel out, int flags) { argument
55 out.writeInt(mCondition);
56 out.writeInt(mStatus);
57 out.writeInt(mToA);
58 out.writeString(mNumber);
59 out.writeInt(mTimeSeconds);
60 out.writeInt(mServiceClass);
H A DImsSsInfo.java52 public void writeToParcel(Parcel out, int flags) { argument
53 out.writeInt(mStatus);
54 out.writeString(mIcbNum);
H A DImsSuppServiceNotification.java71 public void writeToParcel(Parcel out, int flags) { argument
72 out.writeInt(notificationType);
73 out.writeInt(code);
74 out.writeInt(index);
75 out.writeInt(type);
76 out.writeString(number);
77 out.writeStringArray(history);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DDelegateManager.java137 System.out.println(
155 System.out.println("Removing main Java ref on " + mClass.getSimpleName() +
163 public synchronized static void dump(PrintStream out) { argument
166 out.printf("[%d] %s\n", sDelegates.keyAt(idx), reference.getClass().getSimpleName());
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiChannel.java64 public void writeToParcel(Parcel out, int flags) { argument
65 out.writeInt(freqMHz);
66 out.writeInt(channelNum);
67 out.writeInt(isDFS ? 1 : 0);
/frameworks/native/services/surfaceflinger/
H A DColorizer.h41 void colorize(String8& out, color c) { argument
43 out.appendFormat("\e[%dm", c);
47 void bold(String8& out) { argument
49 out.append("\e[1m");
53 void reset(String8& out) { argument
55 out.append("\e[0m");
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
H A DHelloComputeNDK.java33 native void nativeMono(String cacheDir, int X, int Y, Bitmap in, Bitmap out); argument
47 ImageView out = (ImageView) findViewById(R.id.displayout);
48 out.setImageBitmap(mBitmapOut);
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DTriData.java85 public void transform(Matrix m, TriData out) { argument
88 m.mult3(mVert, i, out.mVert, i);
H A DVectorUtil.java23 public static void sub(double[] a, double[] b, double[] out) { argument
24 out[0] = a[0] - b[0];
25 out[1] = a[1] - b[1];
26 out[2] = a[2] - b[2];
29 public static void mult(double[] a, double b, double[] out) { argument
30 out[0] = a[0] * b;
31 out[1] = a[1] * b;
32 out[2] = a[2] * b;
43 public static void cross(double[] a, double[] b, double[] out) { argument
47 out[
59 add(double[] a, double[] b, double[] out) argument
[all...]
/frameworks/av/camera/ndk/
H A DNdkCameraDevice.cpp78 /*out*/ACaptureSessionOutputContainer** out) {
80 if (out == nullptr) {
81 ALOGE("%s: Error: out null", __FUNCTION__);
84 *out = new ACaptureSessionOutputContainer();
99 ANativeWindow* window, /*out*/ACaptureSessionOutput** out) {
101 if (window == nullptr || out == nullptr) {
102 ALOGE("%s: Error: bad argument. window %p, out %p",
103 __FUNCTION__, window, out);
77 ACaptureSessionOutputContainer_create( ACaptureSessionOutputContainer** out) argument
98 ACaptureSessionOutput_create( ANativeWindow* window, ACaptureSessionOutput** out) argument
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DAudioPeakingFilter.h31 // when they are out of supported range.
102 // out Output buffer.
104 void process(const audio_sample_t in[], audio_sample_t out[], argument
105 int frameCount) { mBiquad.process(in, out, frameCount); }
H A DAudioShelvingFilter.h31 // when they are out of supported range.
96 // out Output buffer.
98 void process(const audio_sample_t in[], audio_sample_t out[], argument
99 int frameCount) { mBiquad.process(in, out, frameCount); }
H A DEffectsMath.c114 int32_t out = 0; local
123 out = 0x4000;
133 tmp = (out << i) + (1 << ((i - 1)*2));
136 out += 1 << (i-1);
141 return out;
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_imdct_synth.cpp243 int32 * out = in + (band * FILTERBANK_BANDS); local
250 pvmp3_mdct_18(out, history, normal_win);
256 pvmp3_mdct_18(out, history, start_win);
262 pvmp3_mdct_18(out, history, stop_win);
273 Scratch_mem[i ] = out[(i*3)];
274 Scratch_mem[6 +i] = out[(i*3) + 1];
275 Scratch_mem[12 +i] = out[(i*3) + 2];
288 out[i] = temp;
293 out[i+6] = fxp_mul32_Q32(Scratch_mem[i] << 1, short_win[i]);
294 out[
334 int32 * out = in + (band * FILTERBANK_BANDS); local
[all...]
/frameworks/av/media/libstagefright/foundation/
H A Dbase64.cpp49 uint8_t *out = buffer->data(); local
50 if (out == NULL || buffer->size() < outLen) {
81 out[j++] = (accum >> 16);
83 if (j < outLen) { out[j++] = (accum >> 8) & 0xff; }
84 if (j < outLen) { out[j++] = accum & 0xff; }
108 const void *_data, size_t size, AString *out) {
109 out->clear();
119 out->append(encode6Bit(x1 >> 2));
120 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f));
121 out
107 encodeBase64( const void *_data, size_t size, AString *out) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioMixerOps.h244 * This accumulates into the out pointer.
254 * This accumulates into the out pointer.
263 * MIXTYPE_MULTI_SAVEONLY does not accumulate into the out pointer.
275 inline void volumeRampMulti(TO* out, size_t frameCount, argument
287 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum);
293 *out++ += MixMulAux<TO, TI, TV, TA>(*in, vol[i], &auxaccum);
300 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum);
306 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum);
312 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum);
329 *out
368 volumeMulti(TO* out, size_t frameCount, const TI* in, TA* aux, const TV *vol, TAV vola) argument
[all...]
H A DAudioResamplerCubic.cpp35 size_t AudioResamplerCubic::resample(int32_t* out, size_t outFrameCount, argument
44 return resampleMono16(out, outFrameCount, provider);
46 return resampleStereo16(out, outFrameCount, provider);
53 size_t AudioResamplerCubic::resampleStereo16(int32_t* out, size_t outFrameCount, argument
82 out[outputIndex++] += vl * interp(&left, x);
83 out[outputIndex++] += vr * interp(&right, x);
84 // out[outputIndex++] += vr * in[inputIndex*2];
120 size_t AudioResamplerCubic::resampleMono16(int32_t* out, size_t outFrameCount, argument
151 out[outputIndex++] += vl * sample;
152 out[outputInde
[all...]

Completed in 501 milliseconds

1234567891011>>