Lines Matching defs:log

67 static const int CPPCRASH_FILENAME_MIN_LENGTH = 36; // 36 : length of /data/log/faultlog/temp/cppcrash-x-x
143 string log[] = {
148 int expectNum = sizeof(log) / sizeof(log[0]);
149 return CheckKeyWords(filePath, log, expectNum, minRegIdx) == expectNum;
154 string log[] = {
159 int expectNum = sizeof(log) / sizeof(log[0]);
160 return CheckKeyWords(filePath, log, expectNum, minRegIdx) == expectNum;
166 string log[] = {
171 int expectNum = sizeof(log) / sizeof(log[0]);
172 return CheckKeyWords(filePath, log, expectNum, minRegIdx) == expectNum;
177 string log[] = {
182 int expectNum = sizeof(log) / sizeof(log[0]);
183 return CheckKeyWords(filePath, log, expectNum, minRegIdx) == expectNum;
188 string log[] = {
193 int expectNum = sizeof(log) / sizeof(log[0]);
194 return CheckKeyWords(filePath, log, expectNum, minRegIdx) == expectNum;
199 string log[] = {
204 int expectNum = sizeof(log) / sizeof(log[0]);
205 return CheckKeyWords(filePath, log, expectNum, minRegIdx) == expectNum;
210 string log[] = {
216 int expectNum = sizeof(log) / sizeof(log[0]);
217 return CheckKeyWords(filePath, log, expectNum, minRegIdx) == expectNum;
266 string log[] = {
271 for (auto& keyword : log) {
277 int expectNum = sizeof(log) / sizeof(log[0]);
278 return CheckKeyWords(filePath, log, expectNum, minRegIdx) == expectNum;
283 string log[] = {
289 int expectNum = sizeof(log) / sizeof(log[0]);
290 return CheckKeyWords(filePath, log, expectNum, minRegIdx) == expectNum;
296 string log[] = {
302 int expectNum = sizeof(log) / sizeof(log[0]);
303 return CheckKeyWords(filePath, log, expectNum, minRegIdx) == expectNum;
308 string log[] = {
314 int expectNum = sizeof(log) / sizeof(log[0]);
315 if (CheckKeyWords(filePath, log, expectNum, minRegIdx) != expectNum) {
326 string log[] = {
331 int expectNum = sizeof(log) / sizeof(log[0]);
332 return CheckKeyWords(filePath, log, expectNum, minRegIdx) == expectNum;
1071 string clearTempFilesCmd = "rm -rf /data/log/faultlog/temp/*";
1075 OHOS::GetDirFiles("/data/log/faultlog/temp/", files);
1122 // wait for log generation
1128 string log[] = {
1133 int expectNum = sizeof(log) / sizeof(log[0]);
1134 int count = CheckKeyWords(fileName, log, expectNum, minRegIdx);
1146 string clearTempFilesCmd = "rm -rf /data/log/faultlog/temp/*";
1151 OHOS::GetDirFiles("/data/log/faultlog/temp/", files);
1165 OHOS::GetDirFiles("/data/log/faultlog/temp/", files);
1176 OHOS::GetDirFiles("/data/log/faultlog/temp/", files);
1182 * @tc.desc: test crash log build-id
1309 string log[] = {
1314 int expectNum = sizeof(log) / sizeof(log[0]);
1315 return CheckKeyWords(filePath, log, expectNum, minRegIdx) == expectNum;
1602 * @tc.desc: Test crash log to /log/crash when faultloggerd unstart case
1608 string clearCrashFilesCmd = "rm -rf /log/crash/*";
1616 string crashDir = "/log/crash/";