Home
last modified time | relevance | path

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

/packages/services/Car/cpp/vhal/client/src/
DIVhalClient.cpp66 bool gotResult = false; in getValueSync() member
74 s.gotResult = true; in getValueSync()
82 s.cv.wait(lk, [&s] { return s.gotResult; }); in getValueSync()
92 bool gotResult = false; in setValueSync() member
99 s.gotResult = true; in setValueSync()
107 s.cv.wait(lk, [&s] { return s.gotResult; }); in setValueSync()
/packages/services/Car/cpp/vhal/client/test/
DHidlVhalClientTest.cpp178 bool gotResult = false; in TEST_F() local
179 bool* gotResultPtr = &gotResult; in TEST_F()
189 ASSERT_TRUE(gotResult); in TEST_F()
204 bool gotResult = false; in TEST_F() local
205 bool* gotResultPtr = &gotResult; in TEST_F()
214 ASSERT_TRUE(gotResult); in TEST_F()
221 bool gotResult = false; in TEST_F() local
222 bool* gotResultPtr = &gotResult; in TEST_F()
231 ASSERT_TRUE(gotResult); in TEST_F()
241 bool gotResult = false; in TEST_F() local
[all …]
DAidlVhalClientTest.cpp324 bool gotResult = false; in TEST_F() local
325 bool* gotResultPtr = &gotResult; in TEST_F()
339 cv.wait_for(lk, std::chrono::milliseconds(1000), [&gotResult] { return gotResult; }); in TEST_F()
341 ASSERT_TRUE(gotResult); in TEST_F()
413 bool gotResult = false; in TEST_F() local
414 bool* gotResultPtr = &gotResult; in TEST_F()
428 cv.wait_for(lk, std::chrono::milliseconds(1000), [&gotResult] { return gotResult; }); in TEST_F()
430 ASSERT_TRUE(gotResult); in TEST_F()
551 bool gotResult = false; in TEST_F() local
552 bool* gotResultPtr = &gotResult; in TEST_F()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalAidlImpl.java1916 boolean gotResult = false; in loadGroups()
1920 gotResult = true; in loadGroups()
1929 if (!gotResult || isCurrent) { in loadGroups()
1939 gotResult = false; in loadGroups()
1942 gotResult = true; in loadGroups()
1948 if (gotResult && !ArrayUtils.isEmpty(ssid)) { in loadGroups()
1955 gotResult = false; in loadGroups()
1958 gotResult = true; in loadGroups()
1964 if (gotResult && !ArrayUtils.isEmpty(bssid)) { in loadGroups()
1971 gotResult = false; in loadGroups()
[all …]