Home
last modified time | relevance | path

Searched refs:isProtoEnabled (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/protolog/
DLegacyProtoLogImpl.java164 if (!isProtoEnabled()) { in logToProto()
231 if (isProtoEnabled()) { in startProtoLog()
249 if (!isProtoEnabled()) { in stopProtoLog()
270 public boolean isProtoEnabled() { in isProtoEnabled() method in LegacyProtoLogImpl
352 + ((isProtoEnabled()) ? "Enabled" : "Disabled") in getStatus()
411 return group.isLogToLogcat() || (group.isLogToProto() && isProtoEnabled()); in isEnabled()
DPerfettoProtoLogImpl.java325 if (!isProtoEnabled()) { in logToProto()
498 public boolean isProtoEnabled() { in isProtoEnabled() method in PerfettoProtoLogImpl
/frameworks/base/core/java/com/android/internal/protolog/common/
DIProtoLog.java40 boolean isProtoEnabled(); in isProtoEnabled() method
/frameworks/base/tests/Internal/src/com/android/internal/protolog/
DLegacyProtoLogImplTest.java107 assertFalse(mProtoLog.isProtoEnabled()); in isEnabled_returnsFalseByDefault()
113 assertTrue(mProtoLog.isProtoEnabled()); in isEnabled_returnsTrueAfterStart()
120 assertFalse(mProtoLog.isProtoEnabled()); in isEnabled_returnsFalseAfterStop()
DPerfettoProtoLogImplTest.java175 assertFalse(mProtoLog.isProtoEnabled()); in isEnabled_returnsFalseByDefault()
184 assertTrue(mProtoLog.isProtoEnabled()); in isEnabled_returnsTrueAfterStart()
196 assertTrue(mProtoLog.isProtoEnabled()); in isEnabled_returnsFalseAfterStop()
201 assertFalse(mProtoLog.isProtoEnabled()); in isEnabled_returnsFalseAfterStop()
423 assertTrue(mProtoLog.isProtoEnabled()); in log_protoEnabled()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DProtoLogController.java108 if (!mShellProtoLog.isProtoEnabled()) { in onShellCommand()