Home
last modified time | relevance | path

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

/base/powermgr/battery_manager/test/unittest/src/
Dbattery_plugged_wakeup_test.cpp33 bool g_isMock = false; variable
42 g_isMock = TestUtils::IsMock(); in SetUpTestCase()
43 GTEST_LOG_(INFO) << " g_isMock: " << g_isMock; in SetUpTestCase()
48 g_isMock = false; in TearDownTestCase()
65 if (g_isMock) {
89 if (g_isMock) {
113 if (g_isMock) {
137 if (g_isMock) {
161 if (g_isMock) {
185 if (g_isMock) {
[all …]
Dbattery_service_test.cpp45 bool g_isMock = TestUtils::IsMock(); variable
95 if (g_isMock) {
120 if (g_isMock) {
146 if (g_isMock) {
399 if (!g_isMock) {
438 if (g_isMock) {
/base/security/crypto_framework/test/unittest/src/
Dmemory_mock.c22 static bool g_isMock = false; variable
29 g_isMock = flag; in SetMockFlag()
34 if (g_isMock) { in HcfMalloc()
/base/powermgr/battery_manager/test/systemtest/src/
Dbattery_sttest.cpp42 bool g_isMock = false; variable
47 g_isMock = TestUtils::IsMock(); in SetUpTestCase()
48 GTEST_LOG_(INFO) << " g_isMock: " << g_isMock; in SetUpTestCase()
53 g_isMock = false; in TearDownTestCase()
68 if (g_isMock) {
97 if (g_isMock) {
132 if (g_isMock) {
166 if (g_isMock) {
200 if (g_isMock) {
234 if (g_isMock) {
[all …]
Dbattery_event_system_test.cpp54 bool g_isMock = false; variable
405 g_isMock = TestUtils::IsMock(); in SetUpTestCase()
406 GTEST_LOG_(INFO) << " g_isMock: " << g_isMock; in SetUpTestCase()
411 g_isMock = false; in TearDownTestCase()
425 if (g_isMock) {
/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
Dbattery_client_test.cpp42 bool g_isMock = false; variable
55 g_isMock = TestUtils::IsMock(); in SetUpTestCase()
56 GTEST_LOG_(INFO) << " g_isMock: " << g_isMock; in SetUpTestCase()
61 g_isMock = false; in TearDownTestCase()
99 if (g_isMock) {
126 if (g_isMock) {
161 if (g_isMock) {
195 if (g_isMock) {
222 if (g_isMock) {
249 if (g_isMock) {
[all …]