Home
last modified time | relevance | path

Searched refs:mServiceName (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/print/
DPrinterId.java32 private final @NonNull ComponentName mServiceName; field in PrinterId
45 mServiceName = serviceName; in PrinterId()
50 mServiceName = Preconditions.checkNotNull((ComponentName) parcel.readParcelable(null)); in PrinterId()
63 return mServiceName; in getServiceName()
83 parcel.writeParcelable(mServiceName, flags); in writeToParcel()
99 if (!mServiceName.equals(other.mServiceName)) { in equals()
112 hashCode = prime * hashCode + mServiceName.hashCode(); in hashCode()
121 builder.append("serviceName=").append(mServiceName.flattenToString()); in toString()
/frameworks/base/wifi/java/android/net/wifi/aware/
DPublishConfig.java66 public final byte[] mServiceName; field in PublishConfig
90 mServiceName = serviceName; in PublishConfig()
101 return "PublishConfig [mServiceName='" + (mServiceName == null ? "<null>" : String.valueOf( in toString()
102 HexEncoding.encode(mServiceName))) + ", mServiceName.length=" + ( in toString()
103 mServiceName == null ? 0 : mServiceName.length) + ", mServiceSpecificInfo='" + ( in toString()
122 dest.writeByteArray(mServiceName); in writeToParcel()
164 return Arrays.equals(mServiceName, lhs.mServiceName) && Arrays.equals(mServiceSpecificInfo, in equals()
174 return Objects.hash(Arrays.hashCode(mServiceName), Arrays.hashCode(mServiceSpecificInfo), in hashCode()
187 WifiAwareUtils.validateServiceName(mServiceName); in assertValid()
202 if (maxServiceNameLength != 0 && mServiceName.length > maxServiceNameLength) { in assertValid()
[all …]
DSubscribeConfig.java64 public final byte[] mServiceName; field in SubscribeConfig
98 mServiceName = serviceName; in SubscribeConfig()
112 return "SubscribeConfig [mServiceName='" + (mServiceName == null ? "<null>" in toString()
113 : String.valueOf(HexEncoding.encode(mServiceName))) + ", mServiceName.length=" + ( in toString()
114 mServiceName == null ? 0 : mServiceName.length) + ", mServiceSpecificInfo='" + ( in toString()
136 dest.writeByteArray(mServiceName); in writeToParcel()
185 if (!(Arrays.equals(mServiceName, lhs.mServiceName) && Arrays.equals( in equals()
207 int result = Objects.hash(Arrays.hashCode(mServiceName), in hashCode()
230 WifiAwareUtils.validateServiceName(mServiceName); in assertValid()
245 if (maxServiceNameLength != 0 && mServiceName.length > maxServiceNameLength) { in assertValid()
[all …]
/frameworks/base/core/java/android/bluetooth/
DSdpSapsRecord.java26 private final String mServiceName; field in SdpSapsRecord
31 mServiceName = serviceName; in SdpSapsRecord()
37 mServiceName = in.readString(); in SdpSapsRecord()
54 return mServiceName; in getServiceName()
61 dest.writeString(mServiceName); in writeToParcel()
72 if (mServiceName != null) { in toString()
73 ret += "Service Name: " + mServiceName + "\n"; in toString()
DSdpMnsRecord.java26 private final String mServiceName; field in SdpMnsRecord
36 mServiceName = serviceName; in SdpMnsRecord()
43 mServiceName = in.readString(); in SdpMnsRecord()
68 return mServiceName; in getServiceName()
79 dest.writeString(mServiceName); in writeToParcel()
93 if (mServiceName != null) { in toString()
94 ret += "Service Name: " + mServiceName + "\n"; in toString()
DSdpPseRecord.java28 private final String mServiceName; field in SdpPseRecord
41 mServiceName = serviceName; in SdpPseRecord()
50 mServiceName = in.readString(); in SdpPseRecord()
72 return mServiceName; in getServiceName()
90 dest.writeString(mServiceName); in writeToParcel()
107 if (mServiceName != null) { in toString()
108 ret += "Service Name: " + mServiceName + "\n"; in toString()
DSdpMasRecord.java28 private final String mServiceName; field in SdpMasRecord
51 mServiceName = serviceName; in SdpMasRecord()
61 mServiceName = in.readString(); in SdpMasRecord()
99 return mServiceName; in getServiceName()
110 dest.writeString(mServiceName); in writeToParcel()
126 if (mServiceName != null) { in toString()
127 ret += "Service Name: " + mServiceName + "\n"; in toString()
DSdpOppOpsRecord.java29 private final String mServiceName; field in SdpOppOpsRecord
38 mServiceName = serviceName; in SdpOppOpsRecord()
46 return mServiceName; in getServiceName()
75 mServiceName = in.readString(); in SdpOppOpsRecord()
91 dest.writeString(mServiceName); in writeToParcel()
106 sb.append("\n Service Name: ").append(mServiceName); in toString()
DBluetoothProfileConnector.java40 private final String mServiceName; field in BluetoothProfileConnector
78 mServiceName = serviceName; in BluetoothProfileConnector()
86 Intent intent = new Intent(mServiceName); in doBind()
DBluetoothSocket.java143 private String mServiceName; field in BluetoothSocket
247 mServiceName = s.mServiceName; in BluetoothSocket()
364 mServiceName = name; in setServiceName()
436 mPfd = bluetoothProxy.getSocketManager().createSocketChannel(mType, mServiceName, in bindListen()
/frameworks/base/core/java/android/os/
DTelephonyServiceManager.java41 private final String mServiceName; field in TelephonyServiceManager.ServiceRegisterer
47 mServiceName = serviceName; in ServiceRegisterer()
54 ServiceManager.addService(mServiceName, service); in register()
65 return ServiceManager.getService(mServiceName); in get()
77 return ServiceManager.getServiceOrThrow(mServiceName); in getOrThrow()
79 throw new ServiceNotFoundException(mServiceName); in getOrThrow()
89 return ServiceManager.checkService(mServiceName); in tryGet()
DStatsServiceManager.java41 private final String mServiceName; field in StatsServiceManager.ServiceRegisterer
47 mServiceName = serviceName; in ServiceRegisterer()
58 return ServiceManager.getService(mServiceName); in get()
70 return ServiceManager.getServiceOrThrow(mServiceName); in getOrThrow()
72 throw new ServiceNotFoundException(mServiceName); in getOrThrow()
82 return ServiceManager.checkService(mServiceName); in tryGet()
/frameworks/base/apex/media/framework/java/android/media/
DSession2Token.java90 private final String mServiceName; field in Session2Token
118 mServiceName = serviceComponent.getClassName(); in Session2Token()
130 mServiceName = null; in Session2Token()
140 mServiceName = in.readString(); in Session2Token()
160 dest.writeString(mServiceName); in writeToParcel()
173 return Objects.hash(mType, mUid, mPackageName, mServiceName, mSessionLink); in hashCode()
184 && TextUtils.equals(mServiceName, other.mServiceName) in equals()
192 + " service=" + mServiceName + " Session2Link=" + mSessionLink + "}"; in toString()
215 return mServiceName; in getServiceName()
/frameworks/av/services/audiopolicy/service/
DBinderProxy.h45 : mServiceName(serviceName), mDeathRecipient(new DeathRecipient(this)) {} in BinderProxy()
59 mDelegate = waitForService<ServiceType>(String16(mServiceName.c_str())); in waitServiceOrDie()
62 mServiceName.c_str()); in waitServiceOrDie()
74 const std::string mServiceName; variable
92 ALOGW("Binder died: %s", mServiceName.c_str()); in binderDied()
/frameworks/base/core/java/android/net/nsd/
DNsdServiceInfo.java42 private String mServiceName; field in NsdServiceInfo
57 mServiceName = sn; in NsdServiceInfo()
63 return mServiceName; in getServiceName()
68 mServiceName = s; in setServiceName()
313 sb.append("name: ").append(mServiceName) in toString()
332 dest.writeString(mServiceName); in writeToParcel()
362 info.mServiceName = in.readString();
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java926 private final @NonNull ComponentName mServiceName; field in SoundTriggerService.RemoteSoundTriggerDetectionService
985 mServiceName = serviceName; in RemoteSoundTriggerDetectionService()
992 "RemoteSoundTriggerDetectionService " + mServiceName.getPackageName() + ":" in RemoteSoundTriggerDetectionService()
993 + mServiceName.getClassName()); in RemoteSoundTriggerDetectionService()
996 NumOps numOps = mNumOpsPerPackage.get(mServiceName.getPackageName()); in RemoteSoundTriggerDetectionService()
999 mNumOpsPerPackage.put(mServiceName.getPackageName(), numOps); in RemoteSoundTriggerDetectionService()
1122 i.setComponent(mServiceName); in bind()
1129 Slog.w(TAG, mPuuid + ": " + mServiceName + " not found"); in bind()
1132 + ": " + mServiceName + " not found")); in bind()
1139 Slog.w(TAG, mPuuid + ": " + mServiceName + " does not require " in bind()
[all …]
/frameworks/base/services/core/java/com/android/server/vr/
DEnabledComponentsObserver.java62 private final String mServiceName; field in EnabledComponentsObserver
85 mServiceName = serviceName; in EnabledComponentsObserver()
281 return loadComponentNames(mContext.getPackageManager(), userId, mServiceName, in loadComponentNamesForUser()
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java206 @NonNull private final String mServiceName; field in RadioManager.ModuleProperties
233 mServiceName = TextUtils.isEmpty(serviceName) ? "default" : serviceName; in ModuleProperties()
278 return mServiceName; in getServiceName()
429 mServiceName = TextUtils.isEmpty(serviceName) ? "default" : serviceName; in ModuleProperties()
465 dest.writeString(mServiceName); in writeToParcel()
492 + ", mServiceName=" + mServiceName + ", mClassId=" + mClassId in toString()
505 return Objects.hash(mId, mServiceName, mClassId, mImplementor, mProduct, mVersion, in hashCode()
517 if (!TextUtils.equals(mServiceName, other.mServiceName)) return false; in equals()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java179 private String mServiceName; field in AdbDebuggingManager.PairingThread
199 mServiceName = serviceName; in PairingThread()
201 mServiceName = mGuid; in PairingThread()
221 serviceInfo.setServiceName(mServiceName); in run()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java738 collector.checkThat("mServiceName", subscribeConfig.mServiceName, equalTo(null)); in testSubscribeConfigBuilderDefaults()
774 equalTo(subscribeConfig.mServiceName)); in testSubscribeConfigBuilder()
841 collector.checkThat("mServiceName", publishConfig.mServiceName, equalTo(null)); in testPublishConfigBuilderDefaults()
872 equalTo(publishConfig.mServiceName)); in testPublishConfigBuilder()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java670 convertNativeByteArrayToArrayList(publishConfig.mServiceName, req.baseConfigs.serviceName); in publish()
735 convertNativeByteArrayToArrayList(subscribeConfig.mServiceName, in subscribe()