/frameworks/av/media/libmedia/ |
D | IMediaRecorder.cpp | 86 Parcel data, reply; in setCamera() local 90 remote()->transact(SET_CAMERA, data, &reply); in setCamera() 91 return reply.readInt32(); in setCamera() 97 Parcel data, reply; in setInputSurface() local 100 remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface() 101 return reply.readInt32(); in setInputSurface() 107 Parcel data, reply; in querySurfaceMediaSource() local 109 remote()->transact(QUERY_SURFACE_MEDIASOURCE, data, &reply); in querySurfaceMediaSource() 110 int returnedNull = reply.readInt32(); in querySurfaceMediaSource() 114 return interface_cast<IGraphicBufferProducer>(reply.readStrongBinder()); in querySurfaceMediaSource() [all …]
|
D | IMediaPlayer.cpp | 85 static void readVector(const Parcel& reply, Vector<uint8_t>& vector) { in readVector() argument 86 uint32_t size = reply.readUint32(); in readVector() 88 reply.read(vector.editArray(), size); in readVector() 107 Parcel data, reply; in disconnect() local 109 remote()->transact(DISCONNECT, data, &reply); in disconnect() 117 Parcel data, reply; in setDataSource() local 134 remote()->transact(SET_DATA_SOURCE_URL, data, &reply); in setDataSource() 135 return reply.readInt32(); in setDataSource() 139 Parcel data, reply; in setDataSource() local 144 remote()->transact(SET_DATA_SOURCE_FD, data, &reply); in setDataSource() [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 | IMediaPlayerService.cpp | 58 Parcel data, reply; in createMetadataRetriever() local 60 remote()->transact(CREATE_METADATA_RETRIEVER, data, &reply); in createMetadataRetriever() 61 return interface_cast<IMediaMetadataRetriever>(reply.readStrongBinder()); in createMetadataRetriever() 66 Parcel data, reply; in create() local 71 remote()->transact(CREATE, data, &reply); in create() 72 return interface_cast<IMediaPlayer>(reply.readStrongBinder()); in create() 77 Parcel data, reply; in createMediaRecorder() local 80 remote()->transact(CREATE_MEDIA_RECORDER, data, &reply); in createMediaRecorder() 81 return interface_cast<IMediaRecorder>(reply.readStrongBinder()); in createMediaRecorder() 85 Parcel data, reply; in addBatteryData() local [all …]
|
D | IMediaMetadataRetriever.cpp | 90 Parcel data, reply; in disconnect() local 92 remote()->transact(DISCONNECT, data, &reply); in disconnect() 100 Parcel data, reply; in setDataSource() local 119 remote()->transact(SET_DATA_SOURCE_URL, data, &reply); in setDataSource() 120 return reply.readInt32(); in setDataSource() 125 Parcel data, reply; in setDataSource() local 130 remote()->transact(SET_DATA_SOURCE_FD, data, &reply); in setDataSource() 131 return reply.readInt32(); in setDataSource() 136 Parcel data, reply; in setDataSource() local 146 remote()->transact(SET_DATA_SOURCE_CALLBACK, data, &reply); in setDataSource() [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 …]
|
/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/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 111 Parcel data, reply; in createTrack() local 121 status_t lStatus = remote()->transact(CREATE_TRACK, data, &reply); in createTrack() 127 *status = reply.readInt32(); in createTrack() 132 track = interface_cast<IAudioTrack>(reply.readStrongBinder()); in createTrack() 138 output.readFromParcel(&reply); in createTrack() 146 Parcel data, reply; in createRecord() local 156 status_t lStatus = remote()->transact(CREATE_RECORD, data, &reply); in createRecord() 162 *status = reply.readInt32(); in createRecord() 168 record = interface_cast<media::IAudioRecord>(reply.readStrongBinder()); in createRecord() 174 output.readFromParcel(&reply); in createRecord() [all …]
|
D | IAudioPolicyService.cpp | 141 Parcel data, reply; in setDeviceConnectionState() local 148 remote()->transact(SET_DEVICE_CONNECTION_STATE, data, &reply); in setDeviceConnectionState() 149 return static_cast <status_t> (reply.readInt32()); in setDeviceConnectionState() 156 Parcel data, reply; in getDeviceConnectionState() local 160 remote()->transact(GET_DEVICE_CONNECTION_STATE, data, &reply); in getDeviceConnectionState() 161 return static_cast <audio_policy_dev_state_t>(reply.readInt32()); in getDeviceConnectionState() 169 Parcel data, reply; in handleDeviceConfigChange() local 175 remote()->transact(HANDLE_DEVICE_CONFIG_CHANGE, data, &reply); in handleDeviceConfigChange() 176 return static_cast <status_t> (reply.readInt32()); in handleDeviceConfigChange() 181 Parcel data, reply; in setPhoneState() local [all …]
|
D | IAudioTrack.cpp | 59 Parcel data, reply; in getCblk() local 62 status_t status = remote()->transact(GET_CBLK, data, &reply); in getCblk() 64 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk() 74 Parcel data, reply; in start() local 76 status_t status = remote()->transact(START, data, &reply); in start() 78 status = reply.readInt32(); in start() 87 Parcel data, reply; in stop() local 89 remote()->transact(STOP, data, &reply); in stop() 94 Parcel data, reply; in flush() local 96 remote()->transact(FLUSH, data, &reply); in flush() [all …]
|
D | IEffect.cpp | 50 Parcel data, reply; in enable() local 52 remote()->transact(ENABLE, data, &reply); in enable() 53 return reply.readInt32(); in enable() 59 Parcel data, reply; in disable() local 61 remote()->transact(DISABLE, data, &reply); in disable() 62 return reply.readInt32(); in disable() 72 Parcel data, reply; in command() local 90 status_t status = remote()->transact(COMMAND, data, &reply); in command() 92 status = reply.readInt32(); in command() 100 size = reply.readInt32(); in command() [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); 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 | IAppOpsService.cpp | 38 Parcel data, reply; in checkOperation() local 43 remote()->transact(CHECK_OPERATION_TRANSACTION, data, &reply); in checkOperation() 45 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in checkOperation() 46 return reply.readInt32(); in checkOperation() 52 Parcel data, reply; in noteOperation() local 60 remote()->transact(NOTE_OPERATION_TRANSACTION, data, &reply); in noteOperation() 62 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in noteOperation() 63 return reply.readInt32(); in noteOperation() 69 Parcel data, reply; in startOperation() local 79 remote()->transact(START_OPERATION_TRANSACTION, data, &reply); in startOperation() [all …]
|
/frameworks/base/libs/storage/ |
D | IMountService.cpp | 65 Parcel data, reply; in registerListener() local 68 if (remote()->transact(TRANSACTION_registerListener, data, &reply) != NO_ERROR) { in registerListener() 72 int32_t err = reply.readExceptionCode(); in registerListener() 81 Parcel data, reply; in unregisterListener() local 84 if (remote()->transact(TRANSACTION_unregisterListener, data, &reply) != NO_ERROR) { in unregisterListener() 88 int32_t err = reply.readExceptionCode(); in unregisterListener() 97 Parcel data, reply; in isUsbMassStorageConnected() local 99 if (remote()->transact(TRANSACTION_isUsbMassStorageConnected, data, &reply) != NO_ERROR) { in isUsbMassStorageConnected() 103 int32_t err = reply.readExceptionCode(); in isUsbMassStorageConnected() 108 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 | 90 Parcel data, reply; in requestBuffer() local 93 status_t result =remote()->transact(REQUEST_BUFFER, data, &reply); in requestBuffer() 97 bool nonNull = reply.readInt32(); in requestBuffer() 100 result = reply.read(**buf); in requestBuffer() 106 result = reply.readInt32(); in requestBuffer() 111 Parcel data, reply; in setMaxDequeuedBufferCount() local 116 data, &reply); in setMaxDequeuedBufferCount() 120 result = reply.readInt32(); in setMaxDequeuedBufferCount() 125 Parcel data, reply; in setAsyncMode() local 130 data, &reply); in setAsyncMode() [all …]
|
D | ISurfaceComposer.cpp | 63 Parcel data, reply; in createConnection() local 65 remote()->transact(BnSurfaceComposer::CREATE_CONNECTION, data, &reply); in createConnection() 66 return interface_cast<ISurfaceComposerClient>(reply.readStrongBinder()); in createConnection() 76 Parcel data, reply; in setTransactionState() local 104 remote()->transact(BnSurfaceComposer::SET_TRANSACTION_STATE, data, &reply); in setTransactionState() 109 Parcel data, reply; in bootFinished() local 111 remote()->transact(BnSurfaceComposer::BOOT_FINISHED, data, &reply); in bootFinished() 119 Parcel data, reply; in captureScreen() local 130 status_t result = remote()->transact(BnSurfaceComposer::CAPTURE_SCREEN, data, &reply); in captureScreen() 135 result = reply.readInt32(); in captureScreen() [all …]
|
/frameworks/av/media/libaaudio/src/binding/ |
D | IAAudioService.cpp | 50 Parcel data, reply; in registerClient() local 53 remote()->transact(REGISTER_CLIENT, data, &reply); in registerClient() 58 Parcel data, reply; in openStream() local 63 status_t err = remote()->transact(OPEN_STREAM, data, &reply); in openStream() 70 err = reply.readInt32(&stream); in openStream() 77 err = configurationOutput.readFromParcel(&reply); in openStream() 87 Parcel data, reply; in closeStream() local 91 status_t err = remote()->transact(CLOSE_STREAM, data, &reply); in closeStream() 98 reply.readInt32(&res); in closeStream() 104 Parcel data, reply; in getStreamDescription() local [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderNative.java | 78 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument 119 reply.writeNoException(); in onTransact() 120 reply.writeInt(1); in onTransact() 121 d.writeToParcel(reply, Parcelable.PARCELABLE_WRITE_RETURN_VALUE); in onTransact() 132 reply.writeNoException(); in onTransact() 133 reply.writeInt(0); in onTransact() 144 reply.writeNoException(); in onTransact() 145 reply.writeString(type); in onTransact() 168 reply.writeNoException(); in onTransact() 169 Uri.writeToParcel(reply, out); in onTransact() [all …]
|
/frameworks/native/libs/sensor/ |
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 …]
|