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

12345

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DScanScheduleUtilFilterTest.java57 ScanSettings settings = createRequest(
63 createScanResult(2400), 0, settings, -1));
68 ScanSettings settings = createRequest(
74 createScanResult(5150), 0, settings, 0));
79 ScanSettings settings = createRequest(
85 createScanResult(2400), 0, settings, 0));
90 ScanSettings settings = createRequest(
96 createScanResult(5175), 0, settings, 0));
101 ScanSettings settings = createRequest(
107 createScanResult(2400), 5, settings,
[all...]
H A DBaseWifiScannerImplTest.java109 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder()
116 doSuccessfulSingleScanTest(settings, expectedBandScanFreqs(WifiScanner.WIFI_BAND_24_GHZ),
123 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder()
129 doSuccessfulSingleScanTest(settings, createFreqSet(5650),
136 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder()
145 doSuccessfulSingleScanTest(settings, expectedBandScanFreqs(WifiScanner.WIFI_BAND_24_GHZ),
151 * Tests whether the provided hidden networkId's in scan settings is correctly passed along
157 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder()
168 doSuccessfulSingleScanTest(settings, createFreqSet(5650),
174 * Tests whether the provided hidden networkId's in scan settings i
470 doSuccessfulSingleScanTest(WifiNative.ScanSettings settings, Set<Integer> expectedScan, Set<Integer> expectedHiddenNetIds, ScanResults results, boolean expectFullResults) argument
[all...]
H A DSupplicantWifiScannerTest.java58 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder()
74 doSuccessfulTest(settings, expectedPeriods);
79 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder()
102 doSuccessfulTest(settings, expectedPeriods);
107 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder()
125 doSuccessfulTest(settings, expectedPeriods);
130 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder()
154 doSuccessfulTest(settings, expectedPeriods);
159 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder()
179 doSuccessfulTest(settings, expectedPeriod
563 doSuccessfulTest(WifiNative.ScanSettings settings, ScanPeriod[] expectedPeriods) argument
[all...]
/frameworks/base/cmds/settings/
H A DAndroid.mk7 LOCAL_MODULE := settings
12 LOCAL_MODULE := settings
13 LOCAL_SRC_FILES := settings
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DHalWifiScannerImpl.java74 public boolean startSingleScan(WifiNative.ScanSettings settings, argument
76 return mSupplicantScannerDelegate.startSingleScan(settings, eventHandler);
85 public boolean startBatchedScan(WifiNative.ScanSettings settings, argument
87 if (settings == null || eventHandler == null) {
88 Log.w(TAG, "Invalid arguments for startBatched: settings=" + settings
92 return mWifiNative.startScan(settings, eventHandler);
116 public boolean setHwPnoList(WifiNative.PnoSettings settings, argument
119 return mWifiNative.setPnoList(settings, eventHandler);
121 return mSupplicantScannerDelegate.setHwPnoList(settings, eventHandle
153 setHotlist(WifiScanner.HotlistSettings settings, WifiNative.HotlistEventHandler eventHandler) argument
164 trackSignificantWifiChange(WifiScanner.WifiChangeSettings settings, WifiNative.SignificantWifiChangeEventHandler handler) argument
[all...]
H A DBackgroundScanScheduler.java129 * collection to be scanned by the bucket as settings are added to it.
145 * Copy constructor which populates the settings list from the original bucket object.
149 for (ScanSettings settings : originalBucket.getSettingsList()) {
150 mScanSettingsList.add(settings);
170 // It's difficult to handle settings removal from buckets in terms of
185 for (ScanSettings settings : mScanSettingsList) {
186 mChannelCollection.addChannels(settings);
218 // setting in the settings list will be used to configure this bucket.
366 // This keeps track of the settings to the max time period bucket to which it was scheduled.
403 * settings
405 shouldReportFullScanResultForSettings(@onNull ScanResult result, int bucketsScanned, @NonNull ScanSettings settings) argument
415 filterResultsForSettings(@onNull ScanData[] scanDatas, @NonNull ScanSettings settings) argument
424 getScheduledBucket(ScanSettings settings) argument
507 addScanToBuckets(ScanSettings settings) argument
[all...]
H A DNoBandChannelHelper.java40 public boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel) { argument
41 if (settings.band == WifiScanner.WIFI_BAND_UNSPECIFIED) {
42 for (int i = 0; i < settings.channels.length; ++i) {
43 if (settings.channels[i].frequency == channel) {
59 public int estimateScanDuration(WifiScanner.ScanSettings settings) { argument
60 if (settings.band == WifiScanner.WIFI_BAND_UNSPECIFIED) {
61 return settings.channels.length * SCAN_PERIOD_PER_CHANNEL_MS;
103 // We don't need to partially collapse settings in supplicant scanner because we
122 // We don't need to partially collapse settings in supplicant scanner because we
130 // We don't need to partially collapse settings i
[all...]
H A DWifiScannerImpl.java92 public abstract boolean startSingleScan(WifiNative.ScanSettings settings, argument
102 * will interrupt the previous scan settings and replace it with the new ones.
107 public abstract boolean startBatchedScan(WifiNative.ScanSettings settings, argument
132 * @param settings PNO settings for this scan.
136 public abstract boolean setHwPnoList(WifiNative.PnoSettings settings, argument
161 public abstract boolean setHotlist(WifiScanner.HotlistSettings settings, argument
172 public abstract boolean trackSignificantWifiChange(WifiScanner.WifiChangeSettings settings, argument
H A DWifiScanningServiceImpl.java336 final T settings; field in class:WifiScanningServiceImpl.RequestInfo
339 T settings) {
342 this.settings = settings;
352 void addRequest(ClientInfo ci, int handler, WorkSource reqworkSource, T settings) { argument
353 add(new RequestInfo<T>(ci, handler, reqworkSource, settings));
362 removed = entry.settings;
374 settingsList.add(entry.settings);
385 settingsList.add(entry.settings);
642 boolean validateAndAddToScanQueue(ClientInfo ci, int handler, ScanSettings settings, argument
338 RequestInfo(ClientInfo clientInfo, int handlerId, WorkSource requestedWorkSource, T settings) argument
1034 addBackgroundScanRequest(ClientInfo ci, int handler, ScanSettings settings, WorkSource workSource) argument
1217 addHotlist(ClientInfo ci, int handler, WifiScanner.HotlistSettings settings) argument
1763 addBackgroundScanRequest(ScanSettings settings) argument
1772 addSingleScanRequest(ScanSettings settings) argument
1968 sendRequestToClientHandler(int what, ScanSettings settings, WorkSource workSource) argument
2323 reconfigureScan(WifiScanner.WifiChangeSettings settings) argument
2368 addScanRequest(ScanSettings settings) argument
2384 trackSignificantWifiChange(WifiScanner.WifiChangeSettings settings) argument
2453 toString(int uid, ScanSettings settings) argument
2518 logScanRequest(String request, ClientInfo ci, int id, WorkSource workSource, ScanSettings settings, PnoSettings pnoSettings) argument
[all...]
H A DScanScheduleUtil.java129 * settings.
132 ScanResult result, int bucketsScanned, ScanSettings settings, int scheduledBucket) {
134 return channelHelper.settingsContainChannel(settings, result.frequency);
142 * requested in the settings. Will return null if the result should not be reported.
144 * If a ScanData indicates that the bucket the settings were placed in was scanned then it
147 * If it is not possible to determine if the settings bucket was scanned or not then a
153 ScanData[] scanDatas, ScanSettings settings, int scheduledBucket) {
157 // only report ScanData if the settings bucket could have been scanned
161 if (channelHelper.settingsContainChannel(settings, scanResult.frequency)) {
164 if (settings
131 shouldReportFullScanResultForSettings(ChannelHelper channelHelper, ScanResult result, int bucketsScanned, ScanSettings settings, int scheduledBucket) argument
152 filterResultsForSettings(ChannelHelper channelHelper, ScanData[] scanDatas, ScanSettings settings, int scheduledBucket) argument
[all...]
/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/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...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageManagerSettingsTests.java114 + "<keyset-settings version=\"1\">"
137 + "</keyset-settings>"
196 private void verifyKeySetMetaData(Settings settings) argument
198 ArrayMap<String, PackageSetting> packages = settings.mPackages;
199 KeySetManagerService ksms = settings.mKeySetManagerService;
258 Settings settings = new Settings(getContext().getFilesDir(), new Object());
259 assertEquals(true, settings.readLPw(createFakeUsers()));
260 verifyKeySetMetaData(settings);
270 Settings settings = new Settings(getContext().getFilesDir(), new Object());
271 assertEquals(true, settings
[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...]
/frameworks/base/core/java/android/bluetooth/le/
H A DBluetoothLeScanner.java106 * @param settings Settings for the scan.
108 * @throws IllegalArgumentException If {@code settings} or {@code callback} is null.
111 public void startScan(List<ScanFilter> filters, ScanSettings settings, argument
113 startScan(filters, settings, null, callback, null);
137 * @param settings Settings for the scan.
146 public void startScanFromSource(List<ScanFilter> filters, ScanSettings settings, argument
148 startScan(filters, settings, workSource, callback, null);
151 private void startScan(List<ScanFilter> filters, ScanSettings settings, argument
158 if (settings == null) {
159 throw new IllegalArgumentException("settings i
245 startTruncatedScan(List<TruncatedFilter> truncatedFilters, ScanSettings settings, final ScanCallback callback) argument
285 BleScanCallbackWrapper(IBluetoothGatt bluetoothGatt, List<ScanFilter> filters, ScanSettings settings, WorkSource workSource, ScanCallback scanCallback, List<List<ResultStorageDescriptor>> resultStorages) argument
466 isSettingsConfigAllowedForScan(ScanSettings settings) argument
479 isSettingsAndFilterComboAllowed(ScanSettings settings, List <ScanFilter> filterList) argument
497 isHardwareResourcesAvailableForScan(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);
247 AdvertiseSettings settings,
252 mSettings = settings;
337 AdvertiseSettings settings) {
245 AdvertiseCallbackWrapper(AdvertiseCallback advertiseCallback, AdvertiseData advertiseData, AdvertiseData scanResponse, AdvertiseSettings settings, IBluetoothGatt bluetoothGatt) argument
336 onMultiAdvertiseCallback(int status, boolean isStart, AdvertiseSettings settings) argument
374 postStartSuccess(final AdvertiseCallback callback, final AdvertiseSettings 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.java206 * Flag to indicate if the scan settings are targeted for PNO scan.
243 ScanSettings settings = new ScanSettings();
244 settings.band = in.readInt();
245 settings.periodInMs = in.readInt();
246 settings.reportEvents = in.readInt();
247 settings.numBssidsPerScan = in.readInt();
248 settings.maxScansToCache = in.readInt();
249 settings.maxPeriodInMs = in.readInt();
250 settings.stepCount = in.readInt();
251 settings
666 startBackgroundScan(ScanSettings settings, ScanListener listener) argument
678 startBackgroundScan(ScanSettings settings, ScanListener listener, WorkSource workSource) argument
720 startScan(ScanSettings settings, ScanListener listener) argument
733 startScan(ScanSettings settings, ScanListener listener, WorkSource workSource) argument
973 configureWifiChange(WifiChangeSettings settings) argument
[all...]
/frameworks/base/packages/SettingsProvider/
H A DAndroid.mk7 src/com/android/providers/settings/EventLogTags.logtags
/frameworks/av/media/libstagefright/tests/
H A DMediaCodecListOverrides_test.cpp69 CodecSettings settings; local
70 settings.add("max-supported-instances", value);
71 results->add(key, settings);
78 CodecSettings settings = results.valueAt(i); local
79 EXPECT_EQ(1u, settings.size());
80 EXPECT_TRUE(settings.keyAt(0) == "max-supported-instances");
81 AString valueS = settings.valueAt(0);

Completed in 552 milliseconds

12345