/external/droiddriver/src/com/google/android/droiddriver/util/ |
H A D | ActivityUtils.java | 27 public interface Supplier<T> { interface in class:ActivityUtils 37 private static Supplier<Activity> runningActivitySupplier; 40 * Sets the Supplier for the running (a.k.a. resumed or foreground) activity. 45 public static synchronized void setRunningActivitySupplier(Supplier<Activity> activitySupplier) {
|
/external/guava/guava/src/com/google/common/base/ |
H A D | Suppliers.java | 49 public static <F, T> Supplier<T> compose( 50 Function<? super F, T> function, Supplier<F> supplier) { 57 implements Supplier<T>, Serializable { 59 final Supplier<F> supplier; 61 SupplierComposition(Function<? super F, T> function, Supplier<F> supplier) { 85 public static <T> Supplier<T> memoize(Supplier<T> delegate) { 92 static class MemoizingSupplier<T> implements Supplier<T>, Serializable { 93 final Supplier<T> delegate; 99 MemoizingSupplier(Supplier< [all...] |
H A D | Supplier.java | 30 public interface Supplier<T> { interface
|
H A D | Optional.java | 132 public abstract T or(Supplier<? extends T> supplier); 223 @Override public T or(Supplier<? extends T> supplier) { 275 @Override public Object or(Supplier<?> supplier) { 277 "use orNull() instead of a Supplier that returns null");
|
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/ |
H A D | supplier.h | 28 class Supplier { class in namespace:i18n::addressinput 34 virtual ~Supplier() {}
|
H A D | address_validator.h | 32 class Supplier; 65 // const scoped_ptr<Supplier> supplier_; 75 AddressValidator(Supplier* supplier); 105 Supplier* const supplier_;
|
H A D | ondemand_supplier.h | 35 // An implementation of the Supplier interface that owns a Retriever object, 47 class OndemandSupplier : public Supplier {
|
H A D | preload_supplier.h | 38 // An implementation of the Supplier interface that owns a Retriever object, 51 class PreloadSupplier : public Supplier { 63 const Supplier::Callback& supplied);
|
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
H A D | validation_task.h | 49 void Run(Supplier* supplier) const; 59 const Supplier::RuleHierarchy& hierarchy); 68 void CheckUnknownValue(const Supplier::RuleHierarchy& hierarchy) const; 72 const Supplier::RuleHierarchy& hierarchy) const; 75 void CheckUsesPoBox(const Supplier::RuleHierarchy& hierarchy) const; 92 const scoped_ptr<const Supplier::Callback> supplied_;
|
H A D | address_validator.cc | 25 AddressValidator::AddressValidator(Supplier* supplier) : supplier_(supplier) {
|
H A D | ondemand_supply_task.h | 43 const Supplier::Callback& supplied); 52 Supplier::RuleHierarchy hierarchy_; 61 const Supplier::Callback& supplied_;
|
H A D | validation_task.cc | 65 void ValidationTask::Run(Supplier* supplier) const { 74 const Supplier::RuleHierarchy& hierarchy) { 157 const Supplier::RuleHierarchy& hierarchy) const { 171 const Supplier::RuleHierarchy& hierarchy) const { 220 const Supplier::RuleHierarchy& hierarchy) const {
|
/external/guava/guava-tests/test/com/google/common/base/ |
H A D | SuppliersTest.java | 45 Supplier<Integer> fiveSupplier = new Supplier<Integer>() { 60 Supplier<Integer> squareSupplier = Suppliers.compose(intValueFunction, 67 Supplier<ArrayList<Integer>> listSupplier 68 = new Supplier<ArrayList<Integer>>() { 85 Supplier<List<Integer>> addSupplier = Suppliers.compose(addElementFunction, 93 static class CountingSupplier implements Supplier<Integer>, Serializable { 105 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); 111 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); 118 Supplier<Intege [all...] |
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
H A D | CacheLoader.java | 23 import com.google.common.base.Supplier; 99 * Returns a {@code CacheLoader} which obtains values from a {@code Supplier} (independent of the 102 public static <V> CacheLoader<Object, V> from(Supplier<V> supplier) { 108 private final Supplier<V> computingSupplier; 110 public SupplierToCacheLoader(Supplier<V> computingSupplier) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | NewCustomTableTest.java | 22 import com.google.common.base.Supplier; 37 Supplier<TreeMap<Integer, Character>> factory 38 = new Supplier<TreeMap<Integer, Character>>() {
|
/external/guava/guava/src/com/google/common/cache/ |
H A D | CacheLoader.java | 25 import com.google.common.base.Supplier; 126 * Returns a {@code CacheLoader} which obtains values from a {@code Supplier} (independent of the 129 public static <V> CacheLoader<Object, V> from(Supplier<V> supplier) { 135 private final Supplier<V> computingSupplier; 137 public SupplierToCacheLoader(Supplier<V> computingSupplier) {
|
H A D | CacheBuilder.java | 31 import com.google.common.base.Supplier; 142 static final Supplier<? extends StatsCounter> NULL_STATS_COUNTER = Suppliers.ofInstance( 166 static final Supplier<SimpleStatsCounter> CACHE_STATS_COUNTER = 167 new Supplier<SimpleStatsCounter>() { 222 Supplier<? extends StatsCounter> statsCounterSupplier = CACHE_STATS_COUNTER; 720 Supplier<? extends StatsCounter> getStatsCounterSupplier() {
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
H A D | hb-ot-layout-gsub-table.hh | 89 Supplier<GlyphID> &glyphs, 165 Supplier<GlyphID> &glyphs, 166 Supplier<GlyphID> &substitutes, 196 Supplier<GlyphID> &glyphs, 197 Supplier<GlyphID> &substitutes, 306 Supplier<GlyphID> &glyphs, 370 Supplier<GlyphID> &glyphs, 371 Supplier<unsigned int> &substitute_len_list, 373 Supplier<GlyphID> &substitute_glyphs_list) 407 Supplier<GlyphI [all...] |
H A D | hb-ot-shape-complex-arabic-fallback.hh | 82 OT::Supplier<OT::GlyphID> glyphs_supplier (glyphs, num_glyphs); 83 OT::Supplier<OT::GlyphID> substitutes_supplier (substitutes, num_glyphs); 158 OT::Supplier<OT::GlyphID> first_glyphs_supplier (first_glyphs, num_first_glyphs); 159 OT::Supplier<unsigned int > ligature_per_first_glyph_count_supplier (ligature_per_first_glyph_count_list, num_first_glyphs); 160 OT::Supplier<OT::GlyphID> ligatures_supplier (ligature_list, num_ligatures); 161 OT::Supplier<unsigned int > component_count_supplier (component_count_list, num_ligatures); 162 OT::Supplier<OT::GlyphID> component_supplier (component_list, num_ligatures);
|
/external/harfbuzz_ng/src/ |
H A D | hb-ot-layout-gsub-table.hh | 89 Supplier<GlyphID> &glyphs, 165 Supplier<GlyphID> &glyphs, 166 Supplier<GlyphID> &substitutes, 196 Supplier<GlyphID> &glyphs, 197 Supplier<GlyphID> &substitutes, 306 Supplier<GlyphID> &glyphs, 370 Supplier<GlyphID> &glyphs, 371 Supplier<unsigned int> &substitute_len_list, 373 Supplier<GlyphID> &substitute_glyphs_list) 407 Supplier<GlyphI [all...] |
H A D | hb-ot-shape-complex-arabic-fallback.hh | 87 OT::Supplier<OT::GlyphID> glyphs_supplier (glyphs, num_glyphs); 88 OT::Supplier<OT::GlyphID> substitutes_supplier (substitutes, num_glyphs); 160 OT::Supplier<OT::GlyphID> first_glyphs_supplier (first_glyphs, num_first_glyphs); 161 OT::Supplier<unsigned int > ligature_per_first_glyph_count_supplier (ligature_per_first_glyph_count_list, num_first_glyphs); 162 OT::Supplier<OT::GlyphID> ligatures_supplier (ligature_list, num_ligatures); 163 OT::Supplier<unsigned int > component_count_supplier (component_count_list, num_ligatures); 164 OT::Supplier<OT::GlyphID> component_supplier (component_list, num_ligatures);
|
/external/chromium_org/third_party/libaddressinput/src/cpp/test/ |
H A D | supplier_test.cc | 62 using i18n::addressinput::Supplier; 69 const Supplier::Callback& supplied) = 0; 77 const Supplier::Callback& supplied) { 94 const Supplier::Callback& supplied) { 136 const Supplier::RuleHierarchy& hierarchy) { 145 const scoped_ptr<const Supplier::Callback> supplied_;
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | HashBasedTable.java | 23 import com.google.common.base.Supplier; 56 implements Supplier<Map<C, V>>, Serializable {
|
H A D | StandardRowSortedTable.java | 22 import com.google.common.base.Supplier; 58 Supplier<? extends Map<C, V>> factory) {
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
H A D | ClassProto.java | 35 import com.google.common.base.Supplier; 87 @Nonnull private final Supplier<ClassDef> classDefSupplier = Suppliers.memoize(new Supplier<ClassDef>() { 125 private final Supplier<LinkedHashMap<String, ClassDef>> interfacesSupplier = 126 Suppliers.memoize(new Supplier<LinkedHashMap<String, ClassDef>>() { 361 @Nonnull private final Supplier<SparseArray<FieldReference>> instanceFieldsSupplier = 362 Suppliers.memoize(new Supplier<SparseArray<FieldReference>>() { 569 @Nonnull private final Supplier<List<Method>> vtableSupplier = Suppliers.memoize(new Supplier<List<Method>>() {
|