/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 252 const String16& serviceName = services[i]; in main() local 253 if (IsSkipped(skippedServices, serviceName)) continue; in main() 255 if (startDumpThread(type, serviceName, args) == OK) { in main() 258 writeDumpHeader(STDOUT_FILENO, serviceName, priorityFlags); in main() 263 writeDump(STDOUT_FILENO, serviceName, std::chrono::milliseconds(timeoutArgMs), in main() 268 << "*** SERVICE '" << serviceName << "' DUMP TIMEOUT (" << timeoutArgMs in main() 274 writeDumpFooter(STDOUT_FILENO, serviceName, elapsedDuration); in main() 332 status_t Dumpsys::startDumpThread(Type type, const String16& serviceName, in startDumpThread() argument 334 sp<IBinder> service = sm_->checkService(serviceName); in startDumpThread() 336 std::cerr << "Can't find service: " << serviceName << std::endl; in startDumpThread() [all …]
|
D | dumpsys.h | 69 status_t startDumpThread(Type type, const String16& serviceName, 78 void writeDumpHeader(int fd, const String16& serviceName, int priorityFlags) const; 96 status_t writeDump(int fd, const String16& serviceName, std::chrono::milliseconds timeout, 106 void writeDumpFooter(int fd, const String16& serviceName,
|
/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/core/java/android/os/ |
D | HwBinder.java | 69 public native final void registerService(String serviceName) in registerService() argument 81 String serviceName) in getService() argument 83 return getService(iface, serviceName, false /* retry */); in getService() 94 String serviceName, in getService() argument
|
/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/wifi/java/android/net/wifi/aware/ |
D | PublishConfig.java | 88 public PublishConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in PublishConfig() argument 91 mServiceName = serviceName; in PublishConfig() 140 byte[] serviceName = in.createByteArray(); 148 return new PublishConfig(serviceName, ssi, matchFilter, publishType, 254 public Builder setServiceName(@NonNull String serviceName) { in setServiceName() argument 255 if (serviceName == null) { in setServiceName() 258 mServiceName = serviceName.getBytes(StandardCharsets.UTF_8); in setServiceName()
|
D | SubscribeConfig.java | 95 public SubscribeConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in SubscribeConfig() argument 99 mServiceName = serviceName; in SubscribeConfig() 157 byte[] serviceName = in.createByteArray(); 168 return new SubscribeConfig(serviceName, ssi, matchFilter, subscribeType, ttlSec, 311 public Builder setServiceName(@NonNull String serviceName) { in setServiceName() argument 312 if (serviceName == null) { in setServiceName() 315 mServiceName = serviceName.getBytes(StandardCharsets.UTF_8); in setServiceName()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | BroadcastRadioService.java | 59 public void onRegistration(String fqName, String serviceName, boolean preexisting) { 60 Slog.v(TAG, "onRegistration(" + fqName + ", " + serviceName + ", " + preexisting + ")"); 64 moduleId = mServiceNameToModuleIdMap.get(serviceName); 71 RadioModule module = RadioModule.tryLoadingModule(moduleId, serviceName); 75 Slog.v(TAG, "loaded broadcast radio module " + moduleId + ": " + serviceName 83 mServiceNameToModuleIdMap.put(serviceName, moduleId);
|
/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/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()
|
D | ContentSuggestionsPerUserService.java | 163 final String serviceName = getComponentNameLocked(); in ensureRemoteServiceLocked() local 164 if (serviceName == null) { in ensureRemoteServiceLocked() 170 ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in ensureRemoteServiceLocked()
|
/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/native/cmds/servicemanager/ |
D | ServiceManager.cpp | 451 ssize_t ServiceManager::handleServiceClientCallback(const std::string& serviceName, in handleServiceClientCallback() argument 453 auto serviceIt = mNameToService.find(serviceName); in handleServiceClientCallback() 454 if (serviceIt == mNameToService.end() || mNameToClientCallback.count(serviceName) < 1) { in handleServiceClientCallback() 469 sendClientCallbackNotifications(serviceName, true); in handleServiceClientCallback() 480 sendClientCallbackNotifications(serviceName, true); in handleServiceClientCallback() 485 sendClientCallbackNotifications(serviceName, false); in handleServiceClientCallback() 492 void ServiceManager::sendClientCallbackNotifications(const std::string& serviceName, bool hasClient… in sendClientCallbackNotifications() argument 493 auto serviceIt = mNameToService.find(serviceName); in sendClientCallbackNotifications() 495 LOG(WARNING) << "sendClientCallbackNotifications could not find service " << serviceName; in sendClientCallbackNotifications() 503 LOG(INFO) << "Notifying " << serviceName << " they have clients: " << hasClients; in sendClientCallbackNotifications() [all …]
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCaptureMetricsLogger.java | 36 public static void writeServiceEvent(int eventType, @NonNull String serviceName, in writeServiceEvent() argument 38 StatsLog.write(StatsLog.CONTENT_CAPTURE_SERVICE_EVENTS, eventType, serviceName, in writeServiceEvent() 63 final String serviceName = ComponentName.flattenToShortString(service); in writeSetWhitelistEvent() local 84 serviceName, stringBuilder.toString()); in writeSetWhitelistEvent()
|
D | ContentCaptureManagerService.java | 206 protected void onServiceNameChanged(@UserIdInt int userId, @NonNull String serviceName, in onServiceNameChanged() argument 208 mGlobalContentCaptureOptions.setServiceInfo(userId, serviceName, isTemporary); in onServiceNameChanged() 210 super.onServiceNameChanged(userId, serviceName, isTemporary); in onServiceNameChanged() 467 final String serviceName = mServiceNameResolver.getServiceName(userId); in isCalledByServiceLocked() local 468 if (serviceName == null) { in isCalledByServiceLocked() 474 final ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in isCalledByServiceLocked() 476 Slog.w(mTag, methodName + ": invalid service name: " + serviceName); in isCalledByServiceLocked() 487 Slog.w(mTag, methodName + ": could not verify UID for " + serviceName); in isCalledByServiceLocked() 760 private void setServiceInfo(@UserIdInt int userId, @Nullable String serviceName, in setServiceInfo() argument 768 if (serviceName != null) { in setServiceInfo() [all …]
|
D | ContentCaptureManagerServiceShellCommand.java | 150 final String serviceName = getNextArg(); in setTemporaryService() local 151 if (serviceName == null) { in setTemporaryService() 156 mService.setTemporaryService(userId, serviceName, duration); in setTemporaryService() 157 pw.println("ContentCaptureService temporarily set to " + serviceName + " for " in setTemporaryService()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PreRebootLogger.java | 117 private static void dumpServiceLocked(@NonNull File dumpDir, @NonNull String serviceName) { in dumpServiceLocked() argument 118 final IBinder binder = ServiceManager.checkService(serviceName); in dumpServiceLocked() 124 final File dumpFile = new File(dumpDir, serviceName); in dumpServiceLocked() 130 Slog.d(TAG, String.format("Dump %s service before reboot fail", serviceName), e); in dumpServiceLocked()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | UserState.java | 410 public void setPrintServiceEnabled(@NonNull ComponentName serviceName, boolean isEnabled) { in setPrintServiceEnabled() argument 414 isChanged = mDisabledServices.remove(serviceName); in setPrintServiceEnabled() 421 if (service.getComponentName().equals(serviceName)) { in setPrintServiceEnabled() 422 mDisabledServices.add(serviceName); in setPrintServiceEnabled() 895 ComponentName serviceName = new ComponentName( in readInstalledPrintServicesLocked() local 899 + serviceName.flattenToShortString() in readInstalledPrintServicesLocked() 928 ComponentName serviceName = mInstalledServices.get(i).getComponentName(); in upgradePersistentStateIfNeeded() local 929 if (!enabledServiceNameSet.contains(serviceName)) { in upgradePersistentStateIfNeeded() 930 disabledServices.add(serviceName); in upgradePersistentStateIfNeeded() 1004 ComponentName serviceName = new ComponentName(resolveInfo.serviceInfo.packageName, in getInstalledComponents() local [all …]
|
/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/java/com/android/server/vr/ |
D | EnabledComponentsObserver.java | 80 @NonNull String servicePermission, @NonNull String serviceName, @NonNull Object lock, in EnabledComponentsObserver() argument 85 mServiceName = serviceName; in EnabledComponentsObserver() 104 @NonNull String servicePermission, @NonNull String serviceName, in build() argument 111 servicePermission, serviceName, lock, listeners); in build() 252 String serviceName, String permissionName) { in loadComponentNames() argument 255 Intent queryIntent = new Intent(serviceName); in loadComponentNames()
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/shadows/ |
D | ShadowCar.java | 98 public static void setCarManager(String serviceName, Object carManager) { in setCarManager() argument 99 sServiceName = serviceName; in setCarManager() 102 doReturn(carManager).when(sMockCar).getCarManager(serviceName); in setCarManager()
|
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/ |
D | SystemCaptionsManagerPerUserService.java | 91 String serviceName = getComponentNameLocked(); in getRemoteServiceLocked() local 92 if (serviceName == null) { in getRemoteServiceLocked() 99 ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in getRemoteServiceLocked()
|
/frameworks/base/core/java/com/android/internal/accessibility/ |
D | AccessibilityShortcutController.java | 234 final String serviceName = getShortcutFeatureDescription(false /* no summary */); in performAccessibilityShortcut() local 235 if (serviceName == null) { in performAccessibilityShortcut() 245 String toastMessage = String.format(toastMessageFormatString, serviceName); in performAccessibilityShortcut() 360 final String serviceName = getShortcutFeatureDescription(false /* no summary */); in performTtsPrompt() local 362 if (TextUtils.isEmpty(serviceName) || serviceInfo == null) { in performTtsPrompt() 369 final TtsPrompt tts = new TtsPrompt(serviceName); in performTtsPrompt() 382 TtsPrompt(String serviceName) { in TtsPrompt() argument 384 serviceName); in TtsPrompt()
|
/frameworks/base/core/java/android/bluetooth/ |
D | SdpSapsRecord.java | 28 public SdpSapsRecord(int rfcommChannelNumber, int profileVersion, String serviceName) { in SdpSapsRecord() argument 31 mServiceName = serviceName; in SdpSapsRecord()
|
D | SdpMnsRecord.java | 32 String serviceName) { in SdpMnsRecord() argument 36 mServiceName = serviceName; in SdpMnsRecord()
|