Home
last modified time | relevance | path

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

/frameworks/base/core/tests/PlatformCompatFramework/src/com/android/internal/compat/
DChangeReporterTest.java27 ChangeReporter reporter = new ChangeReporter(ChangeReporter.SOURCE_UNKNOWN_SOURCE); in testStatsLogOnce()
30 int myState = ChangeReporter.STATE_ENABLED, otherState = ChangeReporter.STATE_DISABLED; in testStatsLogOnce()
45 ChangeReporter reporter = new ChangeReporter(ChangeReporter.SOURCE_UNKNOWN_SOURCE); in testStatsLogAfterReset()
48 int myState = ChangeReporter.STATE_ENABLED; in testStatsLogAfterReset()
63 ChangeReporter reporter = new ChangeReporter(ChangeReporter.SOURCE_UNKNOWN_SOURCE); in testDebugLogOnce()
66 int myState = ChangeReporter.STATE_ENABLED, otherState = ChangeReporter.STATE_DISABLED; in testDebugLogOnce()
81 ChangeReporter reporter = new ChangeReporter(ChangeReporter.SOURCE_UNKNOWN_SOURCE); in testDebugLogAfterReset()
84 int myState = ChangeReporter.STATE_ENABLED; in testDebugLogAfterReset()
99 ChangeReporter reporter = new ChangeReporter(ChangeReporter.SOURCE_UNKNOWN_SOURCE); in testDebugLogWithLogAll()
102 int myState = ChangeReporter.STATE_ENABLED; in testDebugLogWithLogAll()
/frameworks/base/core/java/android/app/
DAppCompatCallbacks.java22 import com.android.internal.compat.ChangeReporter;
33 private final ChangeReporter mChangeReporter;
47 mChangeReporter = new ChangeReporter( in AppCompatCallbacks()
48 ChangeReporter.SOURCE_APP_PROCESS); in AppCompatCallbacks()
52 reportChange(changeId, ChangeReporter.STATE_LOGGED); in reportChange()
58 reportChange(changeId, ChangeReporter.STATE_ENABLED); in isChangeEnabled()
61 reportChange(changeId, ChangeReporter.STATE_DISABLED); in isChangeEnabled()
/frameworks/base/services/core/java/com/android/server/compat/
DPlatformCompat.java39 import com.android.internal.compat.ChangeReporter;
58 private final ChangeReporter mChangeReporter;
66 mChangeReporter = new ChangeReporter( in PlatformCompat()
67 ChangeReporter.SOURCE_SYSTEM_SERVER); in PlatformCompat()
74 mChangeReporter = new ChangeReporter( in PlatformCompat()
75 ChangeReporter.SOURCE_SYSTEM_SERVER); in PlatformCompat()
83 ChangeReporter.STATE_LOGGED); in reportChange()
99 reportChange(changeId, uid, ChangeReporter.STATE_LOGGED); in reportChangeByUid()
107 ChangeReporter.STATE_ENABLED); in isChangeEnabled()
111 ChangeReporter.STATE_DISABLED); in isChangeEnabled()
/frameworks/base/core/java/com/android/internal/compat/
DChangeReporter.java40 public final class ChangeReporter { class
75 public ChangeReporter(@Source int source) { in ChangeReporter() method in ChangeReporter