/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 201 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testSimpleStrategyIgnoresNewConfiguration() local 217 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testSimpleStrategyIgnoresNullConfiguration() local 270 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testPhysicalStrategyUsesNewConfigurations() local 297 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testPhysicalStrategyRecalculateSplines() local 343 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testDefaultStrategyIsPhysical() local 358 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testNonStrictlyIncreasingLuxLevelsFails() local 381 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testDifferentNumberOfControlPointValuesFails() local 459 private static void assertStrategyAdaptsToUserDataPoints(BrightnessMappingStrategy strategy) { in assertStrategyAdaptsToUserDataPoints() 581 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testGammaCorrectionLowChangeAtCenter() local 611 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testGammaCorrectionHighChangeAtCenter() local [all …]
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | VelocityTracker_Delegate.java | 33 public static VelocityTracker obtain(String strategy) { in obtain() 38 public static VelocityTracker obtain(int strategy) { in obtain()
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | EngineBase.cpp | 208 auto addSupportedAttributesToGroup = [](auto &group, auto &volumeGroup, auto &strategy) { in processParsingResult() 243 sp<ProductStrategy> strategy = new ProductStrategy(strategyConfig.name); in processParsingResult() local 285 [&](const auto &strategy) { in getOrderedProductStrategies() 544 status_t EngineBase::setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in setDevicesRoleForStrategy() 547 std::function<bool(product_strategy_t)> p = [this](product_strategy_t strategy) { in setDevicesRoleForStrategy() 554 status_t EngineBase::removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in removeDevicesRoleForStrategy() 557 std::function<bool(product_strategy_t)> p = [this](product_strategy_t strategy) { in removeDevicesRoleForStrategy() 564 status_t EngineBase::clearDevicesRoleForStrategy(product_strategy_t strategy, in clearDevicesRoleForStrategy() 567 std::function<bool(product_strategy_t)> p = [this](product_strategy_t strategy) { in clearDevicesRoleForStrategy() 574 status_t EngineBase::getDevicesForRoleAndStrategy(product_strategy_t strategy, device_role_t role, in getDevicesForRoleAndStrategy() [all …]
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceInventory.java | 714 mPreferredDevices.forEach((strategy, device) -> { in dump() argument 717 mNonDefaultDevices.forEach((strategy, device) -> { in dump() argument 786 mPreferredDevices.forEach((strategy, devices) -> { in reapplyExternalDevicesRoles() argument 791 mNonDefaultDevices.forEach((strategy, devices) -> { in reapplyExternalDevicesRoles() argument 1196 /*package*/ void onSaveSetPreferredDevices(int strategy, in onSaveSetPreferredDevices() 1214 /*package*/ void onSaveRemovePreferredDevices(int strategy) { in onSaveRemovePreferredDevices() 1219 /*package*/ void onSaveSetDeviceAsNonDefault(int strategy, in onSaveSetDeviceAsNonDefault() 1243 /*package*/ void onSaveRemoveDeviceAsNonDefault(int strategy, in onSaveRemoveDeviceAsNonDefault() 1270 /*package*/ int setPreferredDevicesForStrategyAndSave(int strategy, in setPreferredDevicesForStrategyAndSave() 1279 /*package*/ int setPreferredDevicesForStrategy(int strategy, in setPreferredDevicesForStrategy() [all …]
|
D | AudioDeviceBroker.java | 1281 /*package*/ int setPreferredDevicesForStrategySync(int strategy, in setPreferredDevicesForStrategySync() 1286 /*package*/ int removePreferredDevicesForStrategySync(int strategy) { in removePreferredDevicesForStrategySync() 1290 /*package*/ int setDeviceAsNonDefaultForStrategySync(int strategy, in setDeviceAsNonDefaultForStrategySync() 1295 /*package*/ int removeDeviceAsNonDefaultForStrategySync(int strategy, in removeDeviceAsNonDefaultForStrategySync() 1478 /*package*/ void postSaveSetPreferredDevicesForStrategy(int strategy, in postSaveSetPreferredDevicesForStrategy() 1484 /*package*/ void postSaveRemovePreferredDevicesForStrategy(int strategy) { in postSaveRemovePreferredDevicesForStrategy() 1489 int strategy, AudioDeviceAttributes device) { in postSaveSetDeviceAsNonDefaultForStrategy() 1494 int strategy, AudioDeviceAttributes device) { in postSaveRemoveDeviceAsNonDefaultForStrategy() 2010 final int strategy = msg.arg1; in handleMessage() local 2016 final int strategy = msg.arg1; in handleMessage() local [all …]
|
D | AudioSystemAdapter.java | 407 public int setDevicesRoleForStrategy(int strategy, int role, in setDevicesRoleForStrategy() 420 public int removeDevicesRoleForStrategy(int strategy, int role, in removeDevicesRoleForStrategy() 432 public int clearDevicesRoleForStrategy(int strategy, int role) { in clearDevicesRoleForStrategy()
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.cpp | 77 for (const auto &strategy : legacyStrategy) { in loadWithFallback() local 194 void Engine::filterOutputDevicesForStrategy(legacy_strategy strategy, in filterOutputDevicesForStrategy() 288 product_strategy_t Engine::remapStrategyFromContext(product_strategy_t strategy, in remapStrategyFromContext() 329 DeviceVector Engine::getDevicesForStrategyInt(legacy_strategy strategy, in getDevicesForStrategyInt() 787 void Engine::setStrategyDevices(const sp<ProductStrategy>& strategy, const DeviceVector &devices) { in setStrategyDevices() 803 product_strategy_t strategy = getProductStrategyFromLegacy(legacyStrategy); in getPreferredDeviceTypeForLegacyStrategy() local 853 product_strategy_t strategy = getProductStrategyForAttributes(attributes); in getOutputDevicesForAttributes() local
|
/frameworks/base/core/java/android/text/method/ |
D | OffsetMapping.java | 105 int originalToTransformed(int offset, @MapStrategy int strategy); in originalToTransformed() 130 int transformedToOriginal(int offset, @MapStrategy int strategy); in transformedToOriginal()
|
/frameworks/base/core/java/android/view/ |
D | VelocityTracker.java | 200 private static native long nativeInitialize(int strategy); in nativeInitialize() 258 public static VelocityTracker obtain(String strategy) { in obtain() 273 public static VelocityTracker obtain(int strategy) { in obtain() 301 private VelocityTracker(@VelocityTrackerStrategy int strategy) { in VelocityTracker()
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.cpp | 228 status_t Engine::setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in setDevicesRoleForStrategy() 256 status_t Engine::removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in removeDevicesRoleForStrategy() 282 status_t Engine::clearDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role) in clearDevicesRoleForStrategy() 308 status_t Engine::disableDevicesForStrategy(product_strategy_t strategy, in disableDevicesForStrategy() 421 product_strategy_t strategy = getProductStrategyForAttributes(attributes); in getOutputDevicesForAttributes() local 492 void Engine::setDeviceAddressForProductStrategy(product_strategy_t strategy, in setDeviceAddressForProductStrategy() 503 bool Engine::setDeviceTypesForProductStrategy(product_strategy_t strategy, uint64_t devices) in setDeviceTypesForProductStrategy()
|
/frameworks/base/core/java/android/os/ |
D | BundleMerger.java | 179 public void setDefaultMergeStrategy(@Strategy int strategy) { in setDefaultMergeStrategy() 189 public void setMergeStrategy(@NonNull String key, @Strategy int strategy) { in setMergeStrategy() 243 final int strategy = getMergeStrategy(key); in merge() local 263 public static @Nullable Object merge(@Strategy int strategy, in merge()
|
/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 53 VelocityTrackerState::VelocityTrackerState(const VelocityTracker::Strategy strategy) in VelocityTrackerState() 77 inline static VelocityTracker::Strategy getStrategyFromInt(const int32_t strategy) { in getStrategyFromInt() 88 jint strategy) { in android_view_VelocityTracker_nativeInitialize()
|
D | android_media_AudioProductStrategies.cpp | 73 JNIEnv *env, jobject *jAudioStrategy, const AudioProductStrategy &strategy) in convertAudioProductStrategiesFromNative() 196 for (const auto &strategy : strategies) { in android_media_AudioSystem_listAudioProductStrategies() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | NoOpAudioSystemAdapter.java | 72 public int setDevicesRoleForStrategy(int strategy, int role, in setDevicesRoleForStrategy() 78 public int removeDevicesRoleForStrategy(int strategy, int role, in removeDevicesRoleForStrategy() 84 public int clearDevicesRoleForStrategy(int strategy, int role) { in clearDevicesRoleForStrategy()
|
/frameworks/minikin/libs/minikin/ |
D | LineBreaker.cpp | 24 LineBreakResult breakIntoLines(const U16StringPiece& textBuffer, BreakStrategy strategy, in breakIntoLines()
|
/frameworks/minikin/include/minikin/ |
D | AndroidLineBreakerHelper.h | 76 StaticLayoutNative(BreakStrategy strategy, HyphenationFrequency frequency, bool isJustified, in StaticLayoutNative() 84 StaticLayoutNative(BreakStrategy strategy, HyphenationFrequency frequency, bool isJustified, in StaticLayoutNative()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SharedUidMigration.java | 94 public static boolean applyStrategy(@Strategy int strategy) { in applyStrategy()
|
/frameworks/base/core/java/android/text/ |
D | PrecomputedText.java | 154 public Builder setBreakStrategy(@Layout.BreakStrategy int strategy) { in setBreakStrategy() 217 @Layout.BreakStrategy int strategy, in Params() 300 @NonNull TextDirectionHeuristic textDir, @Layout.BreakStrategy int strategy, in checkResultUsable() 616 @NonNull TextPaint paint, @Layout.BreakStrategy int strategy, in checkResultUsable()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | SchemePrefixPerfTest.java | 96 public void timeSchemePrefix(Strategy strategy) { in timeSchemePrefix()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_HdrOutputControlTest.cpp | 74 for (const gui::HdrConversionStrategy& strategy : strategies) { in TEST() local
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IAudioPolicyService.aidl | 151 void registerEffect(in EffectDescriptor desc, in registerEffect() 356 void setDevicesRoleForStrategy(int /* product_strategy_t */ strategy, in setDevicesRoleForStrategy() 360 void removeDevicesRoleForStrategy(int /* product_strategy_t */ strategy, in removeDevicesRoleForStrategy() 364 void clearDevicesRoleForStrategy(int /* product_strategy_t */ strategy, DeviceRole role); in clearDevicesRoleForStrategy() 366 AudioDevice[] getDevicesForRoleAndStrategy(int /* product_strategy_t */ strategy, in getDevicesForRoleAndStrategy()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | DynamicLayoutOffsetMappingTest.java | 281 public int originalToTransformed(int offset, int strategy) { in originalToTransformed() 293 public int transformedToOriginal(int offset, int strategy) { in transformedToOriginal()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | LayerInfo.cpp | 517 Seamlessness LayerInfo::FrameRate::convertChangeFrameRateStrategy(int8_t strategy) { in convertChangeFrameRateStrategy() 550 int8_t strategy) { in convertFrameRateSelectionStrategy()
|
/frameworks/av/services/audioflinger/ |
D | Effects.h | 493 product_strategy_t strategy() const final { return mStrategy; } in strategy() function 494 void setStrategy(product_strategy_t strategy) final in setStrategy() 811 product_strategy_t strategy() const override { return static_cast<product_strategy_t>(0); } in strategy() function
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | ClientDescriptor.cpp | 99 product_strategy_t strategy, VolumeSource volumeSource, in SourceClientDescriptor()
|