Home
last modified time | relevance | path

Searched refs:PackageConfig (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/service/watchdog/
DExplicitHealthCheckService.java140 @NonNull public abstract List<PackageConfig> onGetSupportedPackages(); in onGetSupportedPackages()
185 public static final class PackageConfig implements Parcelable { class in ExplicitHealthCheckService
198 public PackageConfig(@NonNull String packageName, long healthCheckTimeoutMillis) { in PackageConfig() method in ExplicitHealthCheckService.PackageConfig
208 private PackageConfig(Parcel parcel) { in PackageConfig() method in ExplicitHealthCheckService.PackageConfig
242 if (!(other instanceof PackageConfig)) { in equals()
246 PackageConfig otherInfo = (PackageConfig) other; in equals()
268 public static final @NonNull Creator<PackageConfig> CREATOR = new Creator<PackageConfig>() {
270 public PackageConfig createFromParcel(Parcel source) {
271 return new PackageConfig(source);
275 public PackageConfig[] newArray(int size) {
[all …]
DPackageConfig.aidl22 parcelable PackageConfig;
/frameworks/base/services/core/java/com/android/server/
DExplicitHealthCheckController.java21 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
74 @GuardedBy("mLock") @Nullable private Consumer<List<PackageConfig>> mSupportedConsumer;
109 Consumer<List<PackageConfig>> supportedConsumer, Runnable notifySyncRunnable) { in setCallbacks()
158 for (PackageConfig config : supportedPackageConfigs) { in syncRequests()
238 private void getSupportedPackages(Consumer<List<PackageConfig>> consumer) { in getSupportedPackages()
247 List<PackageConfig> packages = in getSupportedPackages()
DPackageWatchdog.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
487 private void onSupportedPackages(List<PackageConfig> supportedPackages) { in onSupportedPackages()
491 Iterator<PackageConfig> it = supportedPackages.iterator(); in onSupportedPackages()
493 PackageConfig info = it.next(); in onSupportedPackages()
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
839 private Consumer<List<PackageConfig>> mSupportedConsumer;
852 Consumer<List<PackageConfig>> supportedConsumer, Runnable notifySyncRunnable) { in setCallbacks()
864 List<PackageConfig> packageConfigs = new ArrayList<>(); in syncRequests()
866 packageConfigs.add(new PackageConfig(packageName, SHORT_DURATION)); in syncRequests()
/frameworks/base/
DAndroid.bp324 "core/java/android/service/watchdog/PackageConfig.aidl",
/frameworks/base/api/
Dsystem-current.txt6830 …ct java.util.List<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> onGetSupporte…
6836 …public static final class ExplicitHealthCheckService.PackageConfig implements android.os.Parcelabl…
6837 ctor public ExplicitHealthCheckService.PackageConfig(@NonNull String, long);
6842 …d.os.Parcelable.Creator<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> CREATOR;