Home
last modified time | relevance | path

Searched refs:endpoint (Results 1 – 25 of 32) sorted by relevance

12

/packages/services/Telecomm/src/com/android/server/telecom/
DCallEndpointController.java91 public void requestCallEndpointChange(CallEndpoint endpoint, ResultReceiver callback) { in requestCallEndpointChange() argument
92 Log.i(this, "requestCallEndpointChange %s", endpoint); in requestCallEndpointChange()
93 int route = mTypeToRouteMap.get(endpoint.getEndpointType()); in requestCallEndpointChange()
94 String bluetoothAddress = getBluetoothAddress(endpoint); in requestCallEndpointChange()
96 if (findMatchingTypeEndpoint(endpoint.getEndpointType()) == null || in requestCallEndpointChange()
124 mRequestedEndpointId = endpoint.getIdentifier(); in requestCallEndpointChange()
182 public String getBluetoothAddress(CallEndpoint endpoint) { in getBluetoothAddress() argument
183 return mBluetoothAddressMap.get(endpoint.getIdentifier()); in getBluetoothAddress()
303 CallEndpoint endpoint = findMatchingBluetoothEndpoint(device); in createAvailableCallEndpoints() local
304 if (endpoint == null) { in createAvailableCallEndpoints()
[all …]
DTransactionalServiceWrapper.java352 public void requestCallEndpointChange(CallEndpoint endpoint, ResultReceiver callback) {
356 addTransactionsToManager(new EndpointChangeTransaction(endpoint, mCallsManager),
577 public void onCallEndpointChanged(Call call, CallEndpoint endpoint) { in onCallEndpointChanged() argument
580 mICallEventCallback.onCallEndpointChanged(call.getId(), endpoint); in onCallEndpointChanged() local
DInCallAdapter.java402 public void requestCallEndpointChange(CallEndpoint endpoint, ResultReceiver callback) { in requestCallEndpointChange() argument
408 mCallsManager.requestCallEndpointChange(endpoint, callback); in requestCallEndpointChange()
DConnectionServiceWrapper.java811 public void requestCallEndpointChange(String callId, CallEndpoint endpoint, in requestCallEndpointChange() argument
818 endpoint.getEndpointName()); in requestCallEndpointChange()
819 mCallsManager.requestCallEndpointChange(endpoint, callback); in requestCallEndpointChange()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallEndpointControllerTest.java130 CallEndpoint endpoint = mCallEndpointController.getCurrentCallEndpoint(); in testCurrentEndpointChangedToBluetooth() local
132 String bluetoothAddress = mCallEndpointController.getBluetoothAddress(endpoint); in testCurrentEndpointChangedToBluetooth()
137 assertEquals(CallEndpoint.TYPE_BLUETOOTH, endpoint.getEndpointType()); in testCurrentEndpointChangedToBluetooth()
140 verify(mCallsManager).updateCallEndpoint(eq(endpoint)); in testCurrentEndpointChangedToBluetooth()
141 verify(mConnectionService, times(1)).onCallEndpointChanged(eq(mCall), eq(endpoint)); in testCurrentEndpointChangedToBluetooth()
151 CallEndpoint endpoint = mCallEndpointController.getCurrentCallEndpoint(); in testCurrentEndpointChangedToStreaming() local
158 assertEquals(CallEndpoint.TYPE_STREAMING, endpoint.getEndpointType()); in testCurrentEndpointChangedToStreaming()
160 verify(mCallsManager).updateCallEndpoint(eq(endpoint)); in testCurrentEndpointChangedToStreaming()
161 verify(mConnectionService, times(1)).onCallEndpointChanged(eq(mCall), eq(endpoint)); in testCurrentEndpointChangedToStreaming()
172 CallEndpoint endpoint = mCallEndpointController.getCurrentCallEndpoint(); in testCurrentEndpointChangedBetweenBluetooth() local
[all …]
/packages/services/Telecomm/testapps/transactionalVoipApp/src/com/android/server/telecom/transactionalVoipApp/
DMyVoipCall.java105 for (CallEndpoint endpoint : availableEndpoints) { in onAvailableCallEndpointsChanged()
106 Log.i(TAG, String.format("endpoint=[%s]", endpoint)); in onAvailableCallEndpointsChanged()
107 if (endpoint != null && endpoint.getEndpointType() == CallEndpoint.TYPE_EARPIECE) { in onAvailableCallEndpointsChanged()
108 mEarpieceEndpoint = endpoint; in onAvailableCallEndpointsChanged()
110 if (endpoint != null && endpoint.getEndpointType() == CallEndpoint.TYPE_SPEAKER) { in onAvailableCallEndpointsChanged()
111 mSpeakerEndpoint = endpoint; in onAvailableCallEndpointsChanged()
113 if (endpoint != null && endpoint.getEndpointType() == CallEndpoint.TYPE_BLUETOOTH) { in onAvailableCallEndpointsChanged()
114 mBluetoothEndpoint = endpoint; in onAvailableCallEndpointsChanged()
DInCallActivity.java211 private void updateCurrentEndpointWithOnResult(CallEndpoint endpoint) { in updateCurrentEndpointWithOnResult() argument
215 endpoint.getEndpointName() + "]"); in updateCurrentEndpointWithOnResult()
285 private void requestEndpointChange(CallEndpoint endpoint, String tag) { in requestEndpointChange() argument
287 endpoint, in requestEndpointChange()
293 updateCurrentEndpointWithOnResult(endpoint); in requestEndpointChange()
299 + "endpoint=[%s] due to exception=[%s]", tag, endpoint, e)); in requestEndpointChange()
/packages/modules/adb/client/openscreen/
Dmdns_service_info.cpp26 const discovery::DnsSdInstanceEndpoint& endpoint) { in DnsSdInstanceEndpointToServiceInfo() argument
30 if (endpoint.service_id() == kADBDNSServices[i]) { in DnsSdInstanceEndpointToServiceInfo()
31 service_info.service_name = endpoint.service_id(); in DnsSdInstanceEndpointToServiceInfo()
32 service_info.instance_name = endpoint.instance_id(); in DnsSdInstanceEndpointToServiceInfo()
36 LOG(ERROR) << "Got unknown service name [" << endpoint.service_id() << "]"; in DnsSdInstanceEndpointToServiceInfo()
41 service_info.port = endpoint.port(); in DnsSdInstanceEndpointToServiceInfo()
42 for (const IPAddress& address : endpoint.addresses()) { in DnsSdInstanceEndpointToServiceInfo()
Dmdns_service_info.h37 const openscreen::discovery::DnsSdInstanceEndpoint& endpoint);
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/
DDBEncoderEndpointTest.java40 DBEncoderEndpoint endpoint = in testCreateEndPoint() local
43 assertEquals(buyer, endpoint.getBuyer()); in testCreateEndPoint()
44 assertEquals(CommonFixture.getUri(buyer, PATH), endpoint.getDownloadUri()); in testCreateEndPoint()
45 assertEquals(CommonFixture.FIXED_NOW, endpoint.getCreationTime()); in testCreateEndPoint()
51 DBEncoderEndpoint endpoint = in testBuildEndPoint() local
57 assertEquals(buyer, endpoint.getBuyer()); in testBuildEndPoint()
58 assertEquals(CommonFixture.getUri(buyer, PATH), endpoint.getDownloadUri()); in testBuildEndPoint()
59 assertEquals(CommonFixture.FIXED_NOW, endpoint.getCreationTime()); in testBuildEndPoint()
/packages/modules/adb/client/
Dusb_osx.cpp360 UInt8 endpoint; in CheckInterface() local
398 for (endpoint = 1; endpoint <= interfaceNumEndpoints; ++endpoint) { in CheckInterface()
405 ->GetEndpointProperties(interface, 0, endpoint, in CheckInterface()
422 kr = (*interface)->GetPipePropertiesV2(interface, endpoint, in CheckInterface()
436 handle->bulkIn = endpoint; in CheckInterface()
444 handle->bulkOut = endpoint; in CheckInterface()
Dusb_libusb.cpp107 static bool endpoint_is_output(uint8_t endpoint) { in endpoint_is_output() argument
108 return (endpoint & LIBUSB_ENDPOINT_DIR_MASK) == LIBUSB_ENDPOINT_OUT; in endpoint_is_output()
420 const auto& endpoint_desc = interface_desc.endpoint[endpoint_num]; in FindInterface()
632 for (uint8_t endpoint : {read_endpoint_, write_endpoint_}) { in OpenDevice()
633 rc = libusb_clear_halt(device_handle_.get(), endpoint); in OpenDevice()
636 serial_.c_str(), endpoint, libusb_error_name(rc)); in OpenDevice()
Dusb_linux.cpp322 urb->endpoint = h->ep_out; in usb_bulk_write()
361 urb->endpoint = h->ep_in; in usb_bulk_read()
/packages/services/Telecomm/src/com/android/server/telecom/voip/
DEndpointChangeTransaction.java35 public EndpointChangeTransaction(CallEndpoint endpoint, CallsManager callsManager) { in EndpointChangeTransaction() argument
37 mCallEndpoint = endpoint; in EndpointChangeTransaction()
/packages/modules/Bluetooth/system/audio_hal_interface/
Dle_audio_software_unittest.cc84 MockBluetoothAudioClientInterfaceBidirEndpoint endpoint; member in __anon5d5082320111::MockBluetoothAudioClientInterfaceHidl
114 MockBluetoothAudioClientInterfaceBidirEndpoint endpoint; member in __anon5d5082320111::MockBluetoothAudioClientInterfaceAidl
248 return instance->endpoint.ReadAudioData(p_buf, len); in ReadAudioData()
274 return instance->endpoint.WriteAudioData(p_buf, len); in WriteAudioData()
374 return instance->endpoint.ReadAudioData(p_buf, len); in ReadAudioData()
388 return instance->endpoint.WriteAudioData(p_buf, len); in WriteAudioData()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/updateprocessors/
DUpdateEncoderEventHandler.java87 DBEncoderEndpoint endpoint = in handle() local
96 mEncoderEndpointsDao.registerEndpoint(endpoint); in handle()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/signals/
DEncoderEndpointsDao.java35 long registerEndpoint(DBEncoderEndpoint endpoint); in registerEndpoint() argument
/packages/apps/Car/DebuggingRestrictionController/soong/
DREADME.md7 token issuer API endpoint.
/packages/apps/Settings/src/com/android/settings/fuelgauge/protos/
Dapp_usage_event.proto49 // The endpoint (the beginning or the end) of an AppUsagePeriod.
/packages/modules/adb/
DSERVICES.TXT140 <local> is the host-specific endpoint (e.g. tcp:9000).
141 <remote> is the device-specific endpoint.
Dprotocol.txt252 endpoint at any given time. The protocol remains unchanged, but the
/packages/modules/DnsResolver/
Dstats.proto312 SYS_EOPNOTSUPP = 95; // Operation not supported on transport endpoint
/packages/apps/TV/libs/m2/
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12