Home
last modified time | relevance | path

Searched refs:serviceName (Results 1 – 25 of 56) sorted by relevance

123

/hardware/interfaces/radio/1.0/vts/functional/
Dradio_hidl_hal_test.cpp20 bool isServiceValidForDeviceConfiguration(hidl_string& serviceName) { in isServiceValidForDeviceConfiguration() argument
23 if (serviceName != RADIO_SERVICE_SLOT1_NAME) { in isServiceValidForDeviceConfiguration()
24 ALOGI("%s instance is not valid for SSSS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
29 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME) { in isServiceValidForDeviceConfiguration()
30 ALOGI("%s instance is not valid for DSDS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
35 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME && in isServiceValidForDeviceConfiguration()
36 serviceName != RADIO_SERVICE_SLOT3_NAME) { in isServiceValidForDeviceConfiguration()
37 ALOGI("%s instance is not valid for TSTS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
45 hidl_string serviceName = GetParam(); in SetUp() local
46 if (!isServiceValidForDeviceConfiguration(serviceName)) { in SetUp()
[all …]
Dsap_hidl_hal_test.cpp19 bool isServiceValidForDeviceConfiguration(hidl_string& serviceName) { in isServiceValidForDeviceConfiguration() argument
22 if (serviceName != SAP_SERVICE_SLOT1_NAME) { in isServiceValidForDeviceConfiguration()
28 if (serviceName != SAP_SERVICE_SLOT1_NAME && serviceName != SAP_SERVICE_SLOT2_NAME) { in isServiceValidForDeviceConfiguration()
34 if (serviceName != SAP_SERVICE_SLOT1_NAME && serviceName != SAP_SERVICE_SLOT2_NAME && in isServiceValidForDeviceConfiguration()
35 serviceName != SAP_SERVICE_SLOT3_NAME) { in isServiceValidForDeviceConfiguration()
44 hidl_string serviceName = GetParam(); in SetUp() local
45 if (!isServiceValidForDeviceConfiguration(serviceName)) { in SetUp()
49 sap = ISap::getService(serviceName); in SetUp()
/hardware/interfaces/radio/1.3/vts/functional/
Dradio_hidl_hal_test.cpp19 bool isServiceValidForDeviceConfiguration(hidl_string& serviceName) { in isServiceValidForDeviceConfiguration() argument
22 if (serviceName != RADIO_SERVICE_SLOT1_NAME) { in isServiceValidForDeviceConfiguration()
23 ALOGI("%s instance is not valid for SSSS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
28 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME) { in isServiceValidForDeviceConfiguration()
29 ALOGI("%s instance is not valid for DSDS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
34 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME && in isServiceValidForDeviceConfiguration()
35 serviceName != RADIO_SERVICE_SLOT3_NAME) { in isServiceValidForDeviceConfiguration()
36 ALOGI("%s instance is not valid for TSTS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
44 hidl_string serviceName = GetParam(); in SetUp() local
45 if (!isServiceValidForDeviceConfiguration(serviceName)) { in SetUp()
[all …]
/hardware/interfaces/radio/1.1/vts/functional/
Dradio_hidl_hal_test.cpp19 bool isServiceValidForDeviceConfiguration(hidl_string& serviceName) { in isServiceValidForDeviceConfiguration() argument
22 if (serviceName != RADIO_SERVICE_SLOT1_NAME) { in isServiceValidForDeviceConfiguration()
23 ALOGI("%s instance is not valid for SSSS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
28 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME) { in isServiceValidForDeviceConfiguration()
29 ALOGI("%s instance is not valid for DSDS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
34 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME && in isServiceValidForDeviceConfiguration()
35 serviceName != RADIO_SERVICE_SLOT3_NAME) { in isServiceValidForDeviceConfiguration()
36 ALOGI("%s instance is not valid for TSTS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
44 hidl_string serviceName = GetParam(); in SetUp() local
45 if (!isServiceValidForDeviceConfiguration(serviceName)) { in SetUp()
[all …]
/hardware/interfaces/radio/1.5/vts/functional/
Dradio_hidl_hal_test.cpp19 bool isServiceValidForDeviceConfiguration(hidl_string& serviceName) { in isServiceValidForDeviceConfiguration() argument
22 if (serviceName != RADIO_SERVICE_SLOT1_NAME) { in isServiceValidForDeviceConfiguration()
23 ALOGI("%s instance is not valid for SSSS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
28 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME) { in isServiceValidForDeviceConfiguration()
29 ALOGI("%s instance is not valid for DSDS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
34 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME && in isServiceValidForDeviceConfiguration()
35 serviceName != RADIO_SERVICE_SLOT3_NAME) { in isServiceValidForDeviceConfiguration()
36 ALOGI("%s instance is not valid for TSTS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
44 hidl_string serviceName = GetParam(); in SetUp() local
45 if (!isServiceValidForDeviceConfiguration(serviceName)) { in SetUp()
[all …]
/hardware/interfaces/radio/1.4/vts/functional/
Dradio_hidl_hal_test.cpp19 bool isServiceValidForDeviceConfiguration(hidl_string& serviceName) { in isServiceValidForDeviceConfiguration() argument
22 if (serviceName != RADIO_SERVICE_SLOT1_NAME) { in isServiceValidForDeviceConfiguration()
23 ALOGI("%s instance is not valid for SSSS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
28 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME) { in isServiceValidForDeviceConfiguration()
29 ALOGI("%s instance is not valid for DSDS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
34 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME && in isServiceValidForDeviceConfiguration()
35 serviceName != RADIO_SERVICE_SLOT3_NAME) { in isServiceValidForDeviceConfiguration()
36 ALOGI("%s instance is not valid for TSTS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
44 hidl_string serviceName = GetParam(); in SetUp() local
45 if (!isServiceValidForDeviceConfiguration(serviceName)) { in SetUp()
[all …]
/hardware/interfaces/radio/1.6/vts/functional/
Dradio_hidl_hal_test.cpp19 bool isServiceValidForDeviceConfiguration(hidl_string& serviceName) { in isServiceValidForDeviceConfiguration() argument
22 if (serviceName != RADIO_SERVICE_SLOT1_NAME) { in isServiceValidForDeviceConfiguration()
23 ALOGI("%s instance is not valid for SSSS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
28 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME) { in isServiceValidForDeviceConfiguration()
29 ALOGI("%s instance is not valid for DSDS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
34 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME && in isServiceValidForDeviceConfiguration()
35 serviceName != RADIO_SERVICE_SLOT3_NAME) { in isServiceValidForDeviceConfiguration()
36 ALOGI("%s instance is not valid for TSTS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
44 hidl_string serviceName = GetParam(); in SetUp() local
46 if (!isServiceValidForDeviceConfiguration(serviceName)) { in SetUp()
[all …]
/hardware/interfaces/radio/1.2/vts/functional/
Dradio_hidl_hal_test.cpp19 bool isServiceValidForDeviceConfiguration(hidl_string& serviceName) { in isServiceValidForDeviceConfiguration() argument
22 if (serviceName != RADIO_SERVICE_SLOT1_NAME) { in isServiceValidForDeviceConfiguration()
23 ALOGI("%s instance is not valid for SSSS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
28 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME) { in isServiceValidForDeviceConfiguration()
29 ALOGI("%s instance is not valid for DSDS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
34 if (serviceName != RADIO_SERVICE_SLOT1_NAME && serviceName != RADIO_SERVICE_SLOT2_NAME && in isServiceValidForDeviceConfiguration()
35 serviceName != RADIO_SERVICE_SLOT3_NAME) { in isServiceValidForDeviceConfiguration()
36 ALOGI("%s instance is not valid for TSTS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
44 hidl_string serviceName = GetParam(); in SetUp() local
45 if (!isServiceValidForDeviceConfiguration(serviceName)) { in SetUp()
[all …]
/hardware/interfaces/radio/aidl/vts/
Dradio_aidl_hal_utils.cpp120 bool isServiceValidForDeviceConfiguration(std::string& serviceName) { in isServiceValidForDeviceConfiguration() argument
123 if (!stringEndsWith(serviceName, RADIO_SERVICE_SLOT1_NAME)) { in isServiceValidForDeviceConfiguration()
124 ALOGI("%s instance is not valid for SSSS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
129 if (!stringEndsWith(serviceName, RADIO_SERVICE_SLOT1_NAME) && in isServiceValidForDeviceConfiguration()
130 !stringEndsWith(serviceName, RADIO_SERVICE_SLOT2_NAME)) { in isServiceValidForDeviceConfiguration()
131 ALOGI("%s instance is not valid for DSDS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
136 if (!stringEndsWith(serviceName, RADIO_SERVICE_SLOT1_NAME) && in isServiceValidForDeviceConfiguration()
137 !stringEndsWith(serviceName, RADIO_SERVICE_SLOT2_NAME) && in isServiceValidForDeviceConfiguration()
138 !stringEndsWith(serviceName, RADIO_SERVICE_SLOT3_NAME)) { in isServiceValidForDeviceConfiguration()
139 ALOGI("%s instance is not valid for TSTS device.", serviceName.c_str()); in isServiceValidForDeviceConfiguration()
/hardware/interfaces/audio/aidl/vts/
DAudioHalBinderServiceUtil.h32 ndk::SpAIBinder connectToService(const std::string& serviceName) { in connectToService() argument
33 mServiceName = serviceName; in connectToService()
34 mBinder = ndk::SpAIBinder(AServiceManager_waitForService(serviceName.c_str())); in connectToService()
36 LOG(ERROR) << "Failed to get service " << serviceName; in connectToService()
38 LOG(DEBUG) << "Succeeded to get service " << serviceName; in connectToService()
DEffectFactoryHelper.h40 std::string serviceName, std::optional<AudioUuid> type = std::nullopt) {
42 auto names = android::getAidlHalInstanceNames(serviceName);
/hardware/interfaces/camera/provider/default/
Dexternal-service.cpp36 const std::string serviceName = std::string(ExternalCameraProvider::descriptor) + "/external/0"; in main() local
40 serviceName.c_str()); in main()
45 AServiceManager_addService(defaultProvider->asBinder().get(), serviceName.c_str()); in main()
/hardware/interfaces/audio/aidl/default/
DEffectMain.cpp65 std::string serviceName = std::string() + effectFactory->descriptor + "/default"; in main() local
67 AServiceManager_addService(effectFactory->asBinder().get(), serviceName.c_str()); in main()
70 LOG(DEBUG) << __func__ << ": effectFactory: " << serviceName << " start"; in main()
/hardware/interfaces/contexthub/common/vts/
DVtsHalContexthubUtilsHidl.h49 for (const std::string& serviceName : serviceNames) { in getHalAndHubIdList() local
50 sp<IContexthubVersion> hubApi = IContexthubVersion::getService(serviceName); in getHalAndHubIdList()
54 parameters.push_back(std::make_tuple(serviceName, std::to_string(hub.hubId))); in getHalAndHubIdList()
/hardware/interfaces/threadnetwork/aidl/default/
Dmain.cpp38 const std::string serviceName(std::string() + IThreadChip::descriptor + "/chip" + in addThreadChip() local
41 ALOGI("ServiceName: %s, Url: %s", serviceName.c_str(), url); in addThreadChip()
47 status = AServiceManager_addService(threadChip->asBinder().get(), serviceName.c_str()); in addThreadChip()
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/include/
DOffloadControlTestV1_0.h30 const std::string& serviceName) override { in createControl() argument
32 serviceName); in createControl()
/hardware/google/aemu/host-common/include/host-common/
DMultiDisplayPipe.h27 Service(const char* serviceName) in Service() argument
28 : AndroidAsyncMessagePipe::Service<MultiDisplayPipe>(serviceName) in Service()
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DVirtioGpuPipeStream.cpp62 int VirtioGpuPipeStream::connect(const char* serviceName) in connect() argument
94 if (serviceName) { in connect()
95 writeFully(serviceName, strlen(serviceName) + 1); in connect()
/hardware/interfaces/threadnetwork/aidl/vts/
DVtsHalThreadNetworkTargetTest.cpp60 std::string serviceName = GetParam(); in SetUp() local
62 ALOGI("serviceName: %s", serviceName.c_str()); in SetUp()
65 SpAIBinder(AServiceManager_waitForService(serviceName.c_str()))); in SetUp()
/hardware/interfaces/tetheroffload/control/1.1/vts/functional/include/
DOffloadControlTestV1_1.h34 const std::string& serviceName) override { in createControl() argument
36 serviceName); in createControl()
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/current/android/hardware/wifi/
DNanDiscoveryCommonConfig.aidl41 byte[] serviceName;
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/1/android/hardware/wifi/
DNanDiscoveryCommonConfig.aidl41 byte[] serviceName;
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/2/android/hardware/wifi/
DNanDiscoveryCommonConfig.aidl41 byte[] serviceName;
/hardware/interfaces/wifi/aidl/android/hardware/wifi/
DNanDiscoveryCommonConfig.aidl60 byte[] serviceName;
/hardware/interfaces/neuralnetworks/utils/service/src/
DService.cpp82 constexpr auto callback = [](const char* serviceName, void* names) { in getAidlDevices() argument
83 static_cast<std::vector<std::string>*>(names)->emplace_back(serviceName); in getAidlDevices()

123