/frameworks/base/core/java/android/widget/ |
AppSecurityPermissions.java | 31 import android.os.Parcel; 171 Parcel parcel = Parcel.obtain(); local 172 TextUtils.writeToParcel(newPermPrefix, parcel, 0); 173 parcel.setDataPosition(0); 174 CharSequence newStr = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); 175 parcel.recycle();
|
/frameworks/base/core/java/android/nfc/ |
NfcAdapter.java | 1204 TechListParcel parcel = null; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
EncodeVirtualDisplayWithCompositionTest.java | 45 import android.os.Parcel; 1317 Parcel parcel = Parcel.obtain(); local 1326 Parcel parcel = Parcel.obtain(); local [all...] |
/frameworks/av/camera/camera2/ |
ICameraDeviceUser.cpp | 23 #include <binder/Parcel.h> 32 typedef Parcel::WritableBlob WritableBlob; 33 typedef Parcel::ReadableBlob ReadableBlob; 52 String16 readMaybeEmptyString16(const Parcel& parcel) { 54 const char16_t* str = parcel.readString16Inplace(&len); 75 Parcel data, reply; 84 Parcel data, reply; 119 Parcel data, reply; 158 Parcel data, reply [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
Address.java | 18 import android.os.Parcel; 520 public Address createFromParcel(Parcel parcel) { 521 return new Address(parcel); 530 public Address(Parcel in) { 541 public void writeToParcel(Parcel out, int flags) {
|
/cts/tests/tests/view/src/android/view/cts/ |
MotionEventTest.java | 21 import android.os.Parcel; 167 Parcel parcel = Parcel.obtain(); local 168 mMotionEvent2.writeToParcel(parcel, Parcelable.PARCELABLE_WRITE_RETURN_VALUE); 169 parcel.setDataPosition(0); 171 MotionEvent motionEvent = MotionEvent.CREATOR.createFromParcel(parcel);
|
/frameworks/base/core/jni/ |
android_view_MotionEvent.cpp | 699 Parcel* parcel = parcelForJavaObject(env, parcelObj); local 701 status_t status = event->readFromParcel(parcel); 706 jniThrowRuntimeException(env, "Failed to read MotionEvent parcel."); 715 Parcel* parcel = parcelForJavaObject(env, parcelObj); local 717 status_t status = event->writeToParcel(parcel); 719 jniThrowRuntimeException(env, "Failed to write MotionEvent parcel."); [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
EmailSyncParser.java | 10 import android.os.Parcel; 902 final Parcel parcel = Parcel.obtain(); local [all...] |
/frameworks/native/libs/binder/ |
Parcel.cpp | 17 #define LOG_TAG "Parcel" 20 #include <binder/Parcel.h> 52 //#define LOG_REFS(...) ALOG(LOG_DEBUG, "Parcel", __VA_ARGS__) 61 // Note: must be kept in sync with android/os/Parcel.java's EX_HAS_REPLY_HEADER 83 LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie); 94 LOG_REFS("Parcel %p acquiring reference on remote %p", who, b.get()); 120 LOG_REFS("Parcel %p releasing reference on local %p", who, obj.cookie); 131 LOG_REFS("Parcel %p releasing reference on remote %p", who, b.get()); 151 const sp<IBinder>& /*binder*/, const flat_binder_object& flat, Parcel* out) 157 const sp<IBinder>& binder, Parcel* out [all...] |
IPCThreadState.cpp | 546 uint32_t code, const Parcel& data, 547 Parcel* reply, uint32_t flags) 582 Parcel fakeReply; 699 status_t IPCThreadState::sendReply(const Parcel& reply, uint32_t flags) 709 status_t IPCThreadState::waitForResponse(Parcel *reply, status_t *acquireResult) 902 int32_t handle, uint32_t code, const Parcel& data, status_t* statusBuffer) 1031 Parcel buffer; 1069 Parcel reply; [all...] |
/frameworks/av/media/libmediaplayerservice/ |
MediaPlayerService.cpp | 92 using android::Parcel; 100 // Unmarshall a filter from a Parcel. 101 // Filter format in a parcel: 116 // @param p Parcel that should start with a filter. 120 // @return true if the parcel starts with a valid filter. 121 bool unmarshallFilter(const Parcel& p, 193 using android::Parcel; 200 // Audio attributes format in a parcel: 218 // @param p Parcel that contains audio attributes. 221 void unmarshallAudioAttributes(const Parcel& parcel, audio_attributes_t *attributes [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
SyncStorageEngine.java | 37 import android.os.Parcel; 2529 Parcel parcel = Parcel.obtain(); local 2541 Parcel parcel = Parcel.obtain(); local [all...] |
/frameworks/native/libs/gui/ |
IGraphicBufferProducer.cpp | 26 #include <binder/Parcel.h> 60 Parcel data, reply; 82 Parcel data, reply; 95 Parcel data, reply; 117 Parcel data, reply; 137 Parcel data, reply; 160 Parcel data, reply; 174 Parcel data, reply; 188 Parcel data, reply; 196 Parcel data, reply [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuBuilder.java | 320 Parcelable parcel = presenterStates.get(id); local 321 if (parcel != null) { 322 presenter.onRestoreInstanceState(parcel); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuBuilder.java | 342 Parcelable parcel = presenterStates.get(id); local 343 if (parcel != null) { 344 presenter.onRestoreInstanceState(parcel); [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
IntentTest.java | 36 import android.os.Parcel; 130 final Parcel parcel = Parcel.obtain(); local 131 mIntent.writeToParcel(parcel, 0); 132 parcel.setDataPosition(0); 134 target.readFromParcel(parcel); [all...] |
IntentFilterTest.java | 46 import android.os.Parcel; 871 Parcel parcel = Parcel.obtain(); local [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayer.cpp | 336 Parcel* reply, const sp<AMessage> format) const { 399 Parcel* reply; 441 Parcel* reply; 2088 Parcel parcel; local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DataUsageSummary.java | 83 import android.os.Parcel; [all...] |
/frameworks/base/core/java/android/view/ |
MotionEvent.java | 20 import android.os.Parcel; [all...] |
/frameworks/base/core/java/android/os/ |
Parcel.java | 46 * be sent through an IBinder. A Parcel can contain both flattened data 51 * connected with the original IBinder in the Parcel. 53 * <p class="note">Parcel is <strong>not</strong> a general-purpose 55 * {@link Parcelable} API for placing arbitrary objects into a Parcel) is 57 * appropriate to place any Parcel data in to persistent storage: changes 58 * in the underlying implementation of any of the data in the Parcel can 61 * <p>The bulk of the Parcel API revolves around reading and writing data 112 * methods write both the class type and its data to the Parcel, allowing 135 * data contents into a Parcel. The methods to use are 141 * <p>An unusual feature of Parcel is the ability to read and write activ [all...] |
/prebuilts/sdk/system_current/ |
android.jar | |
/prebuilts/sdk/21/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |