/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/ |
D | ProtoInputStreamDoubleTest.java | 43 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_DOUBLE; in testRead() local 45 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 46 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 47 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 48 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 49 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 50 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testRead() 51 final long fieldId7 = fieldFlags | ((long) 7 & 0x0ffffffffL); in testRead() 52 final long fieldId8 = fieldFlags | ((long) 8 & 0x0ffffffffL); in testRead() 53 final long fieldId9 = fieldFlags | ((long) 9 & 0x0ffffffffL); in testRead() [all …]
|
D | ProtoInputStreamFloatTest.java | 43 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FLOAT; in testRead() local 45 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 46 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 47 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 48 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 49 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 50 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testRead() 51 final long fieldId7 = fieldFlags | ((long) 7 & 0x0ffffffffL); in testRead() 52 final long fieldId8 = fieldFlags | ((long) 8 & 0x0ffffffffL); in testRead() 53 final long fieldId9 = fieldFlags | ((long) 9 & 0x0ffffffffL); in testRead() [all …]
|
D | ProtoInputStreamFixed64Test.java | 42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED64; in testRead() local 44 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 45 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 46 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 47 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 48 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 49 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testRead() 50 final long fieldId7 = fieldFlags | ((long) 7 & 0x0ffffffffL); in testRead() 51 final long fieldId8 = fieldFlags | ((long) 8 & 0x0ffffffffL); in testRead() 146 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED64; in testReadCompat() local [all …]
|
D | ProtoInputStreamInt64Test.java | 42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_INT64; in testRead() local 44 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 45 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 46 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 47 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 48 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 49 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testRead() 50 final long fieldId7 = fieldFlags | ((long) 7 & 0x0ffffffffL); in testRead() 51 final long fieldId8 = fieldFlags | ((long) 8 & 0x0ffffffffL); in testRead() 144 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_INT64; in testReadCompat() local [all …]
|
D | ProtoInputStreamSInt64Test.java | 42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SINT64; in testRead() local 44 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 45 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 46 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 47 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 48 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 49 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testRead() 50 final long fieldId7 = fieldFlags | ((long) 7 & 0x0ffffffffL); in testRead() 51 final long fieldId8 = fieldFlags | ((long) 8 & 0x0ffffffffL); in testRead() 141 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SINT64; in testReadCompat() local [all …]
|
D | ProtoInputStreamSFixed64Test.java | 42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SFIXED64; in testRead() local 44 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 45 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 46 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 47 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 48 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 49 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testRead() 50 final long fieldId7 = fieldFlags | ((long) 7 & 0x0ffffffffL); in testRead() 51 final long fieldId8 = fieldFlags | ((long) 8 & 0x0ffffffffL); in testRead() 146 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SFIXED64; in testReadCompat() local [all …]
|
D | ProtoInputStreamUInt64Test.java | 42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT64; in testRead() local 44 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 45 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 46 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 47 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 48 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 49 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testRead() 50 final long fieldId7 = fieldFlags | ((long) 7 & 0x0ffffffffL); in testRead() 51 final long fieldId8 = fieldFlags | ((long) 8 & 0x0ffffffffL); in testRead() 143 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT64; in testReadCompat() local [all …]
|
D | ProtoInputStreamUInt32Test.java | 42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT32; in testRead() local 44 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 45 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 46 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 47 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 48 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 49 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testRead() 123 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT32; in testReadCompat() local 124 final long fieldId = fieldFlags | ((long) 50 & 0x0ffffffffL); in testReadCompat() 155 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_UINT32; in testRepeated() local [all …]
|
D | ProtoInputStreamSInt32Test.java | 42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SINT32; in testRead() local 44 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 45 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 46 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 47 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 48 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 49 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testRead() 121 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SINT32; in testReadCompat() local 122 final long fieldId = fieldFlags | ((long) 70 & 0x0ffffffffL); in testReadCompat() 153 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SINT32; in testRepeated() local [all …]
|
D | ProtoInputStreamEnumTest.java | 42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_ENUM; in testRead() local 44 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 45 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 46 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 47 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 48 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 49 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testRead() 123 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_ENUM; in testReadCompat() local 124 final long fieldId = fieldFlags | ((long) 160 & 0x0ffffffffL); in testReadCompat() 155 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_ENUM; in testRepeated() local [all …]
|
D | ProtoInputStreamInt32Test.java | 42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_INT32; in testRead() local 44 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 45 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 46 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 47 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 48 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 49 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testRead() 123 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_INT32; in testReadCompat() local 124 final long fieldId = fieldFlags | ((long) 30 & 0x0ffffffffL); in testReadCompat() 155 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_INT32; in testRepeated() local [all …]
|
D | ProtoInputStreamSFixed32Test.java | 42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SFIXED32; in testRead() local 44 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 45 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 46 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 47 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 48 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 49 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testRead() 121 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SFIXED32; in testReadCompat() local 122 final long fieldId = fieldFlags | ((long) 110 & 0x0ffffffffL); in testReadCompat() 153 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SFIXED32; in testRepeated() local [all …]
|
D | ProtoInputStreamFixed32Test.java | 42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED32; in testRead() local 44 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 45 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 46 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 47 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 48 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 49 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testRead() 121 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED32; in testReadCompat() local 122 final long fieldId = fieldFlags | ((long) 90 & 0x0ffffffffL); in testReadCompat() 153 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_FIXED32; in testRepeated() local [all …]
|
D | ProtoInputStreamBoolTest.java | 48 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_BOOL; in testRead() local 50 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 51 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 52 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 100 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_BOOL; in testReadCompat() local 101 final long fieldId = fieldFlags | ((long) 130 & 0x0ffffffffL); in testReadCompat() 139 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_BOOL; in testRepeated() local 141 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRepeated() 142 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRepeated() 143 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRepeated() [all …]
|
D | ProtoInputStreamStringTest.java | 42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_STRING; in testRead() local 44 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 45 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 46 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 47 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 48 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 114 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_STRING; in testReadCompat() local 115 final long fieldId = fieldFlags | ((long) 140 & 0x0ffffffffL); in testReadCompat() 147 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_STRING; in testRepeated() local 149 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRepeated() [all …]
|
D | ProtoInputStreamBytesTest.java | 43 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_BYTES; in testRead() local 45 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRead() 46 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testRead() 47 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testRead() 48 final long fieldId4 = fieldFlags | ((long) 4 & 0x0ffffffffL); in testRead() 49 final long fieldId5 = fieldFlags | ((long) 5 & 0x0ffffffffL); in testRead() 124 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_BYTES; in testReadCompat() local 125 final long fieldId = fieldFlags | ((long) 150 & 0x0ffffffffL); in testReadCompat() 160 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_BYTES; in testRepeated() local 162 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testRepeated() [all …]
|
D | ProtoInputStreamObjectTest.java | 382 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_MESSAGE; in testBadReadType() local 384 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testBadReadType() 452 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_MESSAGE; in testBadWireType() local 454 final long fieldId1 = fieldFlags | ((long) 1 & 0x0ffffffffL); in testBadWireType() 455 final long fieldId2 = fieldFlags | ((long) 2 & 0x0ffffffffL); in testBadWireType() 456 final long fieldId3 = fieldFlags | ((long) 3 & 0x0ffffffffL); in testBadWireType() 457 final long fieldId6 = fieldFlags | ((long) 6 & 0x0ffffffffL); in testBadWireType()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoStream.java | 189 public static long makeFieldId(int id, long fieldFlags) { in makeFieldId() argument 190 return fieldFlags | (((long) id) & 0x0ffffffffL); in makeFieldId()
|
D | ProtoOutputStream.java | 2113 public static long makeFieldId(int id, long fieldFlags) { in makeFieldId() argument 2114 return fieldFlags | (((long)id) & 0x0ffffffffL); in makeFieldId()
|
/frameworks/base/media/jni/soundpool/ |
D | android_media_SoundPool.cpp | 42 jfieldID fieldFlags; // AudioAttributes.mFlags member 201 paa->flags = env->GetIntField(jaa, javaAudioAttrFields.fieldFlags); in android_media_SoundPool_native_setup() 358 javaAudioAttrFields.fieldFlags = env->GetFieldID(audioAttributesClassRef, "mFlags", "I"); in JNI_OnLoad() 363 || javaAudioAttrFields.fieldFlags == NULL in JNI_OnLoad()
|