Home
last modified time | relevance | path

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

/frameworks/base/packages/CrashRecovery/framework/java/android/service/watchdog/
DExplicitHealthCheckService.java144 @NonNull public abstract List<PackageConfig> onGetSupportedPackages(); in onGetSupportedPackages()
198 public static final class PackageConfig implements Parcelable { class in ExplicitHealthCheckService
211 public PackageConfig(@NonNull String packageName, long healthCheckTimeoutMillis) { in PackageConfig() method in ExplicitHealthCheckService.PackageConfig
221 private PackageConfig(Parcel parcel) { in PackageConfig() method in ExplicitHealthCheckService.PackageConfig
256 if (!(other instanceof PackageConfig)) { in equals()
260 PackageConfig otherInfo = (PackageConfig) other; in equals()
282 public static final @NonNull Creator<PackageConfig> CREATOR = new Creator<PackageConfig>() {
284 public PackageConfig createFromParcel(Parcel source) {
285 return new PackageConfig(source);
289 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()
249 …EXTRA_SUPPORTED_PACKAGES, android.service.watchdog.ExplicitHealthCheckService.PackageConfig.class); in getSupportedPackages()
DPackageWatchdog.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
859 private void onSupportedPackages(List<PackageConfig> supportedPackages) { in onSupportedPackages()
863 Iterator<PackageConfig> it = supportedPackages.iterator(); in onSupportedPackages()
865 PackageConfig info = it.next(); in onSupportedPackages()
/frameworks/base/services/tests/servicestests/src/com/android/server/locales/
DLocaleManagerServiceTest.java57 import com.android.server.wm.ActivityTaskManagerInternal.PackageConfig;
248 doReturn(new PackageConfig(/* nightMode = */ 0, DEFAULT_LOCALES, in testGetApplicationLocales_currentImeQueryNonForegroundAppLocales_fails()
289 doReturn(new PackageConfig(/* nightMode = */ 0, /* locales = */ null, in testGetApplicationLocales_appSpecificLocalesAbsent_returnsEmptyList()
304 doReturn(new PackageConfig(/* nightMode = */ 0, DEFAULT_LOCALES, in testGetApplicationLocales_callerOwnsAppAndConfigPresent_returnsLocales()
320 doReturn(new PackageConfig(/* nightMode = */ 0, DEFAULT_LOCALES, in testGetApplicationLocales_arbitraryCallerWithPermissions_returnsLocales()
337 doReturn(new PackageConfig(/* nightMode = */ 0, DEFAULT_LOCALES, in testGetApplicationLocales_callerIsInstaller_returnsLocales()
353 doReturn(new PackageConfig(/* nightMode = */ 0, DEFAULT_LOCALES, in testGetApplicationLocales_currentImeQueryForegroundAppLocales_returnsLocales()
DSystemAppUpdateTrackerTest.java173 doReturn(new ActivityTaskManagerInternal.PackageConfig(/* nightMode = */ 0, in testOnPackageUpdatedFinished_systemAppFirstUpdate_writesToFile()
192 doReturn(new ActivityTaskManagerInternal.PackageConfig(/* nightMode = */ 0, in testOnPackageUpdatedFinished_systemAppSecondUpdate_doesNothing()
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DCrashRecoveryTest.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
581 private Consumer<List<PackageConfig>> mSupportedConsumer;
594 Consumer<List<PackageConfig>> supportedConsumer, Runnable notifySyncRunnable) { in setCallbacks()
605 List<PackageConfig> packageConfigs = new ArrayList<>(); in syncRequests()
607 packageConfigs.add(new PackageConfig(packageName, SHORT_DURATION)); in syncRequests()
DPackageWatchdogTest.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
1904 private Consumer<List<PackageConfig>> mSupportedConsumer;
1918 Consumer<List<PackageConfig>> supportedConsumer, Runnable notifySyncRunnable) { in setCallbacks()
1931 List<PackageConfig> packageConfigs = new ArrayList<>(); in syncRequests()
1933 packageConfigs.add(new PackageConfig(packageName, SHORT_DURATION)); in syncRequests()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java663 public abstract PackageConfig getApplicationConfig(String packageName, in getApplicationConfig()
669 public static class PackageConfig { class in ActivityTaskManagerInternal
690 public PackageConfig(Integer nightMode, LocaleList locales, in PackageConfig() method in ActivityTaskManagerInternal.PackageConfig
DPackageConfigPersister.java316 ActivityTaskManagerInternal.PackageConfig findPackageConfiguration(String packageName, in findPackageConfiguration()
325 return new ActivityTaskManagerInternal.PackageConfig( in findPackageConfiguration()
DActivityTaskManagerService.java7257 public ActivityTaskManagerInternal.PackageConfig getApplicationConfig(String packageName, in getApplicationConfig()
DActivityRecord.java11117 final ActivityTaskManagerInternal.PackageConfig appConfig =
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java937 ActivityTaskManagerInternal.PackageConfig appSpecificConfig = mAtm.mInternal in testPackageConfigUpdate_localesNotSet_localeConfigRetrievedNull()
947 ActivityTaskManagerInternal.PackageConfig appSpecificConfig2 = mAtm.mInternal in testPackageConfigUpdate_localesNotSet_localeConfigRetrievedNull()
968 ActivityTaskManagerInternal.PackageConfig appSpecificConfig = mAtm.mInternal in testPackageConfigUpdate_appNotRunning_configSuccessfullyApplied()
998 ActivityTaskManagerInternal.PackageConfig appSpecificConfig = mAtm.mInternal in testPackageConfigUpdate_appRunning_configSuccessfullyApplied()
/frameworks/base/services/core/java/com/android/server/grammaticalinflection/
DGrammaticalInflectionService.java226 final ActivityTaskManagerInternal.PackageConfig appConfig = in getApplicationGrammaticalGender()
/frameworks/base/services/core/java/com/android/server/locales/
DLocaleManagerService.java450 final ActivityTaskManagerInternal.PackageConfig appConfig = in getApplicationLocalesUnchecked()
/frameworks/base/config/
Ddirty-image-objects1529 Landroid/service/watchdog/ExplicitHealthCheckService$PackageConfig; 433
Dpreloaded-classes7202 android.service.watchdog.ExplicitHealthCheckService$PackageConfig$1
7203 android.service.watchdog.ExplicitHealthCheckService$PackageConfig
Dboot-image-profile.txt39736 Landroid/service/watchdog/ExplicitHealthCheckService$PackageConfig$1;
39737 Landroid/service/watchdog/ExplicitHealthCheckService$PackageConfig;
/frameworks/base/core/api/
Dsystem-current.txt13764 …ct java.util.List<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> onGetSupporte…
13770 …public static final class ExplicitHealthCheckService.PackageConfig implements android.os.Parcelabl…
13771 ctor public ExplicitHealthCheckService.PackageConfig(@NonNull String, long);
13776 …d.os.Parcelable.Creator<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> CREATOR;
/frameworks/base/boot/
Dpreloaded-classes7198 android.service.watchdog.ExplicitHealthCheckService$PackageConfig$1
7199 android.service.watchdog.ExplicitHealthCheckService$PackageConfig
Dboot-image-profile.txt29602 Landroid/service/watchdog/ExplicitHealthCheckService$PackageConfig$1;
29603 Landroid/service/watchdog/ExplicitHealthCheckService$PackageConfig;