Home
last modified time | relevance | path

Searched refs:accessor (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectablePropertyProcessor.java175 @NonNull Element accessor, in buildProperty()
179 .typedValueByName("name", String.class, accessor, annotation); in buildProperty()
181 validateModifiers(accessor); in buildProperty()
183 switch (accessor.getKind()) { in buildProperty()
186 nameFromAnnotation.orElseGet(() -> accessor.getSimpleName().toString()), in buildProperty()
187 Accessor.ofField(accessor.getSimpleName().toString()), in buildProperty()
188 determinePropertyType(accessor, annotation)); in buildProperty()
191 final ExecutableElement getter = ensureGetter(accessor); in buildProperty()
202 accessor.getKind() in buildProperty()
204 accessor, in buildProperty()
[all …]
DInspectableClassModel.java181 public Property(@NonNull String name, @NonNull Accessor accessor, @NonNull Type type) { in Property() argument
183 mAccessor = Objects.requireNonNull(accessor, "Accessor must not be null"); in Property()
/frameworks/av/media/bufferpool/1.0/
DClientManager.cpp96 ResultStatus registerSender(const sp<IAccessor> &accessor,
127 sp<IAccessor> *accessor);
162 const sp<IAccessor> &accessor, ConnectionId *pConnectionId) { in registerSender() argument
169 if (sAccessor && interfacesEqual(sAccessor, accessor)) { in registerSender()
188 std::make_shared<BufferPoolClient>(accessor); in registerSender()
198 mCache.mClients.push_back(std::make_pair(accessor, wclient)); in registerSender()
223 sp<IAccessor> accessor; in registerSender() local
231 it->second->getAccessor(&accessor); in registerSender()
235 if (accessor) { in registerSender()
237 accessor, in registerSender()
[all …]
DAccessor.cpp31 const sp<Accessor> &accessor) { in add() argument
34 mAccessors.insert(std::make_pair(connectionId, accessor)); in add()
95 sp<Accessor> accessor; in serviceDied() local
97 accessor = it->second.promote(); in serviceDied()
99 if (accessor) { in serviceDied()
100 accessor->close(it->first); in serviceDied()
169 sp<Accessor> accessor(this); in connect() local
170 sConnectionDeathRecipient->add(*pConnectionId, accessor); in connect()
DBufferPoolClient.cpp39 explicit Impl(const sp<Accessor> &accessor);
41 explicit Impl(const sp<IAccessor> &accessor);
247 BufferPoolClient::Impl::Impl(const sp<Accessor> &accessor) in Impl() argument
248 : mLocal(true), mValid(false), mAccessor(accessor), mSeqId(0), in Impl()
251 ResultStatus status = accessor->connect( in Impl()
261 BufferPoolClient::Impl::Impl(const sp<IAccessor> &accessor) in Impl() argument
262 : mLocal(false), mValid(false), mAccessor(accessor), mSeqId(0), in Impl()
269 Return<void> transResult = accessor->connect( in Impl()
632 BufferPoolClient::BufferPoolClient(const sp<Accessor> &accessor) { in BufferPoolClient() argument
633 mImpl = std::make_shared<Impl>(accessor); in BufferPoolClient()
[all …]
DBufferPoolClient.h50 explicit BufferPoolClient(const sp<Accessor> &accessor);
58 explicit BufferPoolClient(const sp<IAccessor> &accessor);
72 ResultStatus getAccessor(sp<IAccessor> *accessor);
DConnection.cpp63 const sp<Accessor>& accessor, ConnectionId connectionId) { in initialize() argument
65 mAccessor = accessor; in initialize()
DConnection.h84 void initialize(const sp<Accessor> &accessor, ConnectionId connectionId);
DAccessor.h55 void add(int64_t connectionId, const sp<Accessor> &accessor);
DAccessorImpl.h43 const sp<Accessor> &accessor, sp<Connection> *connection,
DAccessorImpl.cpp141 const sp<Accessor> &accessor, sp<Connection> *connection, in connect() argument
151 newConnection->initialize(accessor, id); in connect()
/frameworks/av/media/bufferpool/2.0/
DClientManager.cpp98 ResultStatus registerSender(const sp<IAccessor> &accessor,
131 sp<IAccessor> *accessor);
169 const sp<IAccessor> &accessor, ConnectionId *pConnectionId) { in registerSender() argument
176 if (sAccessor && interfacesEqual(sAccessor, accessor)) { in registerSender()
195 std::make_shared<BufferPoolClient>(accessor, mObserver); in registerSender()
205 mCache.mClients.push_back(std::make_pair(accessor, wclient)); in registerSender()
231 sp<IAccessor> accessor; in registerSender() local
239 it->second->getAccessor(&accessor); in registerSender()
243 if (accessor) { in registerSender()
245 accessor, in registerSender()
[all …]
DAccessor.cpp31 const sp<Accessor> &accessor) { in add() argument
34 mAccessors.insert(std::make_pair(connectionId, accessor)); in add()
95 sp<Accessor> accessor; in serviceDied() local
97 accessor = it->second.promote(); in serviceDied()
99 if (accessor) { in serviceDied()
100 accessor->close(it->first); in serviceDied()
194 sp<Accessor> accessor(this); in connect() local
195 sConnectionDeathRecipient->add(*pConnectionId, accessor); in connect()
DBufferPoolClient.h52 explicit BufferPoolClient(const sp<Accessor> &accessor,
61 explicit BufferPoolClient(const sp<IAccessor> &accessor,
76 ResultStatus getAccessor(sp<IAccessor> *accessor);
DBufferPoolClient.cpp39 explicit Impl(const sp<Accessor> &accessor, const sp<IObserver> &observer);
41 explicit Impl(const sp<IAccessor> &accessor, const sp<IObserver> &observer);
262 BufferPoolClient::Impl::Impl(const sp<Accessor> &accessor, const sp<IObserver> &observer) in Impl() argument
263 : mLocal(true), mValid(false), mAccessor(accessor), mSeqId(0), in Impl()
267 ResultStatus status = accessor->connect( in Impl()
283 BufferPoolClient::Impl::Impl(const sp<IAccessor> &accessor, const sp<IObserver> &observer) in Impl() argument
284 : mLocal(false), mValid(false), mAccessor(accessor), mSeqId(0), in Impl()
294 Return<void> transResult = accessor->connect( in Impl()
772 BufferPoolClient::BufferPoolClient(const sp<Accessor> &accessor, in BufferPoolClient() argument
774 mImpl = std::make_shared<Impl>(accessor, observer); in BufferPoolClient()
[all …]
DConnection.cpp63 const sp<Accessor>& accessor, ConnectionId connectionId) { in initialize() argument
65 mAccessor = accessor; in initialize()
DConnection.h89 void initialize(const sp<Accessor> &accessor, ConnectionId connectionId);
DAccessor.h56 void add(int64_t connectionId, const sp<Accessor> &accessor);
DAccessorImpl.h45 const sp<Accessor> &accessor, const sp<IObserver> &observer,
DAccessorImpl.cpp148 const sp<Accessor> &accessor, const sp<IObserver> &observer, in connect() argument
162 newConnection->initialize(accessor, id); in connect()
/frameworks/native/services/sensorservice/
DSensorList.h100 T getOne(int handle, const TF& accessor, T def = T()) const;
125 T SensorList::getOne(int handle, const TF& accessor, T def) const { in getOne() argument
129 return accessor(i->second); in getOne()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5387 Accessor* accessor, in stringToValue() argument
5392 bool localizationSetting = accessor != NULL && accessor->getLocalizationSetting(); in stringToValue()
5445 } else if (accessor && accessor->getAttributeType(attrID, &attrType)) { in stringToValue()
5450 accessor->getAttributeMin(attrID, &attrMin); in stringToValue()
5451 accessor->getAttributeMax(attrID, &attrMax); in stringToValue()
5454 l10nReq = accessor->getAttributeL10N(attrID); in stringToValue()
5502 if (accessor != NULL) { in stringToValue()
5503 accessor->reportError(accessorCookie, errorMsg); in stringToValue()
5513 if (accessor == NULL || accessor->getAssetsPackage() != package) { in stringToValue()
5515 if (accessor != NULL) { in stringToValue()
[all …]
/frameworks/av/media/codec2/vndk/include/
DC2BufferPriv.h115 bool getAccessor(android::sp<android::hardware::media::bufferpool::V2_0::IAccessor> *accessor);
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h2011 Accessor* accessor = NULL,
/frameworks/base/tools/aapt2/
DResources.proto120 // the private accessor). If two R.java files are generated (private + public), the resource