Home
last modified time | relevance | path

Searched refs:mKillableState (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/car-lib/src/android/car/watchdog/
DPackageKillableState.java65 private @KillableState int mKillableState; field in PackageKillableState
128 this.mKillableState = killableState; in PackageKillableState()
130 if (!(mKillableState == KILLABLE_STATE_YES) in PackageKillableState()
131 && !(mKillableState == KILLABLE_STATE_NO) in PackageKillableState()
132 && !(mKillableState == KILLABLE_STATE_NEVER)) { in PackageKillableState()
134 "killableState was " + mKillableState + " but must be one of: " in PackageKillableState()
165 return mKillableState; in getKillableState()
177 "killableState = " + killableStateToString(mKillableState) + in toString()
189 dest.writeInt(mKillableState); in writeToParcel()
213 this.mKillableState = killableState; in PackageKillableState()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DPeakPerformancePreferenceController.java56 private int mKillableState; field in PeakPerformancePreferenceController
106 mKillableState = getKillableState(); in updateState()
108 preference.setChecked(mKillableState == PackageKillableState.KILLABLE_STATE_YES); in updateState()
109 preference.setEnabled(mKillableState != PackageKillableState.KILLABLE_STATE_NEVER); in updateState()
114 if (mKillableState == PackageKillableState.KILLABLE_STATE_NEVER) { in handlePreferenceChanged()
124 mKillableState = PackageKillableState.KILLABLE_STATE_YES; in handlePreferenceChanged()
134 mKillableState = PackageKillableState.KILLABLE_STATE_NO; in handlePreferenceChanged()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogPerfHandler.java1151 private @KillableState int mKillableState; field in WatchdogPerfHandler.PackageResourceUsage
1159 this.mKillableState = mDefaultNotKillablePackages.contains(packageName) in PackageResourceUsage()
1172 mKillableState = KILLABLE_STATE_NEVER; in updateLocked()
1173 } else if (mKillableState == KILLABLE_STATE_NEVER) { in updateLocked()
1178 mKillableState = mDefaultNotKillablePackages.contains(packageName) in updateLocked()
1193 mKillableState != KILLABLE_STATE_NEVER).build(); in getIoOveruseStats()
1197 return mKillableState; in getKillableState()
1201 if (mKillableState == KILLABLE_STATE_NEVER) { in setKillableState()
1204 mKillableState = isKillable ? KILLABLE_STATE_YES : KILLABLE_STATE_NO; in setKillableState()
1218 mKillableState = KILLABLE_STATE_NEVER; in syncAndFetchKillableStateLocked()
[all …]