Home
last modified time | relevance | path

Searched refs:globalSettings (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/demomode/
DDemoModeAvailabilityTracker.kt34 val globalSettings: GlobalSettings, constant in com.android.systemui.demomode.DemoModeAvailabilityTracker
47 globalSettings.getUriFor(DEMO_MODE_ALLOWED), false, allowedObserver) in startTracking()
49 globalSettings.getUriFor(DEMO_MODE_ON), false, onObserver) in startTracking()
63 return globalSettings.getInt(DEMO_MODE_ALLOWED, 0) != 0 in onDemoModeAvailabilityChanged()
67 return globalSettings.getInt(DEMO_MODE_ON, 0) != 0 in checkIsDemoModeOn()
DDemoModeController.kt47 private val globalSettings: GlobalSettings, in <lambda>() constant in com.android.systemui.demomode.DemoModeController
229 object : DemoModeAvailabilityTracker(context, globalSettings) { in <lambda>()
286 globalSettings.putInt(key, value) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/demomode/
DDemoModeControllerTest.kt51 private val globalSettings = FakeSettings() in <lambda>() constant
62 globalSettings.putInt(DemoModeController.DEMO_MODE_ALLOWED, 1) in <lambda>()
63 globalSettings.putInt(DemoModeController.DEMO_MODE_ON, 1) in <lambda>()
69 globalSettings = globalSettings, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceProvisionedControllerImpl.kt47 private val globalSettings: GlobalSettings, constant in com.android.systemui.statusbar.policy.DeviceProvisionedControllerImpl
62 private val deviceProvisionedUri = globalSettings.getUriFor(Settings.Global.DEVICE_PROVISIONED)
133 globalSettings.registerContentObserver(deviceProvisionedUri, observer) in init()
134 globalSettings.registerContentObserver(frpActiveUri, observer) in init()
146 .set(globalSettings.getInt(Settings.Global.DEVICE_PROVISIONED, 0) != 0) in updateValues()
149 frpActive.set(globalSettings.getInt(Settings.Secure.SECURE_FRP_MODE, 0) != 0) in updateValues()
DZenModeControllerImpl.java108 GlobalSettings globalSettings, in ZenModeControllerImpl() argument
113 mModeSetting = new SettingObserver(globalSettings, handler, Global.ZEN_MODE, in ZenModeControllerImpl()
121 mConfigSetting = new SettingObserver(globalSettings, handler, Global.ZEN_MODE_CONFIG_ETAG, in ZenModeControllerImpl()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/data/repository/
DUserRepositoryImplTest.kt57 private lateinit var globalSettings: FakeSettings in <lambda>() variable in com.android.systemui.user.data.repository.UserRepositoryImplTest
64 globalSettings = FakeSettings() in <lambda>()
272 globalSettings.putIntForUser( in <lambda>()
277 globalSettings.putIntForUser( in <lambda>()
282 globalSettings.putIntForUser( in <lambda>()
323 globalSettings = globalSettings, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/demomode/dagger/
DDemoModeModule.java41 GlobalSettings globalSettings, in provideDemoModeController() argument
47 globalSettings, in provideDemoModeController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/dagger/
DQSFlagsModule.java51 static boolean isPMLiteEnabled(FeatureFlags featureFlags, GlobalSettings globalSettings) { in isPMLiteEnabled() argument
53 && globalSettings.getInt(PM_LITE_SETTING, PM_LITE_SETTING_DEFAULT) != 0; in isPMLiteEnabled()
/frameworks/av/media/libstagefright/
DMediaCodecListWriter.cpp51 const sp<AMessage> &globalSettings) const { in writeGlobalSettings()
53 globalSettings->setString(kv.first.c_str(), kv.second.c_str()); in writeGlobalSettings()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/
DUserRepository.kt116 private val globalSettings: GlobalSettings, in refreshUsers() constant in com.android.systemui.user.data.repository.UserRepositoryImpl
122 globalSettings in refreshUsers()
256 globalSettings.getIntForUser( in refreshUsers()
271 globalSettings.getIntForUser( in refreshUsers()
278 globalSettings.getIntForUser( in refreshUsers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DDemoModeFragment.java63 public DemoModeFragment(DemoModeController demoModeController, GlobalSettings globalSettings) { in DemoModeFragment() argument
66 mGlobalSettings = globalSettings; in DemoModeFragment()
208 Tracker(Context context, GlobalSettings globalSettings) { in Tracker() argument
209 super(context, globalSettings); in Tracker()
DTunerActivity.java54 GlobalSettings globalSettings in TunerActivity() argument
59 mGlobalSettings = globalSettings; in TunerActivity()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DFaceWakeUpTriggersConfigTest.kt36 @Mock lateinit var globalSettings: GlobalSettings variable in com.android.keyguard.FaceWakeUpTriggersConfigTest
74 return FaceWakeUpTriggersConfig(mContext.getResources(), globalSettings, dumpManager) in createFaceWakeUpTriggersConfig()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java906 SettingsState globalSettings = mSettingsRegistry.getSettingsLocked( in dumpForUserLocked() local
908 if (globalSettings != null) { in dumpForUserLocked()
909 dumpSettingsLocked(globalSettings, pw); in dumpForUserLocked()
911 globalSettings.dumpHistoricalOperations(pw); in dumpForUserLocked()
3317 SettingsState globalSettings = mSettingsStates.get(globalKey);
3318 migrateLegacySettingsLocked(globalSettings, database, TABLE_GLOBAL);
3321 globalSettings.insertSettingLocked(Settings.Global.DATABASE_CREATION_BUILDID,
3325 globalSettings.persistSyncLocked();
3685 SettingsState globalSettings = getSettingsLocked(
3687 globalSettings.setVersionLocked(newVersion);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DFaceWakeUpTriggersConfig.kt36 constructor(@Main resources: Resources, globalSettings: GlobalSettings, dumpManager: DumpManager) :
49 globalSettings.getString("face_wake_triggers"),
DKeyguardSecurityContainer.java343 void initMode(@Mode int mode, GlobalSettings globalSettings, FalsingManager falsingManager, in initMode() argument
363 mGlobalSettings = globalSettings; in initMode()
811 default void init(@NonNull ConstraintLayout v, @NonNull GlobalSettings globalSettings, in init() argument
856 GlobalSettings globalSettings, boolean leftAlignedByDefault) { in init() argument
859 mGlobalSettings = globalSettings; in init()
920 public void init(@NonNull ConstraintLayout v, @NonNull GlobalSettings globalSettings, in init() argument
968 public void init(@NonNull ConstraintLayout v, @NonNull GlobalSettings globalSettings, in init() argument
973 init(v, viewFlipper, globalSettings, /* leftAlignedByDefault= */false); in init()
1266 public void init(@NonNull ConstraintLayout v, @NonNull GlobalSettings globalSettings, in init() argument
1271 init(v, viewFlipper, globalSettings, /* leftAlignedByDefault= */true); in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/airplane/data/repository/
DAirplaneModeRepository.kt61 private val globalSettings: GlobalSettings, constant in com.android.systemui.statusbar.pipeline.airplane.data.repository.AirplaneModeRepositoryImpl
71 globalSettings, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DFeatureFlagsDebugTest.kt64 private lateinit var globalSettings: GlobalSettings variable in com.android.systemui.flags.FeatureFlagsDebugTest
92 globalSettings, in setup()
376 verifyNoMoreInteractions(flagManager, globalSettings) in broadcastReceiver_IgnoresInvalidData()
388 verifyNoMoreInteractions(flagManager, globalSettings) in intentWithId_NoValueKeyClears()
532 inOrder(flagManager, globalSettings).apply { in verifyPutData()
535 verify(globalSettings).putStringForUser(eq("key-$name"), eq(data), anyInt()) in verifyPutData()
538 verifyNoMoreInteractions(flagManager, globalSettings) in verifyPutData()
/frameworks/av/media/libmedia/tests/codeclist/
DCodecListTest.cpp219 sp<AMessage> globalSettings = list->getGlobalSettings(); in TEST() local
220 ASSERT_NE(globalSettings, nullptr) << "GlobalSettings AMessage is null"; in TEST()
221 ALOGV("global settings: %s", globalSettings->debugString(0).c_str()); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUnlockedScreenOffAnimationController.kt59 private val globalSettings: GlobalSettings, constant in com.android.systemui.statusbar.phone.UnlockedScreenOffAnimationController
134 globalSettings.registerContentObserver( in initialize()
143 globalSettings.getFloat(Settings.Global.ANIMATOR_DURATION_SCALE, 1f)) in updateAnimatorDurationScale()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodecListWriter.h60 void writeGlobalSettings(const sp<AMessage> &globalSettings) const;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DUnlockedScreenOffAnimationControllerTest.kt64 private lateinit var globalSettings: GlobalSettings variable in com.android.systemui.statusbar.phone.UnlockedScreenOffAnimationControllerTest
93 globalSettings, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFoldAodAnimationController.kt59 private val globalSettings: GlobalSettings, in <lambda>() constant in com.android.systemui.unfold.FoldAodAnimationController
107 globalSettings.getString(Settings.Global.ANIMATOR_DURATION_SCALE) != "0" in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DAirplaneModeTile.java81 GlobalSettings globalSettings, in AirplaneModeTile() argument
89 mSetting = new SettingObserver(globalSettings, mHandler, Global.AIRPLANE_MODE_ON, in AirplaneModeTile()
/frameworks/base/services/core/java/com/android/server/am/
DSettingsToPropertiesMapper.java114 String[] globalSettings, in SettingsToPropertiesMapper() argument
117 mGlobalSettings = globalSettings; in SettingsToPropertiesMapper()

12