/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/ |
H A D | Stream.h | 32 uint32_t strategy; /**< applicable strategy for this stream. */ member in struct:Stream::Applicable 33 uint32_t volumeProfile; /**< applicable strategy for this stream. */
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Stream.cpp | 40 * 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 D | Usage.cpp | 37 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 D | Engine.h | 102 virtual status_t addStrategy(const std::string &name, routing_strategy strategy) argument 104 return mPolicyEngine->add<routing_strategy>(name, strategy); 118 virtual bool setDeviceForStrategy(const routing_strategy &strategy, audio_devices_t devices) argument 121 strategy); 124 routing_strategy strategy) 126 return mPolicyEngine->setPropertyForKey<routing_strategy, audio_stream_type_t>(strategy, 132 virtual bool setStrategyForUsage(const audio_usage_t &usage, routing_strategy strategy) argument 134 return mPolicyEngine->setPropertyForKey<routing_strategy, audio_usage_t>(strategy, 123 setStrategyForStream(const audio_stream_type_t &stream, routing_strategy strategy) argument
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | EffectDescriptor.cpp | 56 uint32_t strategy, 69 ALOGV("registerEffect() effect %s, io %d, strategy %d session %d id %d", 70 desc->name, io, strategy, session, id); 76 effectDesc->mStrategy = static_cast<routing_strategy>(strategy); 54 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
H A D | Engine.cpp | 79 // store previous phone state for management of sonification strategy below 166 // stream to strategy mapping 181 // NOTE: SYSTEM stream uses MEDIA strategy because muting music and switching outputs 198 // usage to strategy mapping 233 audio_devices_t Engine::getDeviceForStrategy(routing_strategy strategy) const 240 return getDeviceForStrategyInt(strategy, availableOutputDevices, 246 audio_devices_t Engine::getDeviceForStrategyInt(routing_strategy strategy, argument 254 switch (strategy) { 300 // when off call, DTMF strategy follows the same rules as MEDIA strategy [all...] |
/frameworks/base/core/java/android/view/ |
H A D | VelocityTracker.java | 40 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...] |
/frameworks/base/core/jni/ |
H A D | android_text_StaticLayout.cpp | 53 // set text and set a number of parameters for creating a layout (width, tabstops, strategy, 57 jintArray variableTabStops, jint defaultTabStop, jint strategy, jint hyphenFrequency, 70 b->setStrategy(static_cast<minikin::BreakStrategy>(strategy)); 55 nSetupParagraph(JNIEnv* env, jclass, jlong nativePtr, jcharArray text, jint length, jfloat firstWidth, jint firstWidthLineLimit, jfloat restWidth, jintArray variableTabStops, jint defaultTabStop, jint strategy, jint hyphenFrequency, jboolean isJustified) argument
|
H A D | android_view_VelocityTracker.cpp | 48 explicit 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/support/compat/java/android/support/v4/content/res/ |
H A D | FontResourcesParserCompat.java | 78 public ProviderResourceEntry(@NonNull FontRequest request, @FetchStrategy int strategy, argument 81 mStrategy = strategy; 177 int strategy = array.getInteger(R.styleable.FontFamily_fontProviderFetchStrategy, 188 new FontRequest(authority, providerPackage, query, certs), strategy, timeoutMs);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Script.java | 556 private int strategy; field in class:Script.LaunchOptions
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | StorageStatsService.java | 492 CacheQuotaStrategy strategy = getInitializedStrategy(); 495 mPreviousBytes = strategy.setupQuotasFromFile(); 505 recalculateQuotas(strategy); 518 private void recalculateQuotas(CacheQuotaStrategy strategy) { argument 523 strategy.recalculateQuotas();
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | Script.java | 594 private int strategy; field in class:Script.LaunchOptions
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerTest.java | 1006 public void innerGapHandlingTest(int strategy) throws Throwable { argument 1009 mLayoutManager.setGapStrategy(strategy); 1042 if (strategy == GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS) { 1049 switch (strategy) { 1051 assertSpans("gap handling:" + Config.gapStrategyName(strategy), new int[]{100, 0}, 1216 assertEquals("on saved state, gap strategy should be preserved",
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.h | 332 uint32_t strategy() const { return mStrategy; } function in class:EffectChain 333 void setStrategy(uint32_t strategy) argument 334 { mStrategy = strategy; } 416 uint32_t mStrategy; // strategy for this effect chain
|
H A D | AudioFlinger.cpp | 3125 uint32_t strategy = 0; // prevent compiler warning local 3142 // re-registered with the new strategy and output 3150 strategy = dstChain->strategy(); 3156 strategy, 3171 strategy,
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyInterfaceImpl.cpp | 520 uint32_t strategy, 528 return mAudioPolicyManager->registerEffect(desc, io, strategy, session, id); 518 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, audio_session_t session, int id) argument
|
/frameworks/minikin/include/minikin/ |
H A D | LineBreaker.h | 148 void setStrategy(BreakStrategy strategy) { mStrategy = strategy; } argument
|
/frameworks/native/libs/input/ |
H A D | VelocityTracker.cpp | 104 // The default velocity tracker strategy. 106 // this is the strategy that applications will actually use. Be very careful 107 // when adjusting the default strategy because it can dramatically affect 111 VelocityTracker::VelocityTracker(const char* strategy) : argument 115 // Allow the default strategy to be overridden using a system property for debugging. 116 if (!strategy) { 117 int length = property_get("debug.velocitytracker.strategy", value, NULL); 119 strategy = value; 121 strategy = DEFAULT_STRATEGY; 125 // Configure the strategy 139 configureStrategy(const char* strategy) argument 144 createStrategy(const char* strategy) argument [all...] |
/frameworks/support/compat/java/android/support/v4/provider/ |
H A D | FontsContractCompat.java | 202 final TextView targetView, @FetchStrategy int strategy, int timeout, final int style) { 210 strategy == FontResourcesParserCompat.FETCH_STRATEGY_BLOCKING; 201 getFontSync(final Context context, final FontRequest request, final TextView targetView, @FetchStrategy int strategy, int timeout, final int style) argument
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioSystem.cpp | 951 uint32_t strategy, 957 return aps->registerEffect(desc, io, strategy, session, id); 949 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, audio_session_t session, int id) argument
|
H A D | IAudioPolicyService.cpp | 437 uint32_t strategy, 445 data.writeInt32(strategy); 1109 uint32_t strategy = data.readInt32(); local 1114 strategy, 435 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, audio_session_t session, int id) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GraphRunner.java | 32 * 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/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 528 // store previous phone state for management of sonification strategy below 537 // pertaining to sonification strategy see handleIncallSonification() 566 // latency of any output where either strategy is active. 613 // pertaining to sonification strategy see handleIncallSonification() 755 routing_strategy strategy = getStrategy(stream); local 756 audio_devices_t device = getDeviceForStrategy(strategy, false /*fromCache*/); 829 routing_strategy strategy = (routing_strategy) getStrategyForAttr(&attributes); local 830 audio_devices_t device = getDeviceForStrategy(strategy, false /*fromCache*/); 1267 routing_strategy strategy = getStrategy(stream); local 1268 bool shouldWait = (strategy 2206 routing_strategy strategy = getStrategy(AUDIO_STREAM_MUSIC); local 2265 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument 3107 checkStrategyRoute(routing_strategy strategy, audio_io_handle_t ouptutToSkip) argument 3246 routing_strategy strategy = (routing_strategy) getStrategyForAttr(&sourceDesc->mAttributes); local 3397 getSourceForStrategyOnOutput( audio_io_handle_t output, routing_strategy strategy) argument 4458 checkOutputForStrategy(routing_strategy strategy) argument 4795 getDeviceForStrategy(routing_strategy strategy, bool fromCache) argument 5357 setStrategyMute(routing_strategy strategy, bool on, const sp<AudioOutputDescriptor>& outputDesc, int delayMs, audio_devices_t device) argument 5540 isStrategyActive(const sp<AudioOutputDescriptor>& outputDesc, routing_strategy strategy, uint32_t inPastMs, nsecs_t sysTime) const argument [all...] |
/frameworks/rs/ |
H A D | rsDefines.h | 240 enum RsForEachStrategy strategy; member in struct:__anon2020
|