Home
last modified time | relevance | path

Searched refs:debugDump (Results 1 – 25 of 37) sorted by relevance

12

/system/chre/util/tests/
Ddebug_dump_test.cc28 DebugDumpWrapper debugDump(kStandardBufferSize); in TEST() local
29 const auto &buffers = debugDump.getBuffers(); in TEST()
34 DebugDumpWrapper debugDump(kStandardBufferSize); in TEST() local
36 debugDump.print("%s", str); in TEST()
37 const auto &buffers = debugDump.getBuffers(); in TEST()
43 DebugDumpWrapper debugDump(5); in TEST() local
46 debugDump.print("%s", str1); in TEST()
47 debugDump.print("%s", str2); in TEST()
48 const auto &buffers = debugDump.getBuffers(); in TEST()
57 DebugDumpWrapper debugDump(1); in TEST() local
[all …]
/system/chre/core/
Dnanoapp.cc187 void Nanoapp::logStateToBuffer(DebugDumpWrapper &debugDump) const { in logStateToBuffer()
188 debugDump.print(" Id=%" PRIu16 " 0x%016" PRIx64 " ", getInstanceId(), in logStateToBuffer()
190 PlatformNanoapp::logStateToBuffer(debugDump); in logStateToBuffer()
191 debugDump.print(" v%" PRIu32 ".%" PRIu32 ".%" PRIu32 " tgtAPI=%" PRIu32 in logStateToBuffer()
200 void Nanoapp::logMemAndComputeHeader(DebugDumpWrapper &debugDump) const { in logMemAndComputeHeader()
203 debugDump.print("\n%10sNanoapp%9s| Mem Alloc (Bytes) |%7sEvent Time (Ms)\n", in logMemAndComputeHeader()
205 debugDump.print("%26s| Current | Max | Mean | Max | Total\n", in logMemAndComputeHeader()
209 void Nanoapp::logMemAndComputeEntry(DebugDumpWrapper &debugDump) const { in logMemAndComputeEntry()
210 debugDump.print("%25s |", getAppName()); in logMemAndComputeEntry()
211 debugDump.print(" %7zu |", getTotalAllocatedBytes()); in logMemAndComputeEntry()
[all …]
Dble_request.cc242 void BleRequest::logStateToBuffer(DebugDumpWrapper &debugDump, in logStateToBuffer() argument
245 debugDump.print(" instanceId=%" PRIu16 " status=%" PRIu8, mInstanceId, in logStateToBuffer()
248 debugDump.print(" %s", mEnabled ? " enable" : " disable\n"); in logStateToBuffer()
250 debugDump.print( in logStateToBuffer()
254 debugDump.print(" genericFilters=["); in logStateToBuffer()
256 debugDump.print("(type=%" PRIx8, filter.type); in logStateToBuffer()
258 debugDump.print(" data=%s dataMask=%s len=%" PRIu8 "), ", in logStateToBuffer()
261 debugDump.print("), "); in logStateToBuffer()
264 debugDump.print("]\n"); in logStateToBuffer()
265 debugDump.print(" broadcasterAddressFilters=["); in logStateToBuffer()
[all …]
Dsettings.cc109 void SettingManager::logStateToBuffer(DebugDumpWrapper &debugDump) { in logStateToBuffer() argument
110 debugDump.print("\nSettings:"); in logStateToBuffer()
111 debugDump.print("\n Location %s", getSettingEnabledString(Setting::LOCATION)); in logStateToBuffer()
112 debugDump.print("\n WiFi available %s", in logStateToBuffer()
114 debugDump.print("\n Airplane mode %s", in logStateToBuffer()
116 debugDump.print("\n Microphone Access %s", in logStateToBuffer()
118 debugDump.print("\n BLE available %s", in logStateToBuffer()
Dgnss_manager.cc194 void GnssManager::logStateToBuffer(DebugDumpWrapper &debugDump) const { in logStateToBuffer()
195 debugDump.print("\nGNSS:"); in logStateToBuffer()
196 mLocationSession.logStateToBuffer(debugDump); in logStateToBuffer()
197 mMeasurementSession.logStateToBuffer(debugDump); in logStateToBuffer()
199 debugDump.print("\n API error distribution (error-code indexed):\n"); in logStateToBuffer()
200 debugDump.print(" GNSS Location:\n"); in logStateToBuffer()
201 debugDump.logErrorHistogram(mLocationSession.mGnssErrorHistogram, in logStateToBuffer()
203 debugDump.print(" GNSS Measurement:\n"); in logStateToBuffer()
204 debugDump.logErrorHistogram( in logStateToBuffer()
208 debugDump.print( in logStateToBuffer()
[all …]
Devent_loop.cc424 void EventLoop::logStateToBuffer(DebugDumpWrapper &debugDump) const { in logStateToBuffer()
425 debugDump.print("\nEvent Loop:\n"); in logStateToBuffer()
426 debugDump.print(" Max event pool usage: %" PRIu32 "/%zu\n", in logStateToBuffer()
428 debugDump.print(" Number of low priority events dropped: %" PRIu32 "\n", in logStateToBuffer()
430 debugDump.print(" Mean event pool usage: %" PRIu32 "/%zu\n", in logStateToBuffer()
439 debugDump.print(" Nanoapp host wakeup tracking: cycled %" PRIu64 in logStateToBuffer()
443 debugDump.print("\nNanoapps:\n"); in logStateToBuffer()
447 app->logStateToBuffer(debugDump); in logStateToBuffer()
450 mNanoapps[0]->logMemAndComputeHeader(debugDump); in logStateToBuffer()
452 app->logMemAndComputeEntry(debugDump); in logStateToBuffer()
[all …]
Dwwan_request_manager.cc77 void WwanRequestManager::logStateToBuffer(DebugDumpWrapper &debugDump) const { in logStateToBuffer()
78 debugDump.print("\nWWAN:\n"); in logStateToBuffer()
80 debugDump.print(" WWAN request pending nanoappId=%" PRIu16 "\n", in logStateToBuffer()
Dble_request_manager.cc687 void BleRequestManager::logStateToBuffer(DebugDumpWrapper &debugDump) const { in logStateToBuffer()
688 debugDump.print("\nBLE:\n"); in logStateToBuffer()
689 debugDump.print(" Active Platform Request:\n"); in logStateToBuffer()
690 mActivePlatformRequest.logStateToBuffer(debugDump, in logStateToBuffer()
693 debugDump.print(" Pending Platform Request:\n"); in logStateToBuffer()
694 mPendingPlatformRequest.logStateToBuffer(debugDump, in logStateToBuffer()
697 debugDump.print(" Request Multiplexer:\n"); in logStateToBuffer()
699 req.logStateToBuffer(debugDump); in logStateToBuffer()
701 debugDump.print(" Last %zu valid BLE requests:\n", mBleRequestLogs.size()); in logStateToBuffer()
707 debugDump.print(" ts=%" PRIu64 " instanceId=%" PRIu32 " %s", in logStateToBuffer()
[all …]
Dwifi_request_manager.cc663 void WifiRequestManager::logStateToBuffer(DebugDumpWrapper &debugDump) const { in logStateToBuffer()
664 debugDump.print("\nWifi scan monitor %s\n", in logStateToBuffer()
668 debugDump.print(" Wifi scan monitor enabled nanoapps:\n"); in logStateToBuffer()
670 debugDump.print(" nappId=%" PRIu16 "\n", instanceId); in logStateToBuffer()
675 debugDump.print(" Wifi scan request queue:\n"); in logStateToBuffer()
677 debugDump.print(" nappId=%" PRIu16, request.nanoappInstanceId); in logStateToBuffer()
682 debugDump.print(" Wifi transition queue:\n"); in logStateToBuffer()
684 debugDump.print(" enable=%s nappId=%" PRIu16 "\n", in logStateToBuffer()
690 debugDump.print(" Last %zu wifi scan requests:\n", in logStateToBuffer()
698 debugDump.print(" ts=%" PRIu64 " nappId=%" PRIu16 " scanType=%" PRIu8 in logStateToBuffer()
[all …]
Dsensor_request_manager.cc565 void SensorRequestManager::logStateToBuffer(DebugDumpWrapper &debugDump) const { in logStateToBuffer()
566 debugDump.print("\nSensors:\n"); in logStateToBuffer()
571 debugDump.print( in logStateToBuffer()
578 debugDump.print("\n Last %zu Sensor Requests:\n", mSensorRequestLogs.size()); in logStateToBuffer()
585 debugDump.print(" ts=%" PRIu64 " nappId=%" PRIu16 " type=%s idx=%" PRIu8 in logStateToBuffer()
592 debugDump.print(" int=%" PRIu64 " lat=%" PRIu64, in logStateToBuffer()
596 debugDump.print("\n"); in logStateToBuffer()
Daudio_request_manager.cc116 void AudioRequestManager::logStateToBuffer(DebugDumpWrapper &debugDump) const { in logStateToBuffer()
117 debugDump.print("\nAudio:\n"); in logStateToBuffer()
126 debugDump.print( in logStateToBuffer()
137 debugDump.print(" nanoappId=%" PRIu16 ", numSamples=%" PRIu32 in logStateToBuffer()
/system/chre/core/include/chre/core/
Dnanoapp.h212 void logStateToBuffer(DebugDumpWrapper &debugDump) const;
221 void logMemAndComputeHeader(DebugDumpWrapper &debugDump) const;
229 void logMemAndComputeEntry(DebugDumpWrapper &debugDump) const;
237 void logMessageHistoryHeader(DebugDumpWrapper &debugDump) const;
245 void logMessageHistoryEntry(DebugDumpWrapper &debugDump) const;
Dwwan_request_manager.h74 void logStateToBuffer(DebugDumpWrapper &debugDump) const;
Dsettings.h79 void logStateToBuffer(DebugDumpWrapper &debugDump);
Dgnss_manager.h138 void logStateToBuffer(DebugDumpWrapper &debugDump) const;
458 void logStateToBuffer(DebugDumpWrapper &debugDump) const;
Dble_request.h137 void logStateToBuffer(DebugDumpWrapper &debugDump,
Daudio_request_manager.h111 void logStateToBuffer(DebugDumpWrapper &debugDump) const;
/system/chre/platform/shared/
Dplatform_debug_dump_manager.cc75 void PlatformDebugDumpManager::logStateToBuffer(DebugDumpWrapper &debugDump) { in logStateToBuffer() argument
77 chpp::logStateToBuffer(debugDump); in logStateToBuffer()
79 UNUSED_VAR(debugDump); in logStateToBuffer()
Dmemory_manager.cc115 void MemoryManager::logStateToBuffer(DebugDumpWrapper &debugDump) const { in logStateToBuffer()
116 debugDump.print( in logStateToBuffer()
/system/chre/platform/include/chre/platform/
Dplatform_debug_dump_manager.h54 void logStateToBuffer(DebugDumpWrapper &debugDump);
Dplatform_nanoapp.h121 void logStateToBuffer(DebugDumpWrapper &debugDump) const;
Dmemory_manager.h108 void logStateToBuffer(DebugDumpWrapper &debugDump) const;
/system/libhidl/transport/manager/1.0/
DIServiceManager.hal139 * Returned object for debugDump().
154 debugDump() generates (vec<InstanceDebugInfo> info);
161 * be retrieved via debugDump.
/system/chre/platform/freertos/
Dplatform_nanoapp.cc122 void PlatformNanoapp::logStateToBuffer(DebugDumpWrapper &debugDump) const { in logStateToBuffer()
127 debugDump.print("%s (%s) @ build: %.*s", mAppInfo->name, mAppInfo->vendor, in logStateToBuffer()
/system/chre/platform/slpi/
Dplatform_nanoapp.cc311 void PlatformNanoapp::logStateToBuffer(DebugDumpWrapper &debugDump) const { in logStateToBuffer()
313 debugDump.print("%s (%s) @ %s", mAppInfo->name, mAppInfo->vendor, in logStateToBuffer()

12