Home
last modified time | relevance | path

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

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs48 …Assert.AreEqual(message.SingleBool, fields[TestAllTypes.SingleBoolFieldNumber].Accessor.GetValue(m… in GetValue()
49 …eEqual(message.SingleBytes, fields[TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue(message)… in GetValue()
50 …qual(message.SingleDouble, fields[TestAllTypes.SingleDoubleFieldNumber].Accessor.GetValue(message)… in GetValue()
51 …al(message.SingleFixed32, fields[TestAllTypes.SingleFixed32FieldNumber].Accessor.GetValue(message)… in GetValue()
52 …al(message.SingleFixed64, fields[TestAllTypes.SingleFixed64FieldNumber].Accessor.GetValue(message)… in GetValue()
53 …eEqual(message.SingleFloat, fields[TestAllTypes.SingleFloatFieldNumber].Accessor.GetValue(message)… in GetValue()
54 …ge.SingleForeignEnum, fields[TestAllTypes.SingleForeignEnumFieldNumber].Accessor.GetValue(message)… in GetValue()
55 …gleForeignMessage, fields[TestAllTypes.SingleForeignMessageFieldNumber].Accessor.GetValue(message)… in GetValue()
56 …sage.SingleImportEnum, fields[TestAllTypes.SingleImportEnumFieldNumber].Accessor.GetValue(message)… in GetValue()
57 …ingleImportMessage, fields[TestAllTypes.SingleImportMessageFieldNumber].Accessor.GetValue(message)… in GetValue()
[all …]
/frameworks/av/media/bufferpool/2.0/
DAccessor.cpp31 const sp<Accessor> &accessor) { in add()
76 std::map<int64_t, const wp<Accessor>> connectionsToClose; in serviceDied()
95 sp<Accessor> accessor; in serviceDied()
112 sp<ConnectionDeathRecipient> Accessor::getConnectionDeathRecipient() { in getConnectionDeathRecipient()
116 void Accessor::createInvalidator() { in createInvalidator()
117 Accessor::Impl::createInvalidator(); in createInvalidator()
121 Return<void> Accessor::connect( in connect()
146 Accessor::Accessor(const std::shared_ptr<BufferPoolAllocator> &allocator) in Accessor() function in android::hardware::media::bufferpool::V2_0::implementation::Accessor
149 Accessor::~Accessor() { in ~Accessor()
152 bool Accessor::isValid() { in isValid()
[all …]
DAccessorImpl.cpp137 int32_t Accessor::Impl::sPid = getpid();
138 uint32_t Accessor::Impl::sSeqId = time(nullptr);
140 Accessor::Impl::Impl( in Impl()
144 Accessor::Impl::~Impl() { in ~Impl()
147 ResultStatus Accessor::Impl::connect( in connect()
148 const sp<Accessor> &accessor, const sp<IObserver> &observer, in connect()
178 ResultStatus Accessor::Impl::close(ConnectionId connectionId) { in close()
191 ResultStatus Accessor::Impl::allocate( in allocate()
217 ResultStatus Accessor::Impl::fetch( in fetch()
242 void Accessor::Impl::cleanUp(bool clearCache) { in cleanUp()
[all …]
DAccessorImpl.h37 class Accessor::Impl
38 : public std::enable_shared_from_this<Accessor::Impl> {
45 const sp<Accessor> &accessor, const sp<IObserver> &observer,
123 const std::weak_ptr<Accessor::Impl> mImpl;
125 const std::shared_ptr<Accessor::Impl> &impl) in Pending()
159 const std::shared_ptr<Accessor::Impl> &impl);
239 const std::shared_ptr<Accessor::Impl> &impl);
369 void flush(const std::shared_ptr<Accessor::Impl> &impl);
371 friend class Accessor::Impl;
375 std::map<uint32_t, const std::weak_ptr<Accessor::Impl>> mAccessors;
[all …]
DAccessor.h44 struct Accessor;
56 void add(int64_t connectionId, const sp<Accessor> &accessor);
74 std::map<int64_t, const wp<Accessor>> mAccessors;
81 struct Accessor : public IAccessor { struct
90 explicit Accessor(const std::shared_ptr<BufferPoolAllocator> &allocator);
93 ~Accessor();
DConnection.h37 using ::android::hardware::media::bufferpool::V2_0::implementation::Accessor;
89 void initialize(const sp<Accessor> &accessor, ConnectionId connectionId);
97 sp<Accessor> mAccessor;
DAndroid.bp8 "Accessor.cpp",
DClientManager.cpp255 sp<ConnectionDeathRecipient> recipient = Accessor::getConnectionDeathRecipient(); in registerSender()
273 const sp<Accessor> accessor = new Accessor(allocator); in create()
457 Accessor::createInvalidator(); in getInstance()
DConnection.cpp63 const sp<Accessor>& accessor, ConnectionId connectionId) { in initialize()
DBufferPoolClient.h52 explicit BufferPoolClient(const sp<Accessor> &accessor,
/frameworks/av/media/bufferpool/1.0/
DAccessor.cpp31 const sp<Accessor> &accessor) { in add()
76 std::map<int64_t, const wp<Accessor>> connectionsToClose; in serviceDied()
95 sp<Accessor> accessor; in serviceDied()
112 sp<ConnectionDeathRecipient> Accessor::getConnectionDeathRecipient() { in getConnectionDeathRecipient()
117 Return<void> Accessor::connect(connect_cb _hidl_cb) { in connect()
134 Accessor::Accessor(const std::shared_ptr<BufferPoolAllocator> &allocator) in Accessor() function in android::hardware::media::bufferpool::V1_0::implementation::Accessor
137 Accessor::~Accessor() { in ~Accessor()
140 bool Accessor::isValid() { in isValid()
144 ResultStatus Accessor::allocate( in allocate()
154 ResultStatus Accessor::fetch( in fetch()
[all …]
DAccessorImpl.cpp130 int32_t Accessor::Impl::sPid = getpid();
131 uint32_t Accessor::Impl::sSeqId = time(nullptr);
133 Accessor::Impl::Impl( in Impl()
137 Accessor::Impl::~Impl() { in ~Impl()
140 ResultStatus Accessor::Impl::connect( in connect()
141 const sp<Accessor> &accessor, sp<Connection> *connection, in connect()
163 ResultStatus Accessor::Impl::close(ConnectionId connectionId) { in close()
174 ResultStatus Accessor::Impl::allocate( in allocate()
200 ResultStatus Accessor::Impl::fetch( in fetch()
225 void Accessor::Impl::cleanUp(bool clearCache) { in cleanUp()
[all …]
DAccessor.h43 struct Accessor;
55 void add(int64_t connectionId, const sp<Accessor> &accessor);
73 std::map<int64_t, const wp<Accessor>> mAccessors;
80 struct Accessor : public IAccessor { struct
89 explicit Accessor(const std::shared_ptr<BufferPoolAllocator> &allocator);
92 ~Accessor();
DConnection.h37 using ::android::hardware::media::bufferpool::V1_0::implementation::Accessor;
84 void initialize(const sp<Accessor> &accessor, ConnectionId connectionId);
92 sp<Accessor> mAccessor;
DAccessorImpl.h36 class Accessor::Impl {
43 const sp<Accessor> &accessor, sp<Connection> *connection,
289 friend class Accessor::Impl;
DAndroid.bp5 "Accessor.cpp",
DConnection.cpp63 const sp<Accessor>& accessor, ConnectionId connectionId) { in initialize()
DBufferPoolClient.h50 explicit BufferPoolClient(const sp<Accessor> &accessor);
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectableClassModel.java89 public static final class Accessor { class in InspectableClassModel
101 static Accessor ofField(@NonNull String name) { in ofField()
102 return new Accessor(name, Type.FIELD); in ofField()
113 static Accessor ofGetter(@NonNull String name) { in ofGetter()
114 return new Accessor(name, Type.GETTER); in ofGetter()
117 public Accessor(@NonNull String name, @NonNull Type type) { in Accessor() method in InspectableClassModel.Accessor
174 private final @NonNull Accessor mAccessor;
181 public Property(@NonNull String name, @NonNull Accessor accessor, @NonNull Type type) { in Property()
215 public Accessor getAccessor() { in getAccessor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs222 …Assert.AreEqual("x", fields[TestWellKnownTypes.StringFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
223 …ing.CopyFrom(1, 2, 3), fields[TestWellKnownTypes.BytesFieldFieldNumber].Accessor.GetValue(message)… in Reflection_SingleValues()
224 … Assert.AreEqual(true, fields[TestWellKnownTypes.BoolFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
225 …Assert.AreEqual(12.5f, fields[TestWellKnownTypes.FloatFieldFieldNumber].Accessor.GetValue(message)… in Reflection_SingleValues()
226 …Assert.AreEqual(12.25d, fields[TestWellKnownTypes.DoubleFieldFieldNumber].Accessor.GetValue(messag… in Reflection_SingleValues()
227 … Assert.AreEqual(1, fields[TestWellKnownTypes.Int32FieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
228 … Assert.AreEqual(2L, fields[TestWellKnownTypes.Int64FieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
229 … Assert.AreEqual(3U, fields[TestWellKnownTypes.Uint32FieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
230 …Assert.AreEqual(4UL, fields[TestWellKnownTypes.Uint64FieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
235 … Assert.IsNull(fields[TestWellKnownTypes.StringFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonFormatter.cs223 var accessor = field.Accessor; in WriteMessageFields()
224 …if (field.ContainingOneof != null && field.ContainingOneof.Accessor.GetCaseFieldDescriptor(message… in WriteMessageFields()
491 …= message.Descriptor.Fields[WrappersReflection.WrapperValueFieldNumber].Accessor.GetValue(message); in WriteWellKnownTypeValue()
518 var fieldAccessor = descriptor.Fields[ListValue.ValuesFieldNumber].Accessor; in WriteWellKnownTypeValue()
541 … int nanos = (int) value.Descriptor.Fields[Timestamp.NanosFieldNumber].Accessor.GetValue(value); in WriteTimestamp()
542 …long seconds = (long) value.Descriptor.Fields[Timestamp.SecondsFieldNumber].Accessor.GetValue(valu… in WriteTimestamp()
549 … int nanos = (int) value.Descriptor.Fields[Duration.NanosFieldNumber].Accessor.GetValue(value); in WriteDuration()
550 …long seconds = (long) value.Descriptor.Fields[Duration.SecondsFieldNumber].Accessor.GetValue(value… in WriteDuration()
556 …ths = (IList<string>) value.Descriptor.Fields[FieldMask.PathsFieldNumber].Accessor.GetValue(value); in WriteFieldMask()
568 …string typeUrl = (string) value.Descriptor.Fields[Any.TypeUrlFieldNumber].Accessor.GetValue(value); in WriteAny()
[all …]
DJsonParser.cs225 field.Accessor.Clear(message); in MergeField()
242 field.Accessor.SetValue(message, value); in MergeField()
254 IList list = (IList) field.Accessor.GetValue(message); in MergeRepeatedField()
287 IDictionary dictionary = (IDictionary) field.Accessor.GetValue(message); in MergeMapField()
434 fields[Value.NullValueFieldNumber].Accessor.SetValue(message, 0); in MergeStructValue()
437 … fields[Value.StringValueFieldNumber].Accessor.SetValue(message, firstToken.StringValue); in MergeStructValue()
440 … fields[Value.NumberValueFieldNumber].Accessor.SetValue(message, firstToken.NumberValue); in MergeStructValue()
444 …fields[Value.BoolValueFieldNumber].Accessor.SetValue(message, firstToken.Type == JsonToken.TokenTy… in MergeStructValue()
452 field.Accessor.SetValue(message, structMessage); in MergeStructValue()
461 field.Accessor.SetValue(message, list); in MergeStructValue()
[all …]
/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/
DInspectionCompanionGeneratorTest.java24 import android.processor.view.inspector.InspectableClassModel.Accessor;
144 Accessor.ofField("fieldProperty"), in testFieldProperty()
151 final Property property = new Property(name, Accessor.ofGetter(getter), type); in addProperty()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DIssuesTest.cs52 Assert.AreEqual(3, (int)field.Accessor.GetValue(message)); in FieldCalledItem()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DOneofDescriptor.cs91 public OneofAccessor Accessor { get { return accessor; } } property in Google.Protobuf.Reflection.OneofDescriptor

12