/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
H A D | CommandDetails.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 50 public CommandDetails(Parcel in) { argument 52 commandNumber = in.readInt(); 53 typeOfCommand = in.readInt(); 54 commandQualifier = in.readInt(); 65 public CommandDetails createFromParcel(Parcel in) { 66 return new CommandDetails(in);
|
H A D | Input.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 56 private Input(Parcel in) { argument 57 text = in.readString(); 58 defaultText = in.readString(); 59 icon = in.readParcelable(null); 60 minLen = in.readInt(); 61 maxLen = in.readInt(); 62 ucs2 = in.readInt() == 1 ? true : false; 63 packed = in [all...] |
H A D | Menu.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 57 private Menu(Parcel in) { argument 58 title = in.readString(); 59 titleIcon = in.readParcelable(null); 62 int size = in.readInt(); 64 Item item = in.readParcelable(null); 67 defaultItem = in.readInt(); 68 softKeyPreferred = in.readInt() == 1 ? true : false; 69 helpAvailable = in [all...] |
H A D | CatCmdMessage.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 98 public CatCmdMessage(Parcel in) { argument 99 mCmdDet = in.readParcelable(null); 100 mTextMsg = in.readParcelable(null); 101 mMenu = in.readParcelable(null); 102 mInput = in.readParcelable(null); 106 mBrowserSettings.url = in.readString(); 107 mBrowserSettings.mode = LaunchBrowserMode.values()[in.readInt()]; 110 mToneSettings = in [all...] |
/frameworks/compile/libbcc/bcinfo/tools/ |
H A D | main.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 127 FILE *in = fopen(inFile, "r"); local 128 if (!in) { 136 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in); 141 fclose(in);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | FileBackupHelperBase.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 84 boolean writeFile(File f, BackupDataInputStream in) { argument 91 result = writeFile_native(mPtr, f.getAbsolutePath(), in.mData.mBackupReader);
|
/frameworks/base/core/java/android/content/ |
H A D | ComponentName.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 29 * a component: the package (a String) it exists in, and the class (a String) 40 * @param pkg The name of the package that the component exists in. Can 98 * Return the class name, either fully qualified or in a shortened form 114 * class names contained in the ComponentName. You can later recover 155 * names that were encoded in <var>str</var> 228 * @param out The Parcel in which the ComponentName will be placed. 245 * @param in The Parcel from which to read the ComponentName 251 public static ComponentName readFromParcel(Parcel in) { argument 277 ComponentName(Parcel in) argument 286 ComponentName(String pkg, Parcel in) argument [all...] |
H A D | DefaultDataHandler.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 * Inserts default data from InputStream, should be in XML format. 42 * Delete, it must be in order of uri, select, and arg: 61 * Insert multiple rows in to same table and same attributes: 87 public void insert(ContentResolver contentResolver, InputStream in) argument 90 Xml.parse(in, Xml.Encoding.UTF_8, this); 93 public void insert(ContentResolver contentResolver, String in) argument 96 Xml.parse(in, this);
|
H A D | ClipData.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 * must return correct MIME type(s) describing the data in the clip. For help 44 * in correctly constructing a clip with the correct MIME type, use 76 * <p>More complicated exchanges will be done through URIs, in particular 78 * to interact closely with the ContentProvider holding the data in order to 79 * negotiate the transfer of that data. The clip must also be filled in with 113 * <p>More complicated data types require the implementation of support in 134 * <p>The copy operation in our NotePad application is now just a simple matter 159 * Description of a single item in 511 ClipData(Parcel in) argument [all...] |
H A D | IntentSender.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 178 * corresponds to the permission argument in 265 public IntentSender createFromParcel(Parcel in) { 266 IBinder target = in.readStrongBinder(); 294 * @param in The Parcel containing the written Messenger. 299 public static IntentSender readIntentSenderOrNullFromParcel(Parcel in) { argument 300 IBinder b = in.readStrongBinder();
|
/frameworks/base/core/java/android/gesture/ |
H A D | Gesture.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 101 * Calculates the total length of the gesture. When there are multiple strokes in 268 static Gesture deserialize(DataInputStream in) throws IOException { argument 272 gesture.mGestureID = in.readLong(); 274 final int count = in.readInt(); 277 gesture.addStroke(GestureStroke.deserialize(in)); 284 public Gesture createFromParcel(Parcel in) { 286 final long gestureID = in.readLong(); 289 new ByteArrayInputStream(in [all...] |
H A D | GestureStore.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 122 * Get all the gesture entry names in the library 279 DataInputStream in = null; 281 in = new DataInputStream((stream instanceof BufferedInputStream) ? stream : 290 final short versionNumber = in.readShort(); 293 readFormatV1(in); 302 if (closeStream) GestureUtils.closeStream(in); 306 private void readFormatV1(DataInputStream in) throws IOException { argument 311 // Number of entries in th [all...] |
H A D | GestureStroke.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 219 static GestureStroke deserialize(DataInputStream in) throws IOException { argument 221 final int count = in.readInt(); 225 points.add(GesturePoint.deserialize(in));
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkTemplate.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 116 private NetworkTemplate(Parcel in) { argument 117 mMatchRule = in.readInt(); 118 mSubscriberId = in.readString(); 268 public NetworkTemplate createFromParcel(Parcel in) { 269 return new NetworkTemplate(in);
|
/frameworks/base/core/java/android/os/ |
H A D | WorkSource.java | 13 * Internal statics to avoid object allocations in some operations. 57 WorkSource(Parcel in) { argument 58 mNum = in.readInt(); 59 mUids = in.createIntArray(); 145 * Merge the contents of <var>other</var> WorkSource in to this one. 240 // Skip uids that already exist or are not in 'other'. 245 // Remove any uids that don't exist in 'other'. 304 public WorkSource createFromParcel(Parcel in) { 305 return new WorkSource(in);
|
/frameworks/base/core/java/android/view/ |
H A D | InputChannel.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 25 * a window in another process. It is Parcelable so that it can be sent 115 * as an out parameter in a binder call. 130 public void readFromParcel(Parcel in) { argument 131 if (in == null) { 132 throw new IllegalArgumentException("in must not be null"); 135 nativeReadFromParcel(in);
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarIconList.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 public StatusBarIconList(Parcel in) { argument 32 readFromParcel(in); 35 public void readFromParcel(Parcel in) { argument 36 this.mSlots = in.readStringArray(); 37 final int N = in.readInt(); 43 if (in.readInt() != 0) { 44 mIcons[i] = new StatusBarIcon(in);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | XmlUtils.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 480 * @param in The InputStream from which to read. 489 public static final HashMap readMapXml(InputStream in) argument 493 parser.setInput(in, null); 501 * @param in The InputStream from which to read. 510 public static final ArrayList readListXml(InputStream in) argument 514 parser.setInput(in, null); 523 * @param in The InputStream from which to read. 534 public static final HashSet readSetXml(InputStream in) argument [all...] |
/frameworks/base/core/jni/ |
H A D | com_android_internal_os_ZygoteInit.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 96 jobject clazz, jobject in, jobject out, jobject errfd) 101 fd = jniGetFDFromFileDescriptor(env, in); 95 com_android_internal_os_ZygoteInit_reopenStdio(JNIEnv* env, jobject clazz, jobject in, jobject out, jobject errfd) argument
|
/frameworks/base/media/libmediaplayerservice/ |
H A D | TestPlayerStub.h | 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 24 class MediaPlayerBase; // in media/MediaPlayerInterface.h 36 // TestPlayerStub::setDataSource loads the library in the test url. 2 46 // typical usage in a java test: 96 virtual status_t invoke(const android::Parcel& in, android::Parcel *out) { argument 97 return mPlayer->invoke(in, out);
|
/frameworks/base/tools/preload/ |
H A D | MemoryUsage.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 // These values are in 1kB increments (not 4kB like you'd expect). 246 BufferedReader in = new BufferedReader( 248 String line = in.readLine(); 256 in.close(); 274 private static void copy(InputStream in, OutputStream out) { argument 278 while ((read = in.read(buffer)) > -1) { 286 /** Measures memory usage information and stores it in the model. */
|
/frameworks/compile/libbcc/tests/ |
H A D | main.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 47 // This is a separate function so it can easily be set by breakpoint in gdb. 180 FILE *in = fopen(inFile, "r"); local 181 if (!in) { 189 size_t nread = fread(&*bitcode.begin(), 1, bitcodeSize, in);
|
/frameworks/base/core/java/android/app/ |
H A D | ApplicationErrorReport.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 42 * is stored in {@link #crashInfo}. 44 * ANR is stored in {@link #anrInfo}. 46 * battery. Information about the battery use is stored in {@link #batteryInfo}. 48 * unneeded serive running. Information about the battery use is stored in 154 ApplicationErrorReport(Parcel in) { argument 155 readFromParcel(in); 160 // check if error reporting is enabled in secure settings 169 // look for receiver in th 244 readFromParcel(Parcel in) argument 365 CrashInfo(Parcel in) argument 430 AnrInfo(Parcel in) argument 489 BatteryInfo(Parcel in) argument 540 RunningServiceInfo(Parcel in) argument [all...] |
/frameworks/base/core/java/android/nfc/ |
H A D | Tag.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 53 * single activity via the {@link NfcAdapter#EXTRA_TAG} extra in an 56 * most appropriate activity to handle the tag. The Android OS executes each stage in order, 73 * If the tag contains NDEF data the system inspects the first {@link NdefRecord} in the first 77 * type is put in the intent's type field. This allows activities to register to be launched only 90 * more technologies in the tag. See {@link NfcAdapter#ACTION_TECH_DISCOVERED} for more detail. 98 * it is in range. Tag's can come in many forms, such as stickers, cards, key fobs, or 99 * even embedded in 329 readBytesWithNull(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 32 * An adapter that returns the {@link Preference} contained in this group. 44 * This adapter does not include this {@link PreferenceGroup} in the returned 176 private PreferenceLayout createPreferenceLayout(Preference preference, PreferenceLayout in) { argument 177 PreferenceLayout pl = in != null? in : new PreferenceLayout();
|