HomeSort by relevance Sort by last modified time
    Searched refs:strategy (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /libcore/dom/src/test/java/org/w3c/domts/
DocumentBuilderSetting.java 33 * strategy used to set or get property value.
35 private final DocumentBuilderSettingStrategy strategy; field in class:DocumentBuilderSetting
204 * @param strategy strategy, may not be null
209 DocumentBuilderSettingStrategy strategy) {
215 this.strategy = strategy;
232 return strategy.hasConflict(other.strategy);
241 return strategy.hasSetting(factory) == value
    [all...]
  /libcore/luni/src/test/java/tests/org/w3c/dom/
DocumentBuilderSetting.java 33 * strategy used to set or get property value.
35 private final DocumentBuilderSettingStrategy strategy; field in class:DocumentBuilderSetting
204 * @param strategy strategy, may not be null
209 DocumentBuilderSettingStrategy strategy) {
215 this.strategy = strategy;
232 return strategy.hasConflict(other.strategy);
241 return strategy.hasSetting(factory) == value
    [all...]
  /libcore/luni/src/main/java/java/util/zip/
Deflater.java 72 * The default compression strategy.
82 * A compression strategy.
87 * A compression strategy.
140 private int strategy = DEFAULT_STRATEGY; field in class:Deflater
154 * level. The strategy can be specified with {@link #setStrategy}. A
164 * level {@code level}. The strategy can be specified with {@link #setStrategy}.
179 * header. The strategy can be specified using {@link #setStrategy}.
191 streamHandle = createStream(compressLevel, strategy, noHeader);
350 * previously made settings for the compression strategy or level. This
406 setLevelsImpl(compressLevel, strategy, streamHandle)
    [all...]
  /hardware/msm7k/libaudio-qdsp5v2/
AudioPolicyManager.cpp 52 uint32_t AudioPolicyManager::getDeviceForStrategy(routing_strategy strategy, bool fromCache)
57 device = mDeviceForStrategy[strategy];
58 LOGV("getDeviceForStrategy() from cache strategy %d, device %x", strategy, device);
62 switch (strategy) {
65 // when off call, DTMF strategy follows the same rules as MEDIA strategy
73 // for phone strategy, we first consider the forced use and then the available devices by order
77 if (mPhoneState != AudioSystem::MODE_IN_CALL || strategy != STRATEGY_DTMF) {
104 // - phone strategy should route STREAM_VOICE_CALL to A2D
    [all...]
AudioPolicyManager.h 49 // return appropriate device for streams handled by the specified strategy according to current
51 virtual uint32_t getDeviceForStrategy(routing_strategy strategy, bool fromCache = true);
  /external/chromium/chrome/browser/renderer_host/
web_cache_manager.cc 88 // Revise our allocation strategy to account for this new renderer.
215 AllocationStrategy* strategy) {
216 DCHECK(strategy);
244 AddToStrategy(active_renderers_, active_tactic, active_extra, strategy);
245 AddToStrategy(inactive_renderers_, inactive_tactic, inactive_extra, strategy);
247 // We succeeded in computing an allocation strategy.
254 AllocationStrategy* strategy) {
255 DCHECK(strategy);
274 // Record the allocation in our strategy.
275 strategy->push_back(Allocation(*iter, cache_size))
357 AllocationStrategy strategy; local
    [all...]
web_cache_manager_unittest.cc 64 std::list< std::pair<int,size_t> >* strategy) {
70 strategy);
76 std::list< std::pair<int,size_t> >* strategy) {
80 strategy);
233 AllocationStrategy strategy; local
240 &strategy));
241 EXPECT_TRUE(strategy.empty());
248 &strategy));
249 EXPECT_EQ(2U, strategy.size());
251 AllocationStrategy::iterator iter = strategy.begin()
279 AllocationStrategy strategy; local
284 &strategy); local
    [all...]
web_cache_manager.h 90 // An allocation strategy is a list of allocations specifying the resources
107 // The various tactics used as part of an allocation strategy. To decide
112 // Determining a resource allocation strategy amounts to picking a tactic
136 // Helper functions for devising an allocation strategy
149 // Attempt to use the specified tactics to compute an allocation strategy
150 // and place the result in |strategy|. |active_stats| and |inactive_stats|
155 // |strategy| on failure.
160 AllocationStrategy* strategy);
163 // |tactic| and add the result to |strategy|. Any |extra_bytes_to_allocate|
168 AllocationStrategy* strategy);
    [all...]
  /hardware/msm7k/libaudio-qsd8k/
