Home
last modified time | relevance | path

Searched refs:strategy (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DNonDefaultDeviceForStrategyTest.java84 for (AudioProductStrategy strategy : mStrategies) { in setUp()
85 if (strategy.supportsAudioAttributes(MEDIA_ATTR)) { in setUp()
86 mStrategyForMedia = strategy; in setUp()
92 for (AudioProductStrategy strategy : mStrategies) { in setUp()
93 if (strategy.supportsAudioAttributes(COMMUNICATION_ATTR)) { in setUp()
94 mStrategyForPhone = strategy; in setUp()
149 for (AudioProductStrategy strategy : mStrategies) { in testInvalidStrategy()
150 maxId = Math.max(maxId, strategy.getId()); in testInvalidStrategy()
284 public void onNonDefaultDevicesForStrategyChanged(AudioProductStrategy strategy, in onNonDefaultDevicesForStrategyChanged() argument
286 mReceivedStrategy = strategy; in onNonDefaultDevicesForStrategyChanged()
DAudioManagerTest.java2116 public void onPreferredDevicesForStrategyChanged(AudioProductStrategy strategy, in onPreferredDevicesForStrategyChanged() argument
2137 for (AudioProductStrategy strategy : strategies) { in testPreferredDevicesForStrategy()
2138 if (strategy.supportsAudioAttributes(mediaAttr)) { in testPreferredDevicesForStrategy()
2139 strategyForMedia = strategy; in testPreferredDevicesForStrategy()
/cts/tests/tests/uidmigration/src/android/uidmigration/cts/
DCommon.kt69 inline fun withStrategy(strategy: Int? = null, body: () -> Unit) { in withStrategy()
76 strategy?.let { migrationStrategy = it } in withStrategy()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewPrecomputedTextTest.java121 int strategy = params.getBreakStrategy(); in makeDifferentParams() local
123 strategy = strategy == Layout.BREAK_STRATEGY_SIMPLE in makeDifferentParams()
135 final Params outParams = new Builder(paint).setBreakStrategy(strategy) in makeDifferentParams()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutLineBreakingNoBreakSpanTest.kt51 fun buildLayout(text: CharSequence, width: Int, strategy: Int): Layout { in buildLayout()
53 .setBreakStrategy(strategy) in buildLayout()
DBoringLayoutTest.java413 LayoutParam(int strategy, int frequency, TextPaint paint, TextDirectionHeuristic dir) { in LayoutParam() argument
414 mStrategy = strategy; in LayoutParam()
DStaticLayoutTest.java1384 LayoutParam(int strategy, int frequency, TextPaint paint, TextDirectionHeuristic dir) {
1385 mStrategy = strategy;