Searched refs:mKillableState (Results 1 – 3 of 3) sorted by relevance
65 private @KillableState int mKillableState; field in PackageKillableState128 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 …]
56 private int mKillableState; field in PeakPerformancePreferenceController106 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()
1151 private @KillableState int mKillableState; field in WatchdogPerfHandler.PackageResourceUsage1159 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 …]