/frameworks/base/libs/androidfw/tests/ |
H A D | ConfigLocale_test.cpp | 32 char out[4] = {1, 1, 1, 1}; local 33 config.unpackLanguage(out); 34 EXPECT_EQ('e', out[0]); 35 EXPECT_EQ('n', out[1]); 36 EXPECT_EQ(0, out[2]); 37 EXPECT_EQ(0, out[3]); 39 memset(out, 1, sizeof(out)); 41 config.unpackLanguage(out); 42 EXPECT_EQ(0, out[ 55 char out[4] = {1, 1, 1, 1}; local 71 char out[4] = {1, 1, 1, 1}; local 95 char out[4] = {1, 1, 1, 1}; local 107 char out[4] = {1, 1, 1, 1}; local 115 fillIn(const char* lang, const char* country, const char* script, const char* variant, ResTable_config* out) argument 190 char out[4] = {1, 1, 1, 1}; local 272 char out[RESTABLE_MAX_LOCALE_LEN]; local [all...] |
H A D | ResTable_test.cpp | 233 Res_value out = {}; local 234 ASSERT_EQ(expectSuccess, U16StringToInt(str, len, &out)) 238 ASSERT_EQ(out.TYPE_NULL, out.dataType) << "Failed with " << s; 243 ASSERT_EQ(out.TYPE_INT_HEX, out.dataType) << "Failed with " << s; 245 ASSERT_EQ(out.TYPE_INT_DEC, out.dataType) << "Failed with " << s; 248 ASSERT_EQ(expectedValue, out.data) << "Failed with " << s;
|
H A D | TestHelpers.h | 11 static inline ::std::ostream& operator<<(::std::ostream& out, const android::String8& str) { argument 12 return out << str.string(); 15 static inline ::std::ostream& operator<<(::std::ostream& out, const android::String16& str) { argument 16 return out << android::String8(str).string(); 27 static inline ::std::ostream& operator<<(::std::ostream& out, const android::ResTable_config& c) { argument 28 return out << c.toString().string();
|
/frameworks/base/libs/hwui/ |
H A D | DamageAccumulator.cpp | 121 static inline void mapRect(const Matrix4* matrix, const SkRect& in, SkRect* out) { argument 132 out->join(RECT_ARGS(temp)); 139 static inline void mapRect(const RenderProperties& props, const SkRect& in, SkRect* out) { argument 154 out->join(temp);
|
H A D | TreeInfo.h | 79 // textures if we run out of cache space. 124 } out; member in class:android::uirenderer::TreeInfo
|
H A D | VectorDrawable.cpp | 267 PrimitiveFields* out = reinterpret_cast<PrimitiveFields*>(outProperties); local 268 *out = mPrimitiveFields; 391 PrimitiveFields* out = reinterpret_cast<PrimitiveFields*>(outProperties); local 392 *out = mPrimitiveFields;
|
/frameworks/base/libs/hwui/tests/microbench/ |
H A D | ShadowBench.cpp | 41 void createShadowTestData(ShadowTestData* out) { argument 64 out->drawTransform.load(SAMPLE_DRAW_TRANSFORM); 65 out->localClip = SAMPLE_CLIP; 66 out->casterTransformXY.load(SAMPLE_CASTERXY); 67 out->casterTransformZ.load(SAMPLE_CASTERZ); 68 out->lightCenter = SAMPLE_LIGHT_CENTER; 69 out->lightRadius = SAMPLE_LIGHT_RADIUS;
|
/frameworks/base/media/java/android/media/ |
H A D | ExifInterface.java | 1537 // Prints out attributes for debugging. 1569 FileOutputStream out = null; 1583 out = new FileOutputStream(tempFile); 1584 Streams.copy(in, out); 1590 IoUtils.closeQuietly(out); 1594 out = null; 1599 out = new FileOutputStream(mFilename); 1602 out = new FileOutputStream(mSeekableFileDescriptor); 1604 saveJpegAttributes(in, out); 1609 IoUtils.closeQuietly(out); 2723 ByteOrderAwarenessDataOutputStream(OutputStream out, ByteOrder byteOrder) argument [all...] |
H A D | MediaRouter.java | 2667 * @param out a List to fill with the routes in this category. If this parameter is 2673 public List<RouteInfo> getRoutes(List<RouteInfo> out) { argument 2674 if (out == null) { 2675 out = new ArrayList<RouteInfo>(); 2677 out.clear(); 2684 out.add(route); 2687 return out;
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ProcessStats.java | 460 // Finally prune out any common processes that are no longer in use. 624 private void writeCompactedLongArray(Parcel out, long[] array, int num) { argument 632 out.writeInt((int)val); 636 out.writeInt(top); 637 out.writeInt(bottom); 667 private void writeCommonString(Parcel out, String name) { argument 670 out.writeInt(index); 675 out.writeInt(~index); 676 out.writeString(name); 702 public void writeToParcel(Parcel out, in argument 707 writeToParcel(Parcel out, long now, int flags) argument [all...] |
H A D | ServiceState.java | 220 public void writeToParcel(Parcel out, long now) { argument 221 mDurations.writeToParcel(out); 222 out.writeInt(mRunCount); 223 out.writeInt(mStartedCount); 224 out.writeInt(mBoundCount); 225 out.writeInt(mExecCount);
|
H A D | SparseMappingTable.java | 294 * Clear out the table, and reset the sequence numbers so future writes 298 // Clear out our table. 312 public void writeToParcel(Parcel out) { argument 313 out.writeInt(mSequence); 314 out.writeInt(mSize); 316 out.writeInt(mTable[i]); 341 // Clear it out 485 * Wipe out all the data. 488 // Clear out mLongs, and prime it with a new array of data 493 // Increment out sequenc 501 writeToParcel(Parcel out) argument 567 writeCompactedLongArray(Parcel out, long[] array, int num) argument [all...] |
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | LocaleUtils.java | 87 * @param out The output buffer to be stored the individual score for the desired language list. 88 * The length of {@code out} must be same as the length of {@code desired} language list. 93 @NonNull final LocaleList desired, @NonNull byte[] out) { 105 out[i] = 0; 107 out[i] = calculateMatchingSubScore( 109 if (allZeros && out[i] != 0) { 92 calculateMatchingScore(@onNull final ULocale supported, @NonNull final LocaleList desired, @NonNull byte[] out) argument
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | LegacyVpnInfo.java | 51 public void writeToParcel(Parcel out, int flags) { argument 52 out.writeString(key); 53 out.writeInt(state); 54 out.writeParcelable(intent, flags);
|
H A D | VpnConfig.java | 146 public void writeToParcel(Parcel out, int flags) { argument 147 out.writeString(user); 148 out.writeString(interfaze); 149 out.writeString(session); 150 out.writeInt(mtu); 151 out.writeTypedList(addresses); 152 out.writeTypedList(routes); 153 out.writeStringList(dnsServers); 154 out.writeStringList(searchDomains); 155 out [all...] |
H A D | VpnProfile.java | 94 public void writeToParcel(Parcel out, int flags) { argument 95 out.writeString(key); 96 out.writeString(name); 97 out.writeInt(type); 98 out.writeString(server); 99 out.writeString(username); 100 out.writeString(password); 101 out.writeString(dnsServers); 102 out.writeString(searchDomains); 103 out [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BaseCommand.java | 44 onShowUsage(System.out); 87 public abstract void onShowUsage(PrintStream out); argument
|
H A D | BatteryStatsImpl.java | 792 public void writeSummaryToParcel(Parcel out, long uptime, long realtime) { argument 793 out.writeLong(computeUptime(uptime, STATS_SINCE_CHARGED)); 794 out.writeLong(computeRealtime(realtime, STATS_SINCE_CHARGED)); 809 public void writeToParcel(Parcel out, long uptime, long realtime) { argument 812 out.writeLong(mUptime); 813 out.writeLong(runningUptime); 814 out.writeLong(mUptimeStart); 815 out.writeLong(mRealtime); 816 out.writeLong(runningRealtime); 817 out 849 writeToParcel(Parcel out) argument 870 writeCounterToParcel(Parcel out, Counter counter) argument 918 writeSummaryFromParcelLocked(Parcel out) argument 952 writeToParcel(Parcel out) argument 1006 writeSummaryFromParcelLocked(Parcel out) argument 1117 writeToParcel(Parcel out, long elapsedRealtimeUs) argument 1165 writeTimerToParcel(Parcel out, Timer timer, long elapsedRealtimeUs) argument 1217 writeSummaryFromParcelLocked(Parcel out, long elapsedRealtimeUs) argument 1401 writeToParcel(Parcel out, long elapsedRealtimeUs) argument 1420 writeSummaryFromParcelLocked(Parcel out, long batteryRealtime) argument 1473 writeToParcel(Parcel out, long elapsedRealtimeUs) argument 1618 writeToParcel(Parcel out, long elapsedRealtimeUs) argument 2368 readBatteryLevelInt(int batteryLevelInt, HistoryItem out) argument 2389 computeHistoryStepDetails(final HistoryStepDetails out, final HistoryStepDetails last) argument 5916 writeToParcelLocked(Parcel out, long elapsedRealtimeUs) argument 6441 writeToParcelLocked(Parcel out, long elapsedRealtimeUs) argument 6545 writeToParcelLocked(Parcel out, long elapsedRealtimeUs) argument 6727 writeExcessivePowerToParcelLocked(Parcel out) argument 6765 writeToParcelLocked(Parcel out) argument 6955 writeToParcelLocked(Parcel out) argument 7141 writeToParcelLocked(Parcel out) argument 7742 writeDailyItemsLocked(XmlSerializer out) argument 7774 writeDailyLevelSteps(XmlSerializer out, String tag, LevelStepTracker steps, StringBuilder tmpBuilder) argument 7988 getNextOldHistoryLocked(HistoryItem out) argument 8081 getNextHistoryLocked(HistoryItem out) argument 10052 writeHistory(Parcel out, boolean inclData, boolean andOldHistory) argument 10084 writeOldHistory(Parcel out) argument 10445 writeSummaryToParcel(Parcel out, boolean inclHistory) argument 10985 writeToParcel(Parcel out, int flags) argument 10989 writeToParcelWithoutUids(Parcel out, int flags) argument 10994 writeToParcelLocked(Parcel out, boolean inclUids, int flags) argument [all...] |
H A D | SamplingProfilerIntegration.java | 180 PrintStream out = new PrintStream(outputStream); 181 generateSnapshotHeader(name, packageInfo, out); 182 if (out.checkError()) { 214 PrintStream out) { 216 out.println("Version: 3"); 217 out.println("Process: " + processName); 219 out.println("Package: " + packageInfo.packageName); 220 out.println("Package-Version: " + packageInfo.versionCode); 222 out.println("Build: " + Build.FINGERPRINT); 224 out 213 generateSnapshotHeader(String processName, PackageInfo packageInfo, PrintStream out) argument [all...] |
H A D | TransferPipe.java | 73 static void go(Caller caller, IInterface iface, FileDescriptor out, argument 75 go(caller, iface, out, prefix, args, DEFAULT_TIMEOUT); 78 static void go(Caller caller, IInterface iface, FileDescriptor out, argument 83 caller.go(iface, out, prefix, args); 92 tp.go(out, timeout); 98 static void goDump(IBinder binder, FileDescriptor out, argument 100 goDump(binder, out, args, DEFAULT_TIMEOUT); 103 static void goDump(IBinder binder, FileDescriptor out, argument 108 binder.dump(out, args); 117 tp.go(out, timeou 123 go(FileDescriptor out) argument 127 go(FileDescriptor out, long timeout) argument [all...] |
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | NotificationVisibility.java | 85 public void writeToParcel(Parcel out, int flags) { argument 86 out.writeString(this.key); 87 out.writeInt(this.rank); 88 out.writeInt(this.visible ? 1 : 0);
|
H A D | StatusBarIcon.java | 93 public void writeToParcel(Parcel out, int flags) { argument 94 out.writeParcelable(this.icon, 0); 95 out.writeString(this.pkg); 96 out.writeParcelable(this.user, 0); 97 out.writeInt(this.iconLevel); 98 out.writeInt(this.visible ? 1 : 0); 99 out.writeInt(this.number); 100 out.writeCharSequence(this.contentDescription);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastPrintWriter.java | 55 * Constructs a new {@code PrintWriter} with {@code out} as its target 59 * @param out 62 * if {@code out} is {@code null}. 64 public FastPrintWriter(OutputStream out) { argument 65 this(out, false, 8192); 69 * Constructs a new {@code PrintWriter} with {@code out} as its target 74 * @param out 80 * if {@code out} is {@code null}. 82 public FastPrintWriter(OutputStream out, boolean autoFlush) { argument 83 this(out, autoFlus 103 FastPrintWriter(OutputStream out, boolean autoFlush, int bufferLen) argument [all...] |
H A D | FileRotator.java | 76 public void write(OutputStream out) throws IOException; argument 207 public void write(OutputStream out) throws IOException { 208 writer.write(out);
|
H A D | LineBreakBufferedWriter.java | 24 * A writer that breaks up its output into chunks before writing to its out writer, 36 * out writer. Otherwise a StringBuilder would have been simpler to use. 65 * @param out The writer to write to. 68 public LineBreakBufferedWriter(Writer out, int bufferSize) { argument 69 this(out, bufferSize, 16); // 16 is the default size of a StringBuilder buffer. 75 * @param out The writer to write to. 79 public LineBreakBufferedWriter(Writer out, int bufferSize, int initialCapacity) { argument 80 super(out);
|