Home
last modified time | relevance | path

Searched refs:serviceName (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/wifi/java/android/net/wifi/nan/
DPublishData.java67 private PublishData(String serviceName, byte[] serviceSpecificInfo, in PublishData() argument
70 mServiceName = serviceName; in PublishData()
121 String serviceName = in.readString();
138 return new PublishData(serviceName, ssi, ssiLength, txFilter, txFilterLength, rxFilter,
230 public Builder setServiceName(String serviceName) { in setServiceName() argument
231 mServiceName = serviceName; in setServiceName()
DSubscribeData.java68 private SubscribeData(String serviceName, byte[] serviceSpecificInfo, in SubscribeData() argument
71 mServiceName = serviceName; in SubscribeData()
121 String serviceName = in.readString();
138 return new SubscribeData(serviceName, ssi, ssiLength, txFilter, txFilterLength,
230 public Builder setServiceName(String serviceName) { in setServiceName() argument
231 mServiceName = serviceName; in setServiceName()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
DWifiNanHalTest.java112 final String serviceName = "some-service-name"; in testPublishUnsolicited() local
123 .putZeroLengthElement(0).putByteArray(0, serviceName.getBytes()); in testPublishUnsolicited()
125 testPublish(transactionId, publishId, PublishSettings.PUBLISH_TYPE_UNSOLICITED, serviceName, in testPublishUnsolicited()
133 final String serviceName = "some-service-name-or-another"; in testPublishSolicited() local
144 .putZeroLengthElement(0).putByteArray(0, serviceName.getBytes()); in testPublishSolicited()
146 testPublish(transactionId, publishId, PublishSettings.PUBLISH_TYPE_SOLICITED, serviceName, in testPublishSolicited()
168 final String serviceName = "some-service-name-or-another"; in testSubscribePassive() local
179 .putZeroLengthElement(0).putByteArray(0, serviceName.getBytes()); in testSubscribePassive()
182 serviceName, ssi, tlvTx, tlvRx, subscribeCount, subscribeTtl); in testSubscribePassive()
189 final String serviceName = "some-service-name-or-another"; in testSubscribeActive() local
[all …]
DWifiNanManagerTest.java154 final String serviceName = "some_service_or_other"; in testSubscribeDataBuilder() local
161 SubscribeData subscribeData = new SubscribeData.Builder().setServiceName(serviceName) in testSubscribeDataBuilder()
165 collector.checkThat("mServiceName", serviceName, equalTo(subscribeData.mServiceName)); in testSubscribeDataBuilder()
181 final String serviceName = "some_service_or_other"; in testSubscribeDataParcel() local
188 SubscribeData subscribeData = new SubscribeData.Builder().setServiceName(serviceName) in testSubscribeDataParcel()
274 final String serviceName = "some_service_or_other"; in testPublishDataBuilder() local
281 PublishData publishData = new PublishData.Builder().setServiceName(serviceName) in testPublishDataBuilder()
285 collector.checkThat("mServiceName", serviceName, equalTo(publishData.mServiceName)); in testPublishDataBuilder()
300 final String serviceName = "some_service_or_other"; in testPublishDataParcel() local
307 PublishData publishData = new PublishData.Builder().setServiceName(serviceName) in testPublishDataParcel()
DWifiNanStateManagerTest.java190 final String serviceName = "some-service-name"; in testPublish() local
198 PublishData publishData = new PublishData.Builder().setServiceName(serviceName) in testPublish()
271 final String serviceName = "some-service-name"; in testPublishNoCallbacks() local
278 PublishData publishData = new PublishData.Builder().setServiceName(serviceName) in testPublishNoCallbacks()
336 final String serviceName = "some-service-name"; in testSubscribe() local
344 SubscribeData subscribeData = new SubscribeData.Builder().setServiceName(serviceName) in testSubscribe()
417 final String serviceName = "some-service-name"; in testSubscribeNoCallbacks() local
424 SubscribeData subscribeData = new SubscribeData.Builder().setServiceName(serviceName) in testSubscribeNoCallbacks()
482 final String serviceName = "some-service-name"; in testMatchAndMessages() local
494 SubscribeData subscribeData = new SubscribeData.Builder().setServiceName(serviceName) in testMatchAndMessages()
[all …]
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java402 public void setPrintServiceEnabled(@NonNull ComponentName serviceName, boolean isEnabled) { in setPrintServiceEnabled() argument
406 isChanged = mDisabledServices.remove(serviceName); in setPrintServiceEnabled()
413 if (service.getComponentName().equals(serviceName)) { in setPrintServiceEnabled()
414 mDisabledServices.add(serviceName); in setPrintServiceEnabled()
861 ComponentName serviceName = new ComponentName( in readInstalledPrintServicesLocked() local
865 + serviceName.flattenToShortString() in readInstalledPrintServicesLocked()
894 ComponentName serviceName = mInstalledServices.get(i).getComponentName(); in upgradePersistentStateIfNeeded() local
895 if (!enabledServiceNameSet.contains(serviceName)) { in upgradePersistentStateIfNeeded()
896 disabledServices.add(serviceName); in upgradePersistentStateIfNeeded()
970 ComponentName serviceName = new ComponentName(resolveInfo.serviceInfo.packageName, in getInstalledComponents() local
[all …]
DRemotePrintServiceRecommendationService.java96 ComponentName serviceName = new ComponentName( in getServiceIntent() local
113 throw new Exception("Service " + serviceName.flattenToShortString() in getServiceIntent()
119 serviceIntent.setComponent(serviceName); in getServiceIntent()
DRemotePrintService.java862 private void throwIfPrinterIdsForPrinterInfoTampered(ComponentName serviceName, in throwIfPrinterIdsForPrinterInfoTampered() argument
867 throwIfPrinterIdTampered(serviceName, printerId); in throwIfPrinterIdsForPrinterInfoTampered()
871 private void throwIfPrinterIdsTampered(ComponentName serviceName, in throwIfPrinterIdsTampered() argument
876 throwIfPrinterIdTampered(serviceName, printerId); in throwIfPrinterIdsTampered()
880 private void throwIfPrinterIdTampered(ComponentName serviceName, PrinterId printerId) { in throwIfPrinterIdTampered() argument
881 if (printerId == null || !printerId.getServiceName().equals(serviceName)) { in throwIfPrinterIdTampered()
/frameworks/base/services/core/java/com/android/server/vr/
DEnabledComponentsObserver.java80 @NonNull String servicePermission, @NonNull String serviceName, @NonNull Object lock, in EnabledComponentsObserver() argument
85 mServiceName = serviceName; in EnabledComponentsObserver()
104 @NonNull String servicePermission, @NonNull String serviceName, in build() argument
111 servicePermission, serviceName, lock, listeners); in build()
252 String serviceName, String permissionName) { in loadComponentNames() argument
255 Intent queryIntent = new Intent(serviceName); in loadComponentNames()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerHAL.cpp35 const String16 serviceName("power"); in vsyncHint() local
36 sp<IBinder> bs = defaultServiceManager()->checkService(serviceName); in vsyncHint()
/frameworks/opt/net/wifi/service/jni/
Dcom_android_server_wifi_nan_WifiNanNative.cpp319 const char *serviceName = chars1.c_str(); in android_net_wifi_nan_publish() local
320 if (serviceName == NULL) { in android_net_wifi_nan_publish()
324 msg.service_name_len = strlen(serviceName); in android_net_wifi_nan_publish()
325 strcpy((char*)msg.service_name, serviceName); in android_net_wifi_nan_publish()
392 const char *serviceName = chars1.c_str(); in android_net_wifi_nan_subscribe() local
393 if (serviceName == NULL) { in android_net_wifi_nan_subscribe()
397 msg.service_name_len = strlen(serviceName); in android_net_wifi_nan_subscribe()
398 strcpy((char*)msg.service_name, serviceName); in android_net_wifi_nan_subscribe()
/frameworks/base/core/java/com/android/internal/app/procstats/
DServiceState.java445 String serviceName, long now) { in dumpTimesCheckin() argument
446 dumpTimeCheckin(pw, "pkgsvc-run", pkgName, uid, vers, serviceName, in dumpTimesCheckin()
448 dumpTimeCheckin(pw, "pkgsvc-start", pkgName, uid, vers, serviceName, in dumpTimesCheckin()
450 dumpTimeCheckin(pw, "pkgsvc-bound", pkgName, uid, vers, serviceName, in dumpTimesCheckin()
452 dumpTimeCheckin(pw, "pkgsvc-exec", pkgName, uid, vers, serviceName, in dumpTimesCheckin()
457 int uid, int vers, String serviceName, int serviceType, int opCount, in dumpTimeCheckin() argument
470 pw.print(serviceName); in dumpTimeCheckin()
DProcessState.java399 public void incActiveServices(String serviceName) { in incActiveServices() argument
403 Slog.d(TAG, "incActiveServices: " + this + " service=" + serviceName in incActiveServices()
407 mCommonProcess.incActiveServices(serviceName); in incActiveServices()
412 public void decActiveServices(String serviceName) { in decActiveServices() argument
416 Slog.d(TAG, "decActiveServices: " + this + " service=" + serviceName in decActiveServices()
420 mCommonProcess.decActiveServices(serviceName); in decActiveServices()
425 + " uid=" + mUid + " proc=" + mName + " service=" + serviceName); in decActiveServices()
430 public void incStartedServices(int memFactor, long now, String serviceName) { in incStartedServices() argument
434 Slog.d(TAG, "incStartedServices: " + this + " service=" + serviceName in incStartedServices()
438 mCommonProcess.incStartedServices(memFactor, now, serviceName); in incStartedServices()
[all …]
DProcessStats.java1078 String serviceName = in.readString(); in readFromParcel() local
1079 if (serviceName == null) { in readFromParcel()
1084 ServiceState serv = hadData ? pkgState.mServices.get(serviceName) : null; in readFromParcel()
1086 serv = new ServiceState(this, pkgName, serviceName, processName, null); in readFromParcel()
1092 + serviceName + " " + uid + " " + serv); in readFromParcel()
1093 pkgState.mServices.put(serviceName, serv); in readFromParcel()
1618 final String serviceName = DumpUtils.collapseString(pkgName, in dumpCheckinLocked() local
1621 svc.dumpTimesCheckin(pw, pkgName, uid, vers, serviceName, now); in dumpCheckinLocked()
/frameworks/base/core/java/android/print/
DPrinterId.java43 public PrinterId(@NonNull ComponentName serviceName, @NonNull String localId) { in PrinterId() argument
44 mServiceName = serviceName; in PrinterId()
/frameworks/base/core/java/android/bluetooth/
DSdpOppOpsRecord.java34 public SdpOppOpsRecord(String serviceName, int rfcommChannel, in SdpOppOpsRecord() argument
37 this.mServiceName = serviceName; in SdpOppOpsRecord()
DIBluetooth.aidl96 …ParcelFileDescriptor createSocketChannel(int type, in String serviceName, in ParcelUuid uuid, int … in createSocketChannel() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java77 public IBinder getService(String serviceName) { in getService() argument
78 return ServiceManager.getService(serviceName); in getService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DServiceMonitor.java252 private void serviceDisconnected(ComponentName serviceName) { in serviceDisconnected() argument
253 if (mDebug) Log.d(mTag, "serviceDisconnected serviceName=" + serviceName in serviceDisconnected()
255 if (serviceName.equals(mServiceName)) { in serviceDisconnected()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java474 String serviceName = parser.getAttributeValue(null, "service"); in readPermissionsFromXml() local
475 if (serviceName == null) { in readPermissionsFromXml()
479 ComponentName cn = ComponentName.unflattenFromString(serviceName); in readPermissionsFromXml()
483 + serviceName + " in "+ permFile in readPermissionsFromXml()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java439 final String serviceName = md != null ? convertServiceName(ai.packageName, in queryTargetServices() local
441 if (serviceName != null) { in queryTargetServices()
443 ai.packageName, serviceName); in queryTargetServices()
502 private String convertServiceName(String packageName, String serviceName) { in convertServiceName() argument
503 if (TextUtils.isEmpty(serviceName)) { in convertServiceName()
508 if (serviceName.startsWith(".")) { in convertServiceName()
510 fullName = packageName + serviceName; in convertServiceName()
511 } else if (serviceName.indexOf('.') >= 0) { in convertServiceName()
513 fullName = serviceName; in convertServiceName()
/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp165 String16 serviceName = String16("binderWorker") + String16(num_str); in generateServiceName() local
166 return serviceName; in generateServiceName()
/frameworks/base/core/java/android/content/
DContext.java2885 String serviceName = getSystemServiceName(serviceClass); in getSystemService() local
2886 return serviceName != null ? (T)getSystemService(serviceName) : null; in getSystemService()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java806 private static <T> void registerService(String serviceName, Class<T> serviceClass, in registerService() argument
808 SYSTEM_SERVICE_NAMES.put(serviceClass, serviceName); in registerService()
809 SYSTEM_SERVICE_FETCHERS.put(serviceName, serviceFetcher); in registerService()
/frameworks/base/tools/aapt/
DCommand.cpp1069 String8 serviceName; in doDump() local
1722 serviceName = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1752 "service '%s': %s\n", serviceName.string(), error.string()); in doDump()
1876 "meta-data tag in service '%s': %s\n", serviceName.string(), in doDump()
1893 serviceName.string(), error.string()); in doDump()
1901 serviceName.string()); in doDump()

12