Home
last modified time | relevance | path

Searched refs:reply (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/frameworks/av/camera/camera2/
DICameraDeviceUser.cpp80 Parcel data, reply; in disconnect() local
82 remote()->transact(DISCONNECT, data, &reply); in disconnect()
83 reply.readExceptionCode(); in disconnect()
89 Parcel data, reply; in submitRequest() local
103 remote()->transact(SUBMIT_REQUEST, data, &reply); in submitRequest()
105 reply.readExceptionCode(); in submitRequest()
106 status_t res = reply.readInt32(); in submitRequest()
109 if (reply.readInt32() != 0) { in submitRequest()
111 resFrameNumber = reply.readInt64(lastFrameNumber); in submitRequest()
124 Parcel data, reply; in submitRequestList() local
[all …]
/frameworks/av/media/libmedia/
DIMediaPlayer.cpp83 Parcel data, reply; in disconnect() local
85 remote()->transact(DISCONNECT, data, &reply); in disconnect()
93 Parcel data, reply; in setDataSource() local
110 remote()->transact(SET_DATA_SOURCE_URL, data, &reply); in setDataSource()
111 return reply.readInt32(); in setDataSource()
115 Parcel data, reply; in setDataSource() local
120 remote()->transact(SET_DATA_SOURCE_FD, data, &reply); in setDataSource()
121 return reply.readInt32(); in setDataSource()
125 Parcel data, reply; in setDataSource() local
128 remote()->transact(SET_DATA_SOURCE_STREAM, data, &reply); in setDataSource()
[all …]
DIMediaRecorder.cpp71 Parcel data, reply; in setCamera() local
75 remote()->transact(SET_CAMERA, data, &reply); in setCamera()
76 return reply.readInt32(); in setCamera()
82 Parcel data, reply; in setInputSurface() local
85 remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface()
86 return reply.readInt32(); in setInputSurface()
92 Parcel data, reply; in querySurfaceMediaSource() local
94 remote()->transact(QUERY_SURFACE_MEDIASOURCE, data, &reply); in querySurfaceMediaSource()
95 int returnedNull = reply.readInt32(); in querySurfaceMediaSource()
99 return interface_cast<IGraphicBufferProducer>(reply.readStrongBinder()); in querySurfaceMediaSource()
[all …]
DIAudioFlinger.cpp111 Parcel data, reply; in createTrack() local
137 status_t lStatus = remote()->transact(CREATE_TRACK, data, &reply); in createTrack()
141 frameCount = reply.readInt64(); in createTrack()
145 lFlags = reply.readInt32(); in createTrack()
149 lSessionId = reply.readInt32(); in createTrack()
153 lStatus = reply.readInt32(); in createTrack()
154 track = interface_cast<IAudioTrack>(reply.readStrongBinder()); in createTrack()
189 Parcel data, reply; in openRecord() local
211 status_t lStatus = remote()->transact(OPEN_RECORD, data, &reply); in openRecord()
215 frameCount = reply.readInt64(); in openRecord()
[all …]
DIDrm.cpp68 Parcel data, reply; in initCheck() local
70 status_t status = remote()->transact(INIT_CHECK, data, &reply); in initCheck()
75 return reply.readInt32(); in initCheck()
79 Parcel data, reply; in isCryptoSchemeSupported() local
83 status_t status = remote()->transact(IS_CRYPTO_SUPPORTED, data, &reply); in isCryptoSchemeSupported()
89 return reply.readInt32() != 0; in isCryptoSchemeSupported()
93 Parcel data, reply; in createPlugin() local
97 status_t status = remote()->transact(CREATE_PLUGIN, data, &reply); in createPlugin()
102 return reply.readInt32(); in createPlugin()
106 Parcel data, reply; in destroyPlugin() local
[all …]
DIAudioTrack.cpp57 Parcel data, reply; in getCblk() local
60 status_t status = remote()->transact(GET_CBLK, data, &reply); in getCblk()
62 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()
72 Parcel data, reply; in start() local
74 status_t status = remote()->transact(START, data, &reply); in start()
76 status = reply.readInt32(); in start()
85 Parcel data, reply; in stop() local
87 remote()->transact(STOP, data, &reply); in stop()
92 Parcel data, reply; in flush() local
94 remote()->transact(FLUSH, data, &reply); in flush()
[all …]
DIMediaPlayerService.cpp64 Parcel data, reply; in createMetadataRetriever() local
66 remote()->transact(CREATE_METADATA_RETRIEVER, data, &reply); in createMetadataRetriever()
67 return interface_cast<IMediaMetadataRetriever>(reply.readStrongBinder()); in createMetadataRetriever()
72 Parcel data, reply; in create() local
77 remote()->transact(CREATE, data, &reply); in create()
78 return interface_cast<IMediaPlayer>(reply.readStrongBinder()); in create()
83 Parcel data, reply; in createMediaRecorder() local
86 remote()->transact(CREATE_MEDIA_RECORDER, data, &reply); in createMediaRecorder()
87 return interface_cast<IMediaRecorder>(reply.readStrongBinder()); in createMediaRecorder()
91 Parcel data, reply; in getOMX() local
[all …]
DIAudioPolicyService.cpp95 Parcel data, reply; in setDeviceConnectionState() local
101 remote()->transact(SET_DEVICE_CONNECTION_STATE, data, &reply); in setDeviceConnectionState()
102 return static_cast <status_t> (reply.readInt32()); in setDeviceConnectionState()
109 Parcel data, reply; in getDeviceConnectionState() local
113 remote()->transact(GET_DEVICE_CONNECTION_STATE, data, &reply); in getDeviceConnectionState()
114 return static_cast <audio_policy_dev_state_t>(reply.readInt32()); in getDeviceConnectionState()
119 Parcel data, reply; in setPhoneState() local
122 remote()->transact(SET_PHONE_STATE, data, &reply); in setPhoneState()
123 return static_cast <status_t> (reply.readInt32()); in setPhoneState()
128 Parcel data, reply; in setForceUse() local
[all …]
DIOMX.cpp69 Parcel data, reply; in livesLocally() local
73 remote()->transact(LIVES_LOCALLY, data, &reply); in livesLocally()
75 return reply.readInt32() != 0; in livesLocally()
81 Parcel data, reply; in listNodes() local
83 remote()->transact(LIST_NODES, data, &reply); in listNodes()
85 int32_t n = reply.readInt32(); in listNodes()
90 info.mName = reply.readString8(); in listNodes()
91 int32_t numRoles = reply.readInt32(); in listNodes()
93 info.mRoles.push_back(reply.readString8()); in listNodes()
102 Parcel data, reply; in allocateNode() local
[all …]
DIMediaCodecList.cpp48 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 …]
/frameworks/av/camera/
DICamera.cpp66 Parcel data, reply; in disconnect() local
68 remote()->transact(DISCONNECT, data, &reply); in disconnect()
69 reply.readExceptionCode(); in disconnect()
76 Parcel data, reply; in setPreviewTarget() local
80 remote()->transact(SET_PREVIEW_TARGET, data, &reply); in setPreviewTarget()
81 return reply.readInt32(); in setPreviewTarget()
89 Parcel data, reply; in setPreviewCallbackFlag() local
92 remote()->transact(SET_PREVIEW_CALLBACK_FLAG, data, &reply); in setPreviewCallbackFlag()
99 Parcel data, reply; in setPreviewCallbackTarget() local
103 remote()->transact(SET_PREVIEW_CALLBACK_TARGET, data, &reply); in setPreviewCallbackTarget()
[all …]
DICameraService.cpp53 static bool readExceptionCode(Parcel& reply) { in readExceptionCode() argument
54 int32_t exceptionCode = reply.readExceptionCode(); in readExceptionCode()
106 Parcel data, reply; in getNumberOfCameras() local
109 remote()->transact(BnCameraService::GET_NUMBER_OF_CAMERAS, data, &reply); in getNumberOfCameras()
111 if (readExceptionCode(reply)) return 0; in getNumberOfCameras()
112 return reply.readInt32(); in getNumberOfCameras()
118 Parcel data, reply; in getCameraInfo() local
121 remote()->transact(BnCameraService::GET_CAMERA_INFO, data, &reply); in getCameraInfo()
123 if (readExceptionCode(reply)) return -EPROTO; in getCameraInfo()
124 status_t result = reply.readInt32(); in getCameraInfo()
[all …]
/frameworks/av/media/common_time/
DICommonTimeConfig.cpp57 Parcel data, reply; in getMasterElectionPriority() local
61 &reply); in getMasterElectionPriority()
63 status = reply.readInt32(); in getMasterElectionPriority()
65 *priority = static_cast<uint8_t>(reply.readInt32()); in getMasterElectionPriority()
73 Parcel data, reply; in setMasterElectionPriority() local
78 &reply); in setMasterElectionPriority()
80 status = reply.readInt32(); in setMasterElectionPriority()
87 Parcel data, reply; in getMasterElectionEndpoint() local
91 &reply); in getMasterElectionEndpoint()
93 status = reply.readInt32(); in getMasterElectionEndpoint()
[all …]
DICommonClock.cpp55 Parcel data, reply; in isCommonTimeValid() local
59 &reply); in isCommonTimeValid()
61 status = reply.readInt32(); in isCommonTimeValid()
63 *valid = reply.readInt32(); in isCommonTimeValid()
64 *timelineID = reply.readInt32(); in isCommonTimeValid()
72 Parcel data, reply; in commonTimeToLocalTime() local
76 data, &reply); in commonTimeToLocalTime()
78 status = reply.readInt32(); in commonTimeToLocalTime()
80 *localTime = reply.readInt64(); in commonTimeToLocalTime()
88 Parcel data, reply; in localTimeToCommonTime() local
[all …]
/frameworks/native/libs/binder/
DIBatteryStats.cpp38 Parcel data, reply; in noteStartSensor() local
42 remote()->transact(NOTE_START_SENSOR_TRANSACTION, data, &reply); in noteStartSensor()
46 Parcel data, reply; in noteStopSensor() local
50 remote()->transact(NOTE_STOP_SENSOR_TRANSACTION, data, &reply); in noteStopSensor()
54 Parcel data, reply; in noteStartVideo() local
57 remote()->transact(NOTE_START_VIDEO_TRANSACTION, data, &reply); in noteStartVideo()
61 Parcel data, reply; in noteStopVideo() local
64 remote()->transact(NOTE_STOP_VIDEO_TRANSACTION, data, &reply); in noteStopVideo()
68 Parcel data, reply; in noteStartAudio() local
71 remote()->transact(NOTE_START_AUDIO_TRANSACTION, data, &reply); in noteStartAudio()
[all …]
DIAppOpsService.cpp40 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
71 remote()->transact(START_OPERATION_TRANSACTION, data, &reply); in startOperation()
[all …]
/frameworks/base/core/java/android/app/
DActivityManagerNative.java143 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument
164 reply.writeNoException(); in onTransact()
165 reply.writeInt(result); in onTransact()
188 reply.writeNoException(); in onTransact()
189 reply.writeInt(result); in onTransact()
214 reply.writeNoException(); in onTransact()
215 reply.writeInt(result); in onTransact()
238 reply.writeNoException(); in onTransact()
239 result.writeToParcel(reply, 0); in onTransact()
261 reply.writeNoException(); in onTransact()
[all …]
/frameworks/base/libs/storage/
DIMountService.cpp65 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/native/libs/gui/
DIGraphicBufferConsumer.cpp71 Parcel data, reply; in acquireBuffer() local
75 status_t result = remote()->transact(ACQUIRE_BUFFER, data, &reply); in acquireBuffer()
79 result = reply.read(*buffer); in acquireBuffer()
83 return reply.readInt32(); in acquireBuffer()
87 Parcel data, reply; in detachBuffer() local
90 status_t result = remote()->transact(DETACH_BUFFER, data, &reply); in detachBuffer()
94 result = reply.readInt32(); in detachBuffer()
99 Parcel data, reply; in attachBuffer() local
102 status_t result = remote()->transact(ATTACH_BUFFER, data, &reply); in attachBuffer()
106 *slot = reply.readInt32(); in attachBuffer()
[all …]
DIGraphicBufferProducer.cpp65 Parcel data, reply; in requestBuffer() local
68 status_t result =remote()->transact(REQUEST_BUFFER, data, &reply); in requestBuffer()
72 bool nonNull = reply.readInt32(); in requestBuffer()
75 result = reply.read(**buf); in requestBuffer()
81 result = reply.readInt32(); in requestBuffer()
87 Parcel data, reply; in setBufferCount() local
90 status_t result =remote()->transact(SET_BUFFER_COUNT, data, &reply); in setBufferCount()
94 result = reply.readInt32(); in setBufferCount()
101 Parcel data, reply; in dequeueBuffer() local
108 status_t result = remote()->transact(DEQUEUE_BUFFER, data, &reply); in dequeueBuffer()
[all …]
DISurfaceComposer.cpp58 Parcel data, reply; in createConnection() local
60 remote()->transact(BnSurfaceComposer::CREATE_CONNECTION, data, &reply); in createConnection()
61 return interface_cast<ISurfaceComposerClient>(reply.readStrongBinder()); in createConnection()
66 Parcel data, reply; in createGraphicBufferAlloc() local
68 remote()->transact(BnSurfaceComposer::CREATE_GRAPHIC_BUFFER_ALLOC, data, &reply); in createGraphicBufferAlloc()
69 return interface_cast<IGraphicBufferAlloc>(reply.readStrongBinder()); in createGraphicBufferAlloc()
77 Parcel data, reply; in setTransactionState() local
91 remote()->transact(BnSurfaceComposer::SET_TRANSACTION_STATE, data, &reply); in setTransactionState()
96 Parcel data, reply; in bootFinished() local
98 remote()->transact(BnSurfaceComposer::BOOT_FINISHED, data, &reply); in bootFinished()
[all …]
/frameworks/av/radio/
DIRadio.cpp55 Parcel data, reply; in detach() local
57 remote()->transact(DETACH, data, &reply); in detach()
62 Parcel data, reply; in setConfiguration() local
68 status_t status = remote()->transact(SET_CONFIGURATION, data, &reply); in setConfiguration()
70 status = (status_t)reply.readInt32(); in setConfiguration()
77 Parcel data, reply; in getConfiguration() local
82 status_t status = remote()->transact(GET_CONFIGURATION, data, &reply); in getConfiguration()
84 status = (status_t)reply.readInt32(); in getConfiguration()
86 reply.read(config, sizeof(struct radio_band_config)); in getConfiguration()
94 Parcel data, reply; in setMute() local
[all …]
/frameworks/base/core/java/android/database/
DBulkCursorNative.java57 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument
65 reply.writeNoException(); in onTransact()
67 reply.writeInt(0); in onTransact()
69 reply.writeInt(1); in onTransact()
70 window.writeToParcel(reply, Parcelable.PARCELABLE_WRITE_RETURN_VALUE); in onTransact()
78 reply.writeNoException(); in onTransact()
85 reply.writeNoException(); in onTransact()
94 reply.writeNoException(); in onTransact()
95 reply.writeInt(count); in onTransact()
96 reply.writeBundle(getExtras()); in onTransact()
[all …]
/frameworks/av/drm/common/
DIDrmManagerService.cpp116 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/
DContentProviderNative.java74 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument
125 reply.writeNoException(); in onTransact()
126 reply.writeInt(1); in onTransact()
127 d.writeToParcel(reply, Parcelable.PARCELABLE_WRITE_RETURN_VALUE); in onTransact()
138 reply.writeNoException(); in onTransact()
139 reply.writeInt(0); in onTransact()
150 reply.writeNoException(); in onTransact()
151 reply.writeString(type); in onTransact()
164 reply.writeNoException(); in onTransact()
165 Uri.writeToParcel(reply, out); in onTransact()
[all …]

12345678910>>...13