Searched defs:serviceType (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pDnsSdServiceRequest.java69 * @param serviceType service type. Cannot be null <br>
75 public static WifiP2pDnsSdServiceRequest newInstance(String serviceType) { argument
76 if (serviceType == null) {
79 return new WifiP2pDnsSdServiceRequest(serviceType + ".local.",
90 * @param serviceType service type. Cannot be null. <br>
97 String serviceType) {
98 if (instanceName == null || serviceType == null) {
102 String fullDomainName = instanceName + "." + serviceType + ".local.";
96 newInstance(String instanceName, String serviceType) argument
H A DWifiP2pDnsSdServiceInfo.java85 * @param serviceType service type.<br>
92 String serviceType, Map<String, String> txtMap) {
93 if (TextUtils.isEmpty(instanceName) || TextUtils.isEmpty(serviceType)) {
106 queries.add(createPtrServiceQuery(instanceName, serviceType));
107 queries.add(createTxtServiceQuery(instanceName, serviceType, txtRecord));
117 * @param serviceType service type.<br>
122 String serviceType) {
126 sb.append(createRequest(serviceType + ".local.", DNS_TYPE_PTR, VERSION_1));
143 * @param serviceType service type.<br>
149 String serviceType,
91 newInstance(String instanceName, String serviceType, Map<String, String> txtMap) argument
121 createPtrServiceQuery(String instanceName, String serviceType) argument
148 createTxtServiceQuery(String instanceName, String serviceType, DnsSdTxtRecord txtRecord) argument
[all...]
H A DWifiP2pServiceRequest.java90 * @param serviceType service discovery type.
95 private WifiP2pServiceRequest(int serviceType, int length, argument
97 mProtocolType = serviceType;
H A DWifiP2pServiceResponse.java112 * @param serviceType service discovery type.
118 protected WifiP2pServiceResponse(int serviceType, int status, int transId, argument
120 mServiceType = serviceType;
288 sbuf.append("serviceType:").append(mServiceType);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattIncludedService.java49 public BluetoothGattIncludedService(UUID uuid, int instanceId, int serviceType) { argument
52 mServiceType = serviceType;
H A DBluetoothHidDeviceAppQosSettings.java50 * @param serviceType L2CAP service type, default = SERVICE_BEST_EFFORT
58 int serviceType,
64 mServiceType = serviceType;
57 BluetoothHidDeviceAppQosSettings( int serviceType, int tokenRate, int tokenBucketSize, int peakBandwidth, int latency, int delayVariation) argument
H A DBluetoothGattService.java101 * @param serviceType The type of this service,
105 public BluetoothGattService(UUID uuid, int serviceType) { argument
109 mServiceType = serviceType;
120 int instanceId, int serviceType) {
124 mServiceType = serviceType;
134 public BluetoothGattService(UUID uuid, int instanceId, int serviceType) { argument
138 mServiceType = serviceType;
119 BluetoothGattService(BluetoothDevice device, UUID uuid, int instanceId, int serviceType) argument
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
H A DDiscoveryListenerMultiplexer.java40 * Add a new {@link NsdManager.DiscoveryListener listener} for a {@code serviceType}.
43 * @param serviceType The service type to listen for
46 public static void addListener(@NonNull NsdManager nsdManager, @NonNull String serviceType, argument
49 DiscoveryListenerSet listenerSet = sListeners.get(serviceType);
56 sListeners.put(serviceType, listenerSet);
61 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD,
133 public void onStartDiscoveryFailed(String serviceType, int errorCode) { argument
134 Log.w(LOG_TAG, "Failed to start network discovery for type " + serviceType + ": "
139 public void onStopDiscoveryFailed(String serviceType, int errorCode) { argument
140 Log.w(LOG_TAG, "Failed to stop network discovery for type " + serviceType
145 onDiscoveryStarted(String serviceType) argument
150 onDiscoveryStopped(String serviceType) argument
[all...]
H A DMDNSFilteredDiscovery.java119 for (String serviceType : mServiceTypes) {
120 DiscoveryListenerMultiplexer.addListener(getNDSManager(), serviceType, this);
137 public void onStartDiscoveryFailed(String serviceType, int errorCode) { argument
138 Log.w(LOG_TAG, "Failed to start network discovery for type " + serviceType + ": "
143 public void onStopDiscoveryFailed(String serviceType, int errorCode) { argument
144 Log.w(LOG_TAG, "Failed to stop network discovery for type " + serviceType + ": "
149 public void onDiscoveryStarted(String serviceType) { argument
154 public void onDiscoveryStopped(String serviceType) { argument
/frameworks/base/core/java/android/os/
H A DPowerManagerInternal.java152 public abstract PowerSaveState getLowPowerState(int serviceType); argument
159 public void registerLowPowerModeObserver(int serviceType, Consumer<PowerSaveState> listener) { argument
163 return serviceType;
H A DPowerManager.java1155 * @param serviceType unique key for the service, one of {@link ServiceType}
1162 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { argument
1164 return mService.getPowerSaveState(serviceType);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgePowerManager.java47 public PowerSaveState getPowerSaveState(int serviceType) { argument
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsServiceBase.java55 public boolean isConnected(int serviceId, int serviceType, int callType) { argument
56 return onIsConnected(serviceId, serviceType, callType);
70 public void addRegistrationListener(int serviceId, int serviceType, IImsRegistrationListener listener) { argument
71 onAddRegistrationListener(serviceId, serviceType, listener);
76 public ImsCallProfile createCallProfile(int serviceId, int serviceType, int callType) { argument
77 return onCreateCallProfile(serviceId, serviceType, callType);
148 protected boolean onIsConnected(int serviceId, int serviceType, int callType) { argument
164 protected void onAddRegistrationListener(int serviceId, int serviceType, IImsRegistrationListener listener) { argument
168 protected ImsCallProfile onCreateCallProfile(int serviceId, int serviceType, int callType) { argument
H A DImsManager.java1692 * @param serviceType a service type that is specified in {@link ImsCallProfile}
1708 public ImsCallProfile createCallProfile(int serviceType, int callType) throws ImsException { argument
1712 return mMmTelFeatureConnection.createCallProfile(serviceType, callType);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSsData.java105 public ServiceType serviceType; field in class:SsData
114 used for respone if serviceType is SS_CLIR and
149 return "[SsData] " + "ServiceType: " + serviceType
154 + " Is Service Type CF: " + serviceType.isTypeCF();
/frameworks/base/core/java/android/net/nsd/
H A DNsdManager.java307 public void onStartDiscoveryFailed(String serviceType, int errorCode); argument
309 public void onStopDiscoveryFailed(String serviceType, int errorCode); argument
311 public void onDiscoveryStarted(String serviceType); argument
313 public void onDiscoveryStopped(String serviceType); argument
566 * @param serviceType The service type being discovered. Examples include "_http._tcp" for
570 * to stop discovery on this serviceType through a call on {@link #stopServiceDiscovery}.
573 public void discoverServices(String serviceType, int protocolType, DiscoveryListener listener) { argument
574 checkStringNotEmpty(serviceType, "Service type cannot be empty");
578 s.setServiceType(serviceType);
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DServiceState.java388 int count, int serviceType, int state, long startTime, long now, long totalTime,
394 dumpTime(pw, prefixInner, serviceType, state, startTime, now);
396 long myTime = dumpTime(null, null, serviceType, state, startTime, now);
407 int serviceType, int curState, long curStartTime, long now) {
414 long time = getDuration(serviceType, curState, curStartTime, state, now);
457 int uid, long vers, String serviceName, int serviceType, int opCount,
481 if (type != serviceType) {
386 dumpStats(PrintWriter pw, String prefix, String prefixInner, String headerPrefix, String header, int count, int serviceType, int state, long startTime, long now, long totalTime, boolean dumpAll) argument
406 dumpTime(PrintWriter pw, String prefix, int serviceType, int curState, long curStartTime, long now) argument
456 dumpTimeCheckin(PrintWriter pw, String label, String packageName, int uid, long vers, String serviceName, int serviceType, int opCount, int curState, long curStartTime, long now) argument
/frameworks/base/telephony/java/android/telephony/ims/
H A DImsCallProfile.java313 * @param serviceType the service type for the call. Can be one of the following:
329 public ImsCallProfile(int serviceType, int callType) { argument
330 mServiceType = serviceType;
339 * @param serviceType the service type for the call. Can be one of the following:
357 public ImsCallProfile(int serviceType, int callType, Bundle callExtras, argument
359 mServiceType = serviceType;
440 return "{ serviceType=" + mServiceType +
H A DImsSsData.java179 public int serviceType; field in class:ImsSsData
241 * @param serviceType The Supplementary Service type. Valid entries:
282 public ImsSsData(@ServiceType int serviceType, int requestType, int teleserviceType, argument
284 this.serviceType = serviceType;
292 serviceType = in.readInt();
316 out.writeInt(serviceType);
336 return (serviceType == SS_CFU || serviceType == SS_CF_BUSY ||
337 serviceType
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DNsdService.java738 private boolean discoverServices(int discoveryId, String serviceType) { argument
739 return mDaemon.execute("discover", discoveryId, serviceType);
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
H A DChannel.java857 * @param serviceType The value of {@link Channels#COLUMN_SERVICE_TYPE} for the channel.
860 public Builder setServiceType(@ServiceType String serviceType) { argument
861 mValues.put(Channels.COLUMN_SERVICE_TYPE, serviceType);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneMmiCode.java1730 mSc = getScStringFromScType(ssData.serviceType);
1742 * When ssData.serviceType is unconditional (SS_CFU or SS_CF_ALL) and
1793 private String getScStringFromScType(int serviceType) { argument
1794 switch (serviceType) {
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java4346 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { argument
4350 serviceType, mBatterySaverController.isEnabled());
4675 public PowerSaveState getLowPowerState(@ServiceType int serviceType) { argument
4676 return mBatterySaverPolicy.getBatterySaverPolicy(serviceType,

Completed in 444 milliseconds