Home
last modified time | relevance | path

Searched refs:SETTING (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DAutoAddableSettingTest.kt51 SETTING,
70 secureSettings.putIntForUser(SETTING, 0, userId) in settingSetTo0_noSignal()
81 secureSettings.putIntForUser(SETTING, 42, userId) in settingSetToNon0_signal()
92 secureSettings.putIntForUser(SETTING, /* value */ 42, /* userHandle */ 1) in settingSetForUser_onlySignalInThatUser()
104 secureSettings.putIntForUser(SETTING, 1, userId) in multipleNonZeroChanges_onlyOneSignal()
105 secureSettings.putIntForUser(SETTING, 2, userId) in multipleNonZeroChanges_onlyOneSignal()
116 private const val SETTING = "setting" constant
/frameworks/base/core/tests/coretests/src/android/provider/
DNameValueCacheTest.java66 private static final String SETTING = "test_setting"; field in NameValueCacheTest
175 if (key.equals(SETTING)) { in setUp()
208 index = key.equals(SETTING) ? 0 : 1; in setUp()
337 Settings.Secure.putString(mMockContentResolver, SETTING, "a"); in testCaching_singleSetting()
341 String returnedValue = Settings.Secure.getString(mMockContentResolver, SETTING); in testCaching_singleSetting()
346 String cachedValue = Settings.Secure.getString(mMockContentResolver, SETTING); in testCaching_singleSetting()
351 Settings.Secure.putString(mMockContentResolver, SETTING, "b"); in testCaching_singleSetting()
355 String returnedValue2 = Settings.Secure.getString(mMockContentResolver, SETTING); in testCaching_singleSetting()
360 String cachedValue2 = Settings.Secure.getString(mMockContentResolver, SETTING); in testCaching_singleSetting()
368 Settings.Secure.putString(mMockContentResolver, SETTING, "a"); in testCaching_multipleSettings()
[all …]
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransportParameters.java27 private static final String SETTING = Settings.Secure.BACKUP_LOCAL_TRANSPORT_PARAMETERS; field in LocalTransportParameters
41 super(handler, resolver, Settings.Secure.getUriFor(SETTING)); in LocalTransportParameters()
65 return Settings.Secure.getString(resolver, SETTING); in getSettingValue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/retail/data/repository/
DRetailModeSettingsRepositoryTest.kt67 globalSettings.putInt(SETTING, 0) in retailMode_false()
79 globalSettings.putInt(SETTING, 1) in retailMode_true()
86 private const val SETTING = Settings.Global.DEVICE_DEMO_MODE constant
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupAgentTimeoutParameters.java38 public static final String SETTING = Settings.Global.BACKUP_AGENT_TIMEOUT_PARAMETERS; field in BackupAgentTimeoutParameters
121 super(handler, resolver, Settings.Global.getUriFor(SETTING)); in BackupAgentTimeoutParameters()
125 return Settings.Global.getString(resolver, SETTING); in getSettingValue()
DBackupManagerConstants.java41 private static final String SETTING = Settings.Secure.BACKUP_MANAGER_CONSTANTS; field in BackupManagerConstants
111 super(handler, resolver, Settings.Secure.getUriFor(SETTING)); in BackupManagerConstants()
115 return Settings.Secure.getStringForUser(resolver, SETTING, resolver.getUserId()); in getSettingValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
DUserAutoAddRepository.kt87 secureSettings.registerContentObserverForUserSync(SETTING, observer, userId) in <lambda>()
123 SETTING, in <lambda>()
135 (secureSettings.getStringForUser(SETTING, userId) ?: "").toTilesSet() in <lambda>()
172 private const val SETTING = Settings.Secure.QS_AUTO_ADDED_TILES in <lambda>() constant
DUserTileSpecRepository.kt101 secureSettings.registerContentObserverForUserSync(SETTING, observer, userId) in <lambda>()
123 SETTING, in <lambda>()
162 secureSettings.getStringForUser(SETTING, userId) ?: "" in <lambda>()
228 private const val SETTING = Settings.Secure.QS_TILES in <lambda>() constant
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupAgentTimeoutParametersTest.java180 Settings.Global.putString(mContentResolver, BackupAgentTimeoutParameters.SETTING, value); in putStringAndNotify()
185 Settings.Global.getUriFor(BackupAgentTimeoutParameters.SETTING), /*observer*/ null); in putStringAndNotify()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/
DTileSpecSettingsRepositoryTest.kt222 secureSettings.putStringForUser(SETTING, specs, forUser) in storeTilesForUser()
227 return secureSettings.getStringForUser(SETTING, forUser) in loadTilesForUser()
233 private const val SETTING = Settings.Secure.QS_TILES constant
DAutoAddSettingsRepositoryTest.kt118 secureSettings.putStringForUser(SETTING, specs, userId) in storeForUser()
122 private const val SETTING = Settings.Secure.QS_AUTO_ADDED_TILES constant
DUserAutoAddRepositoryTest.kt151 secureSettings.putStringForUser(SETTING, specs, USER) in store()
156 private const val SETTING = Settings.Secure.QS_AUTO_ADDED_TILES constant
DUserTileSpecRepositoryTest.kt361 secureSettings.putStringForUser(SETTING, specs, USER) in storeTiles()
366 return secureSettings.getStringForUser(SETTING, USER) in loadTiles()
372 private const val SETTING = Settings.Secure.QS_TILES constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSTileHostTest.java105 private static final String SETTING = QSHost.TILES_SETTING; field in QSTileHostTest
174 mSecureSettings.registerContentObserverForUserSync(SETTING, new ContentObserver(null) { in setUp()
178 mMainExecutor.execute(() -> mQSTileHost.onTuningChanged(SETTING, getSetting())); in setUp()
186 SETTING, value, "", false, mUserTracker.getUserId(), false); in saveSetting()
190 return mSecureSettings.getStringForUser(SETTING, mUserTracker.getUserId()); in getSetting()
/frameworks/av/media/codec2/vndk/util/
DC2Debug.cpp93 i.kind() == C2Param::SETTING ? 's' : in attribParamIndex()
/frameworks/av/media/codec2/core/include/
DC2Param.h122 SETTING = (1 << 2), enumerator
123 TUNING = (1 << 3) | SETTING, // tunings are settings
243 case KIND_SETTING: return SETTING; in kind()
/frameworks/av/media/codec2/tests/
DC2SampleComponent_test.cpp314 case C2Param::SETTING: cout << "Setting"; break; in dumpType()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java127 private static final String SETTING = "setting"; field in ManagedServicesTest
2338 Settings.Secure.putStringForUser(getContext().getContentResolver(), SETTING, in writeExpectedValuesToSettings() local
2379 c.secureSettingName = SETTING; in getConfig()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1182 proto.write(SettingsOperationProto.SETTING, operation.mSetting.getName());