/packages/services/Telephony/common/src/com/android/services/telephony/common/ |
CallIdentification.java | 19 import android.os.Parcel; 98 public void writeToParcel(Parcel dest, int flags) { 109 private CallIdentification(Parcel in) { 128 public CallIdentification createFromParcel(Parcel in) {
|
/frameworks/av/media/libmediaplayerservice/ |
ActivityManager.cpp | 20 #include <binder/Parcel.h> 38 Parcel data, reply;
|
/frameworks/av/services/medialog/ |
MediaLogService.h | 42 virtual status_t onTransact(uint32_t code, const Parcel& data, Parcel* reply,
|
/frameworks/base/core/java/android/os/ |
RemoteCallback.java | 91 public void writeToParcel(Parcel out, int flags) { 97 public RemoteCallback createFromParcel(Parcel in) {
|
/frameworks/base/core/tests/benchmarks/src/android/os/ |
ParcelBenchmark.java | 23 private Parcel mParcel; 27 mParcel = Parcel.obtain();
|
/frameworks/base/telephony/java/android/telephony/ |
CellSignalStrengthLte.java | 19 import android.os.Parcel; 247 public void writeToParcel(Parcel dest, int flags) { 248 if (DBG) log("writeToParcel(Parcel, int): " + toString()); 260 * Construct a SignalStrength object from the given parcel 263 private CellSignalStrengthLte(Parcel in) { 265 // rsrp and rsrq are written into the parcel as positive values. 272 if (DBG) log("CellSignalStrengthLte(Parcel): " + toString()); 286 public CellSignalStrengthLte createFromParcel(Parcel in) {
|
CellInfo.java | 19 import android.os.Parcel; 172 public abstract void writeToParcel(Parcel dest, int flags); 179 protected void writeToParcel(Parcel dest, int flags, int type) { 191 protected CellInfo(Parcel in) { 200 public CellInfo createFromParcel(Parcel in) { 207 default: throw new RuntimeException("Bad CellInfo Parcel");
|
/frameworks/native/services/batteryservice/ |
IBatteryPropertiesListener.cpp | 20 #include <binder/Parcel.h> 34 Parcel data, reply;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPendingIntent.java | 9 import android.os.Parcel; 67 public static void writePendingIntentOrNullToParcel(PendingIntent sender, Parcel out) { 76 public static PendingIntent readPendingIntentOrNullFromParcel(Parcel in) { 93 public void writeToParcel(Parcel out, int flags) { 191 private static void writeBooleanToParcel(boolean b, Parcel out) { 195 private static boolean readBooleanFromParcel(Parcel in) {
|
/frameworks/av/media/libmedia/ |
Metadata.cpp | 23 #include <binder/Parcel.h> 28 // value) into a parcel. The Parcel is destinated to be decoded by the 58 Metadata::Metadata(Parcel *p) 69 // Update the 4 bytes int at the beginning of the parcel which holds 132 // Loop over all the exiting ones in the Parcel to check for duplicate
|
/frameworks/av/media/libstagefright/include/ |
AwesomePlayer.h | 92 status_t setParameter(int key, const Parcel &request); 93 status_t getParameter(int key, Parcel *reply); 94 status_t invoke(const Parcel &request, Parcel *reply); 95 status_t setCacheStatCollectFreq(const Parcel &request); 350 status_t getTrackInfo(Parcel* reply) const;
|
/frameworks/base/core/java/android/service/notification/ |
StatusBarNotification.java | 20 import android.os.Parcel; 75 public StatusBarNotification(Parcel in) { 93 public void writeToParcel(Parcel out, int flags) { 119 public StatusBarNotification createFromParcel(Parcel parcel) 121 return new StatusBarNotification(parcel);
|
/frameworks/base/core/java/android/view/inputmethod/ |
CompletionInfo.java | 19 import android.os.Parcel; 94 private CompletionInfo(Parcel source) { 141 * Used to package this object into a {@link Parcel}. 143 * @param dest The {@link Parcel} to be written. 146 public void writeToParcel(Parcel dest, int flags) { 158 public CompletionInfo createFromParcel(Parcel source) {
|
/frameworks/base/core/java/android/view/textservice/ |
SuggestionsInfo.java | 21 import android.os.Parcel; 84 public SuggestionsInfo(Parcel source) { 93 * Used to package this object into a {@link Parcel}. 95 * @param dest The {@link Parcel} to be written. 99 public void writeToParcel(Parcel dest, int flags) { 168 public SuggestionsInfo createFromParcel(Parcel source) {
|
/frameworks/native/libs/binder/ |
IServiceManager.cpp | 24 #include <binder/Parcel.h> 149 Parcel data, reply; 159 Parcel data, reply; 174 Parcel data, reply; 191 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
|
/external/robolectric/src/main/java/android/net/ |
Uri__FromAndroid.java | 19 import android.os.Parcel; 422 static Uri__FromAndroid readFrom(Parcel parcel) { 423 return new StringUri(parcel.readString()); 430 public void writeToParcel(Parcel parcel, int flags) { 431 parcel.writeInt(TYPE_ID); 432 parcel.writeString(uriString); 788 static Uri__FromAndroid readFrom(Parcel parcel) { [all...] |
/frameworks/base/core/java/android/net/ |
Uri.java | 20 import android.os.Parcel; 473 static Uri readFrom(Parcel parcel) { 474 return new StringUri(parcel.readString()); 481 public void writeToParcel(Parcel parcel, int flags) { 482 parcel.writeInt(TYPE_ID); 483 parcel.writeString(uriString); 839 static Uri readFrom(Parcel parcel) { [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
TextUtilsTest.java | 22 import android.os.Parcel; 350 Parcel p = Parcel.obtain(); 353 assertNull("null CharSequence should generate null from parcel", text); 354 p = Parcel.obtain(); 357 assertEquals("conversion to/from parcel failed", "test", text); 362 Parcel p; 364 p = Parcel.obtain(); 368 assertNull("null CharSequence should generate null from parcel", text); 373 Parcel p [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaPlayerMetadataParserTest.java | 19 import android.os.Parcel; 28 * Check the Java layer that parses serialized metadata in Parcel 39 private Parcel mParcel = null; 45 mParcel = Parcel.obtain(); 50 // Check parsing of the parcel fails. Make sure the parser rewind 51 // the parcel properly. 58 // Check parsing of the parcel is successful. 64 // Write the number of bytes from the start of the parcel to the 65 // current position at the beginning of the parcel (offset 0). 80 // Rewind the parcel and insert the header [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Region.java | 19 import android.os.Parcel; 341 * @param p Parcel object to read the region from 342 * @return a new region created from the data in the parcel 344 public Region createFromParcel(Parcel p) { 361 * Write the region and its pixels to the parcel. The region can be 362 * rebuilt from the parcel by calling CREATOR.createFromParcel(). 363 * @param p Parcel object to write the region data into 365 public void writeToParcel(Parcel p, int flags) { 426 private static native int nativeCreateFromParcel(Parcel p); 428 Parcel p) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
CdmaSmsCbTest.java | 19 import android.os.Parcel; 51 * Initialize a Parcel for an incoming CDMA cell broadcast. The caller will write the 54 * @return the initialized Parcel 56 private static Parcel createBroadcastParcel(int serviceCategory) { 57 Parcel p = Parcel.obtain(); 77 * user data. The caller will append the user data and add it to the parcel. 111 * Write the bearer data array to the parcel, then return a new SmsMessage from the parcel. 112 * @param p the parcel containing the CDMA SMS header [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
DatabaseUtilsTest.java | 30 import android.os.Parcel; 494 Parcel parcel = Parcel.obtain(); local 495 DatabaseUtils.writeExceptionToParcel(parcel, new IllegalArgumentException()); 496 parcel.setDataPosition(0); 498 DatabaseUtils.readExceptionFromParcel(parcel); 504 parcel = Parcel.obtain(); 505 DatabaseUtils.writeExceptionToParcel(parcel, new SQLiteAbortException()) [all...] |
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/ |
AccessibilityNodeInfoTest.java | 20 import android.os.Parcel; 46 Parcel parcel = Parcel.obtain(); local 47 sentInfo.writeToParcel(parcel, 0); 48 parcel.setDataPosition(0); 49 AccessibilityNodeInfo receivedInfo = AccessibilityNodeInfo.CREATOR.createFromParcel(parcel);
|
/frameworks/av/media/libstagefright/timedtext/ |
TimedTextSRTSource.cpp | 21 #include <binder/Parcel.h> 68 Parcel *parcel, 77 extractAndAppendLocalDescriptions(*startTimeUs, text, parcel); 270 int64_t timeUs, const AString &text, Parcel *parcel) { 278 (const uint8_t *)data, size, flag, timeUs / 1000, parcel);
|
/frameworks/native/libs/input/ |
KeyCharacterMap.cpp | 23 #include <binder/Parcel.h> 560 sp<KeyCharacterMap> KeyCharacterMap::readFromParcel(Parcel* parcel) { 562 map->mType = parcel->readInt32(); 563 size_t numKeys = parcel->readInt32(); 564 if (parcel->errorCheck()) { 569 int32_t keyCode = parcel->readInt32(); 570 char16_t label = parcel->readInt32(); 571 char16_t number = parcel->readInt32(); 572 if (parcel->errorCheck()) [all...] |