Home
last modified time | relevance | path

Searched refs:resetMode (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDeviceConfigService.java105 int resetMode = -1; in onCommand() local
113 if (resetMode == -1) { in onCommand()
115 resetMode = Settings.RESET_MODE_UNTRUSTED_DEFAULTS; in onCommand()
117 resetMode = Settings.RESET_MODE_UNTRUSTED_CHANGES; in onCommand()
119 resetMode = Settings.RESET_MODE_TRUSTED_DEFAULTS; in onCommand()
211 DeviceConfig.resetToDefaults(resetMode, namespace); in onCommand()
/frameworks/base/services/core/java/com/android/server/
DRescueParty.java349 private static void resetDeviceConfig(Context context, int resetMode, in resetDeviceConfig() argument
352 DeviceConfig.resetToDefaults(resetMode, /*namespace=*/ null); in resetDeviceConfig()
354 performScopedReset(context, resetMode, failedPackage); in resetDeviceConfig()
365 private static void performScopedReset(Context context, int resetMode, in performScopedReset() argument
371 DeviceConfig.resetToDefaults(resetMode, /*namespace=*/ null); in performScopedReset()
379 DeviceConfig.resetToDefaults(resetMode, it.next()); in performScopedReset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DDeviceConfigProxy.java116 public void resetToDefaults(@Settings.ResetMode int resetMode, in resetToDefaults() argument
118 DeviceConfig.resetToDefaults(resetMode, namespace); in resetToDefaults()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DRescuePartyTest.java433 private void verifySettingsResets(int resetMode, String[] resetNamespaces) { in verifySettingsResets() argument
435 resetMode, UserHandle.USER_SYSTEM)); in verifySettingsResets()
437 eq(resetMode), anyInt())); in verifySettingsResets()
440 verify(() -> DeviceConfig.resetToDefaults(resetMode, /*namespace=*/ null)); in verifySettingsResets()
443 verify(() -> DeviceConfig.resetToDefaults(resetMode, namespace)); in verifySettingsResets()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java189 protected static void resetSettingsViaShell(int type, int resetMode) throws IOException { in resetSettingsViaShell() argument
191 switch (resetMode) { in resetSettingsViaShell()
205 throw new IllegalArgumentException("Invalid reset mode: " + resetMode); in resetSettingsViaShell()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBiometricUnlockController.java459 resetMode(); in onStartedGoingToSleep()
613 resetMode(); in finishKeyguardFadingAway()
616 private void resetMode() { in resetMode() method in BiometricUnlockController
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DDeviceConfigProxyFake.java151 public void resetToDefaults(int resetMode, String namespace) { in resetToDefaults() argument
/frameworks/base/core/java/android/provider/
DDeviceConfig.java658 public static void resetToDefaults(@ResetMode int resetMode, @Nullable String namespace) { in resetToDefaults() argument
660 Settings.Config.resetToDefaults(contentResolver, resetMode, namespace); in resetToDefaults()
DSettings.java14544 static void resetToDefaults(@NonNull ContentResolver resolver, @ResetMode int resetMode, in resetToDefaults() argument
14549 arg.putInt(CALL_METHOD_RESET_MODE_KEY, resetMode); in resetToDefaults()
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...