HomeSort by relevance Sort by last modified time
    Searched defs:logs (Results 1 - 25 of 84) sorted by null

1 2 3 4

  /frameworks/base/core/java/com/android/internal/logging/testing/
FakeMetricsLogger.java 16 private Queue<LogMaker> logs = new LinkedList<>(); field in class:FakeMetricsLogger
20 logs.offer(new LogMaker(rep));
24 return logs;
28 logs.clear();
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLog.java 13 private static List<LogItem> logs = new ArrayList<LogItem>(); field in class:ShadowLog
91 logs.add(new LogItem(level, tag, msg, throwable));
113 return logs;
117 logs.clear();
  /external/apache-http/src/org/apache/commons/logging/
LogSource.java 66 static protected Hashtable logs = new Hashtable(); field in class:LogSource
200 Log log = (Log) (logs.get(name));
203 logs.put(name, log);
259 * all logs known to me.
262 return (String[]) (logs.keySet().toArray(new String[logs.size()]));
  /cts/hostsidetests/monkey/src/com/android/cts/monkey/
MonkeyTest.java 40 String logs = mDevice.executeAdbCommand( local
43 Scanner s = new Scanner(logs);
  /external/libmojo/base/android/junit/src/org/chromium/base/
LogTest.java 28 List<ShadowLog.LogItem> logs = ShadowLog.getLogs(); local
29 assertEquals("Only one log should be written", 1, logs.size());
31 assertTrue("The origin of the log message (" + logs.get(0).msg + ") looks wrong.",
32 logs.get(0).msg.matches("\\[LogTest.java:\\d+\\].*"));
60 List<ShadowLog.LogItem> logs = ShadowLog.getLogs(); local
64 assertEquals(t, logs.get(logs.size() - 1).throwable);
65 assertEquals("Bar", logs.get(logs.size() - 1).msg);
69 assertEquals(t, logs.get(logs.size() - 1).throwable)
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
TestLogHandler.java 28 private final List<String> logs = new ArrayList<>(); field in class:TestLogHandler
31 logs.add(logRecord.getLevel() + ": " + logRecord.getMessage());
42 while (logs.isEmpty()) {
45 return logs.remove(0);
  /external/parameter-framework/upstream/test/functional-tests/include/
StoreLogger.hpp 63 using Logs = std::vector<Log>;
67 logs.push_back({Log::Level::warning, strLog});
69 void info(const std::string &strLog) override { logs.push_back({Log::Level::info, strLog}); }
71 const Logs &getLogs() const { return logs; }
73 const Logs filter(Log::Level level) const
78 Logs match(const std::string &pattern) const
86 Logs filter(Predicate predicate) const
88 Logs filtered;
89 std::copy_if(logs.begin(), logs.end(), std::back_inserter(filtered), predicate)
93 Logs logs; variable
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
BootReceiverFixFsckFsStatTest.java 37 final String[] logs = { local
55 doTestFsckFsStat(logs, 0x405, 5, 0, logs.length);
57 final String[] doubleLogs = new String[logs.length * 2];
58 System.arraycopy(logs, 0, doubleLogs, 0, logs.length);
59 System.arraycopy(logs, 0, doubleLogs, logs.length, logs.length);
60 doTestFsckFsStat(doubleLogs, 0x401, 1, 0, logs.length)
66 final String[] logs = { local
87 final String[] logs = { local
    [all...]
  /prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-logs/1.11.18/
aws-java-sdk-logs-1.11.18.jar 
  /cts/hostsidetests/multiuser/src/android/host/multiuser/
CreateUsersNoAppCrashesTest.java 61 String logs = getDevice().executeAdbCommand("logcat", "-v", "brief", "-d"); local
62 Scanner in = new Scanner(logs);
  /cts/hostsidetests/sample/src/android/sample/cts/
SampleHostJUnit4Test.java 32 * Test to check the APK logs to Logcat.
98 String logs = device.executeAdbCommand("logcat", "-v", "brief", "-d", CLASS + ":I", "*:S"); local
101 Scanner in = new Scanner(logs);
SampleHostTest.java 25 * Test to check the APK logs to Logcat.
73 String logs = device.executeAdbCommand("logcat", "-v", "brief", "-d", CLASS + ":I", "*:S"); local
76 Scanner in = new Scanner(logs);
  /system/media/audio_utils/include/audio_utils/
SimpleLog.h 40 * Formatted logs by log() and logv() will be truncated at kMaxStringLength - 1
41 * due to null termination. logs() does not have a string length limitation.
111 logs(nowNs, "invalid format");
121 logs(nowNs, buffer);
125 * \brief Logs a string to the buffer with time.
133 void logs(int64_t nowNs, const char *buffer) function in class:android::SimpleLog
  /cts/hostsidetests/abioverride/src/android/abioverride/cts/
AbiOverrideTest.java 93 String logs = device.executeAdbCommand("logcat", "-v", "brief", "-d", CLASS + ":I", "*:S"); local
96 Scanner in = new Scanner(logs);
104 // Verify that TEST_STRING is actually found in logs.
105 assertTrue("No result found in logs", testString.startsWith(TEST_STRING));
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
SecurityLoggingTest.java 29 * Test: retrieving security logs can only be done if there's one user on the device or all
41 * Test: retrieving previous security logs can only be done if there's one user on the device or
53 * Test: retrieving security logs. This test has should be called when security logging is
55 * actually takes place and fetching the logs isn't subject to rate limiting.
60 // There must be at least some events, e.g. PackageManager logs all process launches.
114 * Test: retrieving security logs should be rate limited - subsequent attempts should return
118 List<SecurityEvent> logs = mDevicePolicyManager.retrieveSecurityLogs(getWho()); local
119 // if logs is null it means that that attempt was rate limited => test PASS
120 if (logs != null) {
  /cts/hostsidetests/trustedvoice/src/android/trustedvoice/cts/
TrustedVoiceHostTest.java 26 * Test to check the APK logs to Logcat.
105 String logs = getDevice().executeAdbCommand( local
108 in = new Scanner(logs);
  /external/autotest/site_utils/sponge_lib/
autotest_job_info.py 119 # A list of logs to upload for this task.
120 logs = ['debug', 'status.log', 'crash', 'keyval'] variable in class:AutotestTaskInfo
acts_job_info.py 40 logs = autotest_job_info.AutotestTaskInfo.logs + ['results'] variable in class:ACTSTaskInfo
  /tools/tradefederation/core/src/com/android/tradefed/util/
TarUtil.java 151 List<File> logs = TarUtil.unTar(ungzipLog, dir); local
152 for (File f : logs) {
  /external/autotest/client/site_tests/graphics_dEQP/scripts/
process_logs.py 59 logs = []
63 # DEBUG logs have more information than INFO logs, especially for hasty.
64 name = os.path.join('logs', job_id + '_graphics_dEQP.DEBUG')
65 logs.append(Logfile(job_id, name, gs_path))
66 for log in logs:
68 return logs
72 logs = []
73 for name in glob.glob(os.path.join('logs', '*_graphics_dEQP.INFO')):
75 logs.append(Logfile(job_id, name, name)
332 logs = get_local_logs() variable
    [all...]
  /frameworks/base/services/core/java/com/android/server/updates/
CertificateTransparencyLogInstallReceiver.java 42 private static final String LOGDIR_PREFIX = "logs-";
53 * create a new directory with the logs and then do an atomic update of the current symlink
96 JSONArray logs = json.getJSONArray("logs"); local
97 for (int i = 0; i < logs.length(); i++) {
98 JSONObject log = logs.getJSONObject(i);
102 throw new IOException("Failed to parse logs", e);
  /platform_testing/libraries/metrics-helper/src/android/support/test/metricshelper/
MetricsAsserts.java 46 Queue<LogMaker> logs = findMatchingLogs(queue, local
49 assertTrue(message, !logs.isEmpty());
66 Queue<LogMaker> logs = findMatchingLogs(queue, local
69 assertTrue(message, !logs.isEmpty());
73 * @returns logs that have at least all the matching fields in the template.
81 * @returns logs that have at least all the matching fields in the template.
84 LinkedList<LogMaker> logs = new LinkedList<>(); local
86 return logs;
91 logs.push(b);
94 return logs;
    [all...]
  /cts/hostsidetests/os/src/android/os/cts/
OsHostTests.java 113 String logs = mDevice.executeAdbCommand("logcat", "-v", "brief", "-d"); local
116 Scanner scanner = new Scanner(logs);
ProcfsHostTests.java 164 String logs = local
168 Scanner in = new Scanner(logs);
181 "Test app PID not captured. results = \"" + results + "\"; logs = \"" + logs + "\"",
  /cts/hostsidetests/systemui/src/android/host/systemui/
BaseTileServiceTest.java 39 // Time between checks for logs we expect.
119 String logs = getDevice().executeAdbCommand("logcat", "-v", "brief", "-d", mService + ":I", local
121 return logs.contains(str);

Completed in 1696 milliseconds

1 2 3 4