Home
last modified time | relevance | path

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

/frameworks/base/core/tests/PlatformCompatFramework/src/com/android/internal/compat/
DChangeReporterTest.java68 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogOnce()
72 assertFalse(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogOnce()
74 assertTrue(reporter.shouldWriteToDebug(otherUid, myChangeId, myState)); in testDebugLogOnce()
75 assertTrue(reporter.shouldWriteToDebug(myUid, otherChangeId, myState)); in testDebugLogOnce()
76 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, otherState)); in testDebugLogOnce()
86 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogAfterReset()
90 assertFalse(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogAfterReset()
94 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogAfterReset()
104 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogWithLogAll()
109 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, myState)); in testDebugLogWithLogAll()
[all …]
/frameworks/base/core/java/com/android/internal/compat/
DChangeReporter.java94 if (shouldWriteToDebug(uid, changeId, state)) { in reportChange()
137 public boolean shouldWriteToDebug(int uid, long changeId, int state) { in shouldWriteToDebug() method in ChangeReporter