/frameworks/av/media/libmedia/ |
D | IMediaRecorder.cpp | 84 Parcel data, reply; in setCamera() local 88 remote()->transact(SET_CAMERA, data, &reply); in setCamera() 89 return reply.readInt32(); in setCamera() 95 Parcel data, reply; in setInputSurface() local 98 remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface() 99 return reply.readInt32(); in setInputSurface() 105 Parcel data, reply; in querySurfaceMediaSource() local 107 remote()->transact(QUERY_SURFACE_MEDIASOURCE, data, &reply); in querySurfaceMediaSource() 108 int returnedNull = reply.readInt32(); in querySurfaceMediaSource() 112 return interface_cast<IGraphicBufferProducer>(reply.readStrongBinder()); in querySurfaceMediaSource() [all …]
|
D | IMediaPlayer.cpp | 88 static void readVector(const Parcel& reply, Vector<uint8_t>& vector) { in readVector() argument 89 uint32_t size = reply.readUint32(); in readVector() 91 reply.read(vector.editArray(), size); in readVector() 110 Parcel data, reply; in disconnect() local 112 remote()->transact(DISCONNECT, data, &reply); in disconnect() 120 Parcel data, reply; in setDataSource() local 137 remote()->transact(SET_DATA_SOURCE_URL, data, &reply); in setDataSource() 138 return reply.readInt32(); in setDataSource() 142 Parcel data, reply; in setDataSource() local 147 remote()->transact(SET_DATA_SOURCE_FD, data, &reply); in setDataSource() [all …]
|
D | IDataSource.cpp | 44 Parcel data, reply; in getIMemory() local 46 remote()->transact(GET_IMEMORY, data, &reply); in getIMemory() 47 sp<IBinder> binder = reply.readStrongBinder(); in getIMemory() 52 Parcel data, reply; in readAt() local 56 status_t err = remote()->transact(READ_AT, data, &reply); in readAt() 61 err = reply.readInt64(&value); in readAt() 69 Parcel data, reply; in getSize() local 71 remote()->transact(GET_SIZE, data, &reply); in getSize() 72 status_t err = reply.readInt32(); in getSize() 73 *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 | IOMX.cpp | 71 Parcel data, reply; in freeNode() local 73 remote()->transact(FREE_NODE, data, &reply); in freeNode() 75 return reply.readInt32(); in freeNode() 80 Parcel data, reply; in sendCommand() local 84 remote()->transact(SEND_COMMAND, data, &reply); in sendCommand() 86 return reply.readInt32(); in sendCommand() 92 Parcel data, reply; in getParameter() local 97 remote()->transact(GET_PARAMETER, data, &reply); in getParameter() 99 status_t err = reply.readInt32(); in getParameter() 104 reply.read(params, size); in getParameter() [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 …]
|
/frameworks/av/camera/ |
D | ICamera.cpp | 73 Parcel data, reply; in disconnect() local 75 remote()->transact(DISCONNECT, data, &reply); in disconnect() 76 reply.readExceptionCode(); in disconnect() 84 Parcel data, reply; in setPreviewTarget() local 88 remote()->transact(SET_PREVIEW_TARGET, data, &reply); in setPreviewTarget() 89 return reply.readInt32(); in setPreviewTarget() 97 Parcel data, reply; in setPreviewCallbackFlag() local 100 remote()->transact(SET_PREVIEW_CALLBACK_FLAG, data, &reply); in setPreviewCallbackFlag() 107 Parcel data, reply; in setPreviewCallbackTarget() local 111 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 | 131 Parcel data, reply; in setDeviceConnectionState() local 138 remote()->transact(SET_DEVICE_CONNECTION_STATE, data, &reply); in setDeviceConnectionState() 139 return static_cast <status_t> (reply.readInt32()); in setDeviceConnectionState() 146 Parcel data, reply; in getDeviceConnectionState() local 150 remote()->transact(GET_DEVICE_CONNECTION_STATE, data, &reply); in getDeviceConnectionState() 151 return static_cast <audio_policy_dev_state_t>(reply.readInt32()); in getDeviceConnectionState() 159 Parcel data, reply; in handleDeviceConfigChange() local 165 remote()->transact(HANDLE_DEVICE_CONFIG_CHANGE, data, &reply); in handleDeviceConfigChange() 166 return static_cast <status_t> (reply.readInt32()); in handleDeviceConfigChange() 171 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/av/drm/libmediadrm/ |
D | IDrm.cpp | 76 Parcel data, reply; in initCheck() local 78 status_t status = remote()->transact(INIT_CHECK, data, &reply); in initCheck() 83 return reply.readInt32(); in initCheck() 88 Parcel data, reply; in isCryptoSchemeSupported() local 94 status_t status = remote()->transact(IS_CRYPTO_SUPPORTED, data, &reply); in isCryptoSchemeSupported() 99 *isSupported = static_cast<bool>(reply.readInt32()); in isCryptoSchemeSupported() 101 return reply.readInt32(); in isCryptoSchemeSupported() 106 Parcel data, reply; in createPlugin() local 110 status_t status = remote()->transact(CREATE_PLUGIN, data, &reply); in createPlugin() 116 return reply.readInt32(); in createPlugin() [all …]
|
D | ICrypto.cpp | 49 Parcel data, reply; in initCheck() local 51 remote()->transact(INIT_CHECK, data, &reply); in initCheck() 53 return reply.readInt32(); in initCheck() 57 Parcel data, reply; in isCryptoSchemeSupported() local 60 remote()->transact(IS_CRYPTO_SUPPORTED, data, &reply); in isCryptoSchemeSupported() 62 return reply.readInt32() != 0; in isCryptoSchemeSupported() 67 Parcel data, reply; in createPlugin() local 76 remote()->transact(CREATE_PLUGIN, data, &reply); in createPlugin() 78 return reply.readInt32(); in createPlugin() 82 Parcel data, reply; in destroyPlugin() local [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 | 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() 52 Parcel data, reply; in noteOperation() local 57 remote()->transact(NOTE_OPERATION_TRANSACTION, data, &reply); in noteOperation() 59 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in noteOperation() 60 return reply.readInt32(); in noteOperation() 65 Parcel data, reply; in startOperation() local 72 remote()->transact(START_OPERATION_TRANSACTION, data, &reply); in startOperation() [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 …]
|
/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/base/core/java/android/content/ |
D | ContentProviderNative.java | 77 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument 116 reply.writeNoException(); in onTransact() 117 reply.writeInt(1); in onTransact() 118 d.writeToParcel(reply, Parcelable.PARCELABLE_WRITE_RETURN_VALUE); in onTransact() 129 reply.writeNoException(); in onTransact() 130 reply.writeInt(0); in onTransact() 141 reply.writeNoException(); in onTransact() 142 reply.writeString(type); in onTransact() 155 reply.writeNoException(); in onTransact() 156 Uri.writeToParcel(reply, out); in onTransact() [all …]
|
/frameworks/native/libs/gui/ |
D | ISurfaceComposer.cpp | 61 Parcel data, reply; in createConnection() local 63 remote()->transact(BnSurfaceComposer::CREATE_CONNECTION, data, &reply); in createConnection() 64 return interface_cast<ISurfaceComposerClient>(reply.readStrongBinder()); in createConnection() 74 Parcel data, reply; in setTransactionState() local 101 remote()->transact(BnSurfaceComposer::SET_TRANSACTION_STATE, data, &reply); in setTransactionState() 106 Parcel data, reply; in bootFinished() local 108 remote()->transact(BnSurfaceComposer::BOOT_FINISHED, data, &reply); in bootFinished() 116 Parcel data, reply; in captureScreen() local 127 status_t result = remote()->transact(BnSurfaceComposer::CAPTURE_SCREEN, data, &reply); in captureScreen() 132 result = reply.readInt32(); in captureScreen() [all …]
|
D | IGraphicBufferProducer.cpp | 89 Parcel data, reply; in requestBuffer() local 92 status_t result =remote()->transact(REQUEST_BUFFER, data, &reply); in requestBuffer() 96 bool nonNull = reply.readInt32(); in requestBuffer() 99 result = reply.read(**buf); in requestBuffer() 105 result = reply.readInt32(); in requestBuffer() 110 Parcel data, reply; in setMaxDequeuedBufferCount() local 115 data, &reply); in setMaxDequeuedBufferCount() 119 result = reply.readInt32(); in setMaxDequeuedBufferCount() 124 Parcel data, reply; in setAsyncMode() local 129 data, &reply); in setAsyncMode() [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/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 …]
|