/frameworks/av/media/libmedia/ |
D | IMediaRecorder.cpp | 87 Parcel data, reply; in setCamera() local 91 remote()->transact(SET_CAMERA, data, &reply); in setCamera() 92 return reply.readInt32(); in setCamera() 98 Parcel data, reply; in setInputSurface() local 101 remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface() 102 return reply.readInt32(); in setInputSurface() 108 Parcel data, reply; in querySurfaceMediaSource() local 110 remote()->transact(QUERY_SURFACE_MEDIASOURCE, data, &reply); in querySurfaceMediaSource() 111 int returnedNull = reply.readInt32(); in querySurfaceMediaSource() 115 return interface_cast<IGraphicBufferProducer>(reply.readStrongBinder()); in querySurfaceMediaSource() [all …]
|
D | IMediaPlayer.cpp | 38 static status_t readVector(const Parcel& reply, Vector<uint8_t>& vector) { in readVector() argument 40 status_t status = reply.readUint32(&size); in readVector() 42 status = size <= reply.dataAvail() ? OK : BAD_VALUE; in readVector() 48 status = reply.read(vector.editArray(), size); in readVector() 86 Parcel data, reply; in disconnect() local 88 remote()->transact(DISCONNECT, data, &reply); in disconnect() 96 Parcel data, reply; in setDataSource() local 113 remote()->transact(SET_DATA_SOURCE_URL, data, &reply); in setDataSource() 114 return reply.readInt32(); in setDataSource() 118 Parcel data, reply; in setDataSource() local [all …]
|
D | IDataSource.cpp | 43 Parcel data, reply; in getIMemory() local 45 remote()->transact(GET_IMEMORY, data, &reply); in getIMemory() 46 sp<IBinder> binder = reply.readStrongBinder(); in getIMemory() 51 Parcel data, reply; in readAt() local 55 status_t err = remote()->transact(READ_AT, data, &reply); in readAt() 60 err = reply.readInt64(&value); in readAt() 68 Parcel data, reply; in getSize() local 70 remote()->transact(GET_SIZE, data, &reply); in getSize() 71 status_t err = reply.readInt32(); in getSize() 72 *size = reply.readInt64(); in getSize() [all …]
|
D | IMediaCodecList.cpp | 48 Parcel data, reply; in countCodecs() local 50 remote()->transact(COUNT_CODECS, data, &reply); in countCodecs() 51 return static_cast<size_t>(reply.readInt32()); in countCodecs() 56 Parcel data, reply; in getCodecInfo() local 59 remote()->transact(GET_CODEC_INFO, data, &reply); in getCodecInfo() 60 status_t err = reply.readInt32(); in getCodecInfo() 62 return MediaCodecInfo::FromParcel(reply); in getCodecInfo() 70 Parcel data, reply; in getGlobalSettings() local 72 remote()->transact(GET_GLOBAL_SETTINGS, data, &reply); in getGlobalSettings() 73 status_t err = reply.readInt32(); in getGlobalSettings() [all …]
|
D | IMediaMetadataRetriever.cpp | 56 Parcel data, reply; in disconnect() local 58 remote()->transact(DISCONNECT, data, &reply); in disconnect() 66 Parcel data, reply; in setDataSource() local 85 remote()->transact(SET_DATA_SOURCE_URL, data, &reply); in setDataSource() 86 return reply.readInt32(); in setDataSource() 91 Parcel data, reply; in setDataSource() local 96 remote()->transact(SET_DATA_SOURCE_FD, data, &reply); in setDataSource() 97 return reply.readInt32(); in setDataSource() 102 Parcel data, reply; in setDataSource() local 112 remote()->transact(SET_DATA_SOURCE_CALLBACK, data, &reply); in setDataSource() [all …]
|
D | IMediaPlayerService.cpp | 60 Parcel data, reply; in createMetadataRetriever() local 62 remote()->transact(CREATE_METADATA_RETRIEVER, data, &reply); in createMetadataRetriever() 63 return interface_cast<IMediaMetadataRetriever>(reply.readStrongBinder()); in createMetadataRetriever() 69 Parcel data, reply; in create() local 75 remote()->transact(CREATE, data, &reply); in create() 76 return interface_cast<IMediaPlayer>(reply.readStrongBinder()); in create() 81 Parcel data, reply; in createMediaRecorder() local 84 remote()->transact(CREATE_MEDIA_RECORDER, data, &reply); in createMediaRecorder() 85 return interface_cast<IMediaRecorder>(reply.readStrongBinder()); in createMediaRecorder() 89 Parcel data, reply; in addBatteryData() local [all …]
|
D | IOMX.cpp | 70 Parcel data, reply; in freeNode() local 72 remote()->transact(FREE_NODE, data, &reply); in freeNode() 74 return reply.readInt32(); in freeNode() 79 Parcel data, reply; in sendCommand() local 83 remote()->transact(SEND_COMMAND, data, &reply); in sendCommand() 85 return reply.readInt32(); in sendCommand() 91 Parcel data, reply; in getParameter() local 96 remote()->transact(GET_PARAMETER, data, &reply); in getParameter() 98 status_t err = reply.readInt32(); in getParameter() 103 reply.read(params, size); in getParameter() [all …]
|
D | IRemoteDisplay.cpp | 39 Parcel data, reply; in pause() local 41 remote()->transact(PAUSE, data, &reply); in pause() 42 return reply.readInt32(); in pause() 46 Parcel data, reply; in resume() local 48 remote()->transact(RESUME, data, &reply); in resume() 49 return reply.readInt32(); in resume() 54 Parcel data, reply; in dispose() local 56 remote()->transact(DISPOSE, data, &reply); in dispose() 57 return reply.readInt32(); in dispose() 66 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument [all …]
|
D | IMediaSource.cpp | 77 Parcel data, reply; in start() local 82 status_t ret = remote()->transact(START, data, &reply); in start() 87 sp<MetaData> meta = MetaData::createFromParcel(reply); in start() 96 Parcel data, reply; in stop() local 98 status_t status = remote()->transact(STOP, data, &reply); in stop() 106 Parcel data, reply; in getFormat() local 108 status_t ret = remote()->transact(GETFORMAT, data, &reply); in getFormat() 111 mMetaData = MetaData::createFromParcel(reply); in getFormat() 134 Parcel data, reply; in readMultiple() local 140 status_t ret = remote()->transact(READMULTIPLE, data, &reply); in readMultiple() [all …]
|
D | IMediaExtractor.cpp | 55 Parcel data, reply; in countTracks() local 57 status_t ret = remote()->transact(COUNTTRACKS, data, &reply); in countTracks() 60 numTracks = reply.readUint32(); in countTracks() 66 Parcel data, reply; in getTrack() local 69 status_t ret = remote()->transact(GETTRACK, data, &reply); in getTrack() 71 return interface_cast<IMediaSource>(reply.readStrongBinder()); in getTrack() 79 Parcel data, reply; in getTrackMetaData() local 83 status_t ret = remote()->transact(GETTRACKMETADATA, data, &reply); in getTrackMetaData() 85 return MetaData::createFromParcel(reply); in getTrackMetaData() 92 Parcel data, reply; in getMetaData() local [all …]
|
D | IMediaHTTPConnection.cpp | 47 Parcel data, reply; in connect() local 68 remote()->transact(CONNECT, data, &reply); in connect() 70 int32_t exceptionCode = reply.readExceptionCode(); in connect() 76 sp<IBinder> binder = reply.readStrongBinder(); in connect() 83 Parcel data, reply; in disconnect() local 87 remote()->transact(DISCONNECT, data, &reply); in disconnect() 91 Parcel data, reply; in readAt() local 98 status_t err = remote()->transact(READ_AT, data, &reply); in readAt() 104 int32_t exceptionCode = reply.readExceptionCode(); in readAt() 110 int32_t lenOrErrorCode = reply.readInt32(); in readAt() [all …]
|
/frameworks/av/camera/ |
D | ICamera.cpp | 75 Parcel data, reply; in disconnect() local 77 remote()->transact(DISCONNECT, data, &reply); in disconnect() 78 reply.readExceptionCode(); in disconnect() 86 Parcel data, reply; in setPreviewTarget() local 90 remote()->transact(SET_PREVIEW_TARGET, data, &reply); in setPreviewTarget() 91 return reply.readInt32(); in setPreviewTarget() 99 Parcel data, reply; in setPreviewCallbackFlag() local 102 remote()->transact(SET_PREVIEW_CALLBACK_FLAG, data, &reply); in setPreviewCallbackFlag() 109 Parcel data, reply; in setPreviewCallbackTarget() local 113 remote()->transact(SET_PREVIEW_CALLBACK_TARGET, data, &reply); in setPreviewCallbackTarget() [all …]
|
/frameworks/native/libs/binder/ |
D | IBatteryStats.cpp | 36 Parcel data, reply; in noteStartSensor() local 40 remote()->transact(NOTE_START_SENSOR_TRANSACTION, data, &reply); in noteStartSensor() 44 Parcel data, reply; in noteStopSensor() local 48 remote()->transact(NOTE_STOP_SENSOR_TRANSACTION, data, &reply); in noteStopSensor() 52 Parcel data, reply; in noteStartVideo() local 55 remote()->transact(NOTE_START_VIDEO_TRANSACTION, data, &reply); in noteStartVideo() 59 Parcel data, reply; in noteStopVideo() local 62 remote()->transact(NOTE_STOP_VIDEO_TRANSACTION, data, &reply); in noteStopVideo() 66 Parcel data, reply; in noteStartAudio() local 69 remote()->transact(NOTE_START_AUDIO_TRANSACTION, data, &reply, IBinder::FLAG_ONEWAY); in noteStartAudio() [all …]
|
D | IPermissionController.cpp | 39 Parcel data, reply; in checkPermission() local 44 remote()->transact(CHECK_PERMISSION_TRANSACTION, data, &reply); in checkPermission() 46 if (reply.readExceptionCode() != 0) return 0; in checkPermission() 47 return reply.readInt32() != 0; in checkPermission() 52 Parcel data, reply; in noteOp() local 57 remote()->transact(NOTE_OP_TRANSACTION, data, &reply); in noteOp() 59 if (reply.readExceptionCode() != 0) return 2; // MODE_ERRORED in noteOp() 60 return reply.readInt32(); in noteOp() 65 Parcel data, reply; in getPackagesForUid() local 68 remote()->transact(GET_PACKAGES_FOR_UID_TRANSACTION, data, &reply); in getPackagesForUid() [all …]
|
D | IActivityManager.cpp | 40 Parcel data, reply; in openContentUri() local 43 status_t ret = remote()->transact(OPEN_CONTENT_URI_TRANSACTION, data, & reply); in openContentUri() 46 int32_t exceptionCode = reply.readExceptionCode(); in openContentUri() 50 if (reply.readInt32() != 0) { in openContentUri() 51 fd = fcntl(reply.readParcelFileDescriptor(), F_DUPFD_CLOEXEC, 0); in openContentUri() 67 Parcel data, reply; in registerUidObserver() local 73 status_t err = remote()->transact(REGISTER_UID_OBSERVER_TRANSACTION, data, &reply); in registerUidObserver() 74 if (err != NO_ERROR || ((err = reply.readExceptionCode()) != NO_ERROR)) { in registerUidObserver() 85 Parcel data, reply; in registerUidObserverForUids() local 93 remote()->transact(REGISTER_UID_OBSERVER_FOR_UIDS_TRANSACTION, data, &reply); in registerUidObserverForUids() [all …]
|
/frameworks/base/libs/storage/ |
D | IMountService.cpp | 63 Parcel data, reply; in registerListener() local 66 if (remote()->transact(TRANSACTION_registerListener, data, &reply) != NO_ERROR) { in registerListener() 70 int32_t err = reply.readExceptionCode(); in registerListener() 79 Parcel data, reply; in unregisterListener() local 82 if (remote()->transact(TRANSACTION_unregisterListener, data, &reply) != NO_ERROR) { in unregisterListener() 86 int32_t err = reply.readExceptionCode(); in unregisterListener() 95 Parcel data, reply; in isUsbMassStorageConnected() local 97 if (remote()->transact(TRANSACTION_isUsbMassStorageConnected, data, &reply) != NO_ERROR) { in isUsbMassStorageConnected() 101 int32_t err = reply.readExceptionCode(); in isUsbMassStorageConnected() 106 return reply.readInt32() != 0; in isUsbMassStorageConnected() [all …]
|
/frameworks/base/core/java/android/database/ |
D | BulkCursorNative.java | 58 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument 66 reply.writeNoException(); in onTransact() 68 reply.writeInt(0); in onTransact() 70 reply.writeInt(1); in onTransact() 71 window.writeToParcel(reply, Parcelable.PARCELABLE_WRITE_RETURN_VALUE); in onTransact() 79 reply.writeNoException(); in onTransact() 86 reply.writeNoException(); in onTransact() 95 reply.writeNoException(); in onTransact() 96 reply.writeInt(count); in onTransact() 97 reply.writeBundle(getExtras()); in onTransact() [all …]
|
/frameworks/av/drm/common/ |
D | IDrmManagerService.cpp | 116 Parcel data, reply; in addUniqueId() local 119 remote()->transact(ADD_UNIQUEID, data, &reply); in addUniqueId() 120 return reply.readInt32(); in addUniqueId() 125 Parcel data, reply; in removeUniqueId() local 128 remote()->transact(REMOVE_UNIQUEID, data, &reply); in removeUniqueId() 132 Parcel data, reply; in addClient() local 135 remote()->transact(ADD_CLIENT, data, &reply); in addClient() 139 Parcel data, reply; in removeClient() local 142 remote()->transact(REMOVE_CLIENT, data, &reply); in removeClient() 148 Parcel data, reply; in setDrmServiceListener() local [all …]
|
/frameworks/native/libs/gui/ |
D | IGraphicBufferProducer.cpp | 97 Parcel data, reply; in requestBuffer() local 100 status_t result = remote()->transact(REQUEST_BUFFER, data, &reply); in requestBuffer() 104 bool nonNull = reply.readInt32(); in requestBuffer() 107 result = reply.read(**buf); in requestBuffer() 113 result = reply.readInt32(); in requestBuffer() 120 Parcel data, reply; in requestBuffers() local 123 status_t result = remote()->transact(REQUEST_BUFFERS, data, &reply); in requestBuffers() 127 result = reply.resizeOutVector(outputs); in requestBuffers() 132 result = reply.read(output); in requestBuffers() 139 Parcel data, reply; in setMaxDequeuedBufferCount() local [all …]
|
/frameworks/native/libs/permission/ |
D | IAppOpsService.cpp | 40 Parcel data, reply; in checkOperation() local 45 remote()->transact(CHECK_OPERATION_TRANSACTION, data, &reply); in checkOperation() 47 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in checkOperation() 48 return reply.readInt32(); in checkOperation() 54 Parcel data, reply; in noteOperation() local 63 remote()->transact(NOTE_OPERATION_TRANSACTION, data, &reply); in noteOperation() 65 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in noteOperation() 67 reply.readInt32(); in noteOperation() 68 reply.readByte(); in noteOperation() 69 return reply.readInt32(); in noteOperation() [all …]
|
/frameworks/native/libs/binder/rust/tests/ |
D | serialization.cpp | 103 android::Parcel reply; in TEST_F() local 104 ASSERT_EQ(m_server->transact(TEST_BOOL, data, &reply), OK); in TEST_F() 108 ASSERT_EQ(reply.readBool(), true); in TEST_F() 109 ASSERT_EQ(reply.readBool(), false); in TEST_F() 110 ASSERT_EQ(reply.readBoolVector(&read_bools), OK); in TEST_F() 112 ASSERT_EQ(reply.readBoolVector(&maybe_bools), OK); in TEST_F() 116 ASSERT_EQ(reply.readInt32(&end), NOT_ENOUGH_DATA); in TEST_F() 132 android::Parcel reply; in TEST_F() local 133 ASSERT_EQ(m_server->transact(TEST_BYTE, data, &reply), OK); in TEST_F() 138 ASSERT_EQ(reply.readByte(), 0); in TEST_F() [all …]
|
D | serialization.rs | 108 reply: &mut BorrowedParcel<'_>, in on_transact() 118 reply.write(&true)?; in on_transact() 119 reply.write(&false)?; in on_transact() 121 reply.write(&unsafe { bindings::TESTDATA_BOOL }[..])?; in on_transact() 122 reply.write(&(None as Option<Vec<bool>>))?; in on_transact() 134 reply.write(&0i8)?; in on_transact() 135 reply.write(&1i8)?; in on_transact() 136 reply.write(&i8::max_value())?; in on_transact() 138 reply.write(&unsafe { bindings::TESTDATA_I8 }[..])?; in on_transact() 140 reply.write(&unsafe { bindings::TESTDATA_U8 }[..])?; in on_transact() [all …]
|
/frameworks/native/libs/sensor/ |
D | ISensorServer.cpp | 62 Parcel data, reply; in getSensorList() local 65 remote()->transact(GET_SENSOR_LIST, data, &reply); in getSensorList() 68 uint32_t n = reply.readUint32(); in getSensorList() 71 if (n > reply.dataAvail()) { in getSensorList() 74 n, reply.dataAvail()); in getSensorList() 80 if(reply.read(s) != OK) { in getSensorList() 92 Parcel data, reply; in getDynamicSensorList() local 95 remote()->transact(GET_DYNAMIC_SENSOR_LIST, data, &reply); in getDynamicSensorList() 98 uint32_t n = reply.readUint32(); in getDynamicSensorList() 101 if (n > reply.dataAvail()) { in getDynamicSensorList() [all …]
|
D | ISensorEventConnection.cpp | 55 Parcel data, reply; in getSensorChannel() local 57 remote()->transact(GET_SENSOR_CHANNEL, data, &reply); in getSensorChannel() 58 return new BitTube(reply); in getSensorChannel() 64 Parcel data, reply; in enableDisable() local 71 remote()->transact(ENABLE_DISABLE, data, &reply); in enableDisable() 72 return reply.readInt32(); in enableDisable() 77 Parcel data, reply; in setEventRate() local 81 remote()->transact(SET_EVENT_RATE, data, &reply); in setEventRate() 82 return reply.readInt32(); in setEventRate() 86 Parcel data, reply; in flush() local [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderNative.java | 79 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument 120 reply.writeNoException(); in onTransact() 121 reply.writeInt(1); in onTransact() 122 d.writeToParcel(reply, Parcelable.PARCELABLE_WRITE_RETURN_VALUE); in onTransact() 133 reply.writeNoException(); in onTransact() 134 reply.writeInt(0); in onTransact() 147 reply.writeNoException(); in onTransact() 148 reply.writeString(type); in onTransact() 181 reply.writeNoException(); in onTransact() 182 Uri.writeToParcel(reply, out); in onTransact() [all …]
|