Home
last modified time | relevance | path

Searched refs:remote (Results 1 – 25 of 177) sorted by relevance

12345678

/frameworks/base/core/java/android/os/
DCancellationSignal.java68 final ICancellationSignal remote; in cancel() local
76 remote = mRemote; in cancel()
83 if (remote != null) { in cancel()
85 remote.cancel(); in cancel()
141 public void setRemote(ICancellationSignal remote) { in setRemote() argument
145 if (mRemote == remote) { in setRemote()
148 mRemote = remote; in setRemote()
149 if (!mIsCanceled || remote == null) { in setRemote()
154 remote.cancel(); in setRemote()
/frameworks/base/core/java/android/net/
DConnectionInfo.java35 public final InetSocketAddress remote; field in ConnectionInfo
42 public ConnectionInfo(int protocol, InetSocketAddress local, InetSocketAddress remote) { in ConnectionInfo() argument
45 this.remote = remote; in ConnectionInfo()
53 out.writeByteArray(remote.getAddress().getAddress()); in writeToParcel()
54 out.writeInt(remote.getPort()); in writeToParcel()
75 InetSocketAddress remote = new InetSocketAddress(remoteAddress, remotePort);
76 return new ConnectionInfo(protocol, local, remote);
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/
DRemoteBridgeImpl.java17 package com.android.layoutlib.bridge.remote.server;
23 import com.android.layout.remote.api.RemoteBridge;
24 import com.android.layout.remote.api.RemoteDrawableParams;
25 import com.android.layout.remote.api.RemoteLayoutLog;
26 import com.android.layout.remote.api.RemoteRenderParams;
27 import com.android.layout.remote.api.RemoteRenderSession;
28 import com.android.layout.remote.api.RemoteSessionParams;
30 import com.android.layoutlib.bridge.remote.server.adapters.RemoteAssetRepositoryAdapter;
31 import com.android.layoutlib.bridge.remote.server.adapters.RemoteILayoutPullParserAdapter;
32 import com.android.layoutlib.bridge.remote.server.adapters.RemoteLayoutLogAdapter;
[all …]
/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/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteSessionParamsAdapter.java17 package com.android.layoutlib.bridge.remote.client.adapters;
25 import com.android.layout.remote.api.RemoteAssetRepository;
26 import com.android.layout.remote.api.RemoteHardwareConfig;
27 import com.android.layout.remote.api.RemoteILayoutPullParser;
28 import com.android.layout.remote.api.RemoteLayoutLog;
29 import com.android.layout.remote.api.RemoteLayoutlibCallback;
30 import com.android.layout.remote.api.RemoteRenderResources;
31 import com.android.layout.remote.api.RemoteSessionParams;
DRemoteAssetRepositoryAdapter.java17 package com.android.layoutlib.bridge.remote.client.adapters;
20 import com.android.layout.remote.api.RemoteAssetRepository;
21 import com.android.layout.remote.util.RemoteInputStream;
22 import com.android.layout.remote.util.RemoteInputStreamAdapter;
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel_factory.cpp87 sockaddr_un remote; in Connect() local
88 remote.sun_family = AF_UNIX; in Connect()
89 strncpy(remote.sun_path, endpoint_path_.c_str(), sizeof(remote.sun_path)); in Connect()
90 remote.sun_path[sizeof(remote.sun_path) - 1] = '\0'; in Connect()
91 ALOGD("ClientChannelFactory: Waiting for endpoint at %s", remote.sun_path); in Connect()
96 ALOGD("ClientChannelFactory: Connecting to %s", remote.sun_path); in Connect()
98 socket_.Get(), reinterpret_cast<sockaddr*>(&remote), sizeof(remote))); in Connect()
125 remote.sun_path); in Connect()
/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()
/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.cpp90 remote()->transact(SET_CAMERA, data, &reply); in setCamera()
100 remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface()
109 remote()->transact(QUERY_SURFACE_MEDIASOURCE, data, &reply); in querySurfaceMediaSource()
123 remote()->transact(SET_PREVIEW_SURFACE, data, &reply); in setPreviewSurface()
132 remote()->transact(INIT, data, &reply); in init()
142 remote()->transact(SET_VIDEO_SOURCE, data, &reply); in setVideoSource()
152 remote()->transact(SET_AUDIO_SOURCE, data, &reply); in setAudioSource()
162 status_t status = remote()->transact(SET_PRIVACY_SENSITIVE, data, &reply); in setPrivacySensitive()
174 status_t status = remote()->transact(GET_PRIVACY_SENSITIVE, data, &reply); in isPrivacySensitive()
192 remote()->transact(SET_OUTPUT_FORMAT, data, &reply); in setOutputFormat()
[all …]
DIMediaPlayer.cpp109 remote()->transact(DISCONNECT, data, &reply); in disconnect()
134 remote()->transact(SET_DATA_SOURCE_URL, data, &reply); in setDataSource()
144 remote()->transact(SET_DATA_SOURCE_FD, data, &reply); in setDataSource()
152 remote()->transact(SET_DATA_SOURCE_STREAM, data, &reply); in setDataSource()
160 remote()->transact(SET_DATA_SOURCE_CALLBACK, data, &reply); in setDataSource()
171 remote()->transact(SET_VIDEO_SURFACETEXTURE, data, &reply); in setVideoSurfaceTexture()
181 remote()->transact(SET_BUFFERING_SETTINGS, data, &reply); in setBufferingSettings()
192 remote()->transact(GET_BUFFERING_SETTINGS, data, &reply); in getBufferingSettings()
205 remote()->transact(PREPARE_ASYNC, data, &reply); in prepareAsync()
213 remote()->transact(START, data, &reply); in start()
[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()
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()
/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/base/startop/iorap/src/com/google/android/startop/iorap/
DIorapForwardingService.java282 (IIorap remote) -> remote.setTaskListener(new RemoteTaskListener()) );
328 (IIorap remote) ->
329 remote.onDexOptEvent(RequestId.nextValueForSequence(),
354 (IIorap remote) ->
355 remote.onAppLaunchEvent(RequestId.nextValueForSequence(),
367 (IIorap remote) ->
368 remote.onAppLaunchEvent(RequestId.nextValueForSequence(),
382 (IIorap remote) ->
383 remote.onAppLaunchEvent(RequestId.nextValueForSequence(),
396 (IIorap remote) ->
[all …]
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
DRemoteAssetRepositoryAdapter.java17 package com.android.layoutlib.bridge.remote.server.adapters;
20 import com.android.layout.remote.api.RemoteAssetRepository;
21 import com.android.layout.remote.util.StreamUtil;
31 public RemoteAssetRepositoryAdapter(@NotNull RemoteAssetRepository remote) { in RemoteAssetRepositoryAdapter() argument
32 mDelgate = remote; in RemoteAssetRepositoryAdapter()
DRemoteActionBarCallbackAdapter.java17 package com.android.layoutlib.bridge.remote.server.adapters;
21 import com.android.layout.remote.api.RemoteActionBarCallback;
30 public RemoteActionBarCallbackAdapter(@NotNull RemoteActionBarCallback remote) { in RemoteActionBarCallbackAdapter() argument
31 mDelegate = remote; in RemoteActionBarCallbackAdapter()
DRemoteRenderSessionAdapter.java17 package com.android.layoutlib.bridge.remote.server.adapters;
21 import com.android.layout.remote.api.RemoteRenderSession;
22 import com.android.layout.remote.util.SerializableImage;
23 import com.android.layout.remote.util.SerializableImageImpl;
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/
DRemoteBridgeClient.java17 package com.android.layoutlib.bridge.remote.client;
25 import com.android.layout.remote.api.RemoteBridge;
26 import com.android.layout.remote.api.RemoteDrawableParams;
27 import com.android.layout.remote.api.RemoteSessionParams;
28 import com.android.layoutlib.bridge.remote.client.adapters.RemoteDrawableParamsAdapter;
29 import com.android.layoutlib.bridge.remote.client.adapters.RemoteLayoutLogAdapter;
30 import com.android.layoutlib.bridge.remote.client.adapters.RemoteRenderSessionAdapter;
31 import com.android.layoutlib.bridge.remote.client.adapters.RemoteSessionParamsAdapter;
/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/av/media/libaudioclient/
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 …]
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 …]
DIAudioPolicyService.cpp148 remote()->transact(SET_DEVICE_CONNECTION_STATE, data, &reply); in setDeviceConnectionState()
160 remote()->transact(GET_DEVICE_CONNECTION_STATE, data, &reply); in getDeviceConnectionState()
175 remote()->transact(HANDLE_DEVICE_CONFIG_CHANGE, data, &reply); in handleDeviceConfigChange()
185 remote()->transact(SET_PHONE_STATE, data, &reply); in setPhoneState()
195 remote()->transact(SET_FORCE_USE, data, &reply); in setForceUse()
204 remote()->transact(GET_FORCE_USE, data, &reply); in getForceUse()
213 remote()->transact(GET_OUTPUT, data, &reply); in getOutput()
265 status_t status = remote()->transact(GET_OUTPUT_FOR_ATTR, data, &reply); in getOutputForAttr()
294 remote()->transact(START_OUTPUT, data, &reply); in startOutput()
303 remote()->transact(STOP_OUTPUT, data, &reply); in stopOutput()
[all …]
/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()

12345678