Home
last modified time | relevance | path

Searched refs:serviceType (Results 1 – 16 of 16) sorted by relevance

/external/ims/rcs/rcsmanager/src/java/com/android/ims/
DRcsPresenceInfo.java198 public int getServiceState(int serviceType) { in getServiceState() argument
199 return getServiceInfo(serviceType, ServiceInfoKey.STATE, ServiceState.UNKNOWN); in getServiceState()
212 public String getServiceContact(int serviceType) { in getServiceContact() argument
213 return getServiceInfo(serviceType, ServiceInfoKey.SERVICE_CONTACT, ""); in getServiceContact()
226 public long getTimeStamp(int serviceType) { in getTimeStamp() argument
227 return getServiceInfo(serviceType, ServiceInfoKey.TIMESTAMP, 0L); in getTimeStamp()
266 private void set(int serviceType, int state, String serviceNumber, long timestamp) { in set() argument
269 capability.putInt(ServiceInfoKey.SERVICE_TYPE, serviceType); in set()
274 mServiceInfo.putBundle(String.valueOf(serviceType), capability); in set()
310 private String getServiceInfo(int serviceType, String infoKey, String defaultValue) { in getServiceInfo() argument
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/net/nsd/
DNsdManagerFacade.java197 public String nsdDiscoverServices(@RpcParameter(name = "service type") String serviceType) { in nsdDiscoverServices()
200 mNsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD, listener); in nsdDiscoverServices()
309 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in onStartDiscoveryFailed() argument
312 serviceType, null, errorCode)); in onStartDiscoveryFailed()
316 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in onStopDiscoveryFailed() argument
319 serviceType, null, errorCode)); in onStopDiscoveryFailed()
323 public void onDiscoveryStarted(String serviceType) { in onDiscoveryStarted() argument
326 serviceType, null, null)); in onDiscoveryStarted()
330 public void onDiscoveryStopped(String serviceType) { in onDiscoveryStopped() argument
333 serviceType, null, null)); in onDiscoveryStopped()
[all …]
/external/mdnsresponder/mDNSWindows/DNSServiceBrowser/Windows/Sources/
DChooserDialog.cpp92 const char * serviceType; member
600 type = mServiceTypes[ selectedType ].serviceType.c_str(); in OnServiceListChanged()
649 for( service = kKnownServiceTable; service->serviceType; ++service ) in OnChooserListDoubleClick()
651 if( p->type == service->serviceType ) in OnChooserListDoubleClick()
656 if( service->serviceType ) in OnChooserListDoubleClick()
662 if( strcmp( service->serviceType, "_smb._tcp." ) == 0 ) in OnChooserListDoubleClick()
668 else if( strcmp( service->serviceType, "_ftp._tcp." ) == 0 ) in OnChooserListDoubleClick()
698 else if( strcmp( service->serviceType, "_http._tcp." ) == 0 ) in OnChooserListDoubleClick()
762 for( service = kKnownServiceTable; service->serviceType; ++service ) in PopulateServicesList()
766 info.serviceType = service->serviceType; in PopulateServicesList()
[all …]
DChooserDialog.h51 std::string serviceType; member
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket2_win.h67 bool SetQos(int32_t serviceType,
76 int32_t SetTOS(const int32_t serviceType) override;
118 int32_t CreateFlowSpec(int32_t serviceType,
Dudp_socket2_win.cc674 bool UdpSocket2Windows::SetQos(int32_t serviceType, in SetQos() argument
692 int32_t err = CreateFlowSpec(serviceType, tokenRate, bucketSize, in SetQos()
710 if(serviceType == 0) in SetQos()
724 Qos.SendingFlowspec.ServiceType = serviceType; in SetQos()
734 Qos.ReceivingFlowspec.ServiceType = serviceType; in SetQos()
768 Qos.ReceivingFlowspec.ServiceType = serviceType; in SetQos()
774 serviceType | SERVICE_NO_QOS_SIGNALING; in SetQos()
808 int32_t UdpSocket2Windows::SetTOS(int32_t serviceType) in SetTOS() argument
821 int32_t res = SetTrafficControl(serviceType, -1, name); in SetTOS()
831 (int8_t*)&serviceType, 4) != 0) in SetTOS()
[all …]
Dudp_socket_wrapper.h73 virtual int32_t SetTOS(const int32_t serviceType) = 0;
88 virtual bool SetQos(int32_t serviceType, int32_t tokenRate,
Dudp_transport_impl.h73 const int32_t serviceType,
78 int32_t& serviceType,
177 int32_t EnableQoS(int32_t serviceType, bool audio,
Dudp_socket_posix.cc129 int32_t UdpSocketPosix::SetTOS(int32_t serviceType) in SetTOS() argument
131 if (SetSockopt(IPPROTO_IP, IP_TOS ,(int8_t*)&serviceType ,4) != 0) in SetTOS()
Dudp_transport_impl.cc427 int32_t UdpTransportImpl::SetQoS(bool QoS, int32_t serviceType, in SetQoS() argument
433 return EnableQoS(serviceType, audio, maxBitrate, overrideDSCP); in SetQoS()
440 int32_t UdpTransportImpl::EnableQoS(int32_t serviceType, in EnableQoS() argument
554 if (!rtpSock->SetQos(serviceType, token_rate, bucket_size, in EnableQoS()
579 if (!rtpSock->SetQos(serviceType, token_rate, bucket_size, in EnableQoS()
599 if (!rtpSock->SetQos(serviceType, token_rate, bucket_size, in EnableQoS()
618 if (!rtpSock->SetQos(serviceType, token_rate, bucket_size, in EnableQoS()
636 if (!rtcpSock->SetQos(serviceType, token_rate, bucket_size, in EnableQoS()
649 if (!rtcpSock->SetQos(serviceType, token_rate, bucket_size, in EnableQoS()
659 _serviceType = serviceType; in EnableQoS()
[all …]
Dudp_transport.h204 const int32_t serviceType,
213 int32_t& serviceType,
Dudp_socket_posix.h45 int32_t SetTOS(const int32_t serviceType) override;
/external/mdnsresponder/mDNSPosix/
DClient.c72 static mDNSBool CheckThatServiceTypeIsUsable(const char *serviceType, mDNSBool printExplanation) in CheckThatServiceTypeIsUsable() argument
80 if (result && strlen(serviceType) > 63) { in CheckThatServiceTypeIsUsable()
88 if (result && serviceType[0] == 0) { in CheckThatServiceTypeIsUsable()
DResponder.c152 static mDNSBool CheckThatServiceTypeIsUsable(const char *serviceType, mDNSBool printExplanation) in CheckThatServiceTypeIsUsable() argument
160 if (result && strlen(serviceType) > 63) { in CheckThatServiceTypeIsUsable()
168 if (result && serviceType[0] == 0) { in CheckThatServiceTypeIsUsable()
418 const char * serviceType, in RegisterOneService() argument
437 MakeDomainNameFromDNSNameString(&type, serviceType); in RegisterOneService()
460 serviceType, in RegisterOneService()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiP2pManagerFacade.java455 @RpcParameter(name = "serviceType") String serviceType, in wifiP2pAddDnssdServiceRequest()
459 request = WifiP2pDnsSdServiceRequest.newInstance(instanceName, serviceType); in wifiP2pAddDnssdServiceRequest()
461 request = WifiP2pDnsSdServiceRequest.newInstance(serviceType); in wifiP2pAddDnssdServiceRequest()
503 @RpcParameter(name = "serviceType") String serviceType, in wifiP2pCreateBonjourServiceInfo()
511 mServiceInfo = WifiP2pDnsSdServiceInfo.newInstance(instanceName, serviceType, map); in wifiP2pCreateBonjourServiceInfo()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DGattServerFacade.java293 @RpcParameter(name = "serviceType") Integer serviceType) { in gattServerCreateService()
296 mGattServiceList.put(index, new BluetoothGattService(UUID.fromString(uuid), serviceType)); in gattServerCreateService()