/frameworks/base/core/java/android/os/ |
D | CancellationSignal.java | 64 final ICancellationSignal remote; in cancel() local 72 remote = mRemote; in cancel() 79 if (remote != null) { in cancel() 81 remote.cancel(); in cancel() 137 public void setRemote(ICancellationSignal remote) { in setRemote() argument 141 if (mRemote == remote) { in setRemote() 144 mRemote = remote; in setRemote() 145 if (!mIsCanceled || remote == null) { in setRemote() 150 remote.cancel(); in setRemote()
|
/frameworks/base/core/java/android/net/ |
D | ConnectionInfo.java | 35 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/ |
D | RemoteBridgeImpl.java | 17 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/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/ |
D | RemoteSessionParamsAdapter.java | 17 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;
|
D | RemoteRenderParamsAdapter.java | 17 package com.android.layoutlib.bridge.remote.client.adapters; 24 import com.android.layout.remote.api.RemoteAssetRepository; 25 import com.android.layout.remote.api.RemoteHardwareConfig; 26 import com.android.layout.remote.api.RemoteLayoutLog; 27 import com.android.layout.remote.api.RemoteLayoutlibCallback; 28 import com.android.layout.remote.api.RemoteRenderParams; 29 import com.android.layout.remote.api.RemoteRenderResources; 30 import com.android.layout.remote.api.RemoteSessionParams;
|
D | RemoteAssetRepositoryAdapter.java | 17 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/ |
D | client_channel_factory.cpp | 87 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/base/libs/storage/ |
D | IMountService.cpp | 68 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/ |
D | IBatteryStats.cpp | 42 remote()->transact(NOTE_START_SENSOR_TRANSACTION, data, &reply); in noteStartSensor() 50 remote()->transact(NOTE_STOP_SENSOR_TRANSACTION, data, &reply); in noteStopSensor() 57 remote()->transact(NOTE_START_VIDEO_TRANSACTION, data, &reply); in noteStartVideo() 64 remote()->transact(NOTE_STOP_VIDEO_TRANSACTION, data, &reply); in noteStopVideo() 71 remote()->transact(NOTE_START_AUDIO_TRANSACTION, data, &reply); in noteStartAudio() 78 remote()->transact(NOTE_STOP_AUDIO_TRANSACTION, data, &reply); in noteStopAudio() 84 remote()->transact(NOTE_RESET_VIDEO_TRANSACTION, data, &reply); in noteResetVideo() 90 remote()->transact(NOTE_RESET_AUDIO_TRANSACTION, data, &reply); in noteResetAudio() 97 remote()->transact(NOTE_FLASHLIGHT_ON_TRANSACTION, data, &reply); in noteFlashlightOn() 104 remote()->transact(NOTE_FLASHLIGHT_OFF_TRANSACTION, data, &reply); in noteFlashlightOff() [all …]
|
D | IActivityManager.cpp | 41 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/ |
D | ICamera.cpp | 75 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/ |
D | IMediaRecorder.cpp | 88 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 …]
|
D | IMediaPlayerService.cpp | 60 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/base/tests/net/java/android/net/netlink/ |
D | InetDiagSocketTest.java | 82 public InetSocketAddress remote; field in InetDiagSocketTest.Connection 129 remote = (InetSocketAddress) Os.getpeername(localFd); in TcpConnection() 149 remote = new InetSocketAddress(remoteAddress, 7); in UdpConnection() 154 InetSocketAddress remote, boolean expectSuccess) { in checkConnectionOwnerUid() argument 156 final int uid = mCm.getConnectionOwnerUid(protocol, local, remote); in checkConnectionOwnerUid() 174 checkConnectionOwnerUid(tcp.protocol, tcp.local, tcp.remote, true); in checkGetConnectionOwnerUid() 175 checkConnectionOwnerUid(IPPROTO_UDP, tcp.local, tcp.remote, false); in checkGetConnectionOwnerUid() 176 checkConnectionOwnerUid(tcp.protocol, new InetSocketAddress(0), tcp.remote, false); in checkGetConnectionOwnerUid() 185 checkConnectionOwnerUid(udp.protocol, udp.local, udp.remote, true); in checkGetConnectionOwnerUid() 187 checkConnectionOwnerUid(IPPROTO_TCP, udp.local, udp.remote, false); in checkGetConnectionOwnerUid() [all …]
|
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/ |
D | RemoteAssetRepositoryAdapter.java | 17 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()
|
D | RemoteActionBarCallbackAdapter.java | 17 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()
|
D | RemoteRenderSessionAdapter.java | 17 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/native/services/powermanager/ |
D | IPowerManager.cpp | 50 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/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/ |
D | RemoteBridgeClient.java | 17 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/ |
D | vr_manager.cpp | 38 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/base/services/net/java/android/net/netlink/ |
D | InetDiagMessage.java | 59 InetSocketAddress remote, int family, short flags) { in InetDiagReqV2() argument 70 final StructInetDiagReqV2 inetDiagReqV2 = new StructInetDiagReqV2(protocol, local, remote, in InetDiagReqV2() 90 InetSocketAddress remote, int family, short flags, in lookupUidByFamily() argument 93 byte[] msg = InetDiagReqV2(protocol, local, remote, family, flags); in lookupUidByFamily() 111 InetSocketAddress remote, FileDescriptor fd) in lookupUid() argument 122 uid = lookupUidByFamily(protocol, remote, local, family, NLM_F_REQUEST, fd); in lookupUid() 124 uid = lookupUidByFamily(protocol, local, remote, family, NLM_F_REQUEST, fd); in lookupUid() 165 InetSocketAddress remote) { in getConnectionOwnerUid() argument 170 return lookupUid(protocol, local, remote, fd); in getConnectionOwnerUid()
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 119 status_t lStatus = remote()->transact(CREATE_TRACK, data, &reply); in createTrack() 154 status_t lStatus = remote()->transact(CREATE_RECORD, data, &reply); in createRecord() 181 remote()->transact(SAMPLE_RATE, data, &reply); in sampleRate() 192 remote()->transact(FORMAT, data, &reply); in format() 201 remote()->transact(FRAME_COUNT, data, &reply); in frameCount() 210 remote()->transact(LATENCY, data, &reply); in latency() 219 remote()->transact(SET_MASTER_VOLUME, data, &reply); in setMasterVolume() 228 remote()->transact(SET_MASTER_MUTE, data, &reply); in setMasterMute() 236 remote()->transact(MASTER_VOLUME, data, &reply); in masterVolume() 244 remote()->transact(MASTER_MUTE, data, &reply); in masterMute() [all …]
|
D | IAudioTrack.cpp | 62 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 …]
|
D | IAudioPolicyService.cpp | 134 remote()->transact(SET_DEVICE_CONNECTION_STATE, data, &reply); in setDeviceConnectionState() 146 remote()->transact(GET_DEVICE_CONNECTION_STATE, data, &reply); in getDeviceConnectionState() 161 remote()->transact(HANDLE_DEVICE_CONFIG_CHANGE, data, &reply); in handleDeviceConfigChange() 170 remote()->transact(SET_PHONE_STATE, data, &reply); in setPhoneState() 180 remote()->transact(SET_FORCE_USE, data, &reply); in setForceUse() 189 remote()->transact(GET_FORCE_USE, data, &reply); in getForceUse() 198 remote()->transact(GET_OUTPUT, data, &reply); in getOutput() 250 status_t status = remote()->transact(GET_OUTPUT_FOR_ATTR, data, &reply); in getOutputForAttr() 279 remote()->transact(START_OUTPUT, data, &reply); in startOutput() 288 remote()->transact(STOP_OUTPUT, data, &reply); in stopOutput() [all …]
|
/frameworks/native/services/audiomanager/ |
D | IAudioManager.cpp | 58 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()
|