/frameworks/base/core/java/android/os/health/ |
H A D | HealthStats.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 31 * Each of the keys references data in one of five data types: 36 * (COUNT, MS, etc) will always be in the name of the constant for the key to 51 * measured in milliseconds. Timers track how many times a resource was used, and 129 public HealthStats(Parcel in) { argument 133 mDataType = in.readString(); 136 count = in.readInt(); 141 mTimerKeys[i] = in.readInt(); 142 mTimerCounts[i] = in 450 createHealthStatsMap(Parcel in) argument 463 createParcelableMap(Parcel in, Parcelable.Creator<T> creator) argument 476 createLongsMap(Parcel in) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceGroupAdapter.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 34 * An adapter that returns the {@link Preference} contained in this group. 46 * This adapter does not include this {@link PreferenceGroup} in the returned 187 private PreferenceLayout createPreferenceLayout(Preference preference, PreferenceLayout in) { argument 188 PreferenceLayout pl = in != null? in : new PreferenceLayout();
|
/frameworks/base/core/java/android/security/keymaster/ |
H A D | KeymasterArguments.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 30 * Serialization code for this and subclasses must be kept in sync with system/security/keystore 46 public KeymasterArguments createFromParcel(Parcel in) { 47 return new KeymasterArguments(in); 60 private KeymasterArguments(Parcel in) { argument 61 mArguments = in.createTypedArrayList(KeymasterArgument.CREATOR); 361 public void readFromParcel(Parcel in) { argument 362 in.readTypedList(mArguments, KeymasterArgument.CREATOR);
|
/frameworks/base/core/java/android/service/notification/ |
H A D | StatusBarNotification.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 95 public StatusBarNotification(Parcel in) { argument 96 this.pkg = in.readString(); 97 this.opPkg = in.readString(); 98 this.id = in.readInt(); 99 if (in.readInt() != 0) { 100 this.tag = in.readString(); 104 this.uid = in.readInt(); 105 this.initialPid = in [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | Voice.java | 5 * use this file except in compliance with the License. You may obtain a copy of 10 * Unless required by applicable law or agreed to in writing, software 84 private Voice(Parcel in) { argument 85 this.mName = in.readString(); 86 this.mLocale = (Locale)in.readSerializable(); 87 this.mQuality = in.readInt(); 88 this.mLatency = in.readInt(); 89 this.mRequiresNetworkConnection = (in.readByte() == 1); 91 Collections.addAll(this.mFeatures, in.readStringArray()); 111 public Voice createFromParcel(Parcel in) { [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GraphicBuffer.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 32 // Note: keep usage flags in sync with GraphicBuffer.h and gralloc.h 72 * @param width The width in pixels of the buffer 73 * @param height The height in pixels of the buffer 74 * @param format The format of each pixel as specified in {@link PixelFormat} 99 * Returns the width of this buffer in pixels. 106 * Returns the height of this buffer in pixels. 114 * the formats defined in {@link PixelFormat}. 128 * <p>Start editing the pixels in th 289 nReadGraphicBufferFromParcel(Parcel in) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AbsSpinner.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 190 // Try looking in the recycler. (Maybe we were measured once already) 202 // Put in recycler for re-measuring and/or layout 258 // All views go in recycler 267 * Jump directly to a specific item in the adapter data. 336 * Maps a point to a position in the list. 338 * @param x X in local coordinate 339 * @param y Y in local coordinate 385 SavedState(Parcel in) { argument [all...] |
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | SparseMappingTable.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 38 * in the larger arrays. 41 * stored continguously in one of the long arrays. When the caller allocates a slot with 53 // Where the "type"/"state" part of the data appears in an offset integer. 56 // Where the "which array" part of the data appears in an offset integer. 59 // Where the "index into array" part of the data appears in an offset integer. 68 * A table of data as stored in a SparseMappingTable. 82 * Pulls the data from 'copyFrom' and stores it in our own longs table. 107 * Allocates data in th 324 readFromParcel(Parcel in) argument 520 readFromParcel(Parcel in) argument 588 readCompactedLongArray(Parcel in, long[] array, int num) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FileRotator.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 44 * enables atomic rewriting of file contents in 69 public void read(InputStream in) throws IOException; argument 93 * @param rotateAgeMillis Age in milliseconds beyond which an active file 95 * @param deleteAgeMillis Age in milliseconds beyond which a rotated file 197 public void read(InputStream in) throws IOException { 198 reader.read(in);
|
/frameworks/base/core/jni/ |
H A D | android_view_GraphicBuffer.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 108 ALOGW("createGraphicBufferAlloc() failed in GraphicBuffer.create()"); 117 ALOGW("createGraphicBuffer() failed in GraphicBuffer.create()"); 237 jobject in) { 239 Parcel* parcel = parcelForJavaObject(env, in); 236 android_view_GraphiceBuffer_read(JNIEnv* env, jobject clazz, jobject in) argument
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | BatteryStatsTimerTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 43 TestTimer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { argument 44 super(clocks, type, timeBase, in);
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | FileRotatorTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 296 // record a day in past; should create a new active file 419 public void read(InputStream in) throws IOException { argument 420 mActual.add(new DataInputStream(in).readUTF());
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Rect.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 83 * Create a new rectangle, initialized with the values in the specified 128 * Return a string representation of the rectangle in a compact form. 135 * Return a string representation of the rectangle in a compact form. 147 * Return a string representation of the rectangle in a well-defined format. 157 // preserved because Rects are saved in this flattened format. 608 * Return a new rectangle from the data in the specified parcel. 610 public Rect createFromParcel(Parcel in) { 612 r.readFromParcel(in); 630 readFromParcel(Parcel in) argument [all...] |
H A D | RectF.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 61 * Create a new rectangle, initialized with the values in the specified 113 * Return a string representation of the rectangle in a compact form. 120 * Return a string representation of the rectangle in a compact form. 558 * Return a new rectangle from the data in the specified parcel. 560 public RectF createFromParcel(Parcel in) { 562 r.readFromParcel(in); 575 * Set the rectangle's coordinates from the data stored in the specified 578 * @param in Th 580 readFromParcel(Parcel in) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ZipUtils.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 232 /*static*/ bool ZipUtils::inflateToBuffer(void* in, void* buf, argument 235 BufferReader reader(in, compressedLen); 314 /* seek to the end; CRC and length are in the last 8 bytes */
|
/frameworks/base/libs/hwui/ |
H A D | DamageAccumulator.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 121 static inline void mapRect(const Matrix4* matrix, const SkRect& in, SkRect* out) { argument 122 if (in.isEmpty()) return; 123 Rect temp(in); 139 static inline void mapRect(const RenderProperties& props, const SkRect& in, SkRect* out) { argument 140 if (in.isEmpty()) return; 142 SkRect temp(in);
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | EglManager.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 32 // Android-specific addition that is used to show when frames began in systrace 70 void Frame::map(const SkRect& in, EGLint* out) const { argument 79 in.roundOut(&idirty);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaDescription.java | 61 private MediaDescription(Parcel in) { argument 62 mMediaId = in.readString(); 63 mTitle = in.readCharSequence(); 64 mSubtitle = in.readCharSequence(); 65 mDescription = in.readCharSequence(); 66 mIcon = in.readParcelable(null); 67 mIconUri = in.readParcelable(null); 68 mExtras = in.readBundle(); 69 mMediaUri = in.readParcelable(null); 168 public MediaDescription createFromParcel(Parcel in) { [all...] |
/frameworks/base/media/java/android/media/audiopolicy/ |
H A D | AudioMixingRule.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 352 * No rule-to-parameter type check, all done in {@link #checkAddRuleObjInternal(int, Object)}. 440 throw new IllegalStateException("Unreachable code in addRuleInternal()"); 446 Builder addRuleFromParcel(Parcel in) throws IllegalArgumentException { argument 447 final int rule = in.readInt(); 453 int usage = in.readInt(); 458 int preset = in.readInt(); 463 intProp = new Integer(in.readInt()); 466 // assume there was in in [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaInserterTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 75 private static Uri expectMediaUri(Uri in) { argument 76 EasyMock.reportMatcher(new MediaUriMatcher(in));
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DocumentInfo.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 81 public void read(DataInputStream in) throws IOException { argument 82 final int version = in.readInt(); 87 authority = DurableUtils.readNullableString(in); 88 documentId = DurableUtils.readNullableString(in); 89 mimeType = DurableUtils.readNullableString(in); 90 displayName = DurableUtils.readNullableString(in); 91 lastModified = in.readLong(); 92 flags = in [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | MOTree.java | 146 throw new IOException(ValueTag + " in constructed node"); 161 throw new IOException("No text in " + DDFNameTag); 234 public static MOTree unmarshal(InputStream in) throws IOException { argument 238 int octet = in.read(); 252 String version = OMAConstants.deserializeString(in); 253 int next = in.read(); 255 throw new IOException("Expected URN in tree definition"); 257 String urn = OMAConstants.readURN(in); 259 OMAConstructed root = OMANode.unmarshal(in);
|
H A D | OMAConstants.java | 124 public static String deserializeString(InputStream in) throws IOException { argument 127 byte b = (byte) in.read(); 139 int amount = in.read(octets, offset, octets.length - offset); 147 public static String readURN(InputStream in) throws IOException { argument 151 byte b = (byte) in.read();
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | PackageManagerBackupAgent.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 79 // version & signature info of each app in a restore set 110 // in backup. This set changes as apps are installed & removed. 247 * String incremental -- the incremental release name of the OS stored in 308 // marshal the version code in a canonical form 325 // At this point, the only entries in 'existing' are apps that were 326 // mentioned in the saved state file, but appear to no longer be present 358 // set of app signatures associated with each backed-up app in this restore 437 // the number of entries in th 447 readSignatureHashArray(DataInputStream in) argument [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserRestrictionsUtils.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 197 * @return {@code in} itself when it's not null, or an empty bundle (which can writable). 199 public static Bundle nonNull(@Nullable Bundle in) { argument 200 return in != null ? in : new Bundle(); 203 public static boolean isEmpty(@Nullable Bundle in) { argument 204 return (in == null) || (in.size() == 0); 208 * Creates a copy of the {@code in} Bundl 214 clone(@ullable Bundle in) argument 218 merge(@onNull Bundle dest, @Nullable Bundle in) argument 252 sortToGlobalAndLocal(@ullable Bundle in, @NonNull Bundle global, @NonNull Bundle local) argument [all...] |