Home
last modified time | relevance | path

Searched refs:reportChange (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/app/
DAppCompatCallbacks.java51 protected void reportChange(long changeId) { in reportChange() method 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()
65 private void reportChange(long changeId, int state) { in reportChange() method in AppCompatCallbacks
67 mChangeReporter.reportChange(uid, changeId, state); in reportChange()
/frameworks/base/core/tests/PlatformCompatFramework/src/com/android/internal/compat/
DChangeReporterTest.java33 reporter.reportChange(myUid, myChangeId, myState); in testStatsLogOnce()
51 reporter.reportChange(myUid, myChangeId, myState); in testStatsLogAfterReset()
69 reporter.reportChange(myUid, myChangeId, myState); in testDebugLogOnce()
87 reporter.reportChange(myUid, myChangeId, myState); in testDebugLogAfterReset()
105 reporter.reportChange(myUid, myChangeId, myState); in testDebugLogWithLogAll()
/frameworks/base/services/core/java/com/android/server/compat/
DPlatformCompat.java80 public void reportChange(long changeId, ApplicationInfo appInfo) { in reportChange() method in PlatformCompat
82 reportChange(changeId, appInfo.uid, in reportChange()
93 reportChange(changeId, appInfo); in reportChangeByPackageName()
99 reportChange(changeId, uid, ChangeReporter.STATE_LOGGED); in reportChangeByUid()
106 reportChange(changeId, appInfo.uid, in isChangeEnabled()
110 reportChange(changeId, appInfo.uid, in isChangeEnabled()
298 private void reportChange(long changeId, int uid, int state) { in reportChange() method in PlatformCompat
299 mChangeReporter.reportChange(uid, changeId, state); in reportChange()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DBatteryController.java88 boolean reportChange = false; in maybeReportNewChargingStateLocked()
93 reportChange = true; in maybeReportNewChargingStateLocked()
97 reportChange = true; in maybeReportNewChargingStateLocked()
103 } else if (reportChange) { in maybeReportNewChargingStateLocked()
DStorageController.java80 boolean reportChange = false; in maybeReportNewStorageState()
84 reportChange |= ts.setStorageNotLowConstraintSatisfied(storageNotLow); in maybeReportNewStorageState()
90 } else if (reportChange) { in maybeReportNewStorageState()
DContentObserverController.java297 boolean reportChange = false; in trigger()
301 reportChange = true; in trigger()
308 if (reportChange) { in trigger()
/frameworks/base/core/java/com/android/internal/compat/
DIPlatformCompat.aidl46 void reportChange(long changeId, in ApplicationInfo appInfo); in reportChange() method
DChangeReporter.java89 public void reportChange(int uid, long changeId, int state) { in reportChange() method in ChangeReporter
/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/
DPlatformCompatPermissionsTest.java83 mPlatformCompat.reportChange(1, mPackageManager.getApplicationInfo(packageName, 0)); in reportChange_noLogCompatChangePermission_throwsSecurityException()
92 mPlatformCompat.reportChange(1, mPackageManager.getApplicationInfo(packageName, 0)); in reportChange_logCompatChangePermission_noThrow()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java628 void reportChange(int which, int callingUserId) { in reportChange() method in SyncStorageEngine
727 reportChange(ContentResolver.SYNC_OBSERVER_TYPE_SETTINGS, userId); in setSyncAutomatically()
795 reportChange(ContentResolver.SYNC_OBSERVER_TYPE_SETTINGS, target.userId); in setSyncableStateForEndPoint()
841 reportChange(ContentResolver.SYNC_OBSERVER_TYPE_SETTINGS, info.userId); in setBackoff()
903 reportChange(ContentResolver.SYNC_OBSERVER_TYPE_SETTINGS, changedUserIds.valueAt(i)); in clearAllBackoffsLocked()
929 reportChange(ContentResolver.SYNC_OBSERVER_TYPE_SETTINGS, info.userId); in setDelayUntilTime()
972 reportChange(ContentResolver.SYNC_OBSERVER_TYPE_SETTINGS, userId); in setMasterSyncAutomatically()
1023 reportChange(ContentResolver.SYNC_OBSERVER_TYPE_PENDING, info.userId); in markPending()
1137 reportChange(ContentResolver.SYNC_OBSERVER_TYPE_ACTIVE, userId); in reportActiveChange()
1172 reportChange(ContentResolver.SYNC_OBSERVER_TYPE_STATUS, op.target.userId); in insertStartSyncEvent()
[all …]
DSyncManager.java3375 mSyncStorageEngine.reportChange(ContentResolver.SYNC_OBSERVER_TYPE_SETTINGS, in updateOrAddPeriodicSyncH()
/frameworks/base/services/
Dart-profile6033 HSPLcom/android/server/content/SyncStorageEngine;->reportChange(I)V