Home
last modified time | relevance | path

Searched refs:transact (Results 1 – 25 of 132) 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.cpp41 status_t ret = remote()->transact(OPEN_CONTENT_URI_TRANSACTION, data, & reply); in openContentUri()
71 remote()->transact(REGISTER_UID_OBSERVER_TRANSACTION, data, &reply); in registerUidObserver()
79 remote()->transact(UNREGISTER_UID_OBSERVER_TRANSACTION, data, &reply); in unregisterUidObserver()
88 remote()->transact(IS_UID_ACTIVE_TRANSACTION, data, &reply); in isUidActive()
100 remote()->transact(GET_UID_PROCESS_STATE_TRANSACTION, data, &reply); in getUidProcessState()
DIAppOpsService.cpp45 remote()->transact(CHECK_OPERATION_TRANSACTION, data, &reply); in checkOperation()
57 remote()->transact(NOTE_OPERATION_TRANSACTION, data, &reply); in noteOperation()
72 remote()->transact(START_OPERATION_TRANSACTION, data, &reply); in startOperation()
86 remote()->transact(FINISH_OPERATION_TRANSACTION, data, &reply); in finishOperation()
96 remote()->transact(START_WATCHING_MODE_TRANSACTION, data, &reply); in startWatchingMode()
103 remote()->transact(STOP_WATCHING_MODE_TRANSACTION, data, &reply); in stopWatchingMode()
110 remote()->transact(GET_TOKEN_TRANSACTION, data, &reply); in getToken()
121 remote()->transact(PERMISSION_TO_OP_CODE_TRANSACTION, data, &reply); in permissionToOpCode()
135 remote()->transact(CHECK_AUDIO_OPERATION_TRANSACTION, data, &reply); in checkAudioOperation()
/frameworks/av/camera/
DICamera.cpp75 remote()->transact(DISCONNECT, data, &reply); in disconnect()
88 remote()->transact(SET_PREVIEW_TARGET, data, &reply); in setPreviewTarget()
100 remote()->transact(SET_PREVIEW_CALLBACK_FLAG, data, &reply); in setPreviewCallbackFlag()
111 remote()->transact(SET_PREVIEW_CALLBACK_TARGET, data, &reply); in setPreviewCallbackTarget()
121 remote()->transact(START_PREVIEW, data, &reply); in startPreview()
131 remote()->transact(START_RECORDING, data, &reply); in startRecording()
141 remote()->transact(STOP_PREVIEW, data, &reply); in stopPreview()
150 remote()->transact(STOP_RECORDING, data, &reply); in stopRecording()
160 remote()->transact(RELEASE_RECORDING_FRAME, data, &reply); in releaseRecordingFrame()
169 remote()->transact(RELEASE_RECORDING_FRAME_HANDLE, data, &reply); in releaseRecordingFrameHandle()
[all …]
/frameworks/av/media/libmedia/
DIMediaRecorder.cpp88 remote()->transact(SET_CAMERA, data, &reply); in setCamera()
98 remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface()
107 remote()->transact(QUERY_SURFACE_MEDIASOURCE, data, &reply); in querySurfaceMediaSource()
121 remote()->transact(SET_PREVIEW_SURFACE, data, &reply); in setPreviewSurface()
130 remote()->transact(INIT, data, &reply); in init()
140 remote()->transact(SET_VIDEO_SOURCE, data, &reply); in setVideoSource()
150 remote()->transact(SET_AUDIO_SOURCE, data, &reply); in setAudioSource()
160 remote()->transact(SET_OUTPUT_FORMAT, data, &reply); in setOutputFormat()
170 remote()->transact(SET_VIDEO_ENCODER, data, &reply); in setVideoEncoder()
180 remote()->transact(SET_AUDIO_ENCODER, data, &reply); in setAudioEncoder()
[all …]
DIMediaPlayer.cpp112 remote()->transact(DISCONNECT, data, &reply); in disconnect()
137 remote()->transact(SET_DATA_SOURCE_URL, data, &reply); in setDataSource()
147 remote()->transact(SET_DATA_SOURCE_FD, data, &reply); in setDataSource()
155 remote()->transact(SET_DATA_SOURCE_STREAM, data, &reply); in setDataSource()
163 remote()->transact(SET_DATA_SOURCE_CALLBACK, data, &reply); in setDataSource()
174 remote()->transact(SET_VIDEO_SURFACETEXTURE, data, &reply); in setVideoSurfaceTexture()
184 remote()->transact(SET_BUFFERING_SETTINGS, data, &reply); in setBufferingSettings()
195 remote()->transact(GET_BUFFERING_SETTINGS, data, &reply); in getBufferingSettings()
208 remote()->transact(PREPARE_ASYNC, data, &reply); in prepareAsync()
216 remote()->transact(START, data, &reply); in start()
[all …]
DIDataSource.cpp46 remote()->transact(GET_IMEMORY, data, &reply); in getIMemory()
56 status_t err = remote()->transact(READ_AT, data, &reply); in readAt()
71 remote()->transact(GET_SIZE, data, &reply); in getSize()
80 remote()->transact(CLOSE, data, &reply); in close()
86 remote()->transact(GET_FLAGS, data, &reply); in getFlags()
93 remote()->transact(TO_STRING, data, &reply); in toString()
DIMediaPlayerService.cpp60 remote()->transact(CREATE_METADATA_RETRIEVER, data, &reply); in createMetadataRetriever()
71 remote()->transact(CREATE, data, &reply); in create()
80 remote()->transact(CREATE_MEDIA_RECORDER, data, &reply); in createMediaRecorder()
88 remote()->transact(ADD_BATTERY_DATA, data, &reply); in addBatteryData()
94 return remote()->transact(PULL_BATTERY_DATA, data, reply); in pullBatteryData()
105 remote()->transact(LISTEN_FOR_REMOTE_DISPLAY, data, &reply); in listenForRemoteDisplay()
112 remote()->transact(GET_CODEC_LIST, data, &reply); in getCodecList()
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()
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.cpp73 remote()->transact(FREE_NODE, data, &reply); in freeNode()
84 remote()->transact(SEND_COMMAND, data, &reply); in sendCommand()
97 remote()->transact(GET_PARAMETER, data, &reply); in getParameter()
117 remote()->transact(SET_PARAMETER, data, &reply); in setParameter()
130 remote()->transact(GET_CONFIG, data, &reply); in getConfig()
150 remote()->transact(SET_CONFIG, data, &reply); in setConfig()
161 remote()->transact(SET_PORT_MODE, data, &reply); in setPortMode()
171 remote()->transact(GET_GRAPHIC_BUFFER_USAGE, data, &reply); in getGraphicBufferUsage()
189 remote()->transact(USE_BUFFER, data, &reply); in useBuffer()
210 status_t err = remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface()
[all …]
/frameworks/native/services/powermanager/
DIPowerManager.cpp50 return remote()->transact(ACQUIRE_WAKE_LOCK, data, &reply, in acquireWakeLock()
65 return remote()->transact(ACQUIRE_WAKE_LOCK_UID, data, &reply, in acquireWakeLockWithUid()
75 return remote()->transact(RELEASE_WAKE_LOCK, data, &reply, in releaseWakeLock()
85 return remote()->transact(UPDATE_WAKE_LOCK_UIDS, data, &reply, in updateWakeLockUids()
96 return remote()->transact(POWER_HINT, data, &reply, IBinder::FLAG_ONEWAY); in powerHint()
106 return remote()->transact(GO_TO_SLEEP, data, &reply, 0); in goToSleep()
116 return remote()->transact(REBOOT, data, &reply, 0); in reboot()
126 return remote()->transact(SHUTDOWN, data, &reply, 0); in shutdown()
134 return remote()->transact(CRASH, data, &reply, 0); in crash()
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp121 status_t lStatus = remote()->transact(CREATE_TRACK, data, &reply); in createTrack()
156 status_t lStatus = remote()->transact(CREATE_RECORD, data, &reply); in createRecord()
183 remote()->transact(SAMPLE_RATE, data, &reply); in sampleRate()
194 remote()->transact(FORMAT, data, &reply); in format()
203 remote()->transact(FRAME_COUNT, data, &reply); in frameCount()
212 remote()->transact(LATENCY, data, &reply); in latency()
221 remote()->transact(SET_MASTER_VOLUME, data, &reply); in setMasterVolume()
230 remote()->transact(SET_MASTER_MUTE, data, &reply); in setMasterMute()
238 remote()->transact(MASTER_VOLUME, data, &reply); in masterVolume()
246 remote()->transact(MASTER_MUTE, data, &reply); in masterMute()
[all …]
DIAudioTrack.cpp62 status_t status = remote()->transact(GET_CBLK, data, &reply); in getCblk()
76 status_t status = remote()->transact(START, data, &reply); in start()
89 remote()->transact(STOP, data, &reply); in stop()
96 remote()->transact(FLUSH, data, &reply); in flush()
103 remote()->transact(PAUSE, data, &reply); in pause()
111 status_t status = remote()->transact(ATTACH_AUX_EFFECT, data, &reply); in attachAuxEffect()
124 status_t status = remote()->transact(SET_PARAMETERS, data, &reply); in setParameters()
137 status_t status = remote()->transact(SELECT_PRESENTATION, data, &reply); in selectPresentation()
147 status_t status = remote()->transact(GET_TIMESTAMP, data, &reply); in getTimestamp()
162 remote()->transact(SIGNAL, data, &reply); in signal()
[all …]
DIAudioPolicyService.cpp138 remote()->transact(SET_DEVICE_CONNECTION_STATE, data, &reply); in setDeviceConnectionState()
150 remote()->transact(GET_DEVICE_CONNECTION_STATE, data, &reply); in getDeviceConnectionState()
165 remote()->transact(HANDLE_DEVICE_CONFIG_CHANGE, data, &reply); in handleDeviceConfigChange()
174 remote()->transact(SET_PHONE_STATE, data, &reply); in setPhoneState()
184 remote()->transact(SET_FORCE_USE, data, &reply); in setForceUse()
193 remote()->transact(GET_FORCE_USE, data, &reply); in getForceUse()
202 remote()->transact(GET_OUTPUT, data, &reply); in getOutput()
254 status_t status = remote()->transact(GET_OUTPUT_FOR_ATTR, data, &reply); in getOutputForAttr()
283 remote()->transact(START_OUTPUT, data, &reply); in startOutput()
292 remote()->transact(STOP_OUTPUT, data, &reply); in stopOutput()
[all …]
/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/services/audiomanager/
DIAudioManager.cpp58 const status_t res = remote()->transact(TRACK_PLAYER, data, &reply, 0); in trackPlayer()
84 return remote()->transact(PLAYER_ATTRIBUTES, data, &reply, IBinder::FLAG_ONEWAY); in playerAttributes()
92 return remote()->transact(PLAYER_EVENT, data, &reply, IBinder::FLAG_ONEWAY); in playerEvent()
99 return remote()->transact(RELEASE_PLAYER, data, &reply, IBinder::FLAG_ONEWAY); in releasePlayer()
107 const status_t res = remote()->transact(TRACK_RECORDER, data, &reply, 0); in trackRecorder()
123 return remote()->transact(RECORDER_EVENT, data, &reply, IBinder::FLAG_ONEWAY); in recorderEvent()
130 return remote()->transact(RELEASE_RECORDER, data, &reply, IBinder::FLAG_ONEWAY); in releaseRecorder()
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp168 ret = m_server->transact(BINDER_LIB_TEST_GET_STATUS_TRANSACTION, data, &reply); in TearDown()
170 … ret = m_server->transact(BINDER_LIB_TEST_EXIT_TRANSACTION, data, &reply, TF_ONE_WAY); in TearDown()
202 ret = m_server->transact(code, data, &reply); in addServerEtc()
368 ret = server->transact(BINDER_LIB_TEST_INDIRECT_TRANSACTION, in onTransact()
395 ret = m_server->transact(BINDER_LIB_TEST_NOP_TRANSACTION, data, &reply); in TEST_F()
405 ret = m_server->transact(BINDER_LIB_TEST_SET_ERROR_TRANSACTION, data, &reply); in TEST_F()
414 ret = m_server->transact(BINDER_LIB_TEST_GET_ID_TRANSACTION, data, &reply); in TEST_F()
427 ret = server->transact(BINDER_LIB_TEST_GET_PTR_SIZE_TRANSACTION, data, &reply); in TEST_F()
455 ret = m_server->transact(BINDER_LIB_TEST_INDIRECT_TRANSACTION, data, &reply); in TEST_F()
505 ret = m_server->transact(BINDER_LIB_TEST_INDIRECT_TRANSACTION, data, &reply); in TEST_F()
[all …]
/frameworks/av/drm/libmediadrm/
DIDrm.cpp78 status_t status = remote()->transact(INIT_CHECK, data, &reply); in initCheck()
94 status_t status = remote()->transact(IS_CRYPTO_SUPPORTED, data, &reply); in isCryptoSchemeSupported()
110 status_t status = remote()->transact(CREATE_PLUGIN, data, &reply); in createPlugin()
122 status_t status = remote()->transact(DESTROY_PLUGIN, data, &reply); in destroyPlugin()
136 status_t status = remote()->transact(OPEN_SESSION, data, &reply); in openSession()
150 status_t status = remote()->transact(CLOSE_SESSION, data, &reply); in closeSession()
179 status_t status = remote()->transact(GET_KEY_REQUEST, data, &reply); in getKeyRequest()
199 status_t status = remote()->transact(PROVIDE_KEY_RESPONSE, data, &reply); in provideKeyResponse()
214 status_t status = remote()->transact(REMOVE_KEYS, data, &reply); in removeKeys()
229 status_t status = remote()->transact(RESTORE_KEYS, data, &reply); in restoreKeys()
[all …]
/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()
101 remote()->transact(BnSurfaceComposer::SET_TRANSACTION_STATE, data, &reply); in setTransactionState()
108 remote()->transact(BnSurfaceComposer::BOOT_FINISHED, data, &reply); in bootFinished()
127 status_t result = remote()->transact(BnSurfaceComposer::CAPTURE_SCREEN, data, &reply); in captureScreen()
150 status_t result = remote()->transact(BnSurfaceComposer::CAPTURE_SCREEN_BY_ID, data, &reply); in captureScreen()
185 status_t result = remote()->transact(BnSurfaceComposer::CAPTURE_LAYERS, data, &reply); in captureLayers()
220 err = remote()->transact(BnSurfaceComposer::AUTHENTICATE_SURFACE, data, in authenticateSurfaceTexture()
252 err = remote()->transact( in getSupportedFrameTimestamps()
292 err = remote()->transact( in createDisplayEventConnection()
310 remote()->transact(BnSurfaceComposer::CREATE_DISPLAY, data, &reply); in createDisplay()
[all …]
/frameworks/av/media/libaaudio/src/binding/
DIAAudioService.cpp53 remote()->transact(REGISTER_CLIENT, data, &reply); in registerClient()
63 status_t err = remote()->transact(OPEN_STREAM, data, &reply); in openStream()
91 status_t err = remote()->transact(CLOSE_STREAM, data, &reply); in closeStream()
108 status_t err = remote()->transact(GET_STREAM_DESCRIPTION, data, &reply); in getStreamDescription()
137 status_t err = remote()->transact(START_STREAM, data, &reply); in startStream()
152 status_t err = remote()->transact(PAUSE_STREAM, data, &reply); in pauseStream()
167 status_t err = remote()->transact(STOP_STREAM, data, &reply); in stopStream()
182 status_t err = remote()->transact(FLUSH_STREAM, data, &reply); in flushStream()
202 status_t err = remote()->transact(REGISTER_AUDIO_THREAD, data, &reply); in registerAudioThread()
220 status_t err = remote()->transact(UNREGISTER_AUDIO_THREAD, data, &reply); in unregisterAudioThread()
/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()

123456