Searched refs:settings (Results 1 - 25 of 45) sorted by last modified time

12

/frameworks/wilhelm/src/itf/
H A DIAudioEncoder.c31 SLAudioEncoderSettings settings = *pSettings; local
33 thiz->mSettings = settings;
52 SLAudioEncoderSettings settings = thiz->mSettings; local
54 *pSettings = settings;
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c266 SLEnvironmentalReverbSettings settings = SL_I3DL2_ENVIRONMENT_PRESET_STONECORRIDOR; local
268 &settings);
H A Dreverb.c31 // Table of I3DL2 named environmental reverb settings
91 // Compare two environmental reverb settings structures.
92 // Returns true if the settings are identical, or false if they are different.
111 // Print an environmental reverb settings structure.
113 void slesutPrintEnvironmentalReverbSettings(const SLEnvironmentalReverbSettings *settings) argument
115 printf("roomLevel: %d\n", settings->roomLevel);
116 printf("roomHFLevel: %d\n", settings->roomHFLevel);
117 printf("decayTime: %d\n", settings->decayTime);
118 printf("decayHFRatio: %d\n", settings->decayHFRatio);
119 printf("reflectionsLevel: %d\n", settings
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatCmdMessage.java38 * Container for Launch Browser command settings.
46 * Container for Call Setup command settings.
80 mToneSettings = params.settings;
H A DCommandParams.java85 ToneSettings settings; field in class:PlayToneParams
91 this.settings = new ToneSettings(duration, tone, vibrate);
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DProfiledWebView.java80 WebSettingsClassic settings = getWebViewClassic().getSettings();
81 settings.setJavaScriptEnabled(true);
82 settings.setSupportZoom(true);
83 settings.setEnableSmoothTransition(true);
84 settings.setBuiltInZoomControls(true);
85 settings.setLoadWithOverviewMode(true);
86 settings.setProperty("use_minimal_memory", "false"); // prefetch tiles, as browser does
93 WebSettingsClassic settings = getWebViewClassic().getSettings();
94 settings.setProperty("use_minimal_memory", minimal ? "true" : "false");
123 WebSettingsClassic settings
[all...]
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java94 // pref settings allow it.
99 // Gets the user's network preference settings
178 case R.id.settings:
/frameworks/base/services/java/com/android/server/
H A DTextServicesManagerService.java175 TextServicesSettings settings) {
181 settings.getCurrentUserId());
337 // Spell checker language settings == "auto"
925 // TSMS settings are kept per user, so keep track of current user
173 buildSpellCheckerMapLocked(Context context, ArrayList<SpellCheckerInfo> list, HashMap<String, SpellCheckerInfo> map, TextServicesSettings settings) argument
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java8292 // StrictMode settings turned up high. Without batching,
14107 void onCoreSettingsChange(Bundle settings) { argument
14112 processRecord.thread.setCoreSettings(settings);
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsService.java261 NetworkStatsSettings settings) {
267 mSettings = checkNotNull(settings, "missing NetworkStatsSettings");
1265 * Default external settings that read from
259 NetworkStatsService(Context context, INetworkManagementService networkManager, IAlarmManager alarmManager, TrustedTime time, File systemDir, NetworkStatsSettings settings) argument
/frameworks/base/services/java/com/android/server/usb/
H A DUsbDeviceManager.java175 public void setCurrentSettings(UsbSettingsManager settings) { argument
177 mCurrentSettings = settings;
361 // register observer to listen for settings changes
699 new ComponentName("com.android.settings",
700 "com.android.settings.UsbSettings"));
734 new ComponentName("com.android.settings",
735 "com.android.settings.DevelopmentSettings"));
H A DUsbHostManager.java58 public void setCurrentSettings(UsbSettingsManager settings) { argument
60 mCurrentSettings = settings;
H A DUsbService.java61 UsbSettingsManager settings = mSettingsByUser.get(userId);
62 if (settings == null) {
63 settings = new UsbSettingsManager(mContext, new UserHandle(userId));
64 mSettingsByUser.put(userId, settings);
66 return settings;
272 final UsbSettingsManager settings = mSettingsByUser.valueAt(i);
275 settings.dump(fd, pw);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageManagerSettingsTests.java141 Settings settings = new Settings(getContext(), getContext().getFilesDir());
142 assertEquals(true, settings.readLPw(null));
143 assertNotNull(settings.peekPackageLPr(PACKAGE_NAME_3));
144 assertNotNull(settings.peekPackageLPr(PACKAGE_NAME_1));
146 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_1);
150 ps = settings.peekPackageLPr(PACKAGE_NAME_2);
159 Settings settings = new Settings(getContext(), getContext().getFilesDir());
160 assertEquals(true, settings.readLPw(null));
163 settings = new Settings(getContext(), getContext().getFilesDir());
164 assertEquals(true, settings
[all...]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DTestShellActivity.java864 WebSettingsClassic settings = WebViewClassic.fromWebView(webview).getSettings();
865 settings.setAppCacheEnabled(true);
866 settings.setAppCachePath(getApplicationContext().getCacheDir().getPath());
867 settings.setAppCacheMaxSize(Long.MAX_VALUE);
868 settings.setJavaScriptEnabled(true);
869 settings.setJavaScriptCanOpenWindowsAutomatically(true);
870 settings.setSupportMultipleWindows(true);
871 settings.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.NORMAL);
872 settings.setDatabaseEnabled(true);
873 settings
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java17 package com.android.providers.settings;
65 private static final String DATABASE_NAME = "settings.db";
70 // settings.
179 // Load inital settings values
185 Log.w(TAG, "Upgrading settings database from version " + oldVersion + " to "
267 // This introduces the new secure settings table.
581 * New settings for MountService
641 * New settings for new user interface noises.
666 /* Move the lockscreen related settings to Secure, including some private ones. */
683 // new vibration/silent mode settings
[all...]
H A DSettingsBackupAgent.java17 package com.android.providers.settings;
58 * Performs backup and restore of the System and Secure settings.
59 * List of settings that are backed up are stored in the Settings.java file
411 // representation of the backed-up settings.
422 if (DEBUG_BACKUP) Log.d(TAG, systemSettingsData.length + " bytes of settings data");
425 if (DEBUG_BACKUP) Log.d(TAG, secureSettingsData.length + " bytes of secure settings data");
428 if (DEBUG_BACKUP) Log.d(TAG, globalSettingsData.length + " bytes of global settings data");
455 // Our data is actually a blob of flattened settings data identical to that
469 // system settings data first
471 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of settings dat
619 restoreSettings(byte[] settings, int bytes, Uri contentUri, HashSet<String> movedToGlobal) argument
697 extractRelevantValues(Cursor cursor, String[] settings) argument
[all...]
H A DSettingsHelper.java17 package com.android.providers.settings;
70 // These are the critical accessibility settings that are required for a
71 // blind user to be able to interact with the device. If these settings are
181 * Informs the audio service of changes to the settings so that
H A DSettingsProvider.java17 package com.android.providers.settings;
71 // Caches for each user's settings, access-ordered for acting as LRU.
87 // Each defined user has their own settings
90 // Over this size we don't reject loading or saving settings but
138 // of the form content://settings/secure, arbitrary where clause
150 // of the form content://settings/secure/element_name, no where clause
275 String.format("Permission denial: writing to secure settings requires %1$s",
364 Slog.i(TAG, "Installing settings db helper and caches for user " + userHandle);
409 super("populate-settings-caches");
458 Log.d(TAG, "cache for settings tabl
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DSettingsView.java85 findViewById(R.id.settings).setOnClickListener(this);
101 case R.id.settings:
/frameworks/base/include/androidfw/
H A DResourceTypes.h1054 // 'settings'.
1058 // settings is the requested settings
1059 bool match(const ResTable_config& settings) const;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1906 bool ResTable_config::match(const ResTable_config& settings) const {
1908 if (mcc != 0 && mcc != settings.mcc) {
1911 if (mnc != 0 && mnc != settings.mnc) {
1917 && (language[0] != settings.language[0]
1918 || language[1] != settings.language[1])) {
1922 && (country[0] != settings.country[0]
1923 || country[1] != settings.country[1])) {
1929 const int setLayoutDir = settings.screenLayout&MASK_LAYOUTDIR;
1935 const int setScreenSize = settings.screenLayout&MASK_SCREENSIZE;
1943 const int setScreenLong = settings
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DBassBoost.java232 public Settings(String settings) { argument
233 StringTokenizer st = new StringTokenizer(settings, "=;");
236 throw new IllegalArgumentException("settings: " + settings);
241 "invalid settings for BassBoost: " + key);
267 * bass boost settings must be saved by the application.
275 Settings settings = new Settings();
278 settings.strength = value[0];
279 return settings;
283 * Sets the bass boost properties. This method is useful when bass boost settings hav
290 setProperties(BassBoost.Settings settings) argument
[all...]
H A DEnvironmentalReverb.java529 public Settings(String settings) { argument
530 StringTokenizer st = new StringTokenizer(settings, "=;");
533 throw new IllegalArgumentException("settings: " + settings);
538 "invalid settings for EnvironmentalReverb: " + key);
621 * reverb settings must be saved by the application.
631 Settings settings = new Settings();
632 settings.roomLevel = byteArrayToShort(param, 0);
633 settings.roomHFLevel = byteArrayToShort(param, 2);
634 settings
653 setProperties(EnvironmentalReverb.Settings settings) argument
[all...]
H A DEqualizer.java467 public Settings(String settings) { argument
468 StringTokenizer st = new StringTokenizer(settings, "=;");
471 throw new IllegalArgumentException("settings: " + settings);
476 "invalid settings for Equalizer: " + key);
490 throw new IllegalArgumentException("settings: " + settings);
523 * equalizer settings must be saved by the application.
533 Settings settings = new Settings();
534 settings
551 setProperties(Equalizer.Settings settings) argument
[all...]

Completed in 448 milliseconds

12