/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 191 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc, mMockDwbc); in testSimpleStrategyIgnoresNewConfiguration() local 206 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc, mMockDwbc); in testSimpleStrategyIgnoresNullConfiguration() local 258 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc, mMockDwbc); in testPhysicalStrategyUsesNewConfigurations() local 284 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc, mMockDwbc); in testPhysicalStrategyRecalculateSplines() local 316 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc, mMockDwbc); in testDefaultStrategyIsPhysical() local 330 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc, mMockDwbc); in testNonStrictlyIncreasingLuxLevelsFails() local 351 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc, mMockDwbc); in testDifferentNumberOfControlPointValuesFails() local 427 private static void assertStrategyAdaptsToUserDataPoints(BrightnessMappingStrategy strategy) { in assertStrategyAdaptsToUserDataPoints() 592 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(resources, ddc, in testGammaCorrectionLowChangeAtCenter() local 623 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(resources, ddc, in testGammaCorrectionHighChangeAtCenter() local [all …]
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.cpp | 70 for (const auto &strategy : legacyStrategy) { in Engine() local 145 void Engine::filterOutputDevicesForStrategy(legacy_strategy strategy, in filterOutputDevicesForStrategy() 222 product_strategy_t Engine::remapStrategyFromContext(product_strategy_t strategy, in remapStrategyFromContext() 263 DeviceVector Engine::getDevicesForStrategyInt(legacy_strategy strategy, in getDevicesForStrategyInt() 654 const auto& strategy = iter.second; in updateDeviceSelectionCache() local 673 product_strategy_t strategy = getProductStrategyFromLegacy(legacyStrategy); in getPreferredDeviceTypeForLegacyStrategy() local 738 product_strategy_t strategy = getProductStrategyForAttributes(attributes); in getOutputDevicesForAttributes() local
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | EngineBase.cpp | 146 auto addSupportedAttributesToGroup = [](auto &group, auto &volumeGroup, auto &strategy) { in loadAudioPolicyEngineConfig() 201 sp<ProductStrategy> strategy = new ProductStrategy(strategyConfig.name); in loadAudioPolicyEngineConfig() local 243 [&](const auto &strategy) { in getOrderedProductStrategies() 455 status_t EngineBase::setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in setDevicesRoleForStrategy() 458 std::function<bool(product_strategy_t)> p = [this](product_strategy_t strategy) { in setDevicesRoleForStrategy() 465 status_t EngineBase::removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role) in removeDevicesRoleForStrategy() 467 std::function<bool(product_strategy_t)> p = [this](product_strategy_t strategy) { in removeDevicesRoleForStrategy() 474 status_t EngineBase::getDevicesForRoleAndStrategy(product_strategy_t strategy, device_role_t role, in getDevicesForRoleAndStrategy() 477 std::function<bool(product_strategy_t)> p = [this](product_strategy_t strategy) { in getDevicesForRoleAndStrategy() 594 product_strategy_t strategy = getProductStrategyByName("STRATEGY_MEDIA" /*name*/); in getMediaDevicesForRole() local
|
D | ProductStrategy.cpp | 183 const auto strategy = iter.second; in getAttributesForStreamType() local
|
/frameworks/base/core/java/android/view/ |
D | VelocityTracker.java | 178 private static native long nativeInitialize(int strategy); in nativeInitialize() 237 public static VelocityTracker obtain(String strategy) { in obtain() 253 public static VelocityTracker obtain(int strategy) { in obtain() 278 private VelocityTracker(@VelocityTrackerStrategy int strategy) { in VelocityTracker()
|
/frameworks/minikin/libs/minikin/ |
D | LineBreaker.cpp | 24 LineBreakResult breakIntoLines(const U16StringPiece& textBuffer, BreakStrategy strategy, in breakIntoLines()
|
D | OptimalLineBreaker.cpp | 324 BreakStrategy strategy, bool justified) { in computeBreaks() 408 const LineWidth& lineWidth, BreakStrategy strategy, in breakLineOptimal()
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.cpp | 288 product_strategy_t strategy = getProductStrategyForAttributes(attributes); in getOutputDevicesForAttributes() local 360 const auto &strategy = iter.second; in updateDeviceSelectionCache() local 365 void Engine::setDeviceAddressForProductStrategy(product_strategy_t strategy, in setDeviceAddressForProductStrategy() 376 bool Engine::setDeviceTypesForProductStrategy(product_strategy_t strategy, uint64_t devices) in setDeviceTypesForProductStrategy()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SharedUidMigration.java | 94 public static boolean applyStrategy(@Strategy int strategy) { in applyStrategy()
|
/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()
|
/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 65 VelocityTrackerState::VelocityTrackerState(const VelocityTracker::Strategy strategy) in VelocityTrackerState() 137 inline static VelocityTracker::Strategy getStrategyFromInt(const int32_t strategy) { in getStrategyFromInt() 148 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/core/java/com/android/server/audio/ |
D | AudioDeviceInventory.java | 253 mPreferredDevices.forEach((strategy, device) -> { in dump() argument 288 mPreferredDevices.forEach((strategy, devices) -> { in onRestoreDevices() argument 595 /*package*/ void onSaveSetPreferredDevices(int strategy, in onSaveSetPreferredDevices() 601 /*package*/ void onSaveRemovePreferredDevices(int strategy) { in onSaveRemovePreferredDevices() 623 /*package*/ int setPreferredDevicesForStrategySync(int strategy, in setPreferredDevicesForStrategySync() 640 /*package*/ int removePreferredDevicesForStrategySync(int strategy) { in removePreferredDevicesForStrategySync() 1533 private void dispatchPreferredDevice(int strategy, in dispatchPreferredDevice()
|
D | AudioSystemAdapter.java | 298 public int setDevicesRoleForStrategy(int strategy, int role, in setDevicesRoleForStrategy() 310 public int removeDevicesRoleForStrategy(int strategy, int role) { in removeDevicesRoleForStrategy()
|
D | AudioDeviceBroker.java | 927 /*package*/ int setPreferredDevicesForStrategySync(int strategy, in setPreferredDevicesForStrategySync() 932 /*package*/ int removePreferredDevicesForStrategySync(int strategy) { in removePreferredDevicesForStrategySync() 1094 /*package*/ void postSaveSetPreferredDevicesForStrategy(int strategy, in postSaveSetPreferredDevicesForStrategy() 1100 /*package*/ void postSaveRemovePreferredDevicesForStrategy(int strategy) { in postSaveRemovePreferredDevicesForStrategy() 1568 final int strategy = msg.arg1; in handleMessage() local 1574 final int strategy = msg.arg1; in handleMessage() local
|
/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() 594 @NonNull TextPaint paint, @Layout.BreakStrategy int strategy, in checkResultUsable()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | ClientDescriptor.h | 107 product_strategy_t strategy, VolumeSource volumeSource, in TrackClientDescriptor() 124 product_strategy_t strategy() const { return mStrategy; } in strategy() function 290 product_strategy_t strategy, VolumeSource volumeSource) : in InternalSourceClientDescriptor()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | ClientDescriptor.cpp | 99 product_strategy_t strategy, VolumeSource volumeSource) : in SourceClientDescriptor()
|
/frameworks/minikin/include/minikin/ |
D | AndroidLineBreakerHelper.h | 76 StaticLayoutNative(BreakStrategy strategy, HyphenationFrequency frequency, bool isJustified, in StaticLayoutNative()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IAudioPolicyService.aidl | 144 void registerEffect(in EffectDescriptor desc, in registerEffect() 327 void setDevicesRoleForStrategy(int /* product_strategy_t */ strategy, in setDevicesRoleForStrategy() 331 void removeDevicesRoleForStrategy(int /* product_strategy_t */ strategy, in removeDevicesRoleForStrategy() 334 AudioDevice[] getDevicesForRoleAndStrategy(int /* product_strategy_t */ strategy, in getDevicesForRoleAndStrategy()
|
/frameworks/av/services/audioflinger/ |
D | Effects.h | 506 product_strategy_t strategy() const { return mStrategy; } in strategy() function 507 void setStrategy(product_strategy_t strategy) in setStrategy() 769 product_strategy_t strategy() const override { return static_cast<product_strategy_t>(0); } in strategy() function
|
D | DeviceEffectManager.h | 193 product_strategy_t strategy() const override { return static_cast<product_strategy_t>(0); } in strategy() function
|
/frameworks/layoutlib/bridge/src/android/media/ |
D | AudioManager.java | 147 …public boolean setPreferredDeviceForStrategy(AudioProductStrategy strategy, AudioDeviceAttributes … in setPreferredDeviceForStrategy() 151 public boolean removePreferredDeviceForStrategy(AudioProductStrategy strategy) { in removePreferredDeviceForStrategy() 155 public AudioDeviceAttributes getPreferredDeviceForStrategy(AudioProductStrategy strategy) { in getPreferredDeviceForStrategy() 159 …public boolean setPreferredDevicesForStrategy(AudioProductStrategy strategy, List<AudioDeviceAttri… in setPreferredDevicesForStrategy() 163 … public List<AudioDeviceAttributes> getPreferredDevicesForStrategy(AudioProductStrategy strategy) { in getPreferredDevicesForStrategy()
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 120 VelocityTracker::VelocityTracker(const Strategy strategy) in VelocityTracker() 136 bool VelocityTracker::configureStrategy(Strategy strategy) { in configureStrategy() 146 VelocityTracker::Strategy strategy) { in createStrategy()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 631 CacheQuotaStrategy strategy = getInitializedStrategy(); in handleMessage() local 669 private void recalculateQuotas(CacheQuotaStrategy strategy) { in recalculateQuotas()
|