Searched refs:serviceName (Results 1 - 25 of 29) sorted by relevance

12

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

Completed in 1812 milliseconds

12