Home
last modified time | relevance | path

Searched refs:typeId (Results 1 – 21 of 21) sorted by relevance

/packages/modules/StatsD/tests/utils/src/android/util/
DStatsEventTestUtils.java82 if (fieldMetadata.typeId != TYPE_INT) { in getProtoBytes()
96 parseField(fieldMetadata.typeId, FIELD_COUNT_SINGLE, tag, buf, proto); in getProtoBytes()
113 byte typeId, long fieldCount, int tag, ByteBuffer buf, ProtoOutputStream proto) { in parseField() argument
114 switch (typeId) { in parseField()
159 "Invalid typeId encountered while parsing StatsEvent: " + typeId); in parseField()
186 fieldMetadata.typeId = buf.get(); in parseFieldMetadata()
187 fieldMetadata.annotationCount = (byte) (fieldMetadata.typeId >> 4); in parseFieldMetadata()
188 fieldMetadata.typeId &= (byte) 0x0F; in parseFieldMetadata()
194 byte typeId; field in StatsEventTestUtils.FieldMetadata
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/
DAvatarPickerActivity.kt68 activityViewModel.resultHandler.getSelected()?.typeId?.let { typeId: Int -> in <lambda>() method
69 if (typeId == CAMERA || (typeId == PHOTO_PICKER)) { in <lambda>()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/
DUriTypedItem.kt21 class UriTypedItem(typeId: Int, val uri: Uri) : SelectableType(typeId)
DResourceViewModel.kt22 typeId: Int,
26 ) : SelectableType(typeId)
DSelectableType.kt19 val typeId: Int, var isSelected: Boolean = false constant in com.android.avatarpicker.ui.details.items.SelectableType
DItemViewComposerImpl.kt34 is ResourceViewModel -> when (viewModel.typeId) { in ItemView()
/packages/modules/StatsD/framework/java/android/util/
DStatsEvent.java476 private void writeByteArray(@NonNull final byte[] value, final byte typeId) { in writeByteArray() argument
477 writeTypeId(typeId); in writeByteArray()
811 private void writeTypeId(final byte typeId) { in writeTypeId() argument
813 mLastType = typeId; in writeTypeId()
815 final byte encodedId = (byte) (typeId & 0x0F); in writeTypeId()
/packages/modules/StatsD/statsd/tests/
DLogEvent_test.cpp50 bool createFieldWithBoolAnnotationLogEvent(LogEvent* logEvent, uint8_t typeId, uint8_t annotationId, in createFieldWithBoolAnnotationLogEvent() argument
53 createStatsEvent(statsEvent, typeId, /*atomId=*/100); in createFieldWithBoolAnnotationLogEvent()
71 bool createFieldWithIntAnnotationLogEvent(LogEvent* logEvent, uint8_t typeId, uint8_t annotationId, in createFieldWithIntAnnotationLogEvent() argument
74 createStatsEvent(statsEvent, typeId, /*atomId=*/100); in createFieldWithIntAnnotationLogEvent()
92 bool createAtomLevelIntAnnotationLogEvent(LogEvent* logEvent, uint8_t typeId, uint8_t annotationId, in createAtomLevelIntAnnotationLogEvent() argument
97 fillStatsEventWithSampleValue(statsEvent, typeId); in createAtomLevelIntAnnotationLogEvent()
114 bool createAtomLevelBoolAnnotationLogEvent(LogEvent* logEvent, uint8_t typeId, uint8_t annotationId, in createAtomLevelBoolAnnotationLogEvent() argument
119 fillStatsEventWithSampleValue(statsEvent, typeId); in createAtomLevelBoolAnnotationLogEvent()
Dstatsd_test_util.h570 void createStatsEvent(AStatsEvent* statsEvent, uint8_t typeId, uint32_t atomId);
572 void fillStatsEventWithSampleValue(AStatsEvent* statsEvent, uint8_t typeId);
Dstatsd_test_util.cpp2279 void createStatsEvent(AStatsEvent* statsEvent, uint8_t typeId, uint32_t atomId) { in createStatsEvent() argument
2281 fillStatsEventWithSampleValue(statsEvent, typeId); in createStatsEvent()
2284 void fillStatsEventWithSampleValue(AStatsEvent* statsEvent, uint8_t typeId) { in fillStatsEventWithSampleValue() argument
2289 switch (typeId) { in fillStatsEventWithSampleValue()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/
DDetailsList.kt32 item(key = index, contentType = viewModel.typeId) { in <lambda>()
/packages/modules/StatsD/statsd/src/logd/
DLogEvent.cpp230 const uint8_t typeId = getTypeId(typeInfo); in parseArray() local
240 switch (typeId) { in parseArray()
555 uint8_t typeId = getTypeId(typeInfo); in parseBody() local
557 switch (typeId) { in parseBody()
/packages/modules/StatsD/lib/libstatssocket/tests/
Dstats_event_test.cpp67 void checkTypeHeader(uint8_t** buffer, uint8_t typeId, uint8_t numAnnotations = 0) { in checkTypeHeader() argument
68 uint8_t typeHeader = (numAnnotations << 4) | typeId; in checkTypeHeader()
109 void checkAnnotation(uint8_t** buffer, uint8_t annotationId, uint8_t typeId, T annotationValue) { in checkAnnotation() argument
111 EXPECT_EQ(readNext<uint8_t>(buffer), typeId); in checkAnnotation()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/media/
DCameraIcon.kt34 …uri?.let { resultHandler.onSelect(UriTypedItem(viewModel.typeId, it)) } ?: resultHandler.unselect() in <lambda>()
DPhotoPickerIcon.kt41 resultHandler.onSelect(UriTypedItem(viewModel.typeId, it)) in <lambda>()
/packages/modules/StatsD/lib/libstatssocket/
Dstats_event.c203 static void start_field(AStatsEvent* event, uint8_t typeId) { in start_field() argument
205 append_byte(event, typeId); in start_field()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/domain/
DUtils.kt83 when (typeId) { in toIntent()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastResources.java141 int typeId, String value) { in appendMessageDetail() argument
146 buf.append(context.getString(typeId)); in appendMessageDetail()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...
/packages/apps/TV/libs/m2/
Dprotobuf-java-3.7.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...