Home
last modified time | relevance | path

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

12

/packages/apps/Gallery/tests/src/com/android/camera/gallery/
DLruCacheUnitTests.java63 Accessor accessor[] = new Accessor[4]; in testConcurrentAccess() local
64 for (int i = 0; i < accessor.length; ++i) { in testConcurrentAccess()
65 accessor[i] = new Accessor(cache); in testConcurrentAccess()
67 for (int i = 0; i < accessor.length; ++i) { in testConcurrentAccess()
68 accessor[i].start(); in testConcurrentAccess()
70 for (int i = 0; i < accessor.length; ++i) { in testConcurrentAccess()
71 accessor[i].join(); in testConcurrentAccess()
/packages/modules/Connectivity/staticlibs/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()
/packages/modules/Bluetooth/system/gd/packet/parser/fields/
Dvector_field.cc235 void VectorField::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation()
238 std::string arr_idx = "arridx_" + accessor; in GenStringRepresentation()
239 std::string vec_size = accessor + ".size()"; in GenStringRepresentation()
241 std::string element_accessor = "(" + accessor + "[index])"; in GenStringRepresentation()
Dsize_field.cc65 void SizeField::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation()
66 s << accessor; in GenStringRepresentation()
Denum_field.cc55 void EnumField::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation()
56 s << GetDataType() << "Text(" << accessor << ")"; in GenStringRepresentation()
Dbody_field.cc75 void BodyField::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation()
76 s << "\"BODY REPRESENTATION_UNIMPLEMENTED " << accessor << " \""; in GenStringRepresentation()
Dcustom_field_fixed_size.cc67 void CustomFieldFixedSize::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation()
69 s << accessor << ".ToString()"; in GenStringRepresentation()
Darray_field.cc179 void ArrayField::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation()
183 std::string arr_idx = "arridx_" + accessor; in GenStringRepresentation()
186 std::string element_accessor = "(" + accessor + "[index])"; in GenStringRepresentation()
Dstruct_field.cc87 void StructField::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation()
88 s << accessor << ".ToString()"; in GenStringRepresentation()
Dpacket_field.cc104 void PacketField::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation()
105 s << "\"REPRESENTATION_UNIMPLEMENTED " << GetFieldType() << " " << accessor << "\""; in GenStringRepresentation()
Dcustom_field.cc95 void CustomField::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation()
96 s << accessor << "->ToString()"; in GenStringRepresentation()
Dscalar_field.cc135 void ScalarField::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation()
139 s << "static_cast<uint64_t>(" << accessor << ")"; in GenStringRepresentation()
Dfixed_scalar_field.h36 virtual void GenStringRepresentation(std::ostream& s, std::string accessor) const override;
Denum_field.h44 virtual void GenStringRepresentation(std::ostream& s, std::string accessor) const override;
Dsize_field.h49 virtual void GenStringRepresentation(std::ostream& s, std::string accessor) const override;
Dcustom_field_fixed_size.h44 virtual void GenStringRepresentation(std::ostream& s, std::string accessor) const override;
Dbody_field.h53 virtual void GenStringRepresentation(std::ostream& s, std::string accessor) const override;
Dchecksum_start_field.h54 virtual void GenStringRepresentation(std::ostream& s, std::string accessor) const override;
Dchecksum_field.h49 virtual void GenStringRepresentation(std::ostream& s, std::string accessor) const override;
Dpayload_field.h57 virtual void GenStringRepresentation(std::ostream& s, std::string accessor) const override;
Dstruct_field.h52 virtual void GenStringRepresentation(std::ostream& s, std::string accessor) const override;
Dcustom_field.h52 virtual void GenStringRepresentation(std::ostream& s, std::string accessor) const override;
Dscalar_field.h52 virtual void GenStringRepresentation(std::ostream& s, std::string accessor) const override;
Dpacket_field.h110 virtual void GenStringRepresentation(std::ostream& s, std::string accessor) const;
/packages/apps/Settings/src/com/android/settings/slices/
DSliceBroadcastReceiver.java183 final SlicesDatabaseAccessor accessor = new SlicesDatabaseAccessor(context); in getPreferenceController() local
184 final SliceData sliceData = accessor.getSliceDataFromKey(key); in getPreferenceController()

12