Home
last modified time | relevance | path

Searched refs:shouldWriteToDebug (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/PlatformCompatFramework/src/com/android/internal/compat/
DChangeReporterTest.java76 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogOnce()
80 assertFalse(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogOnce()
82 assertTrue(reporter.shouldWriteToDebug(otherUid, myChangeId, myState)); in testDebugLogOnce()
83 assertTrue(reporter.shouldWriteToDebug(myUid, otherChangeId, myState)); in testDebugLogOnce()
84 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, otherState)); in testDebugLogOnce()
94 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogAfterReset()
98 assertFalse(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogAfterReset()
102 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogAfterReset()
112 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogWithLogAll()
117 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogWithLogAll()
[all …]
/frameworks/base/core/java/com/android/internal/compat/
DChangeReporter.java105 if (shouldWriteToDebug(isAlreadyReported, state, isLoggableBySdk)) { in reportChange()
159 private boolean shouldWriteToDebug( in shouldWriteToDebug() method in ChangeReporter
186 boolean shouldWriteToDebug(int uid, long changeId, int state) { in shouldWriteToDebug() method in ChangeReporter
187 return shouldWriteToDebug(uid, changeId, state, true); in shouldWriteToDebug()
202 boolean shouldWriteToDebug(int uid, long changeId, int state, boolean isLoggableBySdk) { in shouldWriteToDebug() method in ChangeReporter
203 return shouldWriteToDebug( in shouldWriteToDebug()
/frameworks/base/boot/
Dboot-image-profile.txt21266 HSPLcom/android/internal/compat/ChangeReporter;->shouldWriteToDebug(IJI)Z
/frameworks/base/config/
Dboot-image-profile.txt21330 HSPLcom/android/internal/compat/ChangeReporter;->shouldWriteToDebug(IJI)Z