Home
last modified time | relevance | path

Searched refs:killableState (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/car-lib/src/android/car/watchdog/
DPackageKillableState.java126 @KillableState int killableState) { in PackageKillableState() argument
133 this.mKillableState = killableState; in PackageKillableState()
211 int killableState = in.readInt(); in PackageKillableState() local
219 this.mKillableState = killableState; in PackageKillableState()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DPrioritizeAppPerformancePreferenceController.java106 int killableState = PerfImpactingAppsUtils.getKillableState(mPackageName, mUserHandle, in updateState() local
108 preference.setChecked(killableState == PackageKillableState.KILLABLE_STATE_NO); in updateState()
109 preference.setEnabled(killableState != PackageKillableState.KILLABLE_STATE_NEVER); in updateState()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogStorage.java569 public final @KillableState int killableState; field in WatchdogStorage.UserPackageSettingsEntry
573 @KillableState int killableState, long killableStateLastModifiedEpochSeconds) { in UserPackageSettingsEntry() argument
576 this.killableState = killableState; in UserPackageSettingsEntry()
590 && killableState == other.killableState; in equals()
595 return Objects.hash(userId, packageName, killableState); in hashCode()
602 .append(", killableState: ").append(killableState).append('}') in toString()
706 values.put(COLUMN_KILLABLE_STATE, entry.killableState); in updateEntry()
726 values.put(COLUMN_KILLABLE_STATE, entry.killableState); in replaceEntry()
DWatchdogPerfHandler.java818 int killableState = getPackageKillableStateForUserPackageLocked( in getPackageKillableStatesForUserId() local
823 killableState)); in getPackageKillableStatesForUserId()
844 int killableState = getPackageKillableStateForUserPackageLocked( in getPackageKillableStatesForUserId() local
850 applicationInfos.get(i).packageName, userId, killableState)); in getPackageKillableStatesForUserId()
1323 if (entry.killableState != KILLABLE_STATE_YES) { in readFromDatabase()
1334 int killableState = entry.killableState; in readFromDatabase() local
1338 if (killableState == KILLABLE_STATE_NO in readFromDatabase()
1340 killableState = KILLABLE_STATE_YES; in readFromDatabase()
1346 usage.setKillableState(killableState, usageModifiedDate); in readFromDatabase()
1503 int killableState = usage.syncAndFetchKillableState( in getPackageKillableStateForUserPackageLocked() local
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/applications/performance/
DPerfImpactingAppsPreferenceController.java134 int killableState = PerfImpactingAppsUtils.getKillableState(packageName, userHandle, in prioritizeApp() local
136 if (killableState == PackageKillableState.KILLABLE_STATE_NEVER) { in prioritizeApp()
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.3.txt860 …eState PackageKillableState PackageKillableState(String packageName, int userId, int killableState)