/frameworks/av/media/libstagefright/renderfright/include/renderengine/ |
D | LayerSettings.h | 195 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 …]
|
D | DisplaySettings.h | 73 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/native/libs/renderengine/include/renderengine/ |
D | LayerSettings.h | 228 static inline void PrintTo(const Buffer& settings, ::std::ostream* os) { in PrintTo() argument 230 *os << "\n .buffer = " << settings.buffer.get(); in PrintTo() 231 *os << "\n .fence = " << settings.fence.get(); in PrintTo() 232 *os << "\n .textureName = " << settings.textureName; in PrintTo() 233 *os << "\n .useTextureFiltering = " << settings.useTextureFiltering; in PrintTo() 234 *os << "\n .textureTransform = " << settings.textureTransform; in PrintTo() 235 *os << "\n .usePremultipliedAlpha = " << settings.usePremultipliedAlpha; in PrintTo() 236 *os << "\n .isOpaque = " << settings.isOpaque; in PrintTo() 237 *os << "\n .isY410BT2020 = " << settings.isY410BT2020; in PrintTo() 238 *os << "\n .maxLuminanceNits = " << settings.maxLuminanceNits; in PrintTo() [all …]
|
D | DisplaySettings.h | 76 static inline void PrintTo(const DisplaySettings& settings, ::std::ostream* os) { in PrintTo() argument 79 PrintTo(settings.physicalDisplay, os); in PrintTo() 81 PrintTo(settings.clip, os); in PrintTo() 82 *os << "\n .maxLuminance = " << settings.maxLuminance; in PrintTo() 84 PrintTo(settings.outputDataspace, os); in PrintTo() 85 *os << "\n .colorTransform = " << settings.colorTransform; in PrintTo() 87 PrintTo(settings.clearRegion, os); in PrintTo() 88 *os << "\n .orientation = " << settings.orientation; in PrintTo()
|
/frameworks/base/media/jni/tuner/ |
D | FrontendClient.cpp | 115 Result FrontendClient::tune(const FrontendSettings& settings, in tune() argument 118 TunerFrontendSettings tunerFeSettings = getAidlFrontendSettings(settings, settingsExt1_1); in tune() 125 result = mFrontend_1_1->tune_1_1(settings, settingsExt1_1); in tune() 130 result = mFrontend->tune(settings); in tune() 151 Result FrontendClient::scan(const FrontendSettings& settings, FrontendScanType type, in scan() argument 154 TunerFrontendSettings tunerFeSettings = getAidlFrontendSettings(settings, settingsExt1_1); in scan() 161 result = mFrontend_1_1->scan_1_1(settings, type, settingsExt1_1); in scan() 166 result = mFrontend->scan(settings, type); in scan() 781 TunerFrontendSettings FrontendClient::getAidlFrontendSettings(const FrontendSettings& settings, in getAidlFrontendSettings() argument 792 s.settings.set<TunerFrontendUnionSettings::dtmb>(getAidlDtmbSettings(settingsExt1_1)); in getAidlFrontendSettings() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextClassificationConstantsTest.java | 40 settings -> assertThat(settings.isLocalTextClassifierEnabled()).isFalse()); in booleanSettings() 48 settings -> assertThat(settings.getGenerateLinksMaxTextLength()).isEqualTo(128)); in intSettings() 56 settings -> assertThat( in stringSettings() 57 settings.getTextClassifierServicePackageOverride()) in stringSettings() 66 settings -> assertThat( in longSettings() 67 settings.getSystemTextClassifierApiTimeoutInSecond()) in longSettings() 75 TextClassificationConstants settings = new TextClassificationConstants(); in assertSettings() local 78 settingsConsumer.accept(settings); in assertSettings()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | WatchlistSettingsTests.java | 71 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/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | LayerFE.h | 197 static inline void PrintTo(const LayerFE::ClientCompositionTargetSettings& settings, in PrintTo() argument 201 PrintTo(settings.clip, os); in PrintTo() 202 *os << "\n .needsFiltering = " << settings.needsFiltering; in PrintTo() 203 *os << "\n .isSecure = " << settings.isSecure; in PrintTo() 204 *os << "\n .supportsProtectedContent = " << settings.supportsProtectedContent; in PrintTo() 206 PrintTo(settings.clearRegion, os); in PrintTo() 208 PrintTo(settings.viewport, os); in PrintTo() 210 PrintTo(settings.dataspace, os); in PrintTo() 211 *os << "\n .realContentIsVisible = " << settings.realContentIsVisible; in PrintTo() 212 *os << "\n .clearContent = " << settings.clearContent; in PrintTo() [all …]
|
/frameworks/native/libs/renderengine/tests/ |
D | RenderEngineTest.cpp | 420 void invokeDraw(renderengine::DisplaySettings settings, in invokeDraw() argument 424 mRE->drawLayers(settings, layers, mBuffer, true, base::unique_fd(), &fence); in invokeDraw() 439 renderengine::DisplaySettings settings; in drawEmptyLayers() local 441 invokeDraw(settings, layers); in drawEmptyLayers() 632 renderengine::DisplaySettings settings; in fillBuffer() local 633 settings.physicalDisplay = fullscreenRect(); in fillBuffer() 634 settings.clip = fullscreenRect(); in fillBuffer() 635 settings.outputDataspace = ui::Dataspace::V0_SRGB_LINEAR; in fillBuffer() 647 invokeDraw(settings, layers); in fillBuffer() 676 renderengine::DisplaySettings settings; in fillRedOffsetBuffer() local [all …]
|
/frameworks/base/media/java/android/media/audiofx/ |
D | EnvironmentalReverb.java | 521 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 …]
|
D | Equalizer.java | 460 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 …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/app/ |
D | GameManagerServiceSettingsTests.java | 95 private void verifyGameServiceSettingsData(GameManagerSettings settings) { in verifyGameServiceSettingsData() argument 96 assertThat(settings.getGameModeLocked(PACKAGE_NAME_1), is(1)); in verifyGameServiceSettingsData() 97 assertThat(settings.getGameModeLocked(PACKAGE_NAME_2), is(2)); in verifyGameServiceSettingsData() 98 assertThat(settings.getGameModeLocked(PACKAGE_NAME_3), is(3)); in verifyGameServiceSettingsData() 112 GameManagerSettings settings = new GameManagerSettings(context.getFilesDir()); in testReadGameServiceSettings() local 113 assertThat(settings.readPersistentDataLocked(), is(true)); in testReadGameServiceSettings() 114 verifyGameServiceSettingsData(settings); in testReadGameServiceSettings() 123 GameManagerSettings settings = new GameManagerSettings(context.getFilesDir()); in testWriteGameServiceSettings() local 124 assertThat(settings.readPersistentDataLocked(), is(true)); in testWriteGameServiceSettings() 127 settings.writePersistentDataLocked(); in testWriteGameServiceSettings() [all …]
|
/frameworks/av/media/libstagefright/renderfright/tests/ |
D | RenderEngineTest.cpp | 254 void invokeDraw(renderengine::DisplaySettings settings, in invokeDraw() 259 sRE->drawLayers(settings, layers, buffer, true, base::unique_fd(), &fence); in invokeDraw() 275 renderengine::DisplaySettings settings; in drawEmptyLayers() local 279 invokeDraw(settings, layers, buffer); in drawEmptyLayers() 443 renderengine::DisplaySettings settings; in fillBuffer() local 444 settings.physicalDisplay = fullscreenRect(); in fillBuffer() 445 settings.clip = fullscreenRect(); in fillBuffer() 456 invokeDraw(settings, layers, mBuffer); in fillBuffer() 485 renderengine::DisplaySettings settings; in fillRedOffsetBuffer() local 486 settings.physicalDisplay = offsetRect(); in fillRedOffsetBuffer() [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraCapabilities.java | 572 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/base/services/core/java/com/android/server/wm/ |
D | DisplayWindowSettings.java | 124 private int getWindowingModeLocked(SettingsProvider.SettingsEntry settings, DisplayContent dc) { in getWindowingModeLocked() argument 125 int windowingMode = settings.mWindowingMode; in getWindowingModeLocked() 144 final SettingsProvider.SettingsEntry settings = mSettingsProvider.getSettings(displayInfo); in getWindowingModeLocked() local 145 return getWindowingModeLocked(settings, dc); in getWindowingModeLocked() 159 final SettingsProvider.SettingsEntry settings = mSettingsProvider.getSettings(displayInfo); in getRemoveContentModeLocked() local 160 if (settings.mRemoveContentMode == REMOVE_CONTENT_MODE_UNDEFINED) { in getRemoveContentModeLocked() 168 return settings.mRemoveContentMode; in getRemoveContentModeLocked() 181 final SettingsProvider.SettingsEntry settings = mSettingsProvider.getSettings(displayInfo); in shouldShowWithInsecureKeyguardLocked() local 182 return settings.mShouldShowWithInsecureKeyguard != null in shouldShowWithInsecureKeyguardLocked() 183 ? settings.mShouldShowWithInsecureKeyguard : false; in shouldShowWithInsecureKeyguardLocked() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/settings/ |
D | LocationSettingsTest.java | 17 package com.android.server.location.settings; 102 settings -> settings.withAdasGnssLocationEnabled(true)); in testUpdate() 106 settings -> settings.withAdasGnssLocationEnabled(false)); in testUpdate() 114 settings -> settings.withAdasGnssLocationEnabled(true)); in testSerialization() 135 settings -> settings.withAdasGnssLocationEnabled(true)); in testListeners() 144 settings -> settings.withAdasGnssLocationEnabled(false)); in testListeners() 152 settings -> settings.withAdasGnssLocationEnabled(true)); in testListeners() 167 settings -> settings.withAdasGnssLocationEnabled(true)); in testNonAutomotive()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | MockTracker.java | 23 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/java/android/bluetooth/le/ |
D | BluetoothLeScanner.java | 152 public void startScan(List<ScanFilter> filters, ScanSettings settings, in startScan() argument 154 startScan(filters, settings, null, callback, /*callbackIntent=*/ null, null); in startScan() 184 public int startScan(@Nullable List<ScanFilter> filters, @Nullable ScanSettings settings, in startScan() argument 187 settings != null ? settings : new ScanSettings.Builder().build(), in startScan() 232 public void startScanFromSource(List<ScanFilter> filters, ScanSettings settings, in startScanFromSource() argument 234 startScan(filters, settings, workSource, callback, null, null); in startScanFromSource() 238 private int startScan(List<ScanFilter> filters, ScanSettings settings, in startScan() argument 246 if (settings == null) { in startScan() 263 if (!isSettingsConfigAllowedForScan(settings)) { in startScan() 267 if (!isHardwareResourcesAvailableForScan(settings)) { in startScan() [all …]
|
/frameworks/base/core/proto/android/providers/ |
D | settings.proto | 18 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/ |
D | WriteFallbackSettingsFilesJobService.java | 17 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/ |
D | UsbSettingsManager.java | 75 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/ |
D | FontVariationAxis.java | 141 @Nullable String settings) { in fromFontVariationSettings() 142 if (settings == null || settings.isEmpty()) { in fromFontVariationSettings() 146 final int length = settings.length(); in fromFontVariationSettings() 148 final char c = settings.charAt(i); in fromFontVariationSettings() 152 if (!(c == '\'' || c == '"') || length < i + 6 || settings.charAt(i + 5) != c) { in fromFontVariationSettings() 154 "Tag should be wrapped with double or single quote: " + settings); in fromFontVariationSettings() 156 final String tagString = settings.substring(i + 1, i + 5); in fromFontVariationSettings() 159 int endOfValueString = settings.indexOf(',', i); in fromFontVariationSettings() 166 value = Float.parseFloat(settings.substring(i, endOfValueString)); in fromFontVariationSettings()
|
/frameworks/av/services/tuner/ |
D | TunerDvr.cpp | 60 Status TunerDvr::configure(const TunerDvrSettings& settings) { in configure() argument 66 Result res = mDvr->configure(getHidlDvrSettingsFromAidl(settings)); in configure() 165 DvrSettings TunerDvr::getHidlDvrSettingsFromAidl(TunerDvrSettings settings) { in getHidlDvrSettingsFromAidl() argument 170 .statusMask = static_cast<uint8_t>(settings.statusMask), in getHidlDvrSettingsFromAidl() 171 .lowThreshold = static_cast<uint32_t>(settings.lowThreshold), in getHidlDvrSettingsFromAidl() 172 .highThreshold = static_cast<uint32_t>(settings.highThreshold), in getHidlDvrSettingsFromAidl() 173 .dataFormat = static_cast<DataFormat>(settings.dataFormat), in getHidlDvrSettingsFromAidl() 174 .packetSize = static_cast<uint8_t>(settings.packetSize), in getHidlDvrSettingsFromAidl() 180 .statusMask = static_cast<uint8_t>(settings.statusMask), in getHidlDvrSettingsFromAidl() 181 .lowThreshold = static_cast<uint32_t>(settings.lowThreshold), in getHidlDvrSettingsFromAidl() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TestDisplayWindowSettingsProvider.java | 58 SettingsEntry settings; in getOrCreateOverrideSettingsEntry() local 59 if ((settings = mOverrideSettingsMap.get(identifier)) != null) { in getOrCreateOverrideSettingsEntry() 60 return settings; in getOrCreateOverrideSettingsEntry() 62 settings = new SettingsEntry(); in getOrCreateOverrideSettingsEntry() 63 mOverrideSettingsMap.put(identifier, settings); in getOrCreateOverrideSettingsEntry() 64 return settings; in getOrCreateOverrideSettingsEntry()
|
/frameworks/base/services/core/java/com/android/server/location/settings/ |
D | LocationSettings.java | 17 package com.android.server.location.settings; 149 protected void write(DataOutput out, LocationUserSettings settings) throws IOException { in write() argument 150 settings.write(out); in write() 155 super.update(settings -> filterSettings(updater.apply(settings))); in update() 164 private LocationUserSettings filterSettings(LocationUserSettings settings) { in filterSettings() argument 165 if (settings.isAdasGnssLocationEnabled() in filterSettings() 168 settings = settings.withAdasGnssLocationEnabled(false); in filterSettings() 170 return settings; in filterSettings()
|