Home
last modified time | relevance | path

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

123456789

/frameworks/av/media/libmedia/
DIMediaPlayer.cpp73 Parcel data, reply; in disconnect() local
75 remote()->transact(DISCONNECT, data, &reply); in disconnect()
81 Parcel data, reply; in setDataSource() local
94 remote()->transact(SET_DATA_SOURCE_URL, data, &reply); in setDataSource()
95 return reply.readInt32(); in setDataSource()
99 Parcel data, reply; in setDataSource() local
104 remote()->transact(SET_DATA_SOURCE_FD, data, &reply); in setDataSource()
105 return reply.readInt32(); in setDataSource()
109 Parcel data, reply; in setDataSource() local
112 remote()->transact(SET_DATA_SOURCE_STREAM, data, &reply); in setDataSource()
[all …]
DIMediaRecorder.cpp68 Parcel data, reply; in setCamera() local
72 remote()->transact(SET_CAMERA, data, &reply); in setCamera()
73 return reply.readInt32(); in setCamera()
79 Parcel data, reply; in querySurfaceMediaSource() local
81 remote()->transact(QUERY_SURFACE_MEDIASOURCE, data, &reply); in querySurfaceMediaSource()
82 int returnedNull = reply.readInt32(); in querySurfaceMediaSource()
86 return interface_cast<ISurfaceTexture>(reply.readStrongBinder()); in querySurfaceMediaSource()
92 Parcel data, reply; in setPreviewSurface() local
95 remote()->transact(SET_PREVIEW_SURFACE, data, &reply); in setPreviewSurface()
96 return reply.readInt32(); in setPreviewSurface()
[all …]
DIAudioFlinger.cpp100 Parcel data, reply; in createTrack() local
118 status_t lStatus = remote()->transact(CREATE_TRACK, data, &reply); in createTrack()
122 lSessionId = reply.readInt32(); in createTrack()
126 lStatus = reply.readInt32(); in createTrack()
127 track = interface_cast<IAudioTrack>(reply.readStrongBinder()); in createTrack()
147 Parcel data, reply; in openRecord() local
163 status_t lStatus = remote()->transact(OPEN_RECORD, data, &reply); in openRecord()
167 lSessionId = reply.readInt32(); in openRecord()
171 lStatus = reply.readInt32(); in openRecord()
172 record = interface_cast<IAudioRecord>(reply.readStrongBinder()); in openRecord()
[all …]
DIMediaPlayerService.cpp61 Parcel data, reply; in createMetadataRetriever() local
64 remote()->transact(CREATE_METADATA_RETRIEVER, data, &reply); in createMetadataRetriever()
65 return interface_cast<IMediaMetadataRetriever>(reply.readStrongBinder()); in createMetadataRetriever()
70 Parcel data, reply; in create() local
76 remote()->transact(CREATE, data, &reply); in create()
77 return interface_cast<IMediaPlayer>(reply.readStrongBinder()); in create()
82 Parcel data, reply; in createMediaRecorder() local
85 remote()->transact(CREATE_MEDIA_RECORDER, data, &reply); in createMediaRecorder()
86 return interface_cast<IMediaRecorder>(reply.readStrongBinder()); in createMediaRecorder()
91 Parcel data, reply; in decode() local
[all …]
DIAudioPolicyService.cpp74 Parcel data, reply; in setDeviceConnectionState() local
79 remote()->transact(SET_DEVICE_CONNECTION_STATE, data, &reply); in setDeviceConnectionState()
80 return static_cast <status_t> (reply.readInt32()); in setDeviceConnectionState()
87 Parcel data, reply; in getDeviceConnectionState() local
91 remote()->transact(GET_DEVICE_CONNECTION_STATE, data, &reply); in getDeviceConnectionState()
92 return static_cast <audio_policy_dev_state_t>(reply.readInt32()); in getDeviceConnectionState()
97 Parcel data, reply; in setPhoneState() local
100 remote()->transact(SET_PHONE_STATE, data, &reply); in setPhoneState()
101 return static_cast <status_t> (reply.readInt32()); in setPhoneState()
106 Parcel data, reply; in setForceUse() local
[all …]
DIOMX.cpp61 Parcel data, reply; in livesLocally() local
65 remote()->transact(LIVES_LOCALLY, data, &reply); in livesLocally()
67 return reply.readInt32() != 0; in livesLocally()
73 Parcel data, reply; in listNodes() local
75 remote()->transact(LIST_NODES, data, &reply); in listNodes()
77 int32_t n = reply.readInt32(); in listNodes()
82 info.mName = reply.readString8(); in listNodes()
83 int32_t numRoles = reply.readInt32(); in listNodes()
85 info.mRoles.push_back(reply.readString8()); in listNodes()
94 Parcel data, reply; in allocateNode() local
[all …]
DIAudioTrack.cpp54 Parcel data, reply; in getCblk() local
57 status_t status = remote()->transact(GET_CBLK, data, &reply); in getCblk()
59 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()
66 Parcel data, reply; in start() local
68 status_t status = remote()->transact(START, data, &reply); in start()
70 status = reply.readInt32(); in start()
79 Parcel data, reply; in stop() local
81 remote()->transact(STOP, data, &reply); in stop()
86 Parcel data, reply; in flush() local
88 remote()->transact(FLUSH, data, &reply); in flush()
[all …]
DIMediaMetadataRetriever.cpp80 Parcel data, reply; in disconnect() local
82 remote()->transact(DISCONNECT, data, &reply); in disconnect()
88 Parcel data, reply; in setDataSource() local
103 remote()->transact(SET_DATA_SOURCE_URL, data, &reply); in setDataSource()
104 return reply.readInt32(); in setDataSource()
109 Parcel data, reply; in setDataSource() local
114 remote()->transact(SET_DATA_SOURCE_FD, data, &reply); in setDataSource()
115 return reply.readInt32(); in setDataSource()
121 Parcel data, reply; in getFrameAtTime() local
128 remote()->transact(GET_FRAME_AT_TIME, data, &reply); in getFrameAtTime()
[all …]
DIEffect.cpp47 Parcel data, reply; in enable() local
49 remote()->transact(ENABLE, data, &reply); in enable()
50 return reply.readInt32(); in enable()
56 Parcel data, reply; in disable() local
58 remote()->transact(DISABLE, data, &reply); in disable()
59 return reply.readInt32(); in disable()
69 Parcel data, reply; in command() local
87 status_t status = remote()->transact(COMMAND, data, &reply); in command()
94 status = reply.readInt32(); in command()
95 size = reply.readInt32(); in command()
[all …]
DIHDCP.cpp43 Parcel data, reply; in notify() local
51 remote()->transact(OBSERVER_NOTIFY, data, &reply, IBinder::FLAG_ONEWAY); in notify()
63 Parcel data, reply; in setObserver() local
66 remote()->transact(HDCP_SET_OBSERVER, data, &reply); in setObserver()
67 return reply.readInt32(); in setObserver()
71 Parcel data, reply; in initAsync() local
75 remote()->transact(HDCP_INIT_ASYNC, data, &reply); in initAsync()
76 return reply.readInt32(); in initAsync()
80 Parcel data, reply; in shutdownAsync() local
82 remote()->transact(HDCP_SHUTDOWN_ASYNC, data, &reply); in shutdownAsync()
[all …]
DICrypto.cpp44 Parcel data, reply; in initCheck() local
46 remote()->transact(INIT_CHECK, data, &reply); in initCheck()
48 return reply.readInt32(); in initCheck()
52 Parcel data, reply; in isCryptoSchemeSupported() local
55 remote()->transact(IS_CRYPTO_SUPPORTED, data, &reply); in isCryptoSchemeSupported()
57 return reply.readInt32() != 0; in isCryptoSchemeSupported()
62 Parcel data, reply; in createPlugin() local
71 remote()->transact(CREATE_PLUGIN, data, &reply); in createPlugin()
73 return reply.readInt32(); in createPlugin()
77 Parcel data, reply; in destroyPlugin() local
[all …]
DIRemoteDisplay.cpp39 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 …]
/frameworks/av/camera/
DICamera.cpp66 Parcel data, reply; in disconnect() local
68 remote()->transact(DISCONNECT, data, &reply); in disconnect()
75 Parcel data, reply; in setPreviewDisplay() local
78 remote()->transact(SET_PREVIEW_DISPLAY, data, &reply); in setPreviewDisplay()
79 return reply.readInt32(); in setPreviewDisplay()
86 Parcel data, reply; in setPreviewTexture() local
90 remote()->transact(SET_PREVIEW_TEXTURE, data, &reply); in setPreviewTexture()
91 return reply.readInt32(); in setPreviewTexture()
99 Parcel data, reply; in setPreviewCallbackFlag() local
102 remote()->transact(SET_PREVIEW_CALLBACK_FLAG, data, &reply); in setPreviewCallbackFlag()
[all …]
DICameraService.cpp40 Parcel data, reply; in getNumberOfCameras() local
42 remote()->transact(BnCameraService::GET_NUMBER_OF_CAMERAS, data, &reply); in getNumberOfCameras()
43 return reply.readInt32(); in getNumberOfCameras()
49 Parcel data, reply; in getCameraInfo() local
52 remote()->transact(BnCameraService::GET_CAMERA_INFO, data, &reply); in getCameraInfo()
53 cameraInfo->facing = reply.readInt32(); in getCameraInfo()
54 cameraInfo->orientation = reply.readInt32(); in getCameraInfo()
55 return reply.readInt32(); in getCameraInfo()
61 Parcel data, reply; in connect() local
65 remote()->transact(BnCameraService::CONNECT, data, &reply); in connect()
[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/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/base/core/java/android/app/
DActivityManagerNative.java112 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument
134 reply.writeNoException(); in onTransact()
135 reply.writeInt(result); in onTransact()
159 reply.writeNoException(); in onTransact()
160 reply.writeInt(result); in onTransact()
184 reply.writeNoException(); in onTransact()
185 result.writeToParcel(reply, 0); in onTransact()
206 reply.writeNoException(); in onTransact()
207 reply.writeInt(result); in onTransact()
232 reply.writeNoException(); in onTransact()
[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/base/core/java/android/content/
DContentProviderNative.java76 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()
124 reply.writeNoException(); in onTransact()
125 reply.writeInt(0); in onTransact()
136 reply.writeNoException(); in onTransact()
137 reply.writeString(type); in onTransact()
149 reply.writeNoException(); in onTransact()
150 Uri.writeToParcel(reply, out); in onTransact()
[all …]
/frameworks/av/drm/common/
DIDrmManagerService.cpp115 Parcel data, reply; in addUniqueId() local
118 remote()->transact(ADD_UNIQUEID, data, &reply); in addUniqueId()
119 return reply.readInt32(); in addUniqueId()
124 Parcel data, reply; in removeUniqueId() local
127 remote()->transact(REMOVE_UNIQUEID, data, &reply); in removeUniqueId()
131 Parcel data, reply; in addClient() local
134 remote()->transact(ADD_CLIENT, data, &reply); in addClient()
138 Parcel data, reply; in removeClient() local
141 remote()->transact(REMOVE_CLIENT, data, &reply); in removeClient()
147 Parcel data, reply; in setDrmServiceListener() local
[all …]
/frameworks/native/libs/gui/
DISurfaceComposer.cpp56 Parcel data, reply; in createConnection() local
58 remote()->transact(BnSurfaceComposer::CREATE_CONNECTION, data, &reply); in createConnection()
59 return interface_cast<ISurfaceComposerClient>(reply.readStrongBinder()); in createConnection()
65 Parcel data, reply; in createGraphicBufferAlloc() local
67 remote()->transact(BnSurfaceComposer::CREATE_GRAPHIC_BUFFER_ALLOC, data, &reply); in createGraphicBufferAlloc()
68 return interface_cast<IGraphicBufferAlloc>(reply.readStrongBinder()); in createGraphicBufferAlloc()
76 Parcel data, reply; in setTransactionState() local
95 remote()->transact(BnSurfaceComposer::SET_TRANSACTION_STATE, data, &reply); in setTransactionState()
100 Parcel data, reply; in bootFinished() local
102 remote()->transact(BnSurfaceComposer::BOOT_FINISHED, data, &reply); in bootFinished()
[all …]
DISurfaceTexture.cpp55 Parcel data, reply; in requestBuffer() local
58 status_t result =remote()->transact(REQUEST_BUFFER, data, &reply); in requestBuffer()
62 bool nonNull = reply.readInt32(); in requestBuffer()
65 reply.read(**buf); in requestBuffer()
67 result = reply.readInt32(); in requestBuffer()
73 Parcel data, reply; in setBufferCount() local
76 status_t result =remote()->transact(SET_BUFFER_COUNT, data, &reply); in setBufferCount()
80 result = reply.readInt32(); in setBufferCount()
86 Parcel data, reply; in dequeueBuffer() local
92 status_t result = remote()->transact(DEQUEUE_BUFFER, data, &reply); in dequeueBuffer()
[all …]
DISensorEventConnection.cpp49 Parcel data, reply; in getSensorChannel() local
51 remote()->transact(GET_SENSOR_CHANNEL, data, &reply); in getSensorChannel()
52 return new BitTube(reply); in getSensorChannel()
57 Parcel data, reply; in enableDisable() local
61 remote()->transact(ENABLE_DISABLE, data, &reply); in enableDisable()
62 return reply.readInt32(); in enableDisable()
67 Parcel data, reply; in setEventRate() local
71 remote()->transact(SET_EVENT_RATE, data, &reply); in setEventRate()
72 return reply.readInt32(); in setEventRate()
81 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
[all …]
/frameworks/base/core/java/android/os/
DCommonTimeUtils.java50 android.os.Parcel reply = android.os.Parcel.obtain(); in transactGetInt() local
56 mRemote.transact(method_code, data, reply, 0); in transactGetInt()
58 res = reply.readInt(); in transactGetInt()
59 ret_val = (0 == res) ? reply.readInt() : error_ret_val; in transactGetInt()
62 reply.recycle(); in transactGetInt()
71 android.os.Parcel reply = android.os.Parcel.obtain(); in transactSetInt() local
76 mRemote.transact(method_code, data, reply, 0); in transactSetInt()
78 return reply.readInt(); in transactSetInt()
84 reply.recycle(); in transactSetInt()
92 android.os.Parcel reply = android.os.Parcel.obtain(); in transactGetLong() local
[all …]

123456789