Home
last modified time | relevance | path

Searched refs:Parcel (Results 1 – 25 of 1561) sorted by relevance

12345678910>>...63

/frameworks/base/core/tests/coretests/src/android/os/
DParcelNullabilityTest.java41 Parcel p = Parcel.obtain(); in nullByteArray()
49 Parcel p = Parcel.obtain(); in nullBlob()
57 Parcel p = Parcel.obtain(); in nullString()
65 Parcel p = Parcel.obtain(); in nullCharSequence()
73 Parcel p = Parcel.obtain(); in nullStrongBinder()
81 Parcel p = Parcel.obtain(); in nullStringInterface()
89 Parcel p = Parcel.obtain(); in nullFileDescriptor()
99 Parcel p = Parcel.obtain(); in nullRawFileDescriptor()
109 Parcel p = Parcel.obtain(); in nullRawFileDescriptorArray()
117 Parcel p = Parcel.obtain(); in nullMap()
[all …]
/frameworks/base/core/jni/
Dandroid_os_Parcel.cpp71 Parcel* parcelForJavaObject(JNIEnv* env, jobject obj) in parcelForJavaObject()
74 Parcel* p = (Parcel*)env->GetLongField(obj, gParcelOffsets.mNativePtr); in parcelForJavaObject()
95 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_dataSize()
101 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_dataAvail()
107 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_dataPosition()
113 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_dataCapacity()
119 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_setDataSize()
132 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_setDataPosition()
140 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_setDataCapacity()
151 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_pushAllowFds()
[all …]
/frameworks/native/libs/binder/
DParcel.cpp199 const sp<IBinder>& /*binder*/, const flat_binder_object& flat, Parcel* out) in finish_flatten_binder()
205 const sp<IBinder>& binder, Parcel* out) in flatten_binder()
247 const wp<IBinder>& binder, Parcel* out) in flatten_binder()
297 const Parcel& /*in*/) in finish_unflatten_binder() argument
303 const Parcel& in, sp<IBinder>* out) in unflatten_binder()
322 const Parcel& in, wp<IBinder>* out) in unflatten_binder()
352 Parcel::Parcel() in Parcel() function in android::Parcel
358 Parcel::~Parcel() in ~Parcel()
364 size_t Parcel::getGlobalAllocSize() { in getGlobalAllocSize()
371 size_t Parcel::getGlobalAllocCount() { in getGlobalAllocCount()
[all …]
DIBatteryStats.cpp38 Parcel data, reply; in noteStartSensor()
46 Parcel data, reply; in noteStopSensor()
54 Parcel data, reply; in noteStartVideo()
61 Parcel data, reply; in noteStopVideo()
68 Parcel data, reply; in noteStartAudio()
75 Parcel data, reply; in noteStopAudio()
82 Parcel data, reply; in noteResetVideo()
88 Parcel data, reply; in noteResetAudio()
94 Parcel data, reply; in noteFlashlightOn()
101 Parcel data, reply; in noteFlashlightOff()
[all …]
/frameworks/base/core/java/android/database/
DBulkCursorNative.java23 import android.os.Parcel;
58 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact()
159 Parcel data = Parcel.obtain(); in getWindow()
160 Parcel reply = Parcel.obtain(); in getWindow()
180 Parcel data = Parcel.obtain(); in onMove()
181 Parcel reply = Parcel.obtain(); in onMove()
196 Parcel data = Parcel.obtain(); in deactivate()
197 Parcel reply = Parcel.obtain(); in deactivate()
211 Parcel data = Parcel.obtain(); in close()
212 Parcel reply = Parcel.obtain(); in close()
[all …]
/frameworks/base/core/java/android/os/
DServiceManagerNative.java54 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact()
124 Parcel data = Parcel.obtain(); in getService()
125 Parcel reply = Parcel.obtain(); in getService()
136 Parcel data = Parcel.obtain(); in checkService()
137 Parcel reply = Parcel.obtain(); in checkService()
149 Parcel data = Parcel.obtain(); in addService()
150 Parcel reply = Parcel.obtain(); in addService()
165 Parcel data = Parcel.obtain(); in listServices()
166 Parcel reply = Parcel.obtain(); in listServices()
193 Parcel data = Parcel.obtain(); in setPermissionController()
[all …]
DParcelableParcel.java27 final Parcel mParcel;
32 mParcel = Parcel.obtain(); in ParcelableParcel()
36 public ParcelableParcel(Parcel src, ClassLoader loader) { in ParcelableParcel()
37 mParcel = Parcel.obtain(); in ParcelableParcel()
50 public Parcel getParcel() { in getParcel()
66 public void writeToParcel(Parcel dest, int flags) { in writeToParcel()
74 public ParcelableParcel createFromParcel(Parcel in) {
78 public ParcelableParcel createFromParcel(Parcel in, ClassLoader loader) {
/frameworks/base/tests/net/java/com/android/server/connectivity/
DMetricsTestUtil.java21 import android.os.Parcel;
37 static ConnectivityMetricsEvent describeIpEvent(Consumer<Parcel>... fs) { in describeIpEvent()
38 Parcel p = Parcel.obtain(); in describeIpEvent()
39 for (Consumer<Parcel> f : fs) { in describeIpEvent()
46 static Consumer<Parcel> aType(Class<?> c) { in aType()
50 static Consumer<Parcel> aBool(boolean b) { in aBool()
54 static Consumer<Parcel> aByte(byte b) { in aByte()
58 static Consumer<Parcel> anInt(int i) { in anInt()
62 static Consumer<Parcel> aLong(long l) { in aLong()
66 static Consumer<Parcel> aString(String s) { in aString()
[all …]
/frameworks/base/core/java/android/content/
DContentProviderNative.java33 import android.os.Parcel;
77 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact()
401 Parcel data = Parcel.obtain(); in query()
402 Parcel reply = Parcel.obtain(); in query()
449 Parcel data = Parcel.obtain(); in getType()
450 Parcel reply = Parcel.obtain(); in getType()
470 Parcel data = Parcel.obtain(); in insert()
471 Parcel reply = Parcel.obtain(); in insert()
492 Parcel data = Parcel.obtain(); in bulkInsert()
493 Parcel reply = Parcel.obtain(); in bulkInsert()
[all …]
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java27 import android.os.Parcel;
44 Parcel parcel = Parcel.obtain(); in testKeyphraseParcelUnparcel_noUsers()
63 Parcel parcel = Parcel.obtain(); in testKeyphraseParcelUnparcel_zeroUsers()
82 Parcel parcel = Parcel.obtain(); in testKeyphraseParcelUnparcel_pos()
105 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_noData()
128 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_zeroData()
150 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_noKeyphrases()
172 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases()
197 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_largeData()
217 Parcel parcel = Parcel.obtain(); in testRecognitionEventParcelUnparcel_noData()
[all …]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
DAdvertiseDataTest.java19 import android.os.Parcel;
42 Parcel parcel = Parcel.obtain(); in testEmptyData()
53 Parcel parcel = Parcel.obtain(); in testEmptyServiceUuid()
64 Parcel parcel = Parcel.obtain(); in testEmptyManufacturerData()
79 Parcel parcel = Parcel.obtain(); in testEmptyServiceData()
94 Parcel parcel = Parcel.obtain(); in testServiceUuid()
110 Parcel parcel = Parcel.obtain(); in testManufacturerData()
131 Parcel parcel = Parcel.obtain(); in testServiceData()
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp33 using android::Parcel;
91 virtual status_t invoke(const Parcel& request, Parcel *reply);
92 virtual status_t setParameter(int /* key */, const Parcel& /* request */) { return OK; } in setParameter() argument
93 virtual status_t getParameter(int /* key */, Parcel* /* reply */) { return OK; } in getParameter() argument
98 void ping(const Parcel& request, Parcel *reply);
104 status_t Player::invoke(const Parcel& request, Parcel *reply) in invoke()
115 void Player::ping(const Parcel& request, Parcel *reply) in ping()
/frameworks/native/libs/binder/include/binder/
DSafeInterface.h43 status_t read(const Parcel& parcel, bool* b) const { in read()
46 status_t write(Parcel* parcel, bool b) const { in write()
50 typename std::enable_if<std::is_enum<E>::value, status_t>::type read(const Parcel& parcel, in read()
58 typename std::enable_if<std::is_enum<E>::value, status_t>::type write(Parcel* parcel, in write()
64 const Parcel& parcel, T* t) const { in read()
69 Parcel* parcel, const T& t) const { in write()
74 const Parcel& parcel, sp<T>* t) const { in read()
80 Parcel* parcel, const sp<T>& t) const { in write()
85 const Parcel& parcel, T* t) const { in read()
90 Parcel* parcel, const T& t) const { in write()
[all …]
DParcel.h52 class Parcel {
58 Parcel();
59 ~Parcel();
73 status_t appendFrom(const Parcel *parcel,
76 int compareData(const Parcel& other);
406 typedef void (*release_func)(Parcel* parcel,
423 Parcel(const Parcel& o);
424 Parcel& operator=(const Parcel& o);
454 status_t(Parcel::*read_func)(U*) const) const;
457 status_t(Parcel::*read_func)(T*) const) const;
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalService.java25 import android.os.Parcel;
32 protected boolean onTransact(int code, Parcel data, Parcel reply,
58 Parcel data = Parcel.obtain(); in onStart()
76 Parcel data = Parcel.obtain(); in onDestroy()
97 Parcel data = Parcel.obtain(); in onUnbind()
113 Parcel data = Parcel.obtain(); in onRebind()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DParceledListSliceTest.java19 import android.os.Parcel;
42 Parcel parcel = Parcel.obtain(); in testSmallList()
62 Parcel p = Parcel.obtain(); in measureLargeObject()
93 Parcel parcel = Parcel.obtain(); in testLargeList()
117 Parcel parcel = Parcel.obtain(); in sendParcelStringList()
161 Parcel parcel = Parcel.obtain(); in testHomogeneousElements()
182 … private static <T extends BaseObject> void writeEvilParceledListSlice(Parcel dest, List<T> list) { in writeEvilParceledListSlice()
203 protected void writeToParcel(Parcel dest, int flags, int type) { in writeToParcel()
219 public BaseObject createFromParcel(Parcel source) {
247 public void writeToParcel(Parcel dest, int flags) { in writeToParcel()
[all …]
/frameworks/base/core/java/android/content/pm/
DStringParceledListSlice.java19 import android.os.Parcel;
38 private StringParceledListSlice(Parcel in, ClassLoader loader) { in StringParceledListSlice()
52 protected void writeElement(String parcelable, Parcel reply, int callFlags) { in writeElement()
57 protected void writeParcelableCreator(String parcelable, Parcel dest) { in writeParcelableCreator()
62 protected Parcelable.Creator<?> readParcelableCreator(Parcel from, ClassLoader loader) { in readParcelableCreator()
63 return Parcel.STRING_CREATOR; in readParcelableCreator()
69 public StringParceledListSlice createFromParcel(Parcel in) {
74 public StringParceledListSlice createFromParcel(Parcel in, ClassLoader loader) {
DPackageParserCacheHelper.java19 import android.os.Parcel;
40 public static class ReadHelper extends Parcel.ReadWriteHelper {
43 private final Parcel mParcel;
45 public ReadHelper(Parcel p) { in ReadHelper()
82 public String readString(Parcel p) { in readString()
90 public static class WriteHelper extends Parcel.ReadWriteHelper {
95 private final Parcel mParcel;
101 public WriteHelper(Parcel p) { in WriteHelper()
114 public void writeString(Parcel p, String s) { in writeString()
/frameworks/native/libs/binder/ndk/
Dparcel_internal.h27 const ::android::Parcel* get() const { return mParcel; } in get()
28 ::android::Parcel* get() { return mParcel; } in get()
31 : AParcel(binder, new ::android::Parcel, true /*owns*/) {} in AParcel()
32 AParcel(const AIBinder* binder, ::android::Parcel* parcel, bool owns) in AParcel()
41 static const AParcel readOnly(const AIBinder* binder, const ::android::Parcel* parcel) { in readOnly()
42 return AParcel(binder, const_cast<::android::Parcel*>(parcel), false); in readOnly()
52 ::android::Parcel* mParcel;
/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/
DAppLaunchEvent.java25 import android.os.Parcel;
113 protected void writeToParcelImpl(Parcel p, int flags) { in writeToParcelImpl()
118 IntentStarted(Parcel p) { in IntentStarted()
137 IntentFailed(Parcel p) { in IntentFailed()
170 protected void writeToParcelImpl(Parcel p, int flags) { in writeToParcelImpl()
175 BaseWithActivityRecordData(Parcel p) { in BaseWithActivityRecordData()
207 protected void writeToParcelImpl(Parcel p, int flags) { in writeToParcelImpl()
212 ActivityLaunched(Parcel p) { in ActivityLaunched()
258 protected void writeToParcelImpl(Parcel p, int flags) { in writeToParcelImpl()
268 ActivityLaunchCancelled(Parcel p) { in ActivityLaunchCancelled()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DSystemPropPokerTest.java28 import android.os.Parcel;
55 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in setUp()
62 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in testPoke()
70 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in testPokeBlocking()
74 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in testPokeBlocking()
/frameworks/native/libs/vr/libvr_manager/
Dvr_manager.cpp35 Parcel data, reply; in onVrStateChanged()
44 status_t BnVrStateCallbacks::onTransact(uint32_t code, const Parcel& data, in onTransact()
45 Parcel* reply, uint32_t flags) { in onTransact()
66 Parcel data, reply; in onPersistentVrStateChanged()
79 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) { in onTransact()
98 Parcel data; in registerListener()
105 Parcel data; in unregisterListener()
113 Parcel data; in registerPersistentVrStateListener()
121 Parcel data; in unregisterPersistentVrStateListener()
128 Parcel data, reply; in getVrModeState()
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/monitor/
DLayersTraceMonitor.java20 import android.os.Parcel;
48 Parcel data = Parcel.obtain(); in isEnabled()
49 Parcel reply = Parcel.obtain(); in isEnabled()
57 Parcel data = null; in setEnabled()
60 data = Parcel.obtain(); in setEnabled()
/frameworks/av/camera/
DICamera.cpp73 Parcel data, reply; in disconnect()
84 Parcel data, reply; in setPreviewTarget()
97 Parcel data, reply; in setPreviewCallbackFlag()
107 Parcel data, reply; in setPreviewCallbackTarget()
119 Parcel data, reply; in startPreview()
129 Parcel data, reply; in startRecording()
139 Parcel data, reply; in stopPreview()
148 Parcel data, reply; in stopRecording()
156 Parcel data, reply; in releaseRecordingFrame()
165 Parcel data, reply; in releaseRecordingFrameHandle()
[all …]
/frameworks/av/media/libmedia/
DIMediaRecorder.cpp84 Parcel data, reply; in setCamera()
95 Parcel data, reply; in setInputSurface()
105 Parcel data, reply; in querySurfaceMediaSource()
118 Parcel data, reply; in setPreviewSurface()
128 Parcel data, reply; in init()
137 Parcel data, reply; in setVideoSource()
147 Parcel data, reply; in setAudioSource()
157 Parcel data, reply; in setOutputFormat()
167 Parcel data, reply; in setVideoEncoder()
177 Parcel data, reply; in setAudioEncoder()
[all …]

12345678910>>...63