/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/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.getDescription(); in TEST() 110 EXPECT_EQ("foo", outString) << serviceName; in TEST()
|
/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/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/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/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/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/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/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/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/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/services/core/java/com/android/server/broadcastradio/hal2/ |
D | BroadcastRadioService.java | 60 public void onRegistration(String fqName, String serviceName, boolean preexisting) { 61 Slog.v(TAG, "onRegistration(" + fqName + ", " + serviceName + ", " + preexisting + ")"); 65 moduleId = mServiceNameToModuleIdMap.get(serviceName); 72 RadioModule module = RadioModule.tryLoadingModule(moduleId, serviceName, mLock); 76 Slog.v(TAG, "loaded broadcast radio module " + moduleId + ": " + serviceName 84 mServiceNameToModuleIdMap.put(serviceName, moduleId);
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemServiceManager.java | 491 final String serviceName = service.getClass().getName(); in onUser() local 503 + serviceName + " because it's not supported (curUser: " in onUser() 507 + serviceName); in onUser() 513 t.traceBegin("ssm.on" + onWhat + "User-" + curUserId + "_" + serviceName); in onUser() 542 t, service, serviceName, curUser, completedEventType)); in onUser() 548 logFailure(onWhat, curUser, serviceName, ex); in onUser() 613 final String serviceName = service.getClass().getName(); in getOnUserStartingRunnable() 615 t.traceBegin("ssm.on" + USER_STARTING + "User-" + curUserId + "_" + serviceName); in getOnUserStartingRunnable() 622 logFailure(USER_STARTING, curUser, serviceName, e); in getOnUserStartingRunnable() 632 SystemService service, String serviceName, TargetUser curUser, in getOnUserCompletedEventRunnable() argument [all …]
|
/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/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/selectiontoolbar/java/com/android/server/selectiontoolbar/ |
D | RemoteSelectionToolbarRenderService.java | 42 RemoteSelectionToolbarRenderService(Context context, ComponentName serviceName, int userId, in RemoteSelectionToolbarRenderService() argument 45 serviceName), 0, userId, ISelectionToolbarRenderService.Stub::asInterface); in RemoteSelectionToolbarRenderService() 46 mComponentName = serviceName; in RemoteSelectionToolbarRenderService()
|