Home
last modified time | relevance | path

Searched refs:transact (Results 1 – 25 of 128) sorted by relevance

123456

/frameworks/base/libs/storage/
DIMountService.cpp68 if (remote()->transact(TRANSACTION_registerListener, data, &reply) != NO_ERROR) { in registerListener()
84 if (remote()->transact(TRANSACTION_unregisterListener, data, &reply) != NO_ERROR) { in unregisterListener()
99 if (remote()->transact(TRANSACTION_isUsbMassStorageConnected, data, &reply) != NO_ERROR) { in isUsbMassStorageConnected()
116 if (remote()->transact(TRANSACTION_setUsbMassStorageEnabled, data, &reply) != NO_ERROR) { in setUsbMassStorageEnabled()
131 if (remote()->transact(TRANSACTION_isUsbMassStorageEnabled, data, &reply) != NO_ERROR) { in isUsbMassStorageEnabled()
148 if (remote()->transact(TRANSACTION_mountVolume, data, &reply) != NO_ERROR) { in mountVolume()
167 if (remote()->transact(TRANSACTION_unmountVolume, data, &reply) != NO_ERROR) { in unmountVolume()
184 if (remote()->transact(TRANSACTION_formatVolume, data, &reply) != NO_ERROR) { in formatVolume()
201 if (remote()->transact(TRANSACTION_getStorageUsers, data, &reply) != NO_ERROR) { in getStorageUsers()
230 if (remote()->transact(TRANSACTION_getVolumeState, data, &reply) != NO_ERROR) { in getVolumeState()
[all …]
/frameworks/native/libs/binder/
DIBatteryStats.cpp40 remote()->transact(NOTE_START_SENSOR_TRANSACTION, data, &reply); in noteStartSensor()
48 remote()->transact(NOTE_STOP_SENSOR_TRANSACTION, data, &reply); in noteStopSensor()
55 remote()->transact(NOTE_START_VIDEO_TRANSACTION, data, &reply); in noteStartVideo()
62 remote()->transact(NOTE_STOP_VIDEO_TRANSACTION, data, &reply); in noteStopVideo()
69 remote()->transact(NOTE_START_AUDIO_TRANSACTION, data, &reply); in noteStartAudio()
76 remote()->transact(NOTE_STOP_AUDIO_TRANSACTION, data, &reply); in noteStopAudio()
82 remote()->transact(NOTE_RESET_VIDEO_TRANSACTION, data, &reply); in noteResetVideo()
88 remote()->transact(NOTE_RESET_AUDIO_TRANSACTION, data, &reply); in noteResetAudio()
95 remote()->transact(NOTE_FLASHLIGHT_ON_TRANSACTION, data, &reply); in noteFlashlightOn()
102 remote()->transact(NOTE_FLASHLIGHT_OFF_TRANSACTION, data, &reply); in noteFlashlightOff()
[all …]
DIActivityManager.cpp43 status_t ret = remote()->transact(OPEN_CONTENT_URI_TRANSACTION, data, & reply); in openContentUri()
73 status_t err = remote()->transact(REGISTER_UID_OBSERVER_TRANSACTION, data, &reply); in registerUidObserver()
85 status_t err = remote()->transact(UNREGISTER_UID_OBSERVER_TRANSACTION, data, &reply); in unregisterUidObserver()
98 remote()->transact(IS_UID_ACTIVE_TRANSACTION, data, &reply); in isUidActive()
110 remote()->transact(GET_UID_PROCESS_STATE_TRANSACTION, data, &reply); in getUidProcessState()
127 status_t err = remote()->transact(CHECK_PERMISSION_TRANSACTION, data, &reply); in checkPermission()
DIUidObserver.cpp39 remote()->transact(ON_UID_GONE_TRANSACTION, data, &reply, IBinder::FLAG_ONEWAY); in onUidGone()
47 remote()->transact(ON_UID_ACTIVE_TRANSACTION, data, &reply, IBinder::FLAG_ONEWAY); in onUidActive()
56 remote()->transact(ON_UID_IDLE_TRANSACTION, data, &reply, IBinder::FLAG_ONEWAY); in onUidIdle()
68 remote()->transact(ON_UID_STATE_CHANGED_TRANSACTION, data, &reply, IBinder::FLAG_ONEWAY); in onUidStateChanged()
/frameworks/av/camera/
DICamera.cpp77 remote()->transact(DISCONNECT, data, &reply); in disconnect()
90 remote()->transact(SET_PREVIEW_TARGET, data, &reply); in setPreviewTarget()
102 remote()->transact(SET_PREVIEW_CALLBACK_FLAG, data, &reply); in setPreviewCallbackFlag()
113 remote()->transact(SET_PREVIEW_CALLBACK_TARGET, data, &reply); in setPreviewCallbackTarget()
123 remote()->transact(START_PREVIEW, data, &reply); in startPreview()
133 remote()->transact(START_RECORDING, data, &reply); in startRecording()
143 remote()->transact(STOP_PREVIEW, data, &reply); in stopPreview()
152 remote()->transact(STOP_RECORDING, data, &reply); in stopRecording()
162 remote()->transact(RELEASE_RECORDING_FRAME, data, &reply); in releaseRecordingFrame()
171 remote()->transact(RELEASE_RECORDING_FRAME_HANDLE, data, &reply); in releaseRecordingFrameHandle()
[all …]
/frameworks/av/media/libmedia/
DIMediaRecorder.cpp91 remote()->transact(SET_CAMERA, data, &reply); in setCamera()
101 remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface()
110 remote()->transact(QUERY_SURFACE_MEDIASOURCE, data, &reply); in querySurfaceMediaSource()
124 remote()->transact(SET_PREVIEW_SURFACE, data, &reply); in setPreviewSurface()
133 remote()->transact(INIT, data, &reply); in init()
143 remote()->transact(SET_VIDEO_SOURCE, data, &reply); in setVideoSource()
153 remote()->transact(SET_AUDIO_SOURCE, data, &reply); in setAudioSource()
163 status_t status = remote()->transact(SET_PRIVACY_SENSITIVE, data, &reply); in setPrivacySensitive()
175 status_t status = remote()->transact(GET_PRIVACY_SENSITIVE, data, &reply); in isPrivacySensitive()
193 remote()->transact(SET_OUTPUT_FORMAT, data, &reply); in setOutputFormat()
[all …]
DIMediaPlayer.cpp89 remote()->transact(DISCONNECT, data, &reply); in disconnect()
114 remote()->transact(SET_DATA_SOURCE_URL, data, &reply); in setDataSource()
124 remote()->transact(SET_DATA_SOURCE_FD, data, &reply); in setDataSource()
132 remote()->transact(SET_DATA_SOURCE_STREAM, data, &reply); in setDataSource()
140 remote()->transact(SET_DATA_SOURCE_CALLBACK, data, &reply); in setDataSource()
148 remote()->transact(SET_DATA_SOURCE_RTP, data, &reply); in setDataSource()
160 remote()->transact(SET_VIDEO_SURFACETEXTURE, data, &reply); in setVideoSurfaceTexture()
170 remote()->transact(SET_BUFFERING_SETTINGS, data, &reply); in setBufferingSettings()
181 remote()->transact(GET_BUFFERING_SETTINGS, data, &reply); in getBufferingSettings()
194 remote()->transact(PREPARE_ASYNC, data, &reply); in prepareAsync()
[all …]
DIDataSource.cpp45 remote()->transact(GET_IMEMORY, data, &reply); in getIMemory()
55 status_t err = remote()->transact(READ_AT, data, &reply); in readAt()
70 remote()->transact(GET_SIZE, data, &reply); in getSize()
79 remote()->transact(CLOSE, data, &reply); in close()
85 remote()->transact(GET_FLAGS, data, &reply); in getFlags()
92 remote()->transact(TO_STRING, data, &reply); in toString()
DIMediaHTTPConnection.cpp68 remote()->transact(CONNECT, data, &reply); in connect()
87 remote()->transact(DISCONNECT, data, &reply); in disconnect()
98 status_t err = remote()->transact(READ_AT, data, &reply); in readAt()
146 remote()->transact(GET_SIZE, data, &reply); in getSize()
164 remote()->transact(GET_MIME_TYPE, data, &reply); in getMIMEType()
184 remote()->transact(GET_URI, data, &reply); in getUri()
DIMediaPlayerService.cpp62 remote()->transact(CREATE_METADATA_RETRIEVER, data, &reply); in createMetadataRetriever()
75 remote()->transact(CREATE, data, &reply); in create()
84 remote()->transact(CREATE_MEDIA_RECORDER, data, &reply); in createMediaRecorder()
92 remote()->transact(ADD_BATTERY_DATA, data, &reply); in addBatteryData()
98 return remote()->transact(PULL_BATTERY_DATA, data, reply); in pullBatteryData()
109 remote()->transact(LISTEN_FOR_REMOTE_DISPLAY, data, &reply); in listenForRemoteDisplay()
116 remote()->transact(GET_CODEC_LIST, data, &reply); in getCodecList()
DIStreamSource.cpp51 remote()->transact(SET_LISTENER, data, &reply); in setListener()
61 remote()->transact(SET_BUFFERS, data, &reply); in setBuffers()
68 remote()->transact( in onBufferAvailable()
75 remote()->transact(FLAGS, data, &reply); in flags()
147 remote()->transact(QUEUE_BUFFER, data, &reply, IBinder::FLAG_ONEWAY); in queueBuffer()
164 remote()->transact(ISSUE_COMMAND, data, &reply, IBinder::FLAG_ONEWAY); in issueCommand()
DIOMX.cpp72 remote()->transact(FREE_NODE, data, &reply); in freeNode()
83 remote()->transact(SEND_COMMAND, data, &reply); in sendCommand()
96 remote()->transact(GET_PARAMETER, data, &reply); in getParameter()
116 remote()->transact(SET_PARAMETER, data, &reply); in setParameter()
129 remote()->transact(GET_CONFIG, data, &reply); in getConfig()
149 remote()->transact(SET_CONFIG, data, &reply); in setConfig()
160 remote()->transact(SET_PORT_MODE, data, &reply); in setPortMode()
170 remote()->transact(GET_GRAPHIC_BUFFER_USAGE, data, &reply); in getGraphicBufferUsage()
188 remote()->transact(USE_BUFFER, data, &reply); in useBuffer()
209 status_t err = remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface()
[all …]
DIMediaExtractor.cpp57 status_t ret = remote()->transact(COUNTTRACKS, data, &reply); in countTracks()
69 status_t ret = remote()->transact(GETTRACK, data, &reply); in getTrack()
83 status_t ret = remote()->transact(GETTRACKMETADATA, data, &reply); in getTrackMetaData()
94 status_t ret = remote()->transact(GETMETADATA, data, &reply); in getMetaData()
104 status_t ret = remote()->transact(GETMETRICS, data, reply); in getMetrics()
115 status_t ret = remote()->transact(FLAGS, data, &reply); in flags()
130 status_t err = remote()->transact(SETMEDIACAS, data, &reply); in setMediaCas()
140 status_t ret = remote()->transact(NAME, data, &reply); in name()
152 return remote()->transact(SETENTRYPOINT, data, &reply); in setEntryPoint()
159 return remote()->transact(SETLOGSESSIONID, data, &reply); in setLogSessionId()
DIMediaCodecList.cpp50 remote()->transact(COUNT_CODECS, data, &reply); in countCodecs()
59 remote()->transact(GET_CODEC_INFO, data, &reply); in getCodecInfo()
72 remote()->transact(GET_GLOBAL_SETTINGS, data, &reply); in getGlobalSettings()
93 remote()->transact(FIND_CODEC_BY_TYPE, data, &reply); in findCodecByType()
102 remote()->transact(FIND_CODEC_BY_NAME, data, &reply); in findCodecByName()
DIRemoteDisplay.cpp41 remote()->transact(PAUSE, data, &reply); in pause()
48 remote()->transact(RESUME, data, &reply); in resume()
56 remote()->transact(DISPOSE, data, &reply); in dispose()
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp186 ret = m_server->transact(BINDER_LIB_TEST_GET_STATUS_TRANSACTION, data, &reply); in TearDown()
188 … ret = m_server->transact(BINDER_LIB_TEST_EXIT_TRANSACTION, data, &reply, TF_ONE_WAY); in TearDown()
219 EXPECT_THAT(m_server->transact(code, data, &reply), StatusEq(NO_ERROR)); in addServerEtc()
383 ret = server->transact(BINDER_LIB_TEST_INDIRECT_TRANSACTION, in onTransact()
409 EXPECT_THAT(m_server->transact(BINDER_LIB_TEST_NOP_TRANSACTION, data, &reply), in TEST_F()
415 EXPECT_THAT(m_server->transact(BINDER_LIB_TEST_NOP_TRANSACTION, data, &reply, TF_ONE_WAY), in TEST_F()
422 EXPECT_THAT(m_server->transact(BINDER_LIB_TEST_NOP_TRANSACTION, data, &reply, TF_CLEAR_BUF), in TEST_F()
445 EXPECT_THAT(m_server->transact(BINDER_LIB_TEST_GETPID, data, &replypid), StatusEq(NO_ERROR)); in TEST_F()
448 …EXPECT_EQ(NO_ERROR, m_server->transact(BINDER_LIB_TEST_NOP_TRANSACTION_WAIT, data, &reply, TF_ONE_… in TEST_F()
453 … EXPECT_EQ(FAILED_TRANSACTION, m_server->transact(BINDER_LIB_TEST_NOP_TRANSACTION, data, &reply)); in TEST_F()
[all …]
/frameworks/native/services/audiomanager/
DIAudioManager.cpp60 const status_t res = remote()->transact(TRACK_PLAYER, data, &reply, 0); in trackPlayer()
86 return remote()->transact(PLAYER_ATTRIBUTES, data, &reply, IBinder::FLAG_ONEWAY); in playerAttributes()
96 return remote()->transact(PLAYER_EVENT, data, &reply, IBinder::FLAG_ONEWAY); in playerEvent()
103 return remote()->transact(RELEASE_PLAYER, data, &reply, IBinder::FLAG_ONEWAY); in releasePlayer()
111 const status_t res = remote()->transact(TRACK_RECORDER, data, &reply, 0); in trackRecorder()
127 return remote()->transact(RECORDER_EVENT, data, &reply, IBinder::FLAG_ONEWAY); in recorderEvent()
134 return remote()->transact(RELEASE_RECORDER, data, &reply, IBinder::FLAG_ONEWAY); in releaseRecorder()
142 return remote()->transact(PLAYER_SESSION_ID, data, &reply, IBinder::FLAG_ONEWAY); in playerSessionId()
/frameworks/native/libs/vr/libvr_manager/
Dvr_manager.cpp38 remote()->transact(ON_VR_STATE_CHANGED, data, &reply, IBinder::FLAG_ONEWAY); in onVrStateChanged()
70 remote()->transact(ON_PERSISTENT_VR_STATE_CHANGED, in onPersistentVrStateChanged()
101 remote()->transact(REGISTER_LISTENER, data, NULL); in registerListener()
108 remote()->transact(UNREGISTER_LISTENER, data, NULL); in unregisterListener()
116 remote()->transact(REGISTER_PERSISTENT_VR_STATE_LISTENER, data, NULL); in registerPersistentVrStateListener()
124 remote()->transact(UNREGISTER_PERSISTENT_VR_STATE_LISTENER, data, NULL); in unregisterPersistentVrStateListener()
130 remote()->transact(GET_VR_MODE_STATE, data, &reply); in getVrModeState()
/frameworks/native/libs/sensor/
DISensorEventConnection.cpp57 remote()->transact(GET_SENSOR_CHANNEL, data, &reply); in getSensorChannel()
71 remote()->transact(ENABLE_DISABLE, data, &reply); in enableDisable()
81 remote()->transact(SET_EVENT_RATE, data, &reply); in setEventRate()
88 remote()->transact(FLUSH_SENSOR, data, &reply); in flush()
97 remote()->transact(CONFIGURE_CHANNEL, data, &reply); in configureChannel()
109 remote()->transact(DESTROY, data, &reply); in destroy()
/frameworks/native/libs/gui/
DISurfaceComposer.cpp63 remote()->transact(BnSurfaceComposer::CREATE_CONNECTION, data, &reply); in createConnection()
107 return remote()->transact(BnSurfaceComposer::SET_TRANSACTION_STATE, data, &reply); in setTransactionState()
113 remote()->transact(BnSurfaceComposer::BOOT_FINISHED, data, &reply); in bootFinished()
123 return remote()->transact(BnSurfaceComposer::CAPTURE_DISPLAY, data, &reply); in captureDisplay()
133 return remote()->transact(BnSurfaceComposer::CAPTURE_DISPLAY_BY_ID, data, &reply); in captureDisplay()
143 return remote()->transact(BnSurfaceComposer::CAPTURE_LAYERS, data, &reply); in captureLayers()
163 err = remote()->transact(BnSurfaceComposer::AUTHENTICATE_SURFACE, data, in authenticateSurfaceTexture()
194 err = remote()->transact( in getSupportedFrameTimestamps()
234 err = remote()->transact( in createDisplayEventConnection()
258 status = remote()->transact(BnSurfaceComposer::CREATE_DISPLAY, data, &reply); in createDisplay()
[all …]
DIGraphicBufferProducer.cpp101 status_t result = remote()->transact(REQUEST_BUFFER, data, &reply); in requestBuffer()
124 status_t result = remote()->transact(REQUEST_BUFFERS, data, &reply); in requestBuffers()
144 status_t result = remote()->transact(SET_MAX_DEQUEUED_BUFFER_COUNT, in setMaxDequeuedBufferCount()
158 status_t result = remote()->transact(SET_ASYNC_MODE, in setAsyncMode()
180 status_t result = remote()->transact(DEQUEUE_BUFFER, data, &reply); in dequeueBuffer()
224 status_t result = remote()->transact(DEQUEUE_BUFFERS, data, &reply); in dequeueBuffers()
242 status_t result = remote()->transact(DETACH_BUFFER, data, &reply); in detachBuffer()
255 status_t result = remote()->transact(DETACH_BUFFERS, data, &reply); in detachBuffers()
274 status_t result = remote()->transact(DETACH_NEXT_BUFFER, data, &reply); in detachNextBuffer()
307 status_t result = remote()->transact(ATTACH_BUFFER, data, &reply); in attachBuffer()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DSystemPropPokerTest.java55 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in setUp()
62 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in testPoke()
70 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in testPokeBlocking()
74 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in testPokeBlocking()
/frameworks/base/core/java/android/database/
DBulkCursorNative.java165 mRemote.transact(GET_CURSOR_WINDOW_TRANSACTION, data, reply, 0); in getWindow()
186 mRemote.transact(ON_MOVE_TRANSACTION, data, reply, 0); in onMove()
201 mRemote.transact(DEACTIVATE_TRANSACTION, data, reply, 0); in deactivate()
216 mRemote.transact(CLOSE_TRANSACTION, data, reply, 0); in close()
231 boolean result = mRemote.transact(REQUERY_TRANSACTION, data, reply, 0); in requery()
255 mRemote.transact(GET_EXTRAS_TRANSACTION, data, reply, 0); in getExtras()
274 mRemote.transact(RESPOND_TRANSACTION, data, reply, 0); in respond()
/frameworks/native/libs/permission/
DIAppOpsService.cpp45 remote()->transact(CHECK_OPERATION_TRANSACTION, data, &reply); in checkOperation()
63 remote()->transact(NOTE_OPERATION_TRANSACTION, data, &reply); in noteOperation()
87 remote()->transact(START_OPERATION_TRANSACTION, data, &reply); in startOperation()
105 remote()->transact(FINISH_OPERATION_TRANSACTION, data, &reply); in finishOperation()
115 remote()->transact(START_WATCHING_MODE_TRANSACTION, data, &reply); in startWatchingMode()
122 remote()->transact(STOP_WATCHING_MODE_TRANSACTION, data, &reply); in stopWatchingMode()
129 remote()->transact(PERMISSION_TO_OP_CODE_TRANSACTION, data, &reply); in permissionToOpCode()
143 remote()->transact(CHECK_AUDIO_OPERATION_TRANSACTION, data, &reply); in checkAudioOperation()
155 remote()->transact(SET_CAMERA_AUDIO_RESTRICTION_TRANSACTION, data, &reply); in setCameraAudioRestriction()
162 remote()->transact(SHOULD_COLLECT_NOTES_TRANSACTION, data, &reply); in shouldCollectNotes()
/frameworks/native/libs/binder/rust/tests/
Dserialization.cpp102 ASSERT_EQ(m_server->transact(TEST_BOOL, data, &reply), OK); in TEST_F()
131 ASSERT_EQ(m_server->transact(TEST_BYTE, data, &reply), OK); in TEST_F()
162 ASSERT_EQ(m_server->transact(TEST_U16, data, &reply), OK); in TEST_F()
190 ASSERT_EQ(m_server->transact(TEST_I32, data, &reply), OK); in TEST_F()
218 ASSERT_EQ(m_server->transact(TEST_I64, data, &reply), OK); in TEST_F()
246 ASSERT_EQ(m_server->transact(TEST_U64, data, &reply), OK); in TEST_F()
272 ASSERT_EQ(m_server->transact(TEST_F32, data, &reply), OK); in TEST_F()
299 ASSERT_EQ(m_server->transact(TEST_F64, data, &reply), OK); in TEST_F()
334 ASSERT_EQ(m_server->transact(TEST_STRING, data, &reply), OK); in TEST_F()
366 ASSERT_EQ(m_server->transact(TEST_FILE_DESCRIPTOR, data, &reply), OK); in TEST_F()
[all …]

123456