Home
last modified time | relevance | path

Searched refs:settings (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/frameworks/native/libs/renderengine/include/renderengine/
DLayerSettings.h195 static inline void PrintTo(const Buffer& settings, ::std::ostream* os) { in PrintTo() argument
197 *os << "\n .buffer = " << settings.buffer.get(); in PrintTo()
198 *os << "\n .fence = " << settings.fence.get(); in PrintTo()
199 *os << "\n .textureName = " << settings.textureName; in PrintTo()
200 *os << "\n .useTextureFiltering = " << settings.useTextureFiltering; in PrintTo()
201 *os << "\n .textureTransform = " << settings.textureTransform; in PrintTo()
202 *os << "\n .usePremultipliedAlpha = " << settings.usePremultipliedAlpha; in PrintTo()
203 *os << "\n .isOpaque = " << settings.isOpaque; in PrintTo()
204 *os << "\n .isY410BT2020 = " << settings.isY410BT2020; in PrintTo()
205 *os << "\n .maxMasteringLuminance = " << settings.maxMasteringLuminance; in PrintTo()
[all …]
DDisplaySettings.h73 static inline void PrintTo(const DisplaySettings& settings, ::std::ostream* os) { in PrintTo() argument
76 PrintTo(settings.physicalDisplay, os); in PrintTo()
78 PrintTo(settings.clip, os); in PrintTo()
79 *os << "\n .maxLuminance = " << settings.maxLuminance; in PrintTo()
81 PrintTo(settings.outputDataspace, os); in PrintTo()
82 *os << "\n .colorTransform = " << settings.colorTransform; in PrintTo()
84 PrintTo(settings.clearRegion, os); in PrintTo()
85 *os << "\n .orientation = " << settings.orientation; in PrintTo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DScanScheduleUtilFilterTest.java61 ScanSettings settings = createRequest( in reportFullResultTrueForBandsWithNoBucketInfo() local
67 createScanResult(2412), 0, settings, -1)); in reportFullResultTrueForBandsWithNoBucketInfo()
72 ScanSettings settings = createRequest( in reportFullResultFalseForBandsWithNoBucketInfo() local
78 createScanResult(5160), 0, settings, 0)); in reportFullResultFalseForBandsWithNoBucketInfo()
83 ScanSettings settings = createRequest( in reportFullResultTrueForChannelsWithNoBucketInfo() local
89 createScanResult(2412), 0, settings, 0)); in reportFullResultTrueForChannelsWithNoBucketInfo()
94 ScanSettings settings = createRequest( in reportFullResultFalseForChannelsWithNoBucketInfo() local
100 createScanResult(5175), 0, settings, 0)); in reportFullResultFalseForChannelsWithNoBucketInfo()
105 ScanSettings settings = createRequest( in reportFullResultTrueForChannelsWithBucketDefinitlyScanned() local
111 createScanResult(2412), 5, settings, 2)); in reportFullResultTrueForChannelsWithBucketDefinitlyScanned()
[all …]
DBaseWifiScannerImplTest.java114 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() in singleScanSuccess() local
121 doSuccessfulSingleScanTest(settings, in singleScanSuccess()
130 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() in singleScanSuccessWithChannels() local
136 doSuccessfulSingleScanTest(settings, createFreqSet(5650), in singleScanSuccessWithChannels()
144 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() in singleScanSuccessWithChannelsAndHighAccuracyType() local
151 doSuccessfulSingleScanTest(settings, createFreqSet(5650), in singleScanSuccessWithChannelsAndHighAccuracyType()
159 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() in singleScanSuccessWithFullResults() local
168 doSuccessfulSingleScanTest(settings, expectedBandScanFreqs(WifiScanner.WIFI_BAND_24_GHZ), in singleScanSuccessWithFullResults()
181 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() in singleScanSuccessWithHiddenNetworkIds() local
192 doSuccessfulSingleScanTest(settings, createFreqSet(5650), in singleScanSuccessWithHiddenNetworkIds()
[all …]
DBackgroundScanSchedulerTest.java662 protected Set<Integer> getAllChannels(WifiScanner.ScanSettings settings) { in getAllChannels() argument
664 collection.addChannels(settings); in getAllChannels()
668 public void scheduleAndTestExactRequest(ScanSettings settings) { in scheduleAndTestExactRequest() argument
670 requests.add(settings); in scheduleAndTestExactRequest()
675 int expectedPeriod = computeExpectedPeriod(settings.periodInMs); in scheduleAndTestExactRequest()
678 .withMaxApPerScan(settings.numBssidsPerScan == 0 in scheduleAndTestExactRequest()
680 : settings.numBssidsPerScan) in scheduleAndTestExactRequest()
681 .withMaxScansToCache(settings.maxScansToCache == 0 in scheduleAndTestExactRequest()
683 : settings.maxScansToCache); in scheduleAndTestExactRequest()
685 if (settings.band == WifiScanner.WIFI_BAND_UNSPECIFIED) { in scheduleAndTestExactRequest()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFE.h168 static inline void PrintTo(const LayerFE::ClientCompositionTargetSettings& settings, in PrintTo() argument
172 PrintTo(settings.clip, os); in PrintTo()
173 *os << "\n .useIdentityTransform = " << settings.useIdentityTransform; in PrintTo()
174 *os << "\n .needsFiltering = " << settings.needsFiltering; in PrintTo()
175 *os << "\n .isSecure = " << settings.isSecure; in PrintTo()
176 *os << "\n .supportsProtectedContent = " << settings.supportsProtectedContent; in PrintTo()
178 PrintTo(settings.clearRegion, os); in PrintTo()
180 PrintTo(settings.viewport, os); in PrintTo()
182 PrintTo(settings.dataspace, os); in PrintTo()
183 *os << "\n .realContentIsVisible = " << settings.realContentIsVisible; in PrintTo()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DWatchlistSettingsTests.java71 WatchlistSettings settings = new WatchlistSettings(mTestXmlFile); in testWatchlistSettings_parsing() local
72 assertEquals(HARD_CODED_SECRET_KEY, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_parsing()
74 assertEquals(HARD_CODED_SECRET_KEY, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_parsing()
80 WatchlistSettings settings = new WatchlistSettings(mTestXmlFile); in testWatchlistSettings_parsingWithoutKey() local
81 final String tmpKey1 = HexDump.toHexString(settings.getPrivacySecretKey()); in testWatchlistSettings_parsingWithoutKey()
85 assertEquals(tmpKey1, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_parsingWithoutKey()
87 settings = new WatchlistSettings(mTestXmlFile); in testWatchlistSettings_parsingWithoutKey()
88 assertEquals(tmpKey1, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_parsingWithoutKey()
93 WatchlistSettings settings = new WatchlistSettings(mTestXmlFile); in testWatchlistSettings_noExistingXml() local
94 final String tmpKey1 = HexDump.toHexString(settings.getPrivacySecretKey()); in testWatchlistSettings_noExistingXml()
[all …]
/frameworks/base/media/java/android/media/audiofx/
DEnvironmentalReverb.java521 public Settings(String settings) { in Settings() argument
522 StringTokenizer st = new StringTokenizer(settings, "=;"); in Settings()
525 throw new IllegalArgumentException("settings: " + settings); in Settings()
623 Settings settings = new Settings(); in getProperties() local
624 settings.roomLevel = byteArrayToShort(param, 0); in getProperties()
625 settings.roomHFLevel = byteArrayToShort(param, 2); in getProperties()
626 settings.decayTime = byteArrayToInt(param, 4); in getProperties()
627 settings.decayHFRatio = byteArrayToShort(param, 8); in getProperties()
628 settings.reflectionsLevel = byteArrayToShort(param, 10); in getProperties()
629 settings.reflectionsDelay = byteArrayToInt(param, 12); in getProperties()
[all …]
DEqualizer.java460 public Settings(String settings) { in Settings() argument
461 StringTokenizer st = new StringTokenizer(settings, "=;"); in Settings()
464 throw new IllegalArgumentException("settings: " + settings); in Settings()
483 throw new IllegalArgumentException("settings: " + settings); in Settings()
526 Settings settings = new Settings(); in getProperties() local
527 settings.curPreset = byteArrayToShort(param, 0); in getProperties()
528 settings.numBands = byteArrayToShort(param, 2); in getProperties()
529 settings.bandLevels = new short[mNumBands]; in getProperties()
531 settings.bandLevels[i] = byteArrayToShort(param, 4 + 2*i); in getProperties()
533 return settings; in getProperties()
[all …]
DBassBoost.java225 public Settings(String settings) { in Settings() argument
226 StringTokenizer st = new StringTokenizer(settings, "=;"); in Settings()
229 throw new IllegalArgumentException("settings: " + settings); in Settings()
268 Settings settings = new Settings(); in getProperties() local
271 settings.strength = value[0]; in getProperties()
272 return settings; in getProperties()
283 public void setProperties(BassBoost.Settings settings) in setProperties() argument
285 checkStatus(setParameter(PARAM_STRENGTH, settings.strength)); in setProperties()
DPresetReverb.java241 public Settings(String settings) { in Settings() argument
242 StringTokenizer st = new StringTokenizer(settings, "=;"); in Settings()
245 throw new IllegalArgumentException("settings: " + settings); in Settings()
284 Settings settings = new Settings(); in getProperties() local
287 settings.preset = value[0]; in getProperties()
288 return settings; in getProperties()
299 public void setProperties(PresetReverb.Settings settings) in setProperties() argument
301 checkStatus(setParameter(PARAM_PRESET, settings.preset)); in setProperties()
DLoudnessEnhancer.java226 public Settings(String settings) { in Settings() argument
227 StringTokenizer st = new StringTokenizer(settings, "=;"); in Settings()
230 throw new IllegalArgumentException("settings: " + settings); in Settings()
270 Settings settings = new Settings(); in getProperties() local
273 settings.targetGainmB = value[0]; in getProperties()
274 return settings; in getProperties()
286 public void setProperties(LoudnessEnhancer.Settings settings) in setProperties() argument
288 checkStatus(setParameter(PARAM_TARGET_GAIN_MB, settings.targetGainmB)); in setProperties()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraCapabilities.java572 public boolean supports(final CameraSettings settings) { in supports() argument
573 if (zoomCheck(settings) && exposureCheck(settings) && focusCheck(settings) && in supports()
574 flashCheck(settings) && photoSizeCheck(settings) && previewSizeCheck(settings) && in supports()
575 videoStabilizationCheck(settings)) { in supports()
679 private boolean zoomCheck(final CameraSettings settings) { in zoomCheck() argument
680 final float ratio = settings.getCurrentZoomRatio(); in zoomCheck()
687 if (settings.getCurrentZoomRatio() > getMaxZoomRatio()) { in zoomCheck()
689 settings.getCurrentZoomRatio()); in zoomCheck()
696 private boolean exposureCheck(final CameraSettings settings) { in exposureCheck() argument
697 final int index = settings.getExposureCompensationIndex(); in exposureCheck()
[all …]
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp251 void invokeDraw(renderengine::DisplaySettings settings, in invokeDraw()
255 status_t status = sRE->drawLayers(settings, layers, buffer->getNativeBuffer(), true, in invokeDraw()
272 renderengine::DisplaySettings settings; in drawEmptyLayers() local
276 invokeDraw(settings, layers, buffer); in drawEmptyLayers()
440 renderengine::DisplaySettings settings; in fillBuffer() local
441 settings.physicalDisplay = fullscreenRect(); in fillBuffer()
442 settings.clip = fullscreenRect(); in fillBuffer()
453 invokeDraw(settings, layers, mBuffer); in fillBuffer()
482 renderengine::DisplaySettings settings; in fillRedOffsetBuffer() local
483 settings.physicalDisplay = offsetRect(); in fillRedOffsetBuffer()
[all …]
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java143 public void startScan(List<ScanFilter> filters, ScanSettings settings, in startScan() argument
145 startScan(filters, settings, null, callback, /*callbackIntent=*/ null, null); in startScan()
171 public int startScan(@Nullable List<ScanFilter> filters, @Nullable ScanSettings settings, in startScan() argument
174 settings != null ? settings : new ScanSettings.Builder().build(), in startScan()
208 public void startScanFromSource(List<ScanFilter> filters, ScanSettings settings, in startScanFromSource() argument
210 startScan(filters, settings, workSource, callback, null, null); in startScanFromSource()
213 private int startScan(List<ScanFilter> filters, ScanSettings settings, in startScan() argument
221 if (settings == null) { in startScan()
238 if (!isSettingsConfigAllowedForScan(settings)) { in startScan()
242 if (!isHardwareResourcesAvailableForScan(settings)) { in startScan()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java148 for (ScanSettings settings : originalBucket.getSettingsList()) { in Bucket()
149 mScanSettingsList.add(settings); in Bucket()
184 for (ScanSettings settings : mScanSettingsList) { in updateChannelCollection()
185 mChannelCollection.addChannels(settings); in updateChannelCollection()
405 int bucketsScanned, @NonNull ScanSettings settings) { in shouldReportFullScanResultForSettings() argument
407 result, bucketsScanned, settings, getScheduledBucket(settings)); in shouldReportFullScanResultForSettings()
415 @NonNull ScanSettings settings) { in filterResultsForSettings() argument
416 return ScanScheduleUtil.filterResultsForSettings(mChannelHelper, scanDatas, settings, in filterResultsForSettings()
417 getScheduledBucket(settings)); in filterResultsForSettings()
423 public int getScheduledBucket(ScanSettings settings) { in getScheduledBucket() argument
[all …]
DWifiScanningServiceImpl.java542 final T settings; field in WifiScanningServiceImpl.RequestInfo
545 T settings) { in RequestInfo() argument
548 this.settings = settings; in RequestInfo()
558 void addRequest(ClientInfo ci, int handler, WorkSource reqworkSource, T settings) { in addRequest() argument
559 add(new RequestInfo<T>(ci, handler, reqworkSource, settings)); in addRequest()
568 removed = entry.settings; in removeRequest()
580 settingsList.add(entry.settings); in getAllSettings()
591 settingsList.add(entry.settings); in getAllSettingsForClient()
1044 boolean validateScanRequest(ClientInfo ci, int handler, ScanSettings settings) { in validateScanRequest() argument
1049 if (settings.band == WifiScanner.WIFI_BAND_UNSPECIFIED) { in validateScanRequest()
[all …]
DHalWifiScannerImpl.java78 public boolean startSingleScan(WifiNative.ScanSettings settings, in startSingleScan() argument
80 return mWificondScannerDelegate.startSingleScan(settings, eventHandler); in startSingleScan()
89 public boolean startBatchedScan(WifiNative.ScanSettings settings, in startBatchedScan() argument
91 if (settings == null || eventHandler == null) { in startBatchedScan()
92 Log.w(TAG, "Invalid arguments for startBatched: settings=" + settings in startBatchedScan()
97 getIfaceName(), settings, eventHandler); in startBatchedScan()
121 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList() argument
123 return mWificondScannerDelegate.setHwPnoList(settings, eventHandler); in setHwPnoList()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DMockTracker.java23 import org.mockito.internal.creation.settings.CreationSettings;
63 public void onMockCreated(Object mock, MockCreationSettings settings) { in onMockCreated() argument
65 clearSpiedInstanceIfNeeded(mock, settings); in onMockCreated()
70 private void clearSpiedInstanceIfNeeded(Object mock, MockCreationSettings settings) { in clearSpiedInstanceIfNeeded() argument
71 if (mock != settings.getSpiedInstance()) { in clearSpiedInstanceIfNeeded()
75 if (!(settings instanceof CreationSettings)) { in clearSpiedInstanceIfNeeded()
76 throw new IllegalStateException("Unexpected type of settings: " + settings.getClass()); in clearSpiedInstanceIfNeeded()
79 SPIED_INSTANCE_FIELD.set(settings, null); in clearSpiedInstanceIfNeeded()
/frameworks/base/core/proto/android/providers/
Dsettings.proto18 package android.providers.settings;
23 import "frameworks/base/core/proto/android/providers/settings/config.proto";
24 import "frameworks/base/core/proto/android/providers/settings/global.proto";
25 import "frameworks/base/core/proto/android/providers/settings/secure.proto";
26 import "frameworks/base/core/proto/android/providers/settings/system.proto";
32 // Per user settings
35 // Global settings
38 // Config settings
48 // The secure settings for this user
51 // The system settings for this user
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DWriteFallbackSettingsFilesJobService.java17 package com.android.providers.settings;
19 import static com.android.providers.settings.SettingsProvider.TABLE_CONFIG;
20 import static com.android.providers.settings.SettingsProvider.TABLE_GLOBAL;
21 import static com.android.providers.settings.SettingsProvider.TABLE_SECURE;
22 import static com.android.providers.settings.SettingsProvider.TABLE_SSAID;
23 import static com.android.providers.settings.SettingsProvider.TABLE_SYSTEM;
24 import static com.android.providers.settings.SettingsProvider.WRITE_FALLBACK_SETTINGS_FILES_JOB_ID;
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java75 UsbUserSettingsManager settings = mSettingsByUser.get(userId); in getSettingsForUser() local
76 if (settings == null) { in getSettingsForUser()
77 settings = new UsbUserSettingsManager(mContext, UserHandle.of(userId)); in getSettingsForUser()
78 mSettingsByUser.put(userId, settings); in getSettingsForUser()
80 return settings; in getSettingsForUser()
102 UsbProfileGroupSettingsManager settings = mSettingsByProfileGroup.get( in getSettingsForProfileGroup() local
104 if (settings == null) { in getSettingsForProfileGroup()
105 settings = new UsbProfileGroupSettingsManager(mContext, parentUser, this, in getSettingsForProfileGroup()
107 mSettingsByProfileGroup.put(parentUser.getIdentifier(), settings); in getSettingsForProfileGroup() local
109 return settings; in getSettingsForProfileGroup()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontVariationAxis.java140 @Nullable String settings) { in fromFontVariationSettings()
141 if (settings == null || settings.isEmpty()) { in fromFontVariationSettings()
145 final int length = settings.length(); in fromFontVariationSettings()
147 final char c = settings.charAt(i); in fromFontVariationSettings()
151 if (!(c == '\'' || c == '"') || length < i + 6 || settings.charAt(i + 5) != c) { in fromFontVariationSettings()
153 "Tag should be wrapped with double or single quote: " + settings); in fromFontVariationSettings()
155 final String tagString = settings.substring(i + 1, i + 5); in fromFontVariationSettings()
158 int endOfValueString = settings.indexOf(',', i); in fromFontVariationSettings()
165 value = Float.parseFloat(settings.substring(i, endOfValueString)); in fromFontVariationSettings()
/frameworks/base/packages/SettingsProvider/
DAndroid.bp6 "src/com/android/providers/settings/EventLogTags.logtags",
28 "src/android/provider/settings/backup/*",
29 "src/android/provider/settings/validators/*",
30 "src/com/android/providers/settings/SettingsBackupAgent.java",
31 "src/com/android/providers/settings/SettingsState.java",
32 "src/com/android/providers/settings/SettingsHelper.java",
33 "src/com/android/providers/settings/WifiSoftApConfigChangedNotifier.java",
51 "com.android.providers.settings",
/frameworks/base/wifi/java/android/net/wifi/nl80211/
DPnoSettings.java151 PnoSettings settings = (PnoSettings) rhs; in equals() local
152 if (settings == null) { in equals()
155 return mIntervalMs == settings.mIntervalMs in equals()
156 && mMin2gRssi == settings.mMin2gRssi in equals()
157 && mMin5gRssi == settings.mMin5gRssi in equals()
158 && mMin6gRssi == settings.mMin6gRssi in equals()
159 && mPnoNetworks.equals(settings.mPnoNetworks); in equals()

12345678910>>...14