Home
last modified time | relevance | path

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

/base/powermgr/battery_manager/test/systemtest/src/
Dcharger_offline_shutdown_test.cpp90 ChargerThread ct; variable
93 ChargerThreadInitTest(ct);
94 SetChargeStateTest(chargestate, ct);
95 HandleChargingStateTest(ct);
96 bool screenOn = GetBacklightTest(ct)->GetScreenState();
101 HandleChargingStateTest(ct); // do not shutdown
113 ChargerThread ct; variable
115 ChargerThreadInitTest(ct);
116 SetChargeStateTest(chargestate, ct);
119 SetChargeStateTest(chargestate, ct);
[all …]
Dreboot_test.cpp53 ChargerThread ct; variable
55 ChargerThreadInitTest(ct);
56 btTest.SetKeyState(116, 2, 0, ct);
57 btTest.HandlePowerKey(116, 1999, ct); // do not reboot
58 bool screenOn = GetBacklightTest(ct)->GetScreenState();
75 ChargerThread ct; variable
77 ChargerThreadInitTest(ct);
78 btTest.SetKeyState(116, 2, 0, ct);
80 btTest.HandlePowerKey(116, 2000, ct); // reboot
Dcharger_overtemperature_shutdown_test.cpp54 ChargerThread ct; variable
56 ChargerThreadInitTest(ct);
57 ChargerThreadHandleTemperatureTest(599, ct);
69 ChargerThread ct; variable
70 ChargerThreadInitTest(ct);
72 ChargerThreadHandleTemperatureTest(600, ct);
Dcharger_undertemperature_shutdown_test.cpp54 ChargerThread ct; variable
55 ChargerThreadInitTest(ct);
57 ChargerThreadHandleTemperatureTest(-99, ct);
69 ChargerThread ct; variable
70 ChargerThreadInitTest(ct);
72 ChargerThreadHandleTemperatureTest(-100, ct);
/base/update/updater/services/fs_manager/
Dcmp_partition.cpp34 PartitionChangeType ct = NOT_CHANGE; in ComparePartition() local
37 ct = NEW_PARTITION; in ComparePartition()
43 ct = START_CHANGE; in ComparePartition()
48 ct = LENGTH_CHANGE; in ComparePartition()
52 ct = NOT_CHANGE; in ComparePartition()
59 return ct; in ComparePartition()
/base/update/updater/services/applypatch/
Dtransfer_manager.cpp57 std::vector<std::string>::const_iterator ct = context.begin(); in CommandsParser() local
58 globalParams->version = Utils::String2Int<size_t>(*ct++, Utils::N_DEC); in CommandsParser()
59 globalParams->blockCount = Utils::String2Int<size_t>(*ct++, Utils::N_DEC); in CommandsParser()
60 globalParams->maxEntries = Utils::String2Int<size_t>(*ct++, Utils::N_DEC); in CommandsParser()
61 globalParams->maxBlocks = Utils::String2Int<size_t>(*ct++, Utils::N_DEC); in CommandsParser()
69 for (; ct != context.end(); ct++) { in CommandsParser()
72 …if (!cmd->Init(*ct) || cmd->GetCommandType() == CommandType::LAST || globalParams->env == nullptr)… in CommandsParser()
76 if (*ct == retryCmd) { in CommandsParser()
80 LOG(INFO) << "Retry: Command " << *ct << " passed"; in CommandsParser()
/base/hiviewdfx/hilog/services/hilogd/
Dcmd_executor.cpp84 [](const std::unique_ptr<ClientThread>& ct) { in ClientEventLoop() argument
85 return ct->m_clientThread.get_id() == std::this_thread::get_id(); in ClientEventLoop()
109 [&threadId](const std::unique_ptr<ClientThread>& ct) { in CleanFinishedClients() argument
110 return ct->m_clientThread.get_id() == threadId; in CleanFinishedClients()
/base/request/request/download/services/src/
Ddownload_service_task.cpp684 char *ct = nullptr; in GetFileSize() local
685 curl_easy_getinfo(handle.get(), CURLINFO_CONTENT_TYPE, &ct); in GetFileSize()
686 mimeType_ = ct; in GetFileSize()
/base/update/updater/test/unittest/test_data/applypatch/
DTestGZipModeImagePatch.old.gz