Home
last modified time | relevance | path

Searched refs:Log (Results 1 – 25 of 95) sorted by relevance

1234

/device/google/contexthub/util/nanotool/
Dlog.cpp26 Log::LogLevel Log::level_;
27 Logger* Log::logger_;
28 std::chrono::time_point<std::chrono::steady_clock> Log::init_time_;
30 void Log::Initialize(Logger *logger, LogLevel level) { in Initialize()
31 if (Log::logger_) { in Initialize()
32 Log::Warn("Re-initializing logger"); in Initialize()
34 Log::init_time_ = std::chrono::steady_clock::now(); in Initialize()
35 Log::logger_ = logger; in Initialize()
36 Log::SetLevel(level); in Initialize()
39 void Log::SetLevel(LogLevel level) { in SetLevel()
[all …]
Dlog.h32 #define LOGE(fmt, ...) Log::Error(fmt, ##__VA_ARGS__)
33 #define LOGW(fmt, ...) Log::Warn(fmt, ##__VA_ARGS__)
34 #define LOGI(fmt, ...) Log::Info(fmt, ##__VA_ARGS__)
35 #define LOGD(fmt, ...) Log::Debug(fmt, ##__VA_ARGS__)
37 #define LOGD_BUF(buf, len) Log::DebugBuf((const uint8_t *) buf, len)
38 #define LOGD_VEC(vec) Log::DebugBuf(vec)
49 class Log {
Dnanotool.cpp342 Log::SetLevel(Log::LogLevel::Debug); in ParseArgs()
344 Log::SetLevel(Log::LogLevel::Info); in ParseArgs()
414 Log::Initialize(new PrintfLogger(), Log::LogLevel::Warn); in main()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiPerformanceLib/
DPerformanceLib.c88 PEI_PERFORMANCE_MEASURE_LOG_ENTRY *Log; in PeiPerfMeasure() local
159 Log = &(PerfHobData->Log[PerfHobData->NumberOfEntries]); in PeiPerfMeasure()
160 ((*PeiServices)->SetMem) (Log, sizeof(PEI_PERFORMANCE_MEASURE_LOG_ENTRY), 0); in PeiPerfMeasure()
166 Log->Name = FileHeader->Name; in PeiPerfMeasure()
173 &(Log->DescriptionString), in PeiPerfMeasure()
187 Log->StartTimeCount = Value; in PeiPerfMeasure()
189 Log->StartTimeCount = TimeCount; in PeiPerfMeasure()
191 Log->StopTimeCount = 0; in PeiPerfMeasure()
201 Log = NULL; in PeiPerfMeasure()
203 if (PerfHobData->Log[Index].DescriptionString[Index2] == 0) { in PeiPerfMeasure()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
DPerf.c78 PEI_PERFORMANCE_MEASURE_LOG_ENTRY *Log; in PeiPerfMeasure() local
152 Log = &(PerfHobData->Log[PerfHobData->NumberOfEntries]); in PeiPerfMeasure()
153 (*PeiServices)->SetMem (Log, sizeof(PEI_PERFORMANCE_MEASURE_LOG_ENTRY), 0); in PeiPerfMeasure()
159 Log->Name = FileHeader->Name; in PeiPerfMeasure()
166 &(Log->DescriptionString), in PeiPerfMeasure()
180 Log->StartTimeCount = Value; in PeiPerfMeasure()
182 Log->StartTimeCount = TimeCount; in PeiPerfMeasure()
184 Log->StopTimeCount = 0; in PeiPerfMeasure()
194 Log = NULL; in PeiPerfMeasure()
196 if (PerfHobData->Log[Index].DescriptionString[Index2] == 0) { in PeiPerfMeasure()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/
DEventLogInfo.c338 LOG_RECORD_FORMAT *Log; in DisplaySysEventLogData() local
354 Log = (LOG_RECORD_FORMAT *) LogData; in DisplaySysEventLogData()
355 while (Log != NULL && Log->Type != END_OF_LOG && Offset < LogAreaLength) { in DisplaySysEventLogData()
359 Log = (LOG_RECORD_FORMAT *) (LogData + Offset); in DisplaySysEventLogData()
361 if (Log != NULL) { in DisplaySysEventLogData()
365 DisplaySELVarDataFormatType (Log->Type, SHOW_DETAIL); in DisplaySysEventLogData()
366 DisplaySELLogHeaderLen (Log->Length, SHOW_DETAIL); in DisplaySysEventLogData()
368 Offset += Log->Length; in DisplaySysEventLogData()
376 if (Log != NULL && Log->Year >= 80 && Log->Year <= 99) { in DisplaySysEventLogData()
378 } else if (Log != NULL && Log->Year <= 79) { in DisplaySysEventLogData()
[all …]
/device/google/cuttlefish_common/tests/wifi/src/com/android/cuttlefish/wifi/tests/
DWifiE2eTests.java28 import android.util.Log;
58 Log.i(TAG, "Enabling WIFI..."); in enableWifi()
61 Log.i(TAG, "Waiting for WIFI (Enabled: " + mWifiManager.isWifiEnabled() + in enableWifi()
71 Log.i(TAG, "Disabling WIFI..."); in disableWifi()
75 Log.i(TAG, "Waiting for WIFI to be disabled..."); in disableWifi()
88 Log.i(TAG, "WIFI State: " + currentState); in waitForSupplicantState()
91 Log.i(TAG, "WIFI is now in expected state."); in waitForSupplicantState()
123 Log.i(TAG, "Removing network " + config.networkId + ": " + config.SSID); in testWifiInitialization()
155 Log.i(TAG, "Configuring WIFI..."); in testWifiConnects()
161 Log.i(TAG, "Waiting for connectivity..."); in testWifiConnects()
[all …]
/device/google/cuttlefish_common/guest/monitoring/vsoc_service/java/com/android/google/gce/gceservice/
DBluetoothChecker.java19 import android.util.Log;
43 Log.e(LOG_TAG, "No bluetooth adapter found"); in execute()
47 Log.i(LOG_TAG, "Bluetooth enabled with name: " + bluetoothAdapter.getName()); in execute()
50 Log.i(LOG_TAG, "Bluetooth disabled with name: " + bluetoothAdapter.getName()); in execute()
DGceWifiManager.java26 import android.util.Log;
71 Log.e(LOG_TAG, "Initial WIFI configuration failed due to dependency.", e); in onDependencyFailed()
112 Log.w(LOG_TAG, "Wifi not yet connected."); in execute()
118 Log.i(LOG_TAG, "Wifi connected."); in execute()
127 Log.e(LOG_TAG, "Wifi state change failed due to failing dependency.", e); in onDependencyFailed()
DGceFuture.java18 import android.util.Log;
48 Log.e(LOG_TAG, mName + ": Multiple return values from a future object.", e); in set()
56 Log.w(LOG_TAG, mName + ": Discarding execution exception -- job done.", e); in set()
59 Log.w(LOG_TAG, mName + ": Could not complete job: " + e.getMessage(), e); in set()
DPackageVerifierManager.java22 import android.util.Log;
47 Log.w(LOG_TAG, "Could not read package verifier state. Assuming it's enabled."); in getAndLogPackageVerifierState()
67 Log.e(LOG_TAG, "Could not disable Package Verifier.", e); in onDependencyFailed()
DJobBase.java18 import android.util.Log;
45 Log.i(mTag, "Waiting for: " + GceFuture.toString(stragglingDependencies)); in onDependencyStraggling()
DBootReporter.java19 import android.util.Log;
57 Log.e(LOG_TAG, "Could not open output stream.", e); in BootReporter()
112 Log.i(LOG_TAG, message); in reportMessage()
DTombstoneChecker.java18 import android.util.Log;
53 Log.e(LOG_TAG, "Tombstones created during boot. "); in execute()
55 Log.i(LOG_TAG, mPostBootRecords.get(i).getFileName()); in execute()
62 Log.e(LOG_TAG, sTsExceptionMessage + e); in execute()
DGceService.java23 import android.util.Log;
85 Log.e(LOG_TAG, "Exception caught", e); in onCreate()
116 Log.w(LOG_TAG, "Previous execution failed. Retrying."); in onStartCommand()
120 Log.e(LOG_TAG, "Missing intent action."); in onStartCommand()
DJobExecutor.java18 import android.util.Log;
80 Log.e(LOG_TAG, String.format( in schedule()
108Log.e(LOG_TAG, String.format("Job %s threw an exception and will not be re-scheduled.", in schedule()
DPackageVerificationConsentEnforcer.java22 import android.util.Log;
78 Log.e(LOG_TAG, "Could not start Consent Enforcer.", e); in onDependencyFailed()
DLocationServicesManager.java21 import android.util.Log;
65 Log.e(LOG_TAG, "Could not configure LocationServices.", e); in onDependencyFailed()
DGceBroadcastReceiver.java24 import android.util.Log;
43 Log.i(LOG_TAG, "Received broadcast: " + action); in onReceive()
/device/sample/frameworks/PlatformLibrary/java/com/example/android/platform_library/
DPlatformLibrary.java19 import android.util.Log;
43 Log.i("PlatformLibrary", "getInt: " + result + ", '" + reverse + "'"); in getInt()
52 Log.d("PlatformLibrary", "yodel: " + msg); in yodel()
/device/google/cuttlefish_common/tests/ril/src/com/android/cuttlefish/ril/tests/
DRilE2eTests.java30 import android.util.Log;
65 Log.i(TAG, "Enabling WIFI..."); in enableWifi()
68 Log.i(TAG, "Waiting for WIFI (Enabled: " + mWifiManager.isWifiEnabled() + in enableWifi()
78 Log.i(TAG, "Disabling WIFI..."); in disableWifi()
82 Log.i(TAG, "Waiting for WIFI to be disabled..."); in disableWifi()
96 Log.i(TAG, "Removing network " + config.networkId + ": " + config.SSID); in disableAllWifiNetworks()
115 Log.i(TAG, "Waiting for MOBILE to become primary network for DATA."); in testRilConnects()
/device/sample/apps/upgrade/src/com/example/android/platform/upgrade/
DUpgrade.java24 import android.util.Log;
37 Log.i("Example", "******************* UPGRADE HERE *******************"); in onReceive()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dsupport.py27 self._old_log = log.Log._log
28 log.Log._log = self._log
33 log.Log._log = self._old_log
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dlog.py14 class Log: class
51 _global_log = Log()
/device/google/cuttlefish_common/common/libs/fs/
Dshared_fd.cpp106 Log(message.data()); in Close()
111 Log(message.data()); in Close()
121 Log(message.data()); in Identify()
132 void FileInstance::Log(const char* message) { in Log() function in cvd::FileInstance
136 void FileInstance::Log(const char*) {} in Log() function in cvd::FileInstance
170 FileInstance::Log("select\n"); in Select()

1234