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
243 if (!(other instanceof PackageConfig)) { in equals()
247 PackageConfig otherInfo = (PackageConfig) other; in equals()
269 public static final @NonNull Creator<PackageConfig> CREATOR = new Creator<PackageConfig>() {
271 public PackageConfig createFromParcel(Parcel source) {
272 return new PackageConfig(source);
276 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;
75 @GuardedBy("mLock") @Nullable private Consumer<List<PackageConfig>> mSupportedConsumer;
110 Consumer<List<PackageConfig>> supportedConsumer, Runnable notifySyncRunnable) { in setCallbacks()
159 for (PackageConfig config : supportedPackageConfigs) { in syncRequests()
239 private void getSupportedPackages(Consumer<List<PackageConfig>> consumer) { in getSupportedPackages()
248 List<PackageConfig> packages = in getSupportedPackages()
DPackageWatchdog.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
505 private void onSupportedPackages(List<PackageConfig> supportedPackages) { in onSupportedPackages()
509 Iterator<PackageConfig> it = supportedPackages.iterator(); in onSupportedPackages()
511 PackageConfig info = it.next(); in onSupportedPackages()
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
892 private Consumer<List<PackageConfig>> mSupportedConsumer;
905 Consumer<List<PackageConfig>> supportedConsumer, Runnable notifySyncRunnable) { in setCallbacks()
917 List<PackageConfig> packageConfigs = new ArrayList<>(); in syncRequests()
919 packageConfigs.add(new PackageConfig(packageName, SHORT_DURATION)); in syncRequests()
/frameworks/base/api/
Dsystem-current.txt7652 …ct java.util.List<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> onGetSupporte…
7658 …public static final class ExplicitHealthCheckService.PackageConfig implements android.os.Parcelabl…
7659 ctor public ExplicitHealthCheckService.PackageConfig(@NonNull String, long);
7664 …d.os.Parcelable.Creator<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> CREATOR;
/frameworks/base/non-updatable-api/
Dsystem-current.txt7550 …ct java.util.List<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> onGetSupporte…
7556 …public static final class ExplicitHealthCheckService.PackageConfig implements android.os.Parcelabl…
7557 ctor public ExplicitHealthCheckService.PackageConfig(@NonNull String, long);
7562 …d.os.Parcelable.Creator<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> CREATOR;