Home
last modified time | relevance | path

Searched defs:strategy (Results 1 – 25 of 82) sorted by relevance

1234

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/
H A DBrightnessMappingStrategyTest.java155 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc); in testSimpleStrategyIgnoresNewConfiguration() local
170 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc); in testSimpleStrategyIgnoresNullConfiguration() local
218 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc); in testPhysicalStrategyUsesNewConfigurations() local
243 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc); in testPhysicalStrategyRecalculateSplines() local
275 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc); in testDefaultStrategyIsPhysical() local
288 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc); in testNonStrictlyIncreasingLuxLevelsFails() local
307 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res, ddc); in testDifferentNumberOfControlPointValuesFails() local
509 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(resources, ddc); in testGammaCorrectionLowChangeAtCenter() local
537 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(resources, ddc); in testGammaCorrectionHighChangeAtCenter() local
562 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(resources, ddc); in testGammaCorrectionExtremeChangeAtCenter() local
[all …]
/aosp12/frameworks/av/services/audiopolicy/enginedefault/src/
H A DEngine.cpp70 for (const auto &strategy : legacyStrategy) { in Engine() local
145 void Engine::filterOutputDevicesForStrategy(legacy_strategy strategy, in filterOutputDevicesForStrategy()
216 product_strategy_t Engine::remapStrategyFromContext(product_strategy_t strategy, in remapStrategyFromContext()
257 DeviceVector Engine::getDevicesForStrategyInt(legacy_strategy strategy, in getDevicesForStrategyInt()
610 const auto& strategy = iter.second; in updateDeviceSelectionCache() local
629 product_strategy_t strategy = getProductStrategyFromLegacy(legacyStrategy); in getPreferredDeviceTypeForLegacyStrategy() local
694 product_strategy_t strategy = getProductStrategyForAttributes(attributes); in getOutputDevicesForAttributes() local
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/
H A DFallbackStrategies.java66 public FallbackStrategies<Input, Output> thenTry(final Strategy<Input, Output> strategy) { in thenTry()
75 final Strategy<Input, Output> strategy = mChainedStrategies.get(i); in execute() local
/aosp12/art/compiler/optimizing/
H A Dregister_allocator_test.cc90 bool RegisterAllocatorTest::Check(const std::vector<uint16_t>& data, Strategy strategy) { in Check()
179 void RegisterAllocatorTest::CFG1(Strategy strategy) { in CFG1()
201 void RegisterAllocatorTest::Loop1(Strategy strategy) { in Loop1()
242 void RegisterAllocatorTest::Loop2(Strategy strategy) { in Loop2()
293 void RegisterAllocatorTest::Loop3(Strategy strategy) { in Loop3()
391 void RegisterAllocatorTest::DeadPhi(Strategy strategy) { in DeadPhi()
559 void RegisterAllocatorTest::PhiHint(Strategy strategy) { in PhiHint()
675 void RegisterAllocatorTest::ExpectedInRegisterHint(Strategy strategy) { in ExpectedInRegisterHint()
743 void RegisterAllocatorTest::SameAsFirstInputHint(Strategy strategy) { in SameAsFirstInputHint()
814 void RegisterAllocatorTest::ExpectedExactInRegisterAndSameOutputHint(Strategy strategy) { in ExpectedExactInRegisterAndSameOutputHint()
/aosp12/frameworks/av/services/audiopolicy/engine/common/src/
H A DEngineBase.cpp140 auto addSupportedAttributesToGroup = [](auto &group, auto &volumeGroup, auto &strategy) { in loadAudioPolicyEngineConfig()
195 sp<ProductStrategy> strategy = new ProductStrategy(strategyConfig.name); in loadAudioPolicyEngineConfig() local
237 [&](const auto &strategy) { in getOrderedProductStrategies()
449 status_t EngineBase::setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in setDevicesRoleForStrategy()
452 std::function<bool(product_strategy_t)> p = [this](product_strategy_t strategy) { in setDevicesRoleForStrategy()
459 status_t EngineBase::removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role) in removeDevicesRoleForStrategy()
461 std::function<bool(product_strategy_t)> p = [this](product_strategy_t strategy) { in removeDevicesRoleForStrategy()
468 status_t EngineBase::getDevicesForRoleAndStrategy(product_strategy_t strategy, device_role_t role, in getDevicesForRoleAndStrategy()
471 std::function<bool(product_strategy_t)> p = [this](product_strategy_t strategy) { in getDevicesForRoleAndStrategy()
588 product_strategy_t strategy = getProductStrategyByName("STRATEGY_MEDIA" /*name*/); in getMediaDevicesForRole() local
/aosp12/frameworks/base/core/java/android/view/
H A DVelocityTracker.java178 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()
/aosp12/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DEngine.cpp289 product_strategy_t strategy = getProductStrategyForAttributes(attributes); in getOutputDevicesForAttributes() local
356 const auto &strategy = iter.second; in updateDeviceSelectionCache() local
361 void Engine::setDeviceAddressForProductStrategy(product_strategy_t strategy, in setDeviceAddressForProductStrategy()
372 bool Engine::setDeviceTypesForProductStrategy(product_strategy_t strategy, audio_devices_t devices) in setDeviceTypesForProductStrategy()
/aosp12/frameworks/minikin/libs/minikin/
H A DLineBreaker.cpp24 LineBreakResult breakIntoLines(const U16StringPiece& textBuffer, BreakStrategy strategy, in breakIntoLines()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
H A DNoOpAudioSystemAdapter.java71 public int setDevicesRoleForStrategy(int strategy, int role, in setDevicesRoleForStrategy()
77 public int removeDevicesRoleForStrategy(int strategy, int role) { in removeDevicesRoleForStrategy()
/aosp12/system/update_engine/payload_generator/
H A Ddelta_diff_generator.cc80 std::unique_ptr<chromeos_update_engine::OperationsGenerator> strategy) in PartitionProcessor()
207 unique_ptr<OperationsGenerator> strategy; in GenerateUpdatePayloadFile() local
H A Dpayload_properties_unittest.cc81 unique_ptr<OperationsGenerator> strategy(new FullUpdateGenerator()); in SetUp() local
/aosp12/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp65 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()
H A Dandroid_media_AudioProductStrategies.cpp73 JNIEnv *env, jobject *jAudioStrategy, const AudioProductStrategy &strategy) in convertAudioProductStrategiesFromNative()
196 for (const auto &strategy : strategies) { in android_media_AudioSystem_listAudioProductStrategies() local
/aosp12/frameworks/base/core/java/android/text/
H A DPrecomputedText.java144 public Builder setBreakStrategy(@Layout.BreakStrategy int strategy) { in setBreakStrategy()
192 @Layout.BreakStrategy int strategy, @Layout.HyphenationFrequency int frequency) { in Params()
263 @NonNull TextDirectionHeuristic textDir, @Layout.BreakStrategy int strategy, in checkResultUsable()
525 @NonNull TextPaint paint, @Layout.BreakStrategy int strategy, in checkResultUsable()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioDeviceBroker.java726 /*package*/ int setPreferredDevicesForStrategySync(int strategy, in setPreferredDevicesForStrategySync()
731 /*package*/ void postSetPreferredDevicesForStrategy(int strategy, in postSetPreferredDevicesForStrategy()
736 /*package*/ int removePreferredDevicesForStrategySync(int strategy) { in removePreferredDevicesForStrategySync()
740 /*package*/ void postRemovePreferredDevicesForStrategy(int strategy) { in postRemovePreferredDevicesForStrategy()
942 /*package*/ void postSaveSetPreferredDevicesForStrategy(int strategy, in postSaveSetPreferredDevicesForStrategy()
948 /*package*/ void postSaveRemovePreferredDevicesForStrategy(int strategy) { in postSaveRemovePreferredDevicesForStrategy()
1379 final int strategy = msg.arg1; in handleMessage() local
1385 final int strategy = msg.arg1; in handleMessage() local
1389 final int strategy = msg.arg1; in handleMessage() local
1398 final int strategy = msg.arg1; in handleMessage() local
H A DAudioDeviceInventory.java621 /*package*/ void onSaveSetPreferredDevices(int strategy, in onSaveSetPreferredDevices()
627 /*package*/ void onSaveRemovePreferredDevices(int strategy) { in onSaveRemovePreferredDevices()
649 /*package*/ int setPreferredDevicesForStrategySync(int strategy, in setPreferredDevicesForStrategySync()
666 /*package*/ int removePreferredDevicesForStrategySync(int strategy) { in removePreferredDevicesForStrategySync()
1388 private void dispatchPreferredDevice(int strategy, in dispatchPreferredDevice()
/aosp12/hardware/qcom/display/msm8996/sdm/libs/core/
H A Dcomp_manager.h79 Strategy *strategy = NULL; member
/aosp12/hardware/qcom/sdm845/display/sdm/libs/core/
H A Dcomp_manager.h84 Strategy *strategy = NULL; member
/aosp12/hardware/qcom/display/msm8998/sdm/libs/core/
H A Dcomp_manager.h88 Strategy *strategy = NULL; member
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
H A Dcomp_manager.h90 Strategy *strategy = NULL; member
/aosp12/hardware/qcom/display/msm8909/sdm/libs/core/
H A Dcomp_manager.h86 Strategy *strategy = NULL; member
/aosp12/hardware/qcom/sm8150/display/sdm/libs/core/
H A Dcomp_manager.h102 Strategy *strategy = NULL; member
/aosp12/hardware/qcom/sm7250/display/sdm/libs/core/
H A Dcomp_manager.h105 Strategy *strategy = NULL; member
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DClientDescriptor.cpp94 product_strategy_t strategy, VolumeSource volumeSource) : in SourceClientDescriptor()
/aosp12/frameworks/av/media/libaudioclient/aidl/android/media/
H A DIAudioPolicyService.aidl144 void registerEffect(in EffectDescriptor desc, in registerEffect()
324 void setDevicesRoleForStrategy(int /* product_strategy_t */ strategy, in setDevicesRoleForStrategy()
328 void removeDevicesRoleForStrategy(int /* product_strategy_t */ strategy, in removeDevicesRoleForStrategy()
331 AudioDevice[] getDevicesForRoleAndStrategy(int /* product_strategy_t */ strategy, in getDevicesForRoleAndStrategy()

1234