Lines Matching refs:status

95     ::ndk::ScopedAStatus status = mDnsResolver->registerEventListener(nullptr);  in TEST_F()
96 ASSERT_FALSE(status.isOk()); in TEST_F()
97 ASSERT_EQ(EINVAL, status.getServiceSpecificError()); in TEST_F()
105 ::ndk::ScopedAStatus status = mDnsResolver->registerEventListener(dummyListener); in TEST_F()
106 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
109 status = mDnsResolver->registerEventListener(dummyListener); in TEST_F()
110 ASSERT_FALSE(status.isOk()); in TEST_F()
111 ASSERT_EQ(EEXIST, status.getServiceSpecificError()); in TEST_F()
162 ::ndk::ScopedAStatus status = mDnsResolver->registerEventListener(testOnDnsEvent); in TEST_F()
163 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
178 int status = getaddrinfo(config.hostname.c_str(), nullptr, &hints, &result); in TEST_F() local
179 EXPECT_EQ(config.returnCode, status); in TEST_F()
235 ::ndk::ScopedAStatus status = mDnsResolver->setResolverConfiguration(resolverParams); in TEST_F()
239 SCOPED_TRACE(status.getMessage()); in TEST_F()
240 EXPECT_EQ(0, status.getServiceSpecificError()); in TEST_F()
243 EXPECT_EQ(EX_SERVICE_SPECIFIC, status.getExceptionCode()); in TEST_F()
244 EXPECT_EQ(td.expectedReturnCode, status.getServiceSpecificError()); in TEST_F()
253 ::ndk::ScopedAStatus status = mDnsResolver->setResolverConfiguration(resolverParams); in TEST_F()
254 EXPECT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
269 ::ndk::ScopedAStatus status = mDnsResolver->setResolverConfiguration(resolverParams); in TEST_F()
270 EXPECT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
292 ::ndk::ScopedAStatus status = mDnsResolver->setResolverConfiguration(resolverParams); in TEST_F()
293 EXPECT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
301 status = mDnsResolver->getResolverInfo(TEST_NETID, &res_servers, &res_domains, &res_tls_servers, in TEST_F()
305 EXPECT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()