/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/ |
D | ProtoInputStreamBoolTest.java | 109 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 122 assertEquals(readback.boolField, result); in testReadCompat() 231 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 245 assertEquals(readback.boolFieldRepeated.length, result.length); in testRepeatedCompat() 247 assertEquals(readback.boolFieldRepeated[i], result[i]); in testRepeatedCompat() 352 final Test.All readback = Test.All.parseFrom(proto); in testPackedCompat() local 366 assertEquals(readback.boolFieldPacked.length, result.length); in testPackedCompat() 368 assertEquals(readback.boolFieldPacked[i], result[i]); in testPackedCompat()
|
D | ProtoInputStreamBytesTest.java | 133 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 146 assertEquals(readback.bytesField.length, result.length); in testReadCompat() 148 assertEquals(readback.bytesField[i], result[i]); in testReadCompat() 270 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 284 assertEquals(readback.bytesFieldRepeated.length, result.length); in testRepeatedCompat() 286 assertEquals(readback.bytesFieldRepeated[i].length, result[i].length); in testRepeatedCompat() 288 assertEquals(readback.bytesFieldRepeated[i][j], result[i][j]); in testRepeatedCompat()
|
D | ProtoInputStreamInt32Test.java | 132 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 145 assertEquals(readback.int32Field, result); in testReadCompat() 271 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 285 assertEquals(readback.int32FieldRepeated.length, result.length); in testRepeatedCompat() 287 assertEquals(readback.int32FieldRepeated[i], result[i]); in testRepeatedCompat() 417 final Test.All readback = Test.All.parseFrom(proto); in testPackedCompat() local 431 assertEquals(readback.int32FieldPacked.length, result.length); in testPackedCompat() 433 assertEquals(readback.int32FieldPacked[i], result[i]); in testPackedCompat()
|
D | ProtoInputStreamFixed32Test.java | 130 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 143 assertEquals(readback.fixed32Field, result); in testReadCompat() 265 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 279 assertEquals(readback.fixed32FieldRepeated.length, result.length); in testRepeatedCompat() 281 assertEquals(readback.fixed32FieldRepeated[i], result[i]); in testRepeatedCompat() 399 final Test.All readback = Test.All.parseFrom(proto); in testPackedCompat() local 413 assertEquals(readback.fixed32FieldPacked.length, result.length); in testPackedCompat() 415 assertEquals(readback.fixed32FieldPacked[i], result[i]); in testPackedCompat()
|
D | ProtoInputStreamSInt32Test.java | 130 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 143 assertEquals(readback.sint32Field, result); in testReadCompat() 265 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 279 assertEquals(readback.sint32FieldRepeated.length, result.length); in testRepeatedCompat() 281 assertEquals(readback.sint32FieldRepeated[i], result[i]); in testRepeatedCompat() 399 final Test.All readback = Test.All.parseFrom(proto); in testPackedCompat() local 413 assertEquals(readback.sint32FieldPacked.length, result.length); in testPackedCompat() 415 assertEquals(readback.sint32FieldPacked[i], result[i]); in testPackedCompat()
|
D | ProtoInputStreamSFixed32Test.java | 130 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 143 assertEquals(readback.sfixed32Field, result); in testReadCompat() 265 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 279 assertEquals(readback.sfixed32FieldRepeated.length, result.length); in testRepeatedCompat() 281 assertEquals(readback.sfixed32FieldRepeated[i], result[i]); in testRepeatedCompat() 399 final Test.All readback = Test.All.parseFrom(proto); in testPackedCompat() local 413 assertEquals(readback.sfixed32FieldPacked.length, result.length); in testPackedCompat() 415 assertEquals(readback.sfixed32FieldPacked[i], result[i]); in testPackedCompat()
|
D | ProtoInputStreamUInt32Test.java | 132 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 145 assertEquals(readback.uint32Field, result); in testReadCompat() 270 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 284 assertEquals(readback.uint32FieldRepeated.length, result.length); in testRepeatedCompat() 286 assertEquals(readback.uint32FieldRepeated[i], result[i]); in testRepeatedCompat() 416 final Test.All readback = Test.All.parseFrom(proto); in testPackedCompat() local 430 assertEquals(readback.uint32FieldPacked.length, result.length); in testPackedCompat() 432 assertEquals(readback.uint32FieldPacked[i], result[i]); in testPackedCompat()
|
D | ProtoInputStreamSInt64Test.java | 150 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 163 assertEquals(readback.sint64Field, result); in testReadCompat() 313 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 327 assertEquals(readback.sint64FieldRepeated.length, result.length); in testRepeatedCompat() 329 assertEquals(readback.sint64FieldRepeated[i], result[i]); in testRepeatedCompat() 474 final Test.All readback = Test.All.parseFrom(proto); in testPackedCompat() local 488 assertEquals(readback.sint64FieldPacked.length, result.length); in testPackedCompat() 490 assertEquals(readback.sint64FieldPacked[i], result[i]); in testPackedCompat()
|
D | ProtoInputStreamUInt64Test.java | 152 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 165 assertEquals(readback.uint64Field, result); in testReadCompat() 318 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 332 assertEquals(readback.uint64FieldRepeated.length, result.length); in testRepeatedCompat() 334 assertEquals(readback.uint64FieldRepeated[i], result[i]); in testRepeatedCompat() 493 final Test.All readback = Test.All.parseFrom(proto); in testPackedCompat() local 507 assertEquals(readback.uint64FieldPacked.length, result.length); in testPackedCompat() 509 assertEquals(readback.uint64FieldPacked[i], result[i]); in testPackedCompat()
|
D | ProtoInputStreamFixed64Test.java | 155 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 168 assertEquals(readback.fixed64Field, result); in testReadCompat() 328 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 342 assertEquals(readback.fixed64FieldRepeated.length, result.length); in testRepeatedCompat() 344 assertEquals(readback.fixed64FieldRepeated[i], result[i]); in testRepeatedCompat() 499 final Test.All readback = Test.All.parseFrom(proto); in testPackedCompat() local 513 assertEquals(readback.fixed64FieldPacked.length, result.length); in testPackedCompat() 515 assertEquals(readback.fixed64FieldPacked[i], result[i]); in testPackedCompat()
|
D | ProtoInputStreamSFixed64Test.java | 155 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 168 assertEquals(readback.sfixed64Field, result); in testReadCompat() 328 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 342 assertEquals(readback.sfixed64FieldRepeated.length, result.length); in testRepeatedCompat() 344 assertEquals(readback.sfixed64FieldRepeated[i], result[i]); in testRepeatedCompat() 499 final Test.All readback = Test.All.parseFrom(proto); in testPackedCompat() local 513 assertEquals(readback.sfixed64FieldPacked.length, result.length); in testPackedCompat() 515 assertEquals(readback.sfixed64FieldPacked[i], result[i]); in testPackedCompat()
|
D | ProtoInputStreamInt64Test.java | 153 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 166 assertEquals(readback.int64Field, result); in testReadCompat() 320 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 334 assertEquals(readback.int64FieldRepeated.length, result.length); in testRepeatedCompat() 336 assertEquals(readback.int64FieldRepeated[i], result[i]); in testRepeatedCompat() 497 final Test.All readback = Test.All.parseFrom(proto); in testPackedCompat() local 511 assertEquals(readback.int64FieldPacked.length, result.length); in testPackedCompat() 513 assertEquals(readback.int64FieldPacked[i], result[i]); in testPackedCompat()
|
D | ProtoInputStreamDoubleTest.java | 175 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 188 assertEquals(readback.doubleField, result); in testReadCompat() 378 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 392 assertEquals(readback.doubleFieldRepeated.length, result.length); in testRepeatedCompat() 394 assertEquals(readback.doubleFieldRepeated[i], result[i]); in testRepeatedCompat() 578 final Test.All readback = Test.All.parseFrom(proto); in testPackedCompat() local 592 assertEquals(readback.doubleFieldPacked.length, result.length); in testPackedCompat() 594 assertEquals(readback.doubleFieldPacked[i], result[i]); in testPackedCompat()
|
D | ProtoInputStreamFloatTest.java | 166 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 179 assertEquals(readback.floatField, result); in testReadCompat() 351 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 365 assertEquals(readback.floatFieldRepeated.length, result.length); in testRepeatedCompat() 367 assertEquals(readback.floatFieldRepeated[i], result[i]); in testRepeatedCompat() 531 final Test.All readback = Test.All.parseFrom(proto); in testPackedCompat() local 545 assertEquals(readback.floatFieldPacked.length, result.length); in testPackedCompat() 547 assertEquals(readback.floatFieldPacked[i], result[i]); in testPackedCompat()
|
D | ProtoInputStreamStringTest.java | 123 final Test.All readback = Test.All.parseFrom(proto); in testReadCompat() local 136 assertEquals(readback.stringField, result); in testReadCompat() 254 final Test.All readback = Test.All.parseFrom(proto); in testRepeatedCompat() local 268 assertEquals(readback.stringFieldRepeated.length, result.length); in testRepeatedCompat() 270 assertEquals(readback.stringFieldRepeated[i], result[i]); in testRepeatedCompat()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ReadbackFromHardwareBitmap.cpp | 46 SkBitmap readback; in createContent() local 47 hardwareBitmap->getSkBitmap(&readback); in createContent() 54 skCanvas.drawBitmap(readback, 0, 0); in createContent()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderProxy.cpp | 169 return thread.readback().copyLayerInto(layer, &bitmap) == CopyResult::Success; in copyLayerInto() 325 return thread.readback().copySurfaceInto(*surface, Rect(left, top, right, bottom), bitmap); in copySurfaceInto() 361 return (int)thread.readback().copyHWBitmapInto(hwBitmap, bitmap); in copyHWBitmapInto() 364 [&]() -> int { return (int)thread.readback().copyHWBitmapInto(hwBitmap, bitmap); }); in copyHWBitmapInto()
|
D | RenderThread.h | 103 Readback& readback();
|
D | RenderThread.cpp | 280 Readback& RenderThread::readback() { in readback() function in android::uirenderer::renderthread::RenderThread
|