Home
last modified time | relevance | path

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

/system/chre/chpp/test/
Dclients_test.cpp41 chppTransportInit(&mTransportContext, &mAppContext); in SetUp()
42 chppAppInit(&mAppContext, &mTransportContext); in SetUp()
44 (struct ChppClientState *)mAppContext.registeredClientContexts[0]; in SetUp()
51 chppAppDeinit(&mAppContext); in TearDown()
58 struct ChppAppState mAppContext; member in ClientsTest
198 EXPECT_EQ(mAppContext.nextRequestTimeoutNs, CHPP_TIME_MAX); in TEST_F()
224 EXPECT_EQ(mAppContext.nextRequestTimeoutNs, CHPP_TIME_MAX); in TEST_F()
270 EXPECT_EQ(mAppContext.nextRequestTimeoutNs, CHPP_TIME_MAX); in TEST_F()
290 ASSERT_GT(mAppContext.nextRequestTimeoutNs, chppGetCurrentTimeNs()); in TEST_F()
295 ASSERT_LT(mAppContext.nextRequestTimeoutNs, chppGetCurrentTimeNs()); in TEST_F()
[all …]
Dtransport_test.cpp73 chppTransportInit(&mTransportContext, &mAppContext); in SetUp()
74 chppAppInit(&mAppContext, &mTransportContext); in SetUp()
81 ASSERT_EQ(mAppContext.registeredServiceCount, kServiceCount); in SetUp()
85 chppAppDeinit(&mAppContext); in TearDown()
92 ChppAppState mAppContext = {}; member in __anonec785c2a0111::TransportTests
689 EXPECT_TRUE(chppDispatchLoopbackClientRequest(&mAppContext, mBuf, len)); in TEST_P()
721 EXPECT_TRUE(chppDispatchDiscoveryClientRequest(&mAppContext, mBuf, len)); in TEST_P()
1006 mAppContext.clientIndexOfServiceIndex[0] = CHPP_CLIENT_INDEX_NONE; in TEST_F()
1016 EXPECT_EQ(mAppContext.clientIndexOfServiceIndex[0], 0); in TEST_F()
1041 ASSERT_EQ(mAppContext.registeredServiceCount, kServiceCount); in TEST_F()
[all …]