public static ComponentName getComponentName(ServiceInfo serviceInfo) {
        return new ComponentName(serviceInfo.packageName, serviceInfo.name);
    }
Those that has not service and broadcast and no activity.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/ComponentUtil.java