Searched defs:strategy (Results 1 - 24 of 24) sorted by relevance

/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DUsage.cpp37 status_t Element<audio_usage_t>::set<routing_strategy>(routing_strategy strategy) argument
39 if (strategy >= NUM_STRATEGIES) {
42 ALOGD("%s: %d for Usage %s", __FUNCTION__, strategy, getName().c_str());
43 mApplicableStrategy = strategy;
H A DStream.cpp40 * Set the strategy to follow for this stream.
41 * It checks if the strategy is valid.
43 * @param[in] strategy to be followed.
45 * @return NO_ERROR if the strategy is set correctly, error code otherwise.
48 status_t Element<audio_stream_type_t>::set<routing_strategy>(routing_strategy strategy) argument
50 if (strategy >= NUM_STRATEGIES) {
53 mApplicableStrategy = strategy;
54 ALOGD("%s: 0x%X for Stream %s", __FUNCTION__, strategy, getName().c_str());
H A DEngine.h117 virtual status_t addStrategy(const std::string &name, routing_strategy strategy) argument
119 return mPolicyEngine->add<routing_strategy>(name, strategy);
133 virtual bool setDeviceForStrategy(const routing_strategy &strategy, audio_devices_t devices) argument
136 strategy);
139 routing_strategy strategy)
141 return mPolicyEngine->setPropertyForKey<routing_strategy, audio_stream_type_t>(strategy,
151 virtual bool setStrategyForUsage(const audio_usage_t &usage, routing_strategy strategy) argument
153 return mPolicyEngine->setPropertyForKey<routing_strategy, audio_usage_t>(strategy,
138 setStrategyForStream(const audio_stream_type_t &stream, routing_strategy strategy) argument
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DEffectDescriptor.cpp55 uint32_t strategy,
65 ALOGV("registerEffect() effect %s, io %d, strategy %d session %d id %d",
66 desc->name, io, strategy, session, id);
72 effectDesc->mStrategy = static_cast<routing_strategy>(strategy);
53 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
/frameworks/base/core/java/android/view/
H A DVelocityTracker.java40 private static native long nativeInitialize(String strategy); argument
63 * Obtains a velocity tracker with the specified strategy.
66 * @param strategy The strategy, or null to use the default.
71 public static VelocityTracker obtain(String strategy) { argument
72 if (strategy == null) {
75 return new VelocityTracker(strategy);
89 private VelocityTracker(String strategy) { argument
90 mPtr = nativeInitialize(strategy);
91 mStrategy = strategy;
[all...]
H A DViewGroup.java7614 // strategy breaks transitivity but produces very good results. Coming
7615 // up with a new strategy requires time which we do not have, so ...
7668 public static void setComparisonStrategy(int strategy) { argument
7669 sComparisonStrategy = strategy;
/frameworks/base/core/jni/
H A Dandroid_text_StaticLayout.cpp51 // set text and set a number of parameters for creating a layout (width, tabstops, strategy,
55 jintArray variableTabStops, jint defaultTabStop, jint strategy, jint hyphenFrequency) {
67 b->setStrategy(static_cast<BreakStrategy>(strategy));
53 nSetupParagraph(JNIEnv* env, jclass, jlong nativePtr, jcharArray text, jint length, jfloat firstWidth, jint firstWidthLineLimit, jfloat restWidth, jintArray variableTabStops, jint defaultTabStop, jint strategy, jint hyphenFrequency) argument
H A Dandroid_view_VelocityTracker.cpp48 VelocityTrackerState(const char* strategy);
67 VelocityTrackerState::VelocityTrackerState(const char* strategy) : argument
68 mVelocityTracker(strategy), mActivePointerId(-1) {
145 ScopedUtfChars strategy(env, strategyStr);
146 return reinterpret_cast<jlong>(new VelocityTrackerState(strategy.c_str()));
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImplLegacy.cpp429 uint32_t strategy,
436 return mpAudioPolicy->register_effect(mpAudioPolicy, desc, io, strategy, session, id);
427 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
H A DAudioPolicyInterfaceImpl.cpp481 uint32_t strategy,
488 return mAudioPolicyManager->registerEffect(desc, io, strategy, session, id);
479 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
/frameworks/base/rs/java/android/renderscript/
H A DScript.java502 private int strategy; field in class:Script.LaunchOptions
/frameworks/minikin/include/minikin/
H A DLineBreaker.h149 void setStrategy(BreakStrategy strategy) { mStrategy = strategy; } argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScript.java470 private int strategy; field in class:Script.LaunchOptions
/frameworks/av/services/audioflinger/
H A DEffects.h304 uint32_t strategy() const { return mStrategy; } function in class:EffectChain
305 void setStrategy(uint32_t strategy) argument
306 { mStrategy = strategy; }
381 uint32_t mStrategy; // strategy for this effect chain
H A DAudioFlinger.cpp2740 uint32_t strategy = 0; // prevent compiler warning local
2757 // re-registered with the new strategy and output
2765 strategy = dstChain->strategy();
2771 strategy,
2786 strategy,
H A DThreads.cpp1221 lStatus = AudioSystem::registerEffect(desc, mId, chain->strategy(), sessionId, id);
1769 // all tracks in same audio session must share the same routing strategy otherwise
1772 uint32_t strategy = AudioSystem::getStrategyForStream(streamType); local
1777 if (sessionId == t->sessionId() && strategy != actual) {
1778 ALOGE("createTrack_l() mismatched strategy; expected %u but found %u",
1779 strategy, actual);
2301 // session AUDIO_SESSION_OUTPUT_MIX is placed in same strategy as MUSIC stream so that
2965 // deep buffers, and rely on a double-buffering sleep strategy to fill.
/frameworks/native/libs/input/
H A DVelocityTracker.cpp102 // The default velocity tracker strategy.
104 // this is the strategy that applications will actually use. Be very careful
105 // when adjusting the default strategy because it can dramatically affect
109 VelocityTracker::VelocityTracker(const char* strategy) : argument
113 // Allow the default strategy to be overridden using a system property for debugging.
114 if (!strategy) {
115 int length = property_get("debug.velocitytracker.strategy", value, NULL);
117 strategy = value;
119 strategy = DEFAULT_STRATEGY;
123 // Configure the strategy
137 configureStrategy(const char* strategy) argument
142 createStrategy(const char* strategy) argument
[all...]
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp420 uint32_t strategy,
428 data.writeInt32(strategy);
1034 uint32_t strategy = data.readInt32(); local
1039 strategy,
418 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
H A DAudioSystem.cpp899 uint32_t strategy,
905 return aps->registerEffect(desc, io, strategy, session, id);
897 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphRunner.java32 * The scheduling strategy determines how the filter nodes are selected
34 * strategy determines which node of this set to select for execution. For instance, an LFU
588 /** Schedule strategy: From set of candidates, pick a random one. */
590 /** Schedule strategy: From set of candidates, pick node executed least recently executed. */
592 /** Schedule strategy: From set of candidates, pick node executed least number of times. */
594 /** Schedule strategy: Schedules no node more than once. */
747 * Sets the filter scheduling strategy. This method can not be called when the GraphRunner is
750 * @param strategy a constant specifying which scheduler strategy to use.
752 * @throws IllegalArgumentException if invalid strategy i
755 setSchedulerStrategy(int strategy) argument
984 createScheduler(int strategy) argument
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerTest.java680 public void innerGapHandlingTest(int strategy) throws Throwable { argument
683 mLayoutManager.setGapStrategy(strategy);
716 if (strategy == GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS) {
723 switch (strategy) {
725 assertSpans("gap handling:" + Config.gapStrategyName(strategy), new int[]{100, 0},
1034 assertEquals("on saved state, gap strategy should be preserved",
1234 assertEquals(config + " on saved state, gap strategy should be preserved",
2305 " gap strategy: " + gapStrategyName(mGapStrategy);
2315 return "gap strategy: unknown";
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp434 // store previous phone state for management of sonification strategy below
443 // pertaining to sonification strategy see handleIncallSonification()
475 // latency of any output where either strategy is active.
522 // pertaining to sonification strategy see handleIncallSonification()
654 routing_strategy strategy = getStrategy(stream); local
655 audio_devices_t device = getDeviceForStrategy(strategy, false /*fromCache*/);
725 routing_strategy strategy = (routing_strategy) getStrategyForAttr(&attributes); local
726 audio_devices_t device = getDeviceForStrategy(strategy, false /*fromCache*/);
1112 routing_strategy strategy = getStrategy(stream); local
1113 bool shouldWait = (strategy
1833 routing_strategy strategy = getStrategy(AUDIO_STREAM_MUSIC); local
1844 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
2606 checkStrategyRoute(routing_strategy strategy, audio_io_handle_t ouptutToSkip) argument
3809 checkOutputForStrategy(routing_strategy strategy) argument
4032 routing_strategy strategy = getStrategy(stream); local
4141 getDeviceForStrategy(routing_strategy strategy, bool fromCache) argument
4676 setStrategyMute(routing_strategy strategy, bool on, const sp<AudioOutputDescriptor>& outputDesc, int delayMs, audio_devices_t device) argument
4903 isStrategyActive(const sp<AudioOutputDescriptor> outputDesc, routing_strategy strategy, uint32_t inPastMs, nsecs_t sysTime) const argument
[all...]
/frameworks/rs/
H A DrsDefines.h234 enum RsForEachStrategy strategy; member in struct:__anon1588
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 786 milliseconds