Home
last modified time | relevance | path

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

12

/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/module/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.h50 explicit BufferPoolClient(const sp<Accessor> &accessor);
58 explicit BufferPoolClient(const sp<IAccessor> &accessor);
72 ResultStatus getAccessor(sp<IAccessor> *accessor);
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 …]
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,
/frameworks/av/media/module/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()
198 sp<Accessor> accessor(this); in connect() local
199 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.cpp41 explicit Impl(const sp<Accessor> &accessor, const sp<IObserver> &observer);
43 explicit Impl(const sp<IAccessor> &accessor, const sp<IObserver> &observer);
268 BufferPoolClient::Impl::Impl(const sp<Accessor> &accessor, const sp<IObserver> &observer) in Impl() argument
269 : mLocal(true), mValid(false), mAccessor(accessor), mSeqId(0), in Impl()
273 ResultStatus status = accessor->connect( in Impl()
289 BufferPoolClient::Impl::Impl(const sp<IAccessor> &accessor, const sp<IObserver> &observer) in Impl() argument
290 : mLocal(false), mValid(false), mAccessor(accessor), mSeqId(0), in Impl()
300 Return<void> transResult = accessor->connect( in Impl()
780 BufferPoolClient::BufferPoolClient(const sp<Accessor> &accessor, in BufferPoolClient() argument
782 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.cpp160 const sp<Accessor> &accessor, const sp<IObserver> &observer, in connect() argument
175 newConnection->initialize(accessor, id); in connect()
933 const std::shared_ptr<Accessor::Impl> accessor = it->lock(); in evictorThread() local
934 if (accessor) { in evictorThread()
935 accessor->cleanUp(true); in evictorThread()
DAccessorImpl.h46 const sp<Accessor> &accessor, const sp<IObserver> &observer,
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/async/
DCircularByteBufferTest.java78 private void doTestReadWriteWithFullBuffer(BufferAccessor accessor) { in doTestReadWriteWithFullBuffer() argument
79 CircularByteBuffer buffer = doTestReadWrite(accessor, 20, 5, 4); in doTestReadWriteWithFullBuffer()
85 private void doTestReadWriteWithRollover(BufferAccessor accessor) { in doTestReadWriteWithRollover() argument
88 CircularByteBuffer buffer = doTestReadWrite(accessor, 31, 13, 7); in doTestReadWriteWithRollover()
93 private CircularByteBuffer doTestReadWrite(BufferAccessor accessor, in doTestReadWrite() argument
114 accessor.writeBytes(buffer, writeBuffer, 1, writeLen); in doTestReadWrite()
132 accessor.readBytes(buffer, readBuffer, 1, readLen); in doTestReadWrite()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobMetadata.java238 final Accessor accessor = entry.getKey(); in removeDataForUser()
240 if (userId != UserHandle.getUserId(accessor.uid)) { in removeDataForUser()
410 final Accessor accessor = accessors.valueAt(i); in getAccessor() local
412 && accessor.equals(packageName, uid)) { in getAccessor()
413 return (T) accessor; in getAccessor()
414 } else if (packageName != null && accessor.packageName.equals(packageName) in getAccessor()
415 && userId == UserHandle.getUserId(accessor.uid)) { in getAccessor()
416 return (T) accessor; in getAccessor()
417 } else if (uid != INVALID_UID && accessor.uid == uid) { in getAccessor()
418 return (T) accessor; in getAccessor()
[all …]
/frameworks/native/services/sensorservice/
DSensorList.h102 T getOne(int handle, const TF& accessor, T def = T()) const;
127 T SensorList::getOne(int handle, const TF& accessor, T def) const { in getOne() argument
131 return accessor(i->second); in getOne()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DFaceSettingsRepositoryImplTest.kt101 for ((setting, accessor) in intAsBooleanSettings) { in <lambda>() constant
116 assertThat(accessor()).isEqualTo(value) in <lambda>()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5540 Accessor* accessor, in stringToValue() argument
5545 bool localizationSetting = accessor != NULL && accessor->getLocalizationSetting(); in stringToValue()
5598 } else if (accessor && accessor->getAttributeType(attrID, &attrType)) { in stringToValue()
5603 accessor->getAttributeMin(attrID, &attrMin); in stringToValue()
5604 accessor->getAttributeMax(attrID, &attrMax); in stringToValue()
5607 l10nReq = accessor->getAttributeL10N(attrID); in stringToValue()
5655 if (accessor != NULL) { in stringToValue()
5656 accessor->reportError(accessorCookie, errorMsg); in stringToValue()
5666 if (accessor == NULL || accessor->getAssetsPackage() != package) { in stringToValue()
5668 if (accessor != NULL) { in stringToValue()
[all …]
/frameworks/av/media/codec2/vndk/include/
DC2BufferPriv.h122 bool getAccessor(android::sp<android::hardware::media::bufferpool::V2_0::IAccessor> *accessor);

12