Searched refs:getter (Results 1 – 6 of 6) sorted by relevance
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/settings/ |
D | SettingsSession.java | 91 public SettingsSession(final Uri uri, final SettingsGetter<T> getter, in SettingsSession() argument 94 mGetter = getter; in SettingsSession() 99 initialValue = get(uri, getter); in SettingsSession() 114 public static <T> TestRule overrideForTest(final Uri uri, final SettingsGetter<T> getter, in overrideForTest() argument 117 SettingsSession<T> session = new SettingsSession<>(uri, getter, setter); in overrideForTest() 162 private static <T> T get(final Uri uri, final SettingsGetter<T> getter) in get() argument 164 return getter.get(getContentResolver(), uri.getLastPathSegment()); in get()
|
/cts/hostsidetests/tv/src/com/android/cts/tv/ |
D | TvInputManagerServiceHostTest.java | 194 private final Function<T, Object> getter; field in TvInputManagerServiceHostTest.CorrespondenceFieldChainBuilder.GetterName 197 private GetterName(Function<T, Object> getter, String name) { in GetterName() argument 198 this.getter = getter; in GetterName() 203 return getter.apply(actual).equals(getter.apply(expected)); in isEqual() 210 name, getter.apply(expected), in diff() 211 getter.apply(actual)); in diff() 222 CorrespondenceFieldChainBuilder<T> addField(Function<T, Object> getter, String name) { in addField() argument 223 getterNames.add(new GetterName(getter, name)); in addField()
|
/cts/tests/tests/companion/multidevice/client/ |
D | proguard.flags | 22 # part of optimization. This lets proguard inline trivial getter/setter
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowInsetsAnimationTestBase.java | 161 private <T, V> void assertListElements(ArrayList<T> list, Function<T, V> getter, in assertListElements() argument 164 V value = getter.apply(list.get(i)); in assertListElements() 170 private <T, V> void assertListElements(ArrayList<T> list, Function<T, V> getter, in assertListElements() argument 173 V current = getter.apply(list.get(i)); in assertListElements() 174 V next = getter.apply(list.get(i + 1)); in assertListElements()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/batterystats/ |
D | BatteryUsageStatsTests.java | 87 Function<AtomsProto.Atom, BatteryUsageStatsAtomsProto> getter) throws Exception { in runBatteryUsageStatsAtomTest() argument 109 final BatteryUsageStatsAtomsProto batteryUsageStats = getter.apply(atom); in runBatteryUsageStatsAtomTest()
|
/cts/common/device-side/bedstead/testapisreflection/src/processor/main/java/com/android/bedstead/testapisreflection/processor/ |
D | Processor.java | 350 .getter(FunSpec.getterBuilder() in generateGetterProperty()
|