/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 275 const String16& serviceName = services[i]; in main() local 276 if (IsSkipped(skippedServices, serviceName)) continue; in main() 278 if (startDumpThread(dumpTypeFlags, serviceName, args) == OK) { in main() 281 writeDumpHeader(STDOUT_FILENO, serviceName, priorityFlags); in main() 286 writeDump(STDOUT_FILENO, serviceName, std::chrono::milliseconds(timeoutArgMs), in main() 291 << "*** SERVICE '" << serviceName << "' DUMP TIMEOUT (" << timeoutArgMs in main() 297 writeDumpFooter(STDOUT_FILENO, serviceName, elapsedDuration); in main() 409 static void reportDumpError(const String16& serviceName, status_t error, const char* context) { in reportDumpError() argument 412 std::cerr << "Error with service '" << serviceName << "' while " << context << ": " in reportDumpError() 416 status_t Dumpsys::startDumpThread(int dumpTypeFlags, const String16& serviceName, in startDumpThread() argument [all …]
|
D | dumpsys.h | 73 status_t startDumpThread(int dumpTypeFlags, const String16& serviceName, 82 void writeDumpHeader(int fd, const String16& serviceName, int priorityFlags) const; 100 status_t writeDump(int fd, const String16& serviceName, std::chrono::milliseconds timeout, 110 void writeDumpFooter(int fd, const String16& serviceName,
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | ComposerHal.cpp | 28 std::unique_ptr<Composer> Composer::create(const std::string& serviceName) { in create() argument 29 if (AidlComposer::isDeclared(serviceName)) { in create() 30 return std::make_unique<AidlComposer>(serviceName); in create() 33 return std::make_unique<HidlComposer>(serviceName); in create()
|
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/ |
D | DumpTestUtils.java | 47 private static String dumpService(String serviceName, boolean adoptPermission, String... args) in dumpService() argument 49 final IBinder ib = ServiceManager.getService(serviceName); in dumpService() 70 final String what = "service '" + serviceName + "' with args: " + Arrays.toString(args); in dumpService() 103 public static String dumpService(String serviceName, String... args) in dumpService() argument 105 return dumpService(serviceName, false, args); in dumpService() 124 public static String dumpServiceWithShellPermission(String serviceName, String... args) in dumpServiceWithShellPermission() argument 126 return dumpService(serviceName, true, args); in dumpServiceWithShellPermission()
|
/frameworks/base/core/jni/ |
D | android_os_ServiceManager.cpp | 34 const jchar* serviceName = env->GetStringCritical(serviceNameObj, nullptr); in android_os_ServiceManager_waitForServiceNative() local 35 if (!serviceName) { in android_os_ServiceManager_waitForServiceNative() 39 String16 nameCopy = String16(reinterpret_cast<const char16_t *>(serviceName), in android_os_ServiceManager_waitForServiceNative() 41 env->ReleaseStringCritical(serviceNameObj, serviceName); in android_os_ServiceManager_waitForServiceNative()
|
/frameworks/base/media/java/android/media/ |
D | MediaServiceManager.java | 53 public ServiceRegisterer(String serviceName, boolean lazyStart) { in ServiceRegisterer() argument 54 mServiceName = serviceName; in ServiceRegisterer() 61 public ServiceRegisterer(String serviceName) { in ServiceRegisterer() argument 62 this(serviceName, false /*lazyStart*/); in ServiceRegisterer()
|
/frameworks/av/media/libaudiohal/impl/ |
D | DevicesFactoryHalAidl.cpp | 107 auto serviceName = std::string(IModule::descriptor) + "/" + name; in openDevice() local 109 ndk::SpAIBinder(AServiceManager_waitForService(serviceName.c_str()))); in openDevice() 111 ALOGE("%s fromBinder %s failed", __func__, serviceName.c_str()); in openDevice() 178 auto serviceName = std::string(IHalAdapterVendorExtension::descriptor) + "/default"; in getVendorExtension() local 179 if (AServiceManager_isDeclared(serviceName.c_str())) { in getVendorExtension() 182 AServiceManager_waitForService(serviceName.c_str())))); in getVendorExtension() 192 auto serviceName = std::string(IConfig::descriptor) + "/default"; in createIDevicesFactoryImpl() local 194 ndk::SpAIBinder(AServiceManager_waitForService(serviceName.c_str()))); in createIDevicesFactoryImpl() 196 ALOGE("%s binder service %s not exist", __func__, serviceName.c_str()); in createIDevicesFactoryImpl()
|
/frameworks/native/libs/binder/ndk/tests/ |
D | binderVendorDoubleLoadTest.cpp | 94 for (const std::string& serviceName : {kLocalNdkServerName, kRemoteNdkServerName}) { in TEST() 95 SpAIBinder binder = SpAIBinder(AServiceManager_checkService(serviceName.c_str())); in TEST() 96 ASSERT_NE(nullptr, binder.get()) << serviceName; in TEST() 97 EXPECT_EQ(STATUS_OK, AIBinder_ping(binder.get())) << serviceName; in TEST() 102 ASSERT_NE(nullptr, server.get()) << serviceName; in TEST() 109 << serviceName << " " << status; in TEST() 110 EXPECT_EQ("foo", outString) << serviceName; in TEST()
|
/frameworks/base/services/smartspace/java/com/android/server/smartspace/ |
D | SmartspaceManagerServiceShellCommand.java | 50 String serviceName = getNextArg(); in onCommand() local 51 if (serviceName == null) { in onCommand() 57 mService.setTemporaryService(userId, serviceName, duration); in onCommand() 58 pw.println("SmartspaceService temporarily set to " + serviceName in onCommand()
|
/frameworks/base/core/java/android/os/ |
D | HwBinder.java | 67 public native final void registerService(String serviceName) in registerService() argument 79 String serviceName) in getService() argument 81 return getService(iface, serviceName, false /* retry */); in getService() 92 String serviceName, in getService() argument
|
/frameworks/base/services/searchui/java/com/android/server/searchui/ |
D | SearchUiManagerServiceShellCommand.java | 50 String serviceName = getNextArg(); in onCommand() local 51 if (serviceName == null) { in onCommand() 57 mService.setTemporaryService(userId, serviceName, duration); in onCommand() 58 pw.println("SearchUiService temporarily set to " + serviceName in onCommand()
|
/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/ |
D | WallpaperEffectsGenerationManagerServiceShellCommand.java | 51 String serviceName = getNextArg(); in onCommand() local 52 if (serviceName == null) { in onCommand() 58 mService.setTemporaryService(userId, serviceName, duration); in onCommand() 60 + serviceName + " for " + duration + "ms"); in onCommand()
|
/frameworks/base/services/appprediction/java/com/android/server/appprediction/ |
D | AppPredictionManagerServiceShellCommand.java | 50 String serviceName = getNextArg(); in onCommand() local 51 if (serviceName == null) { in onCommand() 56 mService.setTemporaryService(userId, serviceName, duration); in onCommand() 57 pw.println("AppPredictionService temporarily set to " + serviceName in onCommand()
|
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/ |
D | MusicRecognitionManagerServiceShellCommand.java | 55 final String serviceName = getNextArg(); in setTemporaryService() local 56 if (serviceName == null) { in setTemporaryService() 61 mService.setTemporaryService(userId, serviceName, duration); in setTemporaryService() 62 pw.println("MusicRecognitionService temporarily set to " + serviceName + " for " in setTemporaryService()
|
D | MusicRecognitionManagerService.java | 166 final String serviceName = mServiceNameResolver.getServiceName(userId); in isCalledByServiceAppLocked() local 167 if (serviceName == null) { in isCalledByServiceAppLocked() 173 final ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in isCalledByServiceAppLocked() 175 Slog.w(TAG, methodName + ": invalid service name: " + serviceName); in isCalledByServiceAppLocked() 187 Slog.w(TAG, methodName + ": could not verify UID for " + serviceName); in isCalledByServiceAppLocked()
|
/frameworks/base/services/translation/java/com/android/server/translation/ |
D | TranslationManagerServiceShellCommand.java | 54 final String serviceName = getNextArg(); in setTemporaryService() local 55 if (serviceName == null) { in setTemporaryService() 60 mService.setTemporaryService(userId, serviceName, duration); in setTemporaryService() 61 pw.println("TranslationService temporarily set to " + serviceName + " for " in setTemporaryService()
|
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/ |
D | AutofillTestWatcher.java | 87 String serviceName = MyAutofillService.COMPONENT_NAME; in setAutofillService() local 91 serviceName); in setAutofillService() local 97 return isAutofillServiceEnabled(serviceName) ? serviceName : null; in setAutofillService() 116 private boolean isAutofillServiceEnabled(String serviceName) { in isAutofillServiceEnabled() argument 119 return serviceName.equals(actualName); in isAutofillServiceEnabled()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | RemoteFieldClassificationService.java | 77 RemoteFieldClassificationService(Context context, ComponentName serviceName, in RemoteFieldClassificationService() argument 81 new Intent(FieldClassificationService.SERVICE_INTERFACE).setComponent(serviceName), in RemoteFieldClassificationService() 83 mComponentName = serviceName; in RemoteFieldClassificationService() 85 Slog.d(TAG, "About to connect to serviceName: " + serviceName); in RemoteFieldClassificationService() 92 static Pair<ServiceInfo, ComponentName> getComponentName(@NonNull String serviceName, in getComponentName() argument 102 serviceComponent = ComponentName.unflattenFromString(serviceName); in getComponentName() 106 Slog.e(TAG, "Bad service name for flags " + flags + ": " + serviceName); in getComponentName() 110 Slog.e(TAG, "Error getting service info for '" + serviceName + "': " + e); in getComponentName()
|
/frameworks/base/core/java/android/nfc/dta/ |
D | NfcDta.java | 104 public boolean enableServer(String serviceName, int serviceSap, int miu, in enableServer() argument 107 return sService.enableServer(serviceName, serviceSap, miu, rwSize, testCaseId); in enableServer() 132 public boolean enableClient(String serviceName, int miu, int rwSize, in enableClient() argument 135 return sService.enableClient(serviceName, miu, rwSize, testCaseId); in enableClient()
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCaptureMetricsLogger.java | 37 public static void writeServiceEvent(int eventType, @NonNull String serviceName) { in writeServiceEvent() argument 40 serviceName, /* componentName= */ null, 0, 0); in writeServiceEvent() 51 final String serviceName = ComponentName.flattenToShortString(service); in writeSetWhitelistEvent() local 58 serviceName, /* allowListStr= */ null, packageCount, activityCount); in writeSetWhitelistEvent()
|
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/ |
D | ContentSuggestionsManagerServiceShellCommand.java | 102 String serviceName = getNextArg(); in setTemporaryService() local 103 if (serviceName == null) { in setTemporaryService() 108 mService.setTemporaryService(userId, serviceName, duration); in setTemporaryService() 109 pw.println("ContentSuggestionsService temporarily set to " + serviceName in setTemporaryService()
|
/frameworks/base/services/core/java/com/android/server/rotationresolver/ |
D | RotationResolverShellCommand.java | 96 final String serviceName = getNextArg(); in setTemporaryService() local 97 if (serviceName == null) { in setTemporaryService() 103 mService.setTemporaryService(userId, serviceName, duration); in setTemporaryService() 104 out.println("RotationResolverService temporarily set to " + serviceName in setTemporaryService()
|
/frameworks/base/core/java/android/nfc/ |
D | INfcDta.aidl | 27 boolean enableServer(String serviceName, int serviceSap, int miu, in enableServer() argument 30 boolean enableClient(String serviceName, int miu, int rwSize, in enableClient() argument
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | BroadcastRadioService.cpp | 141 for (auto&& serviceName : services) { in nativeLoadModules() 142 ALOGV("checking service: %s", serviceName.c_str()); in nativeLoadModules() 144 auto factory = V1_0::IBroadcastRadioFactory::getService(serviceName); in nativeLoadModules() 146 ALOGE("can't load service %s", serviceName.c_str()); in nativeLoadModules() 167 serviceName.c_str(), V1_0::toString(clazz).c_str()); in nativeLoadModules() 176 idx, serviceName.c_str(), V1_0::toString(clazz).c_str(), halMinor); in nativeLoadModules() 184 jModule = convert::ModulePropertiesFromHal(env, properties, idx, serviceName); in nativeLoadModules() 192 jModule = convert::ModulePropertiesFromHal(env, properties, idx, serviceName); in nativeLoadModules()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemServiceManager.java | 494 final String serviceName = service.getClass().getName(); in onUser() local 506 + serviceName + " because it's not supported (curUser: " in onUser() 510 + serviceName); in onUser() 516 t.traceBegin("ssm.on" + onWhat + "User-" + curUserId + "_" + serviceName); in onUser() 545 t, service, serviceName, curUser, completedEventType)); in onUser() 551 logFailure(onWhat, curUser, serviceName, ex); in onUser() 610 final String serviceName = service.getClass().getName(); in getOnUserStartingRunnable() 612 t.traceBegin("ssm.on" + USER_STARTING + "User-" + curUserId + "_" + serviceName); in getOnUserStartingRunnable() 619 logFailure(USER_STARTING, curUser, serviceName, e); in getOnUserStartingRunnable() 627 SystemService service, String serviceName, TargetUser curUser, in getOnUserCompletedEventRunnable() argument [all …]
|