Home
last modified time | relevance | path

Searched refs:fieldFlags (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
DProtoInputStreamDoubleTest.java43 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 …]
DProtoInputStreamFloatTest.java43 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 …]
DProtoInputStreamFixed64Test.java42 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 …]
DProtoInputStreamInt64Test.java42 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 …]
DProtoInputStreamSInt64Test.java42 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 …]
DProtoInputStreamSFixed64Test.java42 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 …]
DProtoInputStreamUInt64Test.java42 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 …]
DProtoInputStreamUInt32Test.java42 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 …]
DProtoInputStreamSInt32Test.java42 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 …]
DProtoInputStreamEnumTest.java42 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 …]
DProtoInputStreamInt32Test.java42 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 …]
DProtoInputStreamSFixed32Test.java42 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 …]
DProtoInputStreamFixed32Test.java42 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 …]
DProtoInputStreamBoolTest.java48 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 …]
DProtoInputStreamStringTest.java42 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 …]
DProtoInputStreamBytesTest.java43 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 …]
DProtoInputStreamObjectTest.java382 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/
DProtoStream.java189 public static long makeFieldId(int id, long fieldFlags) { in makeFieldId() argument
190 return fieldFlags | (((long) id) & 0x0ffffffffL); in makeFieldId()
DProtoOutputStream.java2113 public static long makeFieldId(int id, long fieldFlags) { in makeFieldId() argument
2114 return fieldFlags | (((long)id) & 0x0ffffffffL); in makeFieldId()
/frameworks/base/media/jni/soundpool/
Dandroid_media_SoundPool.cpp42 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()