Home
last modified time | relevance | path

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

12345678910

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_strategy_test.cpp63 auto strategy = StrategyFactory::BuildSyncStrategy(SyncMode::SYNC_MODE_PUSH_ONLY); variable
99 auto strategy = StrategyFactory::BuildSyncStrategy(SyncMode::SYNC_MODE_CLOUD_MERGE); variable
194 auto strategy = StrategyFactory::BuildSyncStrategy(SyncMode::SYNC_MODE_CLOUD_FORCE_PUSH); variable
244 auto strategy = StrategyFactory::BuildSyncStrategy(SyncMode::SYNC_MODE_CLOUD_FORCE_PULL); variable
300 auto strategy = StrategyFactory::BuildSyncStrategy(SyncMode::SYNC_MODE_CLOUD_FORCE_PULL); variable
349 auto strategy = StrategyFactory::BuildSyncStrategy(SyncMode::SYNC_MODE_CLOUD_MERGE); variable
385 auto strategy = StrategyFactory::BuildSyncStrategy(SyncMode::SYNC_MODE_CLOUD_MERGE); variable
/ohos5.0/base/customization/enterprise_device_management/test/unittest/services/edm/src/
H A Dplugin_manager_test.cpp104 auto strategy = PluginManager::GetInstance()->CreateExecuteStrategy(ExecuteStrategy::ENHANCE); variable
123 auto strategy = PluginManager::GetInstance()->CreateExecuteStrategy(ExecuteStrategy::ENHANCE); variable
142 auto strategy = PluginManager::GetInstance()->CreateExecuteStrategy(ExecuteStrategy::SINGLE); variable
161 auto strategy = PluginManager::GetInstance()->CreateExecuteStrategy(ExecuteStrategy::SINGLE); variable
180 auto strategy = PluginManager::GetInstance()->CreateExecuteStrategy(ExecuteStrategy::REPLACE); variable
199 auto strategy = PluginManager::GetInstance()->CreateExecuteStrategy(ExecuteStrategy::REPLACE); variable
220 auto strategy = PluginManager::GetInstance()->CreateExecuteStrategy(ExecuteStrategy::ENHANCE); variable
241 auto strategy = PluginManager::GetInstance()->CreateExecuteStrategy(ExecuteStrategy::ENHANCE); variable
262 auto strategy = PluginManager::GetInstance()->CreateExecuteStrategy(ExecuteStrategy::REPLACE); variable
283 auto strategy = PluginManager::GetInstance()->CreateExecuteStrategy(ExecuteStrategy::REPLACE); variable
/ohos5.0/foundation/resourceschedule/device_standby/plugins/strategy/src/
H A Dstrategy_manager_adapter.cpp55 for (const auto& strategy : strategyList_) { in UnInit() local
65 auto strategy = strategyMap_.find(item); in RegisterPolicy() local
84 for (const auto &strategy : strategyList_) { in HandleEvent() local
91 for (const auto &strategy : strategyList_) { in ShellDump() local
/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 …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_relational_sync_task_context.cpp75 …ngleVerRelationalSyncTaskContext::SetRelationalSyncStrategy(const RelationalSyncStrategy &strategy, in SetRelationalSyncStrategy()
95 RelationalSyncStrategy strategy; in SchemaChange() local
103 for (const auto &strategy : relationalSyncStrategy_) { in IsSchemaCompatible() local
H A Dsingle_ver_kv_sync_task_context.cpp38 void SingleVerKvSyncTaskContext::SetSyncStrategy(const SyncStrategy &strategy, bool isSchemaSync) in SetSyncStrategy()
/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()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/include/model/
H A Ddirectory_config.h28 std::vector<DirectoryStrategy> strategy; variable
/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
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/directory/
H A Ddirectory_manager.cpp66 auto &strategy = strategies_[index]; in GetMetaStorePath() local
80 auto &strategy = strategies_[index]; in GetMetaBackupPath() local
92 const Strategy &strategy = strategies[i]; in Initialize() local
228 auto &strategy = strategies_[index]; in GenPath() local
/ohos5.0/foundation/graphic/graphic_2d/frameworks/bootanimation/include/
H A Dboot_animation_factory.h29 std::shared_ptr<BootAnimationStrategy> strategy; in GetBootStrategy() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_symbol_span.cpp87 uint32_t strategy = 0; in SetSymbolRenderingStrategy() local
94 uint32_t strategy = 0; in SetSymbolEffect() local
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
H A Dstrategy_factory.cpp25 std::shared_ptr<CloudSyncStrategy> strategy; in BuildSyncStrategy() local
/ohos5.0/base/update/updater/test/unittest/test_data/ui/strategy/
H A Dstrategy_invalid.json2 "strategy" : { object
/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()
/ohos5.0/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/include/
H A Diplugin_manager.h37 ExecuteStrategy strategy) in AddExtensionPlugin()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/session/
H A Daudio_session.cpp25 AudioSession::AudioSession(const int32_t callerPid, const AudioSessionStrategy &strategy, in AudioSession()
66 void AudioSession::SetSessionStrategy(const AudioSessionStrategy strategy) in SetSessionStrategy()
/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()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/ohaudio/
H A DOHAudioSessionManager.cpp62 OH_AudioSessionManager *audioSessionManager, const OH_AudioSession_Strategy *strategy) in OH_AudioSessionManager_ActivateAudioSession()
127 …udioCommon_Result OHAudioSessionManager::ActivateAudioSession(const AudioSessionStrategy &strategy) in ActivateAudioSession()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/example/
H A Doh_audio_session_manager_test.cpp65 OH_AudioSession_Strategy strategy; variable
172 void SessionNdkTest::ActivateAudioSession(OH_AudioSession_Strategy strategy) in ActivateAudioSession()
207 OH_AudioSession_Strategy strategy) in RegisterAndActive()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/include/
H A Djs_strategy_context.h32 Strategy strategy; member
/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()

12345678910