Searched refs:fieldId (Results 1 - 25 of 155) sorted by relevance

1234567

/frameworks/base/tools/incident_report/
H A Dgeneric_message.cpp28 GenericMessage::addInt32(int32_t fieldId, uint32_t value) argument
33 mNodes.insert(pair<int32_t,Node>(fieldId, node));
37 GenericMessage::addInt64(int32_t fieldId, uint64_t value) argument
42 mNodes.insert(pair<int32_t,Node>(fieldId, node));
46 GenericMessage::addMessage(int32_t fieldId) argument
52 mNodes.insert(pair<int32_t,Node>(fieldId, node));
57 GenericMessage::addString(int32_t fieldId, const string& value) argument
62 mNodes.insert(pair<int32_t,Node>(fieldId, node));
66 GenericMessage::find(int fieldId) const
68 return mNodes.equal_range(fieldId);
[all...]
H A Dgeneric_message.h56 void addInt32(int32_t fieldId, uint32_t value);
57 void addInt64(int32_t fieldId, uint64_t value);
58 GenericMessage* addMessage(int32_t fieldId);
59 void addString(int32_t fieldId, const string& value);
64 const_iterator_pair find(int fieldId) const;
H A Dmain.cpp45 read_length_delimited(CodedInputStream* in, uint32 fieldId, Descriptor const* descriptor, argument
54 FieldDescriptor const* field = descriptor->FindFieldByNumber(fieldId);
58 GenericMessage* child = message->addMessage(fieldId);
69 message->addString(fieldId, str);
97 int fieldId = WireFormatLite::GetTagFieldNumber(tag); local
101 message->addInt64(fieldId, value64);
110 message->addInt64(fieldId, value64);
118 if (!read_length_delimited(in, fieldId, descriptor, message)) {
126 message->addInt32(fieldId, value32);
230 int fieldId local
[all...]
/frameworks/base/core/java/android/util/proto/
H A DProtoUtils.java32 public static void toAggStatsProto(ProtoOutputStream proto, long fieldId, argument
34 final long aggStatsToken = proto.start(fieldId);
45 public static void toDuration(ProtoOutputStream proto, long fieldId, long startMs, long endMs) { argument
46 final long token = proto.start(fieldId);
56 public static void writeBitWiseFlagsToProtoEnum(ProtoOutputStream proto, long fieldId, argument
65 proto.write(fieldId, protoEnums[i]);
69 proto.write(fieldId, protoEnums[i]);
H A DProtoOutputStream.java118 * Position of the field type in a (long) fieldId.
123 * Mask for the field types stored in a fieldId. Leaves a whole
267 * Write a value for the given fieldId.
273 * @param fieldId The field identifier constant from the generated class.
276 public void write(long fieldId, double val) { argument
278 final int id = (int)fieldId;
280 switch ((int)((fieldId & (FIELD_TYPE_MASK | FIELD_COUNT_MASK)) >> FIELD_TYPE_SHIFT)) {
396 + getFieldIdString(fieldId));
402 * Write a value for the given fieldId.
408 * @param fieldId Th
411 write(long fieldId, float val) argument
546 write(long fieldId, int val) argument
681 write(long fieldId, long val) argument
814 write(long fieldId, boolean val) argument
843 write(long fieldId, String val) argument
872 write(long fieldId, byte[] val) argument
904 start(long fieldId) argument
940 writeDouble(long fieldId, double val) argument
960 writeRepeatedDouble(long fieldId, double val) argument
978 writePackedDouble(long fieldId, double[] val) argument
1004 writeFloat(long fieldId, float val) argument
1024 writeRepeatedFloat(long fieldId, float val) argument
1042 writePackedFloat(long fieldId, float[] val) argument
1091 writeInt32(long fieldId, int val) argument
1115 writeRepeatedInt32(long fieldId, int val) argument
1137 writePackedInt32(long fieldId, int[] val) argument
1169 writeInt64(long fieldId, long val) argument
1189 writeRepeatedInt64(long fieldId, long val) argument
1207 writePackedInt64(long fieldId, long[] val) argument
1238 writeUInt32(long fieldId, int val) argument
1258 writeRepeatedUInt32(long fieldId, int val) argument
1276 writePackedUInt32(long fieldId, int[] val) argument
1307 writeUInt64(long fieldId, long val) argument
1327 writeRepeatedUInt64(long fieldId, long val) argument
1345 writePackedUInt64(long fieldId, long[] val) argument
1376 writeSInt32(long fieldId, int val) argument
1396 writeRepeatedSInt32(long fieldId, int val) argument
1414 writePackedSInt32(long fieldId, int[] val) argument
1445 writeSInt64(long fieldId, long val) argument
1465 writeRepeatedSInt64(long fieldId, long val) argument
1483 writePackedSInt64(long fieldId, long[] val) argument
1513 writeFixed32(long fieldId, int val) argument
1533 writeRepeatedFixed32(long fieldId, int val) argument
1551 writePackedFixed32(long fieldId, int[] val) argument
1577 writeFixed64(long fieldId, long val) argument
1597 writeRepeatedFixed64(long fieldId, long val) argument
1615 writePackedFixed64(long fieldId, long[] val) argument
1640 writeSFixed32(long fieldId, int val) argument
1660 writeRepeatedSFixed32(long fieldId, int val) argument
1678 writePackedSFixed32(long fieldId, int[] val) argument
1704 writeSFixed64(long fieldId, long val) argument
1724 writeRepeatedSFixed64(long fieldId, long val) argument
1742 writePackedSFixed64(long fieldId, long[] val) argument
1768 writeBool(long fieldId, boolean val) argument
1789 writeRepeatedBool(long fieldId, boolean val) argument
1807 writePackedBool(long fieldId, boolean[] val) argument
1837 writeString(long fieldId, String val) argument
1856 writeRepeatedString(long fieldId, String val) argument
1898 writeBytes(long fieldId, byte[] val) argument
1918 writeRepeatedBytes(long fieldId, byte[] val) argument
1944 writeEnum(long fieldId, int val) argument
1964 writeRepeatedEnum(long fieldId, int val) argument
1982 writePackedEnum(long fieldId, int[] val) argument
2098 startObject(long fieldId) argument
2126 startRepeatedObject(long fieldId) argument
2224 writeObject(long fieldId, byte[] value) argument
2244 writeRepeatedObject(long fieldId, byte[] value) argument
2288 checkFieldId(long fieldId, long expectedFlags) argument
2378 getFieldIdString(long fieldId) argument
[all...]
/frameworks/base/services/core/java/com/android/server/power/
H A DSuspendBlocker.java46 void writeToProto(ProtoOutputStream proto, long fieldId); argument
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DBaseObservable.java56 * <code>BR</code> to be used as <code>fieldId</code>.
58 * @param fieldId The generated BR id for the Bindable field.
60 public void notifyPropertyChanged(int fieldId) { argument
62 mCallbacks.notifyCallbacks(this, fieldId, null);
/frameworks/base/core/java/com/android/internal/util/dump/
H A DDualDumpOutputStream.java157 public void write(@NonNull String fieldName, long fieldId, double val) { argument
159 mProtoStream.write(fieldId, val);
165 public void write(@NonNull String fieldName, long fieldId, boolean val) { argument
167 mProtoStream.write(fieldId, val);
173 public void write(@NonNull String fieldName, long fieldId, int val) { argument
175 mProtoStream.write(fieldId, val);
181 public void write(@NonNull String fieldName, long fieldId, float val) { argument
183 mProtoStream.write(fieldId, val);
189 public void write(@NonNull String fieldName, long fieldId, byte[] val) { argument
191 mProtoStream.write(fieldId, va
197 write(@onNull String fieldName, long fieldId, long val) argument
205 write(@onNull String fieldName, long fieldId, @Nullable String val) argument
213 start(@onNull String fieldName, long fieldId) argument
[all...]
/frameworks/base/libs/protoutil/src/
H A DProtoOutputStream.cpp54 ProtoOutputStream::write(uint64_t fieldId, double val) argument
57 const uint32_t id = (uint32_t)fieldId;
58 switch (fieldId & FIELD_TYPE_MASK) {
73 (int)((fieldId & FIELD_TYPE_MASK) >> FIELD_TYPE_SHIFT));
80 ProtoOutputStream::write(uint64_t fieldId, float val) argument
83 const uint32_t id = (uint32_t)fieldId;
84 switch (fieldId & FIELD_TYPE_MASK) {
99 (int)((fieldId & FIELD_TYPE_MASK) >> FIELD_TYPE_SHIFT));
106 ProtoOutputStream::write(uint64_t fieldId, int val) argument
109 const uint32_t id = (uint32_t)fieldId;
134 write(uint64_t fieldId, long long val) argument
162 write(uint64_t fieldId, bool val) argument
178 write(uint64_t fieldId, std::string val) argument
194 write(uint64_t fieldId, const char* val, size_t size) argument
258 start(uint64_t fieldId) argument
[all...]
H A Dprotobuf.cpp61 write_length_delimited_tag_header(uint8_t* buf, uint32_t fieldId, size_t size) argument
63 buf = write_raw_varint(buf, (fieldId << FIELD_ID_SHIFT) | WIRE_TYPE_LENGTH_DELIMITED);
/frameworks/base/libs/protoutil/include/android/util/
H A DProtoOutputStream.h28 * Position of the field type in a 64-bits fieldId.
33 * Mask for the field types stored in a fieldId. Leaves a whole
96 bool write(uint64_t fieldId, double val);
97 bool write(uint64_t fieldId, float val);
98 bool write(uint64_t fieldId, int val);
99 bool write(uint64_t fieldId, long long val);
100 bool write(uint64_t fieldId, bool val);
101 bool write(uint64_t fieldId, std::string val);
102 bool write(uint64_t fieldId, const char* val, size_t size);
109 uint64_t start(uint64_t fieldId);
[all...]
H A Dprotobuf.h58 uint8_t* write_length_delimited_tag_header(uint8_t* buf, uint32_t fieldId, size_t size);
/frameworks/base/services/core/java/com/android/server/wm/
H A DAnimationAdapter.java91 default void writeToProto(ProtoOutputStream proto, long fieldId) { argument
92 final long token = proto.start(fieldId);
H A DLocalAnimationAdapter.java158 default void writeToProto(ProtoOutputStream proto, long fieldId) { argument
159 final long token = proto.start(fieldId);
/frameworks/base/cmds/incidentd/src/
H A DPrivacy.cpp28 const Privacy* lookup(const Privacy* p, uint32_t fieldId) { argument
31 if (p->children[i]->field_id == fieldId) return p->children[i];
33 if (p->children[i]->field_id > fieldId) return NULL;
H A DPrivacy.h60 // Look up the child with given fieldId, if not found, return NULL.
61 const Privacy* lookup(const Privacy* p, uint32_t fieldId);
H A DPrivacyBuffer.cpp80 uint32_t fieldId = read_field_id(fieldTag); local
81 const Privacy* policy = lookup(parentPolicy, fieldId);
83 VLOG("[Depth %2d]Try to strip id %d, wiretype %d", depth, fieldId, read_wire_type(fieldTag));
89 VLOG("[Depth %2d]Field %d %ss %d bytes", depth, fieldId, skip ? "skip" : "write",
/frameworks/base/core/java/com/android/internal/util/
H A DLocalLog.java68 public void writeToProto(ProtoOutputStream proto, long fieldId) { argument
69 final long token = proto.start(fieldId);
/frameworks/base/core/java/android/content/pm/
H A DFeatureInfo.java118 public void writeToProto(ProtoOutputStream proto, long fieldId) { argument
119 long token = proto.start(fieldId);
/frameworks/base/services/core/java/com/android/server/am/
H A DAppBindRecord.java65 void writeToProto(ProtoOutputStream proto, long fieldId) { argument
66 long token = proto.start(fieldId);
H A DBroadcastFilter.java49 public void writeToProto(ProtoOutputStream proto, long fieldId) { argument
50 long token = proto.start(fieldId);
H A DUserState.java135 void writeToProto(ProtoOutputStream proto, long fieldId) { argument
136 final long token = proto.start(fieldId);
/frameworks/base/graphics/java/android/graphics/
H A DPoint.java130 * @param fieldId Field Id of the Rect as defined in the parent message
133 public void writeToProto(ProtoOutputStream protoOutputStream, long fieldId) { argument
134 final long token = protoOutputStream.start(fieldId);
/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java421 public int fieldId; field in class:EditorInfo
525 + " fieldId=" + fieldId
550 dest.writeInt(fieldId);
579 res.fieldId = source.readInt();
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DStateController.java74 public abstract void dumpControllerStateLocked(ProtoOutputStream proto, long fieldId, argument

Completed in 390 milliseconds

1234567