Home
last modified time | relevance | path

Searched defs:prefs (Results 1 – 25 of 1009) sorted by relevance

12345678910>>...41

/aosp_15_r20/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java156 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) { in onSharedPreferenceChanged()
177 final SharedPreferences prefs = mPrefs; in loadSettings() local
204 public static boolean readKeypressSoundEnabled(final SharedPreferences prefs, in readKeypressSoundEnabled()
210 public static boolean readVibrationEnabled(final SharedPreferences prefs, in readVibrationEnabled()
217 public static boolean readAutoCorrectEnabled(final SharedPreferences prefs, in readAutoCorrectEnabled()
226 public static boolean readBlockPotentiallyOffensive(final SharedPreferences prefs, in readBlockPotentiallyOffensive()
236 public static boolean readGestureInputEnabled(final SharedPreferences prefs, in readGestureInputEnabled()
246 public static boolean readKeyPreviewPopupEnabled(final SharedPreferences prefs, in readKeyPreviewPopupEnabled()
256 public static int readKeyPreviewPopupDismissDelay(final SharedPreferences prefs, in readKeyPreviewPopupDismissDelay()
263 public static boolean readShowsLanguageSwitchKey(final SharedPreferences prefs) { in readShowsLanguageSwitchKey()
[all …]
DAdvancedSettingsFragment.java57 final SharedPreferences prefs = getPreferenceManager().getSharedPreferences(); in onCreate() local
100 final SharedPreferences prefs = getPreferenceManager().getSharedPreferences(); in onResume() local
105 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) { in onSharedPreferenceChanged()
118 final SharedPreferences prefs = getSharedPreferences(); in refreshEnablingsOfKeypressSoundAndVibrationSettings() local
132 final SharedPreferences prefs = getSharedPreferences(); in setupKeypressVibrationDurationSettings() local
176 final SharedPreferences prefs = getSharedPreferences(); in setupKeypressSoundVolumeSettings() local
227 final SharedPreferences prefs = getSharedPreferences(); in setupKeyLongpressTimeoutSettings() local
/aosp_15_r20/external/zstd/programs/
H A Dfileio.c329 void FIO_freePreferences(FIO_prefs_t* const prefs) in FIO_freePreferences()
355 void FIO_setCompressionType(FIO_prefs_t* const prefs, FIO_compressionType_t compressionType) { pref… in FIO_setCompressionType()
357 void FIO_overwriteMode(FIO_prefs_t* const prefs) { prefs->overwrite = 1; } in FIO_overwriteMode()
359 void FIO_setSparseWrite(FIO_prefs_t* const prefs, int sparse) { prefs->sparseFileSupport = sparse; } in FIO_setSparseWrite()
361 void FIO_setDictIDFlag(FIO_prefs_t* const prefs, int dictIDFlag) { prefs->dictIDFlag = dictIDFlag; } in FIO_setDictIDFlag()
363 void FIO_setChecksumFlag(FIO_prefs_t* const prefs, int checksumFlag) { prefs->checksumFlag = checks… in FIO_setChecksumFlag()
365 void FIO_setRemoveSrcFile(FIO_prefs_t* const prefs, int flag) { prefs->removeSrcFile = (flag!=0); } in FIO_setRemoveSrcFile()
367 void FIO_setMemLimit(FIO_prefs_t* const prefs, unsigned memLimit) { prefs->memLimit = memLimit; } in FIO_setMemLimit()
369 void FIO_setNbWorkers(FIO_prefs_t* const prefs, int nbWorkers) { in FIO_setNbWorkers()
376 void FIO_setExcludeCompressedFile(FIO_prefs_t* const prefs, int excludeCompressedFiles) { prefs->ex… in FIO_setExcludeCompressedFile()
[all …]
/aosp_15_r20/cts/tests/tests/content/src/android/content/cts/
H A DSharedPreferencesTest.java54 SharedPreferences prefs = getPrefs(); in setUp() local
71 SharedPreferences prefs = getPrefs(); in testCommitCreatesFiles() local
78 SharedPreferences prefs = getPrefs(); in testDefaults() local
92 SharedPreferences prefs = getPrefs(); in testPutNullRemovesKey() local
119 SharedPreferences prefs = getPrefs(); in test() local
219 SharedPreferences prefs = getPrefs(); in testRedundantCommitWritesFileIfNotAlreadyExisting() local
240 SharedPreferences prefs = mContext.getSharedPreferences("torture", Context.MODE_PRIVATE); in testTorture() local
281 … SharedPreferences prefs = mContext.getSharedPreferences(prefsName, Context.MODE_PRIVATE); in testTorture2() local
354 final SharedPreferences prefs = getPrefs(); in testSharedPrefsChangeListenerIsCalledOnCommit() local
373 final SharedPreferences prefs = getPrefs(); in testSharedPrefsChangeListenerIsCalledOnApply() local
[all …]
/aosp_15_r20/packages/apps/Messaging/src/com/android/messaging/util/
DBuglePrefsImpl.java45 final SharedPreferences prefs = mContext.getSharedPreferences( in getInt() local
53 final SharedPreferences prefs = mContext.getSharedPreferences( in getLong() local
61 final SharedPreferences prefs = mContext.getSharedPreferences( in getBoolean() local
69 final SharedPreferences prefs = mContext.getSharedPreferences( in getString() local
83 final SharedPreferences prefs = mContext.getSharedPreferences( in putInt() local
93 final SharedPreferences prefs = mContext.getSharedPreferences( in putLong() local
103 final SharedPreferences prefs = mContext.getSharedPreferences( in putBoolean() local
113 final SharedPreferences prefs = mContext.getSharedPreferences( in putString() local
129 final SharedPreferences prefs = mContext.getSharedPreferences( in remove() local
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsFunctionsControllerTest.java124 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in displayRefresh_allAllowed_shouldCreatePrefs() local
150 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in displayRefresh_onlyMidiAllowed_shouldCreateOnlyMidiPref() local
162 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in displayRefresh_mtpEnabled_shouldCheckSwitches() local
175 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in displayRefresh_accessoryEnabled_shouldCheckSwitches() local
188 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in displayRefresh_ncmEnabled_checksSwitches() local
202 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in onClickMtp_noneEnabled_shouldEnableMtp() local
220 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in onClickMtp_ptpEnabled_shouldEnableMtp() local
242 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in onClickNone_mtpEnabled_shouldDisableMtp() local
/aosp_15_r20/external/cronet/components/prefs/
H A Dpref_service_factory.h34 void set_managed_prefs(scoped_refptr<PrefStore> prefs) { in set_managed_prefs()
38 void set_supervised_user_prefs(scoped_refptr<PrefStore> prefs) { in set_supervised_user_prefs()
42 void set_extension_prefs(scoped_refptr<PrefStore> prefs) { in set_extension_prefs()
46 void set_standalone_browser_prefs(scoped_refptr<PersistentPrefStore> prefs) { in set_standalone_browser_prefs()
50 void set_command_line_prefs(scoped_refptr<PrefStore> prefs) { in set_command_line_prefs()
54 void set_user_prefs(scoped_refptr<PersistentPrefStore> prefs) { in set_user_prefs()
58 void set_recommended_prefs(scoped_refptr<PrefStore> prefs) { in set_recommended_prefs()
H A Dpref_service_unittest.cc36 TestingPrefServiceSimple prefs; in TEST() local
72 TestingPrefServiceSimple prefs; in TEST() local
92 TestingPrefServiceSimple prefs; in TEST() local
147 TestingPrefServiceSimple prefs; in TEST() local
165 TestingPrefServiceSimple prefs; in TEST() local
233 TestingPrefServiceSimple prefs; in TEST() local
246 TestingPrefServiceSimple prefs; in TEST() local
260 TestingPrefServiceSimple prefs; in TEST() local
274 TestingPrefServiceSimple prefs; in TEST() local
341 std::unique_ptr<PrefService> prefs(factory.Create(registry.get())); in TEST() local
H A Dpref_member_unittest.cc43 void Init(const std::string& pref_name, PrefService* prefs) { in Init()
81 explicit PrefMemberTestClass(PrefService* prefs) in PrefMemberTestClass()
110 TestingPrefServiceSimple prefs; in TEST_F() local
272 TestingPrefServiceSimple prefs; in TEST_F() local
292 TestingPrefServiceSimple prefs; in TEST_F() local
333 TestingPrefServiceSimple prefs; in TEST_F() local
H A Dpref_member.h51 PrefService* prefs() { return prefs_; } in prefs() function
52 const PrefService* prefs() const { return prefs_; } in prefs() function
173 PrefService* prefs, in Init()
178 PrefService* prefs, in Init()
184 void Init(const std::string& pref_name, PrefService* prefs) { in Init()
/aosp_15_r20/system/update_engine/
H A Dmetrics_utils.cc303 int64_t GetPersistedValue(std::string_view key, PrefsInterface* prefs) { in GetPersistedValue()
321 void SetNumReboots(int64_t num_reboots, PrefsInterface* prefs) { in SetNumReboots()
329 PrefsInterface* prefs) { in SetPayloadAttemptNumber()
335 void SetSystemUpdatedMarker(ClockInterface* clock, PrefsInterface* prefs) { in SetSystemUpdatedMarker()
345 PrefsInterface* prefs) { in SetUpdateTimestampStart()
354 PrefsInterface* prefs) { in SetUpdateBootTimestampStart()
363 PrefsInterface* prefs, in LoadAndReportTimeToReboot()
/aosp_15_r20/external/lz4/programs/
H A Dlz4io.c201 void LZ4IO_freePreferences(LZ4IO_prefs_t* prefs) in LZ4IO_freePreferences()
208 LZ4IO_prefs_t* const prefs = (LZ4IO_prefs_t*)malloc(sizeof(*prefs)); in LZ4IO_defaultPreferences() local
228 int LZ4IO_setNbWorkers(LZ4IO_prefs_t* const prefs, int nbWorkers) in LZ4IO_setNbWorkers()
236 int LZ4IO_setDictionaryFilename(LZ4IO_prefs_t* const prefs, const char* dictionaryFilename) in LZ4IO_setDictionaryFilename()
244 int LZ4IO_setPassThrough(LZ4IO_prefs_t* const prefs, int yes) in LZ4IO_setPassThrough()
251 int LZ4IO_setOverwrite(LZ4IO_prefs_t* const prefs, int yes) in LZ4IO_setOverwrite()
258 int LZ4IO_setTestMode(LZ4IO_prefs_t* const prefs, int yes) in LZ4IO_setTestMode()
265 size_t LZ4IO_setBlockSizeID(LZ4IO_prefs_t* const prefs, unsigned bsid) in LZ4IO_setBlockSizeID()
276 size_t LZ4IO_setBlockSize(LZ4IO_prefs_t* const prefs, size_t blockSize) in LZ4IO_setBlockSize()
294 int LZ4IO_setBlockMode(LZ4IO_prefs_t* const prefs, LZ4IO_blockMode_t blockMode) in LZ4IO_setBlockMode()
[all …]
/aosp_15_r20/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/
H A DSharedPreferencesSharedFilesMetadata.java173 SharedPreferences prefs = in migrateToAddDownloadTransform() local
223 SharedPreferences prefs = in migrateToDedupOnChecksumOnly() local
282 SharedPreferences prefs = in readAll() local
303 SharedPreferences prefs = in write() local
314 SharedPreferences prefs = in remove() local
322 SharedPreferences prefs = in getAllFileKeys() local
356 SharedPreferences prefs = in clear() local
H A DSharedPreferencesFileGroupsMetadata.java95 SharedPreferences prefs = in read() local
107 SharedPreferences prefs = in write() local
116 SharedPreferences prefs = in remove() local
126 SharedPreferences prefs = in readGroupKeyProperties() local
140 SharedPreferences prefs = in writeGroupKeyProperties() local
150 SharedPreferences prefs = in getAllGroupKeys() local
/aosp_15_r20/test/cts-root/hostsidetests/packageinstaller/app/src/com/android/cts_root/packageinstaller/
H A DSessionCleanUpTest.java214 SharedPreferences prefs = context.getSharedPreferences("test", 0); in testSessionCleanUp_Single_Expire_Install() local
221 SharedPreferences prefs = context.getSharedPreferences("test", 0); in testSessionCleanUp_Single_Expire_VerifyInstall() local
229 SharedPreferences prefs = context.getSharedPreferences("test", 0); in testSessionCleanUp_Single_Expire_CleanUp() local
243 SharedPreferences prefs = context.getSharedPreferences("test", 0); in testSessionCleanUp_Multi_Expire_Install() local
252 SharedPreferences prefs = context.getSharedPreferences("test", 0); in testSessionCleanUp_Multi_Expire_VerifyInstall() local
260 SharedPreferences prefs = context.getSharedPreferences("test", 0); in testSessionCleanUp_Multi_Expire_CleanUp() local
278 SharedPreferences prefs = context.getSharedPreferences("test", 0); in testSessionCleanUp_LowStorage_Install() local
289 SharedPreferences prefs = context.getSharedPreferences("test", 0); in testSessionCleanUp_LowStorage_CleanUp() local
/aosp_15_r20/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DVoicemailNotificationSettingsUtil.java48 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setVibrationEnabled() local
61 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getVibrationPreference() local
67 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setRingtoneUri() local
82 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getRingTonePreference() local
97 Context context, SharedPreferences prefs) { in migrateVoicemailVibrationSettingsIfNeeded()
136 Context context, SharedPreferences prefs) { in migrateVoicemailRingtoneSettingsIfNeeded()
/aosp_15_r20/prebuilts/devtools/tools/lib/
HDsdkstats.jar ... preference.PreferenceStore getPreferenceStore () com.android.prefs.AndroidLocation$AndroidLocationException e1 org.eclipse.jface ...
/aosp_15_r20/packages/apps/Traceur/src/com/android/traceur/
DTraceService.java109 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in stopTracingWithoutSaving() local
127 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onHandleIntent() local
161 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getRecentTraceType() local
179 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in startTracingInternal() local
224 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in startStackSamplingInternal() local
266 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in startHeapDumpInternal() local
312 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in stopTracingInternal() local
DReceiver.java64 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive() local
122 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in updateTracing() local
240 SharedPreferences prefs = in removeQuickSettingsTiles() local
302 private static void postCategoryNotification(Context context, SharedPreferences prefs) { in postCategoryNotification()
362 …public static Set<String> getActiveTags(Context context, SharedPreferences prefs, boolean onlyAvai… in getActiveTags()
375 public static Set<String> getActiveUnavailableTags(Context context, SharedPreferences prefs) { in getActiveUnavailableTags()
/aosp_15_r20/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/
H A DSharedPrefsProvider.kt52 val prefs = getSharedPreferences(context) in getType() constant
70 val prefs = getSharedPreferences(context) in update() constant
83 val prefs = getSharedPreferences(context) in delete() constant
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
H A DPolicySerializationTestActivity.java112 SharedPreferences prefs = getPreferences(MODE_PRIVATE); in loadPolicy() local
135 SharedPreferences prefs = getPreferences(MODE_PRIVATE); in generateRandomPolicy() local
175 SharedPreferences prefs = getPreferences(MODE_PRIVATE); in handleAddDeviceAdminResult() local
262 void loadExpectedValue(SharedPreferences prefs); in loadExpectedValue()
300 public final void loadExpectedValue(SharedPreferences prefs) { in loadExpectedValue()
305 protected abstract T getPreferencesValue(SharedPreferences prefs); in getPreferencesValue()
371 protected final Integer getPreferencesValue(SharedPreferences prefs) { in getPreferencesValue()
395 protected final Long getPreferencesValue(SharedPreferences prefs) { in getPreferencesValue()
/aosp_15_r20/packages/apps/Calendar/src/com/android/calendar/
DUtils.kt184 val prefs: SharedPreferences? = GeneralPreferences.getSharedPreferences(activity) in getViewTypeFromIntentAndSharedPref() constant
302 val prefs: SharedPreferences? = GeneralPreferences.getSharedPreferences(context) in getSharedPreference() constant
316 val prefs: SharedPreferences? = GeneralPreferences.getSharedPreferences(context) in getSharedPreference() constant
321 val prefs: SharedPreferences? = GeneralPreferences.getSharedPreferences(context) in getSharedPreference() constant
330 val prefs: SharedPreferences? = GeneralPreferences.getSharedPreferences(context) in getSharedPreference() constant
342 val prefs: SharedPreferences? = GeneralPreferences.getSharedPreferences(context) in setSharedPreference() constant
347 val prefs: SharedPreferences? = GeneralPreferences.getSharedPreferences(context) in setSharedPreference() constant
360 val prefs: SharedPreferences? = GeneralPreferences.getSharedPreferences(context) in setSharedPreference() constant
367 val prefs: SharedPreferences? = GeneralPreferences.getSharedPreferences(context) in setSharedPreference() constant
374 val prefs: SharedPreferences? = context?.getSharedPreferences( in removeSharedPreference() constant
[all …]
/aosp_15_r20/external/cronet/components/metrics/
H A Dcloned_install_detector_unittest.cc28 TestingPrefServiceSimple prefs; in TEST() local
38 TestingPrefServiceSimple prefs; in TEST() local
52 TestingPrefServiceSimple prefs; in TEST() local
69 TestingPrefServiceSimple prefs; in TEST() local
88 TestingPrefServiceSimple prefs; in TEST() local
/aosp_15_r20/external/cronet/net/android/
H A Dhttp_auth_negotiate_android_unittest.cc31 MockAllowHttpAuthPreferences prefs; in TEST() local
49 MockAllowHttpAuthPreferences prefs; in TEST() local
63 MockAllowHttpAuthPreferences prefs; in TEST() local
77 MockAllowHttpAuthPreferences prefs; in TEST() local
97 MockAllowHttpAuthPreferences prefs; in TEST() local
/aosp_15_r20/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/util/
H A DSharedPreferencesUtil.java46 SharedPreferences prefs, K liteKey, Parser<V> parser) { in readProto()
58 SharedPreferences prefs, String key, Parser<T> parser) { in readProto()
75 SharedPreferences prefs, final String key, final T protoValue) { in writeProto()
86 SharedPreferences prefs, final K protoKey, final T protoValue) { in writeProto()
110 SharedPreferences prefs, String protoKey) { in removeProto()

12345678910>>...41