AudioPolicyManager.h 49 // return appropriate device for streams handled by the specified strategy according to current
51 virtual uint32_t getDeviceForStrategy(routing_strategy strategy, bool fromCache = true);
AudioPolicyManager.cpp 52 uint32_t AudioPolicyManager::getDeviceForStrategy(routing_strategy strategy, bool fromCache)
57 device = mDeviceForStrategy[strategy];
58 LOGV("getDeviceForStrategy() from cache strategy %d, device %x", strategy, device);
62 switch (strategy) {
65 // when off call, DTMF strategy follows the same rules as MEDIA strategy
73 // for phone strategy, we first consider the forced use and then the available devices by order
77 if (mPhoneState != AudioSystem::MODE_IN_CALL || strategy != STRATEGY_DTMF) {
104 // - phone strategy should route STREAM_VOICE_CALL to A2D
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
AndroidXmlFormatter.java 73 AndroidXmlFormattingStrategy strategy = new AndroidXmlFormattingStrategy(); local
76 strategy.formatterStarts(context);
77 strategy.format();
78 strategy.formatterStops();
  /external/emma/core/java12/com/vladium/util/
ClassLoaderResolver.java 110 * Gets the current classloader selection strategy setting.
118 * Sets the classloader selection strategy to be used by subsequent calls
122 * @param strategy new strategy [may not be null]
125 public static synchronized IClassLoadStrategy setStrategy (final IClassLoadStrategy strategy)
127 if (strategy == null) throw new IllegalArgumentException ("null input: strategy");
130 s_strategy = strategy;
  /external/guava/src/com/google/common/base/
Splitter.java 94 private final Strategy strategy; field in class:Splitter
96 private Splitter(Strategy strategy) {
97 this(strategy, false, CharMatcher.NONE);
100 private Splitter(Strategy strategy, boolean omitEmptyStrings,
102 this.strategy = strategy;
132 return new Splitter(new Strategy() {
    [all...]
  /external/guava/src/com/google/common/collect/
CustomConcurrentHashMap.java 44 * instance. Client libraries implement {@link Strategy}, and this class
74 * <p>For example, the following strategy emulates the behavior of
79 * implements CustomConcurrentHashMap.Strategy<K, V,
119 * To create a {@link java.util.concurrent.ConcurrentMap} using the strategy
197 * Creates a new concurrent hash map backed by the given strategy.
199 * @param strategy used to implement and manipulate the entries
205 * @throws NullPointerException if strategy is null
207 public <K, V, E> ConcurrentMap<K, V> buildMap(Strategy<K, V, E> strategy) {
208 if (strategy == null)
572 final Strategy<K, V, E> strategy; field in class:CustomConcurrentHashMap.Impl
1908 static final Field strategy = findField("strategy"); field in class:CustomConcurrentHashMap.Impl.Fields
1927 Strategy<K, V, E> strategy = (Strategy<K, V, E>) in.readObject(); local
    [all...]
  /external/zlib/contrib/minizip/
zip.h 229 int strategy,
246 int strategy,
254 windowBits,memLevel,,strategy : see parameter strategy in deflateInit2
272 int strategy,
293 int strategy,
  /libcore/luni/src/main/native/
java_util_zip_Deflater.cpp 40 static jlong Deflater_createStream(JNIEnv * env, jobject, jint level, jint strategy, jboolean noHeader) {
57 int err = deflateInit2(&jstream->stream, level, Z_DEFLATED, windowBits, memLevel, strategy);
123 static void Deflater_setLevelsImpl(JNIEnv* env, jobject, int level, int strategy, jlong handle) {
131 int err = deflateParams(&stream->stream, level, strategy);
  /external/kernel-headers/original/linux/
zlib.h 170 /* compression strategy; see deflateInit2() below for details */
454 int strategy);
475 The strategy parameter is used to tune the compression algorithm. Use the
482 between Z_DEFAULT and Z_HUFFMAN_ONLY. The strategy parameter only affects
541 compression state which can be quite large, so this strategy is slow and
567 extern int zlib_deflateParams (z_streamp strm, int level, int strategy);
570 Dynamically update the compression level and compression strategy. The
571 interpretation of level and strategy is as in deflateInit2. This can be
574 strategy. If the compression level is changed, the input available so far
    [all...]
  /hardware/libhardware_legacy/include/hardware_legacy/
AudioPolicyManagerBase.h 107 // return the strategy corresponding to a given stream type
116 uint32_t strategy,
160 // default volume curve for media strategy
162 // volume curve for media strategy on speakers
164 // volume curve for sonification strategy on speakers
166 // default volume curves per strategy and device category. See initializeVolumeCurves()
181 uint32_t strategyRefCount(routing_strategy strategy);
182 bool isUsedByStrategy(routing_strategy strategy) { return (strategyRefCount(strategy) != 0);}
243 routing_strategy mStrategy; // routing strategy the effect is associated t
    [all...]
  /development/ndk/platforms/android-3/include/
zlib.h 194 /* compression strategy; see deflateInit2() below for details */
485 int strategy));
517 The strategy parameter is used to tune the compression algorithm. Use the
526 Z_HUFFMAN_ONLY, but give better compression for PNG image data. The strategy
586 compression state which can be quite large, so this strategy is slow and
608 int strategy));
610 Dynamically update the compression level and compression strategy. The
611 interpretation of level and strategy is as in deflateInit2. This can be
614 strategy. If the compression level is changed, the input available so far
    [all...]
  /external/chromium/sdch/open-vcdiff/src/
zlib.h 194 /* compression strategy; see deflateInit2() below for details */
485 int strategy));
517 The strategy parameter is used to tune the compression algorithm. Use the
526 Z_HUFFMAN_ONLY, but give better compression for PNG image data. The strategy
586 compression state which can be quite large, so this strategy is slow and
608 int strategy));
610 Dynamically update the compression level and compression strategy. The
611 interpretation of level and strategy is as in deflateInit2. This can be
614 strategy. If the compression level is changed, the input available so far
    [all...]
  /external/qemu/distrib/zlib-1.2.3/
