Searched refs:settings (Results 1 - 25 of 77) sorted by relevance

1234

/frameworks/base/cmds/settings/
H A DAndroid.mk7 LOCAL_MODULE := settings
12 LOCAL_MODULE := settings
13 LOCAL_SRC_FILES := settings
/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/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageManagerSettingsTests.java134 Settings settings = new Settings(getContext(), getContext().getFilesDir());
135 assertEquals(true, settings.readLPw(null, null, 0, false));
136 assertNotNull(settings.peekPackageLPr(PACKAGE_NAME_3));
137 assertNotNull(settings.peekPackageLPr(PACKAGE_NAME_1));
139 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_1);
143 ps = settings.peekPackageLPr(PACKAGE_NAME_2);
152 Settings settings = new Settings(getContext(), getContext().getFilesDir());
153 assertEquals(true, settings.readLPw(null, null, 0, false));
156 settings = new Settings(getContext(), getContext().getFilesDir());
157 assertEquals(true, settings
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DEnvironmentalReverb.java521 public Settings(String settings) { argument
522 StringTokenizer st = new StringTokenizer(settings, "=;");
525 throw new IllegalArgumentException("settings: " + settings);
530 "invalid settings for EnvironmentalReverb: " + key);
613 * reverb settings must be saved by the application.
623 Settings settings = new Settings();
624 settings.roomLevel = byteArrayToShort(param, 0);
625 settings.roomHFLevel = byteArrayToShort(param, 2);
626 settings
645 setProperties(EnvironmentalReverb.Settings settings) argument
[all...]
H A DBassBoost.java225 public Settings(String settings) { argument
226 StringTokenizer st = new StringTokenizer(settings, "=;");
229 throw new IllegalArgumentException("settings: " + settings);
234 "invalid settings for BassBoost: " + key);
260 * bass boost settings must be saved by the application.
268 Settings settings = new Settings();
271 settings.strength = value[0];
272 return settings;
276 * Sets the bass boost properties. This method is useful when bass boost settings hav
283 setProperties(BassBoost.Settings settings) argument
[all...]
H A DLoudnessEnhancer.java226 public Settings(String settings) { argument
227 StringTokenizer st = new StringTokenizer(settings, "=;");
230 throw new IllegalArgumentException("settings: " + settings);
235 "invalid settings for LoudnessEnhancer: " + key);
262 * effect settings must be saved by the application.
270 Settings settings = new Settings();
273 settings.targetGainmB = value[0];
274 return settings;
279 * Sets the LoudnessEnhancer properties. This method is useful when bass boost settings
286 setProperties(LoudnessEnhancer.Settings settings) argument
[all...]
H A DPresetReverb.java241 public Settings(String settings) { argument
242 StringTokenizer st = new StringTokenizer(settings, "=;");
245 throw new IllegalArgumentException("settings: " + settings);
250 "invalid settings for PresetReverb: " + key);
276 * preset reverb settings must be saved by the application.
284 Settings settings = new Settings();
287 settings.preset = value[0];
288 return settings;
292 * Sets the preset reverb properties. This method is useful when preset reverb settings hav
299 setProperties(PresetReverb.Settings settings) argument
[all...]
H A DEqualizer.java460 public Settings(String settings) { argument
461 StringTokenizer st = new StringTokenizer(settings, "=;");
464 throw new IllegalArgumentException("settings: " + settings);
469 "invalid settings for Equalizer: " + key);
483 throw new IllegalArgumentException("settings: " + settings);
516 * equalizer settings must be saved by the application.
526 Settings settings = new Settings();
527 settings
544 setProperties(Equalizer.Settings settings) argument
[all...]
H A DVirtualizer.java566 public Settings(String settings) { argument
567 StringTokenizer st = new StringTokenizer(settings, "=;");
570 throw new IllegalArgumentException("settings: " + settings);
575 "invalid settings for Virtualizer: " + key);
601 * virtualizer settings must be saved by the application.
609 Settings settings = new Settings();
612 settings.strength = value[0];
613 return settings;
617 * Sets the virtualizer properties. This method is useful when virtualizer settings hav
624 setProperties(Virtualizer.Settings settings) argument
[all...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraCapabilities.java294 * Support for focus area settings.
298 * Support for metering area settings.
572 public boolean supports(final CameraSettings settings) { argument
573 if (zoomCheck(settings) && exposureCheck(settings) && focusCheck(settings) &&
574 flashCheck(settings) && photoSizeCheck(settings) && previewSizeCheck(settings) &&
575 videoStabilizationCheck(settings)) {
679 zoomCheck(final CameraSettings settings) argument
696 exposureCheck(final CameraSettings settings) argument
707 focusCheck(final CameraSettings settings) argument
724 flashCheck(final CameraSettings settings) argument
734 photoSizeCheck(final CameraSettings settings) argument
743 previewSizeCheck(final CameraSettings settings) argument
752 videoStabilizationCheck(final CameraSettings settings) argument
[all...]
H A DAndroidCameraAgentImpl.java565 CameraSettings settings = (CameraSettings) msg.obj;
566 applySettingsToParameters(settings, parameters);
654 private void applySettingsToParameters(final CameraSettings settings, argument
657 Size photoSize = settings.getCurrentPhotoSize();
659 Size previewSize = settings.getCurrentPreviewSize();
661 if (settings.getPreviewFrameRate() == -1) {
662 parameters.setPreviewFpsRange(settings.getPreviewFpsRangeMin(),
663 settings.getPreviewFpsRangeMax());
665 parameters.setPreviewFrameRate(settings.getPreviewFrameRate());
667 parameters.setPreviewFormat(settings
1029 applySettings(CameraSettings settings) argument
[all...]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DSettingsActivity.java23 * Stub activity to test out settings selection for voice interactor.
29 setContentView(R.layout.settings);
/frameworks/base/wifi/java/android/net/wifi/
H A DScanSettings.java26 * Bundle of customized scan settings
72 ScanSettings settings = new ScanSettings();
75 settings.channelSet = new ArrayList<WifiChannel>(size);
77 settings.channelSet.add(WifiChannel.CREATOR.createFromParcel(in));
79 return settings;
H A DWifiScanner.java192 ScanSettings settings = new ScanSettings();
193 settings.band = in.readInt();
194 settings.periodInMs = in.readInt();
195 settings.reportEvents = in.readInt();
196 settings.numBssidsPerScan = in.readInt();
198 settings.channels = new ChannelSpec[num_channels];
205 settings.channels[i] = spec;
208 return settings;
286 * @param settings specifies various parameters for the scan; for more information look at
292 public void startBackgroundScan(ScanSettings settings, ScanListene argument
460 configureWifiChange(WifiChangeSettings settings) argument
[all...]
H A DBatchedScanSettings.java26 * Describes the settings for batched wifi scans where the firmware performs many
244 BatchedScanSettings settings = new BatchedScanSettings();
245 settings.maxScansPerBatch = in.readInt();
246 settings.maxApPerScan = in.readInt();
247 settings.scanIntervalSec = in.readInt();
248 settings.maxApForDistance = in.readInt();
251 settings.channelSet = new ArrayList(channelCount);
253 settings.channelSet.add(in.readString());
256 return settings;
/frameworks/base/core/java/android/bluetooth/le/
H A DBluetoothLeScanner.java96 * @param settings Settings for the scan.
98 * @throws IllegalArgumentException If {@code settings} or {@code callback} is null.
100 public void startScan(List<ScanFilter> filters, ScanSettings settings, argument
102 startScan(filters, settings, callback, null);
105 private void startScan(List<ScanFilter> filters, ScanSettings settings, argument
108 if (settings == null || callback == null) {
109 throw new IllegalArgumentException("settings or callback is null");
126 if (!isSettingsConfigAllowedForScan(settings)) {
132 settings, callback, resultStorages);
184 public void startTruncatedScan(List<TruncatedFilter> truncatedFilters, ScanSettings settings, argument
223 BleScanCallbackWrapper(IBluetoothGatt bluetoothGatt, List<ScanFilter> filters, ScanSettings settings, ScanCallback scanCallback, List<List<ResultStorageDescriptor>> resultStorages) argument
385 isSettingsConfigAllowedForScan(ScanSettings settings) argument
[all...]
H A DBluetoothLeAdvertiser.java84 * @param settings Settings for Bluetooth LE advertising.
88 public void startAdvertising(AdvertiseSettings settings, argument
90 startAdvertising(settings, advertiseData, null, callback);
101 * @param settings Settings for Bluetooth LE advertising.
106 public void startAdvertising(AdvertiseSettings settings, argument
120 boolean isConnectable = settings.isConnectable();
140 scanResponse, settings, gatt);
248 AdvertiseSettings settings,
253 mSettings = settings;
329 AdvertiseSettings settings) {
246 AdvertiseCallbackWrapper(AdvertiseCallback advertiseCallback, AdvertiseData advertiseData, AdvertiseData scanResponse, AdvertiseSettings settings, IBluetoothGatt bluetoothGatt) argument
328 onMultiAdvertiseCallback(int status, boolean isStart, AdvertiseSettings settings) argument
366 postStartSuccess(final AdvertiseCallback callback, final AdvertiseSettings settings) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiScanningServiceImpl.java494 void addScanRequest(ScanSettings settings, int id) { argument
495 mScanSettings.put(id, settings);
519 ScanSettings settings = mScanSettings.get(handler);
520 WifiScanner.ChannelSpec desiredChannels[] = settings.channels;
521 if (settings.band != WifiScanner.WIFI_BAND_UNSPECIFIED
523 desiredChannels = getChannelsForBand(settings.band);
570 ScanSettings settings = mScanSettings.get(handler);
571 WifiScanner.ChannelSpec desiredChannels[] = settings.channels;
572 if (settings.band != WifiScanner.WIFI_BAND_UNSPECIFIED
574 desiredChannels = getChannelsForBand(settings
590 reportPeriodChanged(int handler, ScanSettings settings, int newPeriodInMs) argument
605 addHostlistSettings(WifiScanner.HotlistSettings settings, int handler) argument
794 getBestBucket(WifiScanner.ScanSettings settings) argument
852 prepChannelMap(WifiScanner.ScanSettings settings) argument
856 addScanRequestToBucket(WifiScanner.ScanSettings settings) argument
1017 addScanRequest(ClientInfo ci, int handler, ScanSettings settings) argument
1101 setHotlist(ClientInfo ci, int handler, WifiScanner.HotlistSettings settings) argument
1134 configureWifiChange(WifiScanner.WifiChangeSettings settings) argument
1216 configure(WifiScanner.WifiChangeSettings settings) argument
1457 reconfigureScan(WifiScanner.WifiChangeSettings settings) argument
1506 reportPeriodChanged(int handler, ScanSettings settings, int newPeriodInMs) argument
1519 addScanRequest(WifiScanner.ScanSettings settings) argument
1536 trackSignificantWifiChange(WifiScanner.WifiChangeSettings settings) argument
[all...]
H A DWifiNative.java413 public String setBatchedScanSettings(BatchedScanSettings settings) { argument
414 if (settings == null) {
417 String cmd = "DRIVER WLS_BATCHING SET SCANFREQ=" + settings.scanIntervalSec;
418 cmd += " MSCAN=" + settings.maxScansPerBatch;
419 if (settings.maxApPerScan != BatchedScanSettings.UNSPECIFIED) {
420 cmd += " BESTN=" + settings.maxApPerScan;
422 if (settings.channelSet != null && !settings.channelSet.isEmpty()) {
425 for (String channel : settings.channelSet) {
431 if (settings
1225 startScanNative(int iface, int id, ScanSettings settings) argument
1330 startScan( ScanSettings settings, ScanEventHandler eventHandler) argument
1398 setHotlistNative(int iface, int id, WifiScanner.HotlistSettings settings) argument
1402 setHotlist(WifiScanner.HotlistSettings settings, HotlistEventHandler eventHandler) argument
1449 trackSignificantWifiChangeNative( int iface, int id, WifiScanner.WifiChangeSettings settings) argument
1453 trackSignificantWifiChange( WifiScanner.WifiChangeSettings settings, SignificantWifiChangeEventHandler handler) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DToggleSeekBar.java17 package com.android.systemui.settings;
H A DCurrentUserTracker.java17 package com.android.systemui.settings;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaBassBoostTest.java160 BassBoost.Settings settings = mBassBoost.getProperties();
161 String str = settings.toString();
162 settings = new BassBoost.Settings(str);
163 mBassBoost.setProperties(settings);
H A DMediaVirtualizerTest.java161 Virtualizer.Settings settings = mVirtualizer.getProperties();
162 String str = settings.toString();
163 settings = new Virtualizer.Settings(str);
164 mVirtualizer.setProperties(settings);
H A DMediaPresetReverbTest.java161 PresetReverb.Settings settings = mReverb.getProperties();
163 if (settings.preset == (short)PresetReverb.PRESET_LARGEROOM) {
166 String str = settings.toString();
167 settings = new PresetReverb.Settings(str);
168 settings.preset = newPreset;
169 mReverb.setProperties(settings);
170 settings = mReverb.getProperties();
171 assertEquals(msg +": setProperties failed", newPreset, settings.preset);
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbService.java86 UsbSettingsManager settings = mSettingsByUser.get(userId);
87 if (settings == null) {
88 settings = new UsbSettingsManager(mContext, new UserHandle(userId));
89 mSettingsByUser.put(userId, settings);
91 return settings;
312 final UsbSettingsManager settings = mSettingsByUser.valueAt(i);
315 settings.dump(fd, pw);

Completed in 505 milliseconds

1234