Home
last modified time | relevance | path

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

/frameworks/native/libs/binderthreadstate/
Dtest.cpp42 std::string id2name(size_t id) { in id2name() function
65 auto stuff = IHidlStuff::getService(id2name(id)); in callHidl()
71 CHECK(OK == android::getService<IAidlStuff>(String16(id2name(id).c_str()), &stuff)); in callAidl()
137 auto stuff = IHidlStuff::getService(id2name(kP1Id)); in TEST()
143 ASSERT_EQ(OK, android::getService<IAidlStuff>(String16(id2name(kP1Id).c_str()), &stuff)); in TEST()
149 auto stuff = IHidlStuff::getService(id2name(kP1Id)); in TEST()
155 ASSERT_EQ(OK, android::getService<IAidlStuff>(String16(id2name(kP1Id).c_str()), &stuff)); in TEST()
164 CHECK(OK == defaultServiceManager()->addService(String16(id2name(thisId).c_str()), aidlServer)); in server()
171 CHECK(OK == hidlServer->registerAsService(id2name(thisId).c_str())); in server()
189 android::waitForService<IAidlStuff>(String16(id2name(kP1Id).c_str())); in main()
[all …]