Home
last modified time | relevance | path

Searched refs:getter (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DBackupManagerServiceTestUtils.java130 doAnswer(backupEnabled.getter).when(backupManagerService).isBackupEnabled(); in setUpBackupManagerServiceBasics()
134 doAnswer(backupEnabled.getter).when(backupManagerService).isBackupRunning(); in setUpBackupManagerServiceBasics()
221 public Answer<T> getter; field in AccessorMock
224 private AccessorMock(Answer<T> getter, Answer<T> setter) { in AccessorMock() argument
225 this.getter = getter; in AccessorMock()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DDeviceConfigSession.java38 TriFunction<String, String, T, T> getter, T defaultValue) { in DeviceConfigSession() argument
41 mGetter = getter; in DeviceConfigSession()
51 mInitialValue = getter.apply(namespace, key, defaultValue); in DeviceConfigSession()
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectablePropertyProcessor.java191 final ExecutableElement getter = ensureGetter(accessor); in buildProperty() local
194 nameFromAnnotation.orElseGet(() -> inferPropertyNameFromGetter(getter)), in buildProperty()
195 Accessor.ofGetter(getter.getSimpleName().toString()), in buildProperty()
196 determinePropertyType(getter, annotation)); in buildProperty()
594 private String inferPropertyNameFromGetter(@NonNull ExecutableElement getter) { in inferPropertyNameFromGetter() argument
595 final String name = getter.getSimpleName().toString(); in inferPropertyNameFromGetter()
599 } else if (isBoolean(getter.getReturnType()) && GETTER_IS_PREFIX.matcher(name).find()) { in inferPropertyNameFromGetter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DRingerModeTrackerImpl.kt59 private val getter: () -> Int constant
81 postValue(getter()) in onActive()
/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/
DInspectionCompanionGeneratorTest.java150 private Property addProperty(String name, String getter, Property.Type type) { in addProperty() argument
151 final Property property = new Property(name, Accessor.ofGetter(getter), type); in addProperty()
/frameworks/av/media/codec2/tests/
DC2SampleComponent_test.cpp222 struct getter { struct
241 struct getter<E, true> { argument
244 return getter<u>().get(p, (u*)0); in get() argument
261 return getter<E>().get(p, (E*)0); in get()
/frameworks/native/libs/binder/ndk/
Dparcel.cpp168 ArrayGetter<T> getter, status_t (Parcel::*write)(T)) { in WriteArray() argument
178 status = (rawParcel->*write)(getter(arrayData, i)); in WriteArray()
369 AParcel_stringArrayElementGetter getter) { in AParcel_writeStringArray() argument
378 const char* str = getter(arrayData, i, &elementLength); in AParcel_writeStringArray()
592 AParcel_boolArrayGetter getter) { in AParcel_writeBoolArray() argument
593 return WriteArray<bool>(parcel, arrayData, length, getter, &Parcel::writeBool); in AParcel_writeBoolArray()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DAnimatableProperty.java154 Function<T, Float> getter, int animatorTag, int startValueTag, int endValueTag) { in from() argument
159 return getter.apply(object); in from()
/frameworks/base/libs/hwui/
DAnimator.cpp310 GetFloatProperty getter; member
338 setStartValue((mStagingTarget->stagingProperties().*mPropertyAccess->getter)()); in onAttached()
375 return (target->properties().*mPropertyAccess->getter)(); in getValue()
/frameworks/native/libs/binder/ndk/include_ndk/android/
Dbinder_parcel.h541 AParcel_stringArrayElementGetter getter)
925 AParcel_boolArrayGetter getter) __INTRODUCED_IN(29);
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceHelper.cpp194 void setGetter(std::function<std::shared_ptr<C2Param>(bool)> getter) { in setGetter() argument
195 mGetter = getter; in setGetter()
326 std::function<std::shared_ptr<C2Param>(bool)> getter) { in setGetter() argument
327 mImpl->setGetter(getter); in setGetter()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DREADME.txt17 used. If the caller is on the same thread then a getter
/frameworks/compile/slang/
DREADME.rst194 You can bind the struct(e.g., Point), using the setter and getter
217 // The getter of Item array, which gets the *index*-th element
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceHelper.h361 void setGetter(std::function<std::shared_ptr<C2Param>(bool)> getter);
/frameworks/wilhelm/doc/
DDoxyfile242 # For Microsoft's IDL there are propget and propput attributes to indicate getter
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4530 boolean parent, Function<ActiveAdmin, Integer> getter, int minimumPasswordQuality) {
4542 return admin != null ? getter.apply(admin) : 0;
4554 final Integer adminValue = getter.apply(admin);
/frameworks/native/docs/
DDoxyfile293 # getter and setter methods for a property. Setting this option to YES (the
/frameworks/av/media/libaaudio/
DDoxyfile318 # getter and setter methods for a property. Setting this option to YES will make
/frameworks/av/media/codec2/docs/
Ddoxygen.config339 # getter and setter methods for a property. Setting this option to YES will make
/frameworks/base/media/native/midi/include/
DDoxyfile348 # getter and setter methods for a property. Setting this option to YES will make