/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/ |
D | InspectablePropertyProcessor.java | 175 @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 …]
|
D | InspectableClassModel.java | 181 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/ |
D | ClientManager.cpp | 96 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 …]
|
D | Accessor.cpp | 31 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()
|
D | BufferPoolClient.h | 50 explicit BufferPoolClient(const sp<Accessor> &accessor); 58 explicit BufferPoolClient(const sp<IAccessor> &accessor); 72 ResultStatus getAccessor(sp<IAccessor> *accessor);
|
D | BufferPoolClient.cpp | 39 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 …]
|
D | Connection.cpp | 63 const sp<Accessor>& accessor, ConnectionId connectionId) { in initialize() argument 65 mAccessor = accessor; in initialize()
|
D | Connection.h | 84 void initialize(const sp<Accessor> &accessor, ConnectionId connectionId);
|
D | Accessor.h | 55 void add(int64_t connectionId, const sp<Accessor> &accessor);
|
D | AccessorImpl.h | 43 const sp<Accessor> &accessor, sp<Connection> *connection,
|
/frameworks/av/media/module/bufferpool/2.0/ |
D | ClientManager.cpp | 98 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 …]
|
D | Accessor.cpp | 31 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()
|
D | BufferPoolClient.h | 52 explicit BufferPoolClient(const sp<Accessor> &accessor, 61 explicit BufferPoolClient(const sp<IAccessor> &accessor, 76 ResultStatus getAccessor(sp<IAccessor> *accessor);
|
D | BufferPoolClient.cpp | 41 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 …]
|
D | Connection.cpp | 63 const sp<Accessor>& accessor, ConnectionId connectionId) { in initialize() argument 65 mAccessor = accessor; in initialize()
|
D | Connection.h | 89 void initialize(const sp<Accessor> &accessor, ConnectionId connectionId);
|
D | Accessor.h | 56 void add(int64_t connectionId, const sp<Accessor> &accessor);
|
D | AccessorImpl.cpp | 160 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()
|
D | AccessorImpl.h | 46 const sp<Accessor> &accessor, const sp<IObserver> &observer,
|
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/async/ |
D | CircularByteBufferTest.java | 78 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/ |
D | BlobMetadata.java | 238 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/ |
D | SensorList.h | 102 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/ |
D | FaceSettingsRepositoryImplTest.kt | 101 for ((setting, accessor) in intAsBooleanSettings) { in <lambda>() constant 116 assertThat(accessor()).isEqualTo(value) in <lambda>()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 5540 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/ |
D | C2BufferPriv.h | 122 bool getAccessor(android::sp<android::hardware::media::bufferpool::V2_0::IAccessor> *accessor);
|