/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/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/ |
D | RavenwoodContext.java | 47 private void registerService(Class<?> serviceClass, String serviceName, in registerService() argument 49 mClassToName.put(serviceClass, serviceName); in registerService() 50 mNameToFactory.put(serviceName, serviceSupplier); in registerService() 77 public Object getSystemService(String serviceName) { in getSystemService() argument 79 final Supplier<?> serviceSupplier = mNameToFactory.get(serviceName); in getSystemService() 84 "Service " + serviceName + " not yet supported under Ravenwood"); in getSystemService() 91 final String serviceName = mClassToName.get(serviceClass); in getSystemServiceName() local 92 if (serviceName != null) { in getSystemServiceName() 93 return serviceName; in getSystemServiceName()
|
/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/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; in TEST() 110 EXPECT_EQ("foo", outString) << serviceName; in TEST()
|
/frameworks/av/media/codec2/hal/services/ |
D | vendor.cpp | 197 const std::string serviceName = in runAidlService() local 200 store->asBinder().get(), serviceName.c_str()); in runAidlService() 204 << serviceName << "\"."; in runAidlService() 207 "Instance name: \"" << serviceName << "\"."; in runAidlService() 238 constexpr char const* serviceName = "default"; in runHidlService() local 239 if (store->registerAsService(serviceName) != OK) { in runHidlService() 242 << serviceName << "\"."; in runHidlService() 245 "Instance name: \"" << serviceName << "\"."; in runHidlService()
|
/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/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/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/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/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/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/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/os/ |
D | HwBinder.java | 68 public native final void registerService(String serviceName) in registerService() argument 80 String serviceName) in getService() argument 93 return getService(iface, serviceName, false /* retry */); in getService() 104 String serviceName, in getService() argument
|
/frameworks/base/nfc/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/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/broadcastradio/hal2/ |
D | BroadcastRadioService.java | 65 public void onRegistration(String fqName, String serviceName, boolean preexisting) { 66 Slogf.v(TAG, "onRegistration(" + fqName + ", " + serviceName + ", " + preexisting 71 moduleId = mServiceNameToModuleIdMap.get(serviceName); 78 RadioModule radioModule = RadioModule.tryLoadingModule(moduleId, serviceName); 82 Slogf.v(TAG, "loaded broadcast radio module " + moduleId + ": " + serviceName 90 mServiceNameToModuleIdMap.put(serviceName, moduleId);
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | UserState.java | 414 public void setPrintServiceEnabled(@NonNull ComponentName serviceName, boolean isEnabled) { in setPrintServiceEnabled() argument 418 isChanged = mDisabledServices.remove(serviceName); in setPrintServiceEnabled() 425 if (service.getComponentName().equals(serviceName)) { in setPrintServiceEnabled() 426 mDisabledServices.add(serviceName); in setPrintServiceEnabled() 444 public boolean isPrintServiceEnabled(@NonNull ComponentName serviceName) { in isPrintServiceEnabled() argument 446 if (mDisabledServices.contains(serviceName)) { in isPrintServiceEnabled() 908 ComponentName serviceName = new ComponentName( in readInstalledPrintServicesLocked() local 912 + serviceName.flattenToShortString() in readInstalledPrintServicesLocked() 941 ComponentName serviceName = mInstalledServices.get(i).getComponentName(); in upgradePersistentStateIfNeeded() local 942 if (!enabledServiceNameSet.contains(serviceName)) { in upgradePersistentStateIfNeeded() [all …]
|