Home
last modified time | relevance | path

Searched refs:kServiceName (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/services/automotive/display/
Dmain_automotivedisplayproxy.cpp37 const static char kServiceName[] = "default"; variable
49 status_t status = service->registerAsService(kServiceName); in main()
51 ALOGD("%s is ready.", kServiceName); in main()
54 ALOGE("Could not register service %s (%d).", kServiceName, status); in main()
/frameworks/native/libs/binder/tests/
DbinderHostDeviceTest.cpp57 constexpr const char* kServiceName = "binderHostDeviceTestService"; variable
96 auto service = execute({"adb", "shell", kServiceBinary, kServiceName, kDescriptor}, in SetUp()
122 ASSERT_THAT(services, Contains(String16(kServiceName))); in TEST_F()
128 auto rpcBinder = sm->checkService(String16(kServiceName)); in TEST_F()
140 auto rpcBinder = sm->getService(String16(kServiceName)); in TEST_F()
151 auto rpcBinder = sm->waitForService(String16(kServiceName)); in TEST_F()
162 auto rpcBinder = sm->checkService(String16(kServiceName)); in TEST_F()
DbinderSafeInterfaceTest.cpp49 static const String16 kServiceName("SafeInterfaceTest"); variable
612 sp<IBinder> binder = defaultServiceManager()->getService(kServiceName); in getRemoteService()
833 status_t status = defaultServiceManager()->addService(kServiceName, nativeService); in main()
/frameworks/av/media/module/codecserviceregistrant/fuzzer/
DcodecServiceRegistrant_fuzzer.cpp24 constexpr char kServiceName[] = "software"; variable
68 if (storeV1_2->registerAsService(string(kServiceName)) != android::OK) { in initH2C2ComponentStore()
74 if (storeV1_1->registerAsService(string(kServiceName)) != android::OK) { in initH2C2ComponentStore()
80 if (storeV1_0->registerAsService(string(kServiceName)) != android::OK) { in initH2C2ComponentStore()
88 string const preferredStoreName = string(kServiceName); in initH2C2ComponentStore()
/frameworks/av/services/mediametrics/
Dmain_mediametrics.cpp42 strlcpy(argv[0], MediaMetricsService::kServiceName, origSize); in main()
45 String16(MediaMetricsService::kServiceName), new MediaMetricsService()); in main()
DMediaMetricsService.cpp311 result << StringPrintf("Dump of the %s process:\n", kServiceName); in dump()
/frameworks/av/services/mediaresourcemanager/
DResourceManagerServiceUtils.cpp296 static const char* const kServiceName = "media_resource_monitor"; in notifyResourceGranted() local
297 sp<IBinder> binder = defaultServiceManager()->checkService(String16(kServiceName)); in notifyResourceGranted()
/frameworks/av/services/mediametrics/include/mediametricsservice/
DMediaMetricsService.h67 static constexpr const char * const kServiceName = "media.metrics"; variable
/frameworks/av/media/libmediaplayerservice/fuzzer/
Dmediarecorder_fuzzer.cpp408 fakeServiceManager->addService(String16(MediaMetricsService::kServiceName), in LLVMFuzzerInitialize()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp164 static const std::string kServiceName("cameraserver"); variable
1610 kServiceName, /*systemNativeClient*/ false, {}, uid, USE_CALLING_PID, in initializeShimMetadata()
4584 toString16(kServiceName), emptyUidArray, 0, mObserverToken); in registerWithActivityManager()
4727 status_t res = mAm.addUidToObserver(mObserverToken, toString16(kServiceName), uid); in registerMonitorUid()
4748 status_t res = mAm.removeUidFromObserver(mObserverToken, toString16(kServiceName), uid); in unregisterMonitorUid()