zlib.h 194 /* compression strategy; see deflateInit2() below for details */
485 int strategy));
517 The strategy parameter is used to tune the compression algorithm. Use the
526 Z_HUFFMAN_ONLY, but give better compression for PNG image data. The strategy
586 compression state which can be quite large, so this strategy is slow and
608 int strategy));
610 Dynamically update the compression level and compression strategy. The
611 interpretation of level and strategy is as in deflateInit2. This can be
614 strategy. If the compression level is changed, the input available so far
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/
zlib.h 194 /* compression strategy; see deflateInit2() below for details */
485 int strategy));
517 The strategy parameter is used to tune the compression algorithm. Use the
526 Z_HUFFMAN_ONLY, but give better compression for PNG image data. The strategy
586 compression state which can be quite large, so this strategy is slow and
608 int strategy));
610 Dynamically update the compression level and compression strategy. The
611 interpretation of level and strategy is as in deflateInit2. This can be
614 strategy. If the compression level is changed, the input available so far
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/
zlib.h 194 /* compression strategy; see deflateInit2() below for details */
485 int strategy));
517 The strategy parameter is used to tune the compression algorithm. Use the
526 Z_HUFFMAN_ONLY, but give better compression for PNG image data. The strategy
586 compression state which can be quite large, so this strategy is slow and
608 int strategy));
610 Dynamically update the compression level and compression strategy. The
611 interpretation of level and strategy is as in deflateInit2. This can be
614 strategy. If the compression level is changed, the input available so far
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/
zlib.h 194 /* compression strategy; see deflateInit2() below for details */
485 int strategy));
517 The strategy parameter is used to tune the compression algorithm. Use the
526 Z_HUFFMAN_ONLY, but give better compression for PNG image data. The strategy
586 compression state which can be quite large, so this strategy is slow and
608 int strategy));
610 Dynamically update the compression level and compression strategy. The
611 interpretation of level and strategy is as in deflateInit2. This can be
614 strategy. If the compression level is changed, the input available so far
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/
zlib.h 194 /* compression strategy; see deflateInit2() below for details */
485 int strategy));
517 The strategy parameter is used to tune the compression algorithm. Use the
526 Z_HUFFMAN_ONLY, but give better compression for PNG image data. The strategy
586 compression state which can be quite large, so this strategy is slow and
608 int strategy));
610 Dynamically update the compression level and compression strategy. The
611 interpretation of level and strategy is as in deflateInit2. This can be
614 strategy. If the compression level is changed, the input available so far
    [all...]

Completed in 6269 milliseconds

1 2 3 4 5