/frameworks/base/cmds/statsd/src/ |
D | FieldValue.h | 84 int32_t mField; member 90 mField = getEncodedField(pos, depth, true); in Field() 93 Field(const Field& from) : mTag(from.getTag()), mField(from.getField()) { in Field() 96 Field(int32_t tag, int32_t field) : mTag(tag), mField(field){}; in Field() 99 mField = field; in setField() 108 mField |= mask; in decorateLastPos() 116 return (mField >> 24); in getDepth() 122 int32_t field = (mField & 0x00ffffff); in getPath() 133 return mField; in getField() 137 int32_t field = (mField & 0x00ffffff); in getRawPosAtDepth() [all …]
|
D | HashableDimensionKey.cpp | 32 hash = android::JenkinsHashMix(hash, android::hash_type((int)fieldValue.mField.getField())); in hashDimension() 33 hash = android::JenkinsHashMix(hash, android::hash_type((int)fieldValue.mField.getTag())); in hashDimension() 66 if (value.mField.matches(matcher)) { in filterValues() 68 output->mutableValue(num_matches)->mField.setTag(value.mField.getTag()); in filterValues() 69 output->mutableValue(num_matches)->mField.setField( in filterValues() 70 value.mField.getField() & matcher.mMask); in filterValues() 82 if (value.mField.matches(field)) { in filterGaugeValues() 102 conditionDimension->mutableValue(i)->mField.setField( in getDimensionForCondition() 104 conditionDimension->mutableValue(i)->mField.setTag( in getDimensionForCondition() 152 if (value.mField == myValue.mField && value.mValue == myValue.mValue) { in contains() [all …]
|
D | stats_log_util.cpp | 94 const int valueDepth = dim.mField.getDepth(); in writeDimensionToProtoHelper() 95 const int valuePrefix = dim.mField.getPrefix(depth); in writeDimensionToProtoHelper() 96 const int fieldNum = dim.mField.getPosAtDepth(depth); in writeDimensionToProtoHelper() 144 writeDimensionToProtoHelper(dims, index, valueDepth, dim.mField.getPrefix(valueDepth), in writeDimensionToProtoHelper() 163 const int valueDepth = dim.mField.getDepth(); in writeDimensionLeafToProtoHelper() 164 const int valuePrefix = dim.mField.getPrefix(depth); in writeDimensionLeafToProtoHelper() 206 index, valueDepth, dim.mField.getPrefix(valueDepth), in writeDimensionLeafToProtoHelper() 263 dimension.getValues()[0].mField.getTag()); in writeDimensionToProto() 327 const int valueDepth = dim.mField.getDepth(); in writeFieldValueTreeToStreamHelper() 328 const int valuePrefix = dim.mField.getPrefix(depth); in writeFieldValueTreeToStreamHelper() [all …]
|
D | FieldValue.cpp | 49 if ((mField & matcher.mMask) == matcher.mMatcher.getField()) { in matches() 54 (mField & (matcher.mMask & kClearAllPositionMatcherMask)) == matcher.mMatcher.getField()) { in matches() 119 int field = value.mField.getField() & 0xff007f; in isAttributionUidField() 133 auto it = android::util::AtomsInfo::kAtomsWithUidField.find(value.mField.getTag()); in getUidIfExists() 136 isUid = value.mField.getDepth() == 0 && value.mField.getPosAtDepth(0) == uidField && in getUidIfExists()
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEvent_test.cpp | 58 EXPECT_EQ(0x2010101, item0.mField.getField()); in TEST() 63 EXPECT_EQ(0x2010182, item1.mField.getField()); in TEST() 68 EXPECT_EQ(0x2018201, item2.mField.getField()); in TEST() 73 EXPECT_EQ(0x2018282, item3.mField.getField()); in TEST() 78 EXPECT_EQ(0x20000, item4.mField.getField()); in TEST() 83 EXPECT_EQ(0x30000, item5.mField.getField()); in TEST() 88 EXPECT_EQ(0x40000, item6.mField.getField()); in TEST() 93 EXPECT_EQ(0x50000, item7.mField.getField()); in TEST() 129 EXPECT_EQ(0x10000, item0.mField.getField()); in TEST() 134 EXPECT_EQ(0x2010201, item1.mField.getField()); in TEST() [all …]
|
D | FieldValue_test.cpp | 116 EXPECT_EQ((int32_t)0x02010101, output.getValues()[0].mField.getField()); in TEST() 118 EXPECT_EQ((int32_t)0x02010102, output.getValues()[1].mField.getField()); in TEST() 121 EXPECT_EQ((int32_t)0x02010201, output.getValues()[2].mField.getField()); in TEST() 123 EXPECT_EQ((int32_t)0x02010202, output.getValues()[3].mField.getField()); in TEST() 126 EXPECT_EQ((int32_t)0x02010301, output.getValues()[4].mField.getField()); in TEST() 128 EXPECT_EQ((int32_t)0x02010302, output.getValues()[5].mField.getField()); in TEST() 131 EXPECT_EQ((int32_t)0x00020000, output.getValues()[6].mField.getField()); in TEST()
|
/frameworks/base/libs/services/src/os/ |
D | StatsDimensionsValue.cpp | 34 mField(field), in StatsDimensionsValue() 39 mField(field), in StatsDimensionsValue() 44 mField(field), in StatsDimensionsValue() 49 mField(field), in StatsDimensionsValue() 54 mField(field), in StatsDimensionsValue() 59 mField(field), in StatsDimensionsValue() 70 err = out->writeInt32(mField); in writeToParcel()
|
/frameworks/base/core/java/android/util/ |
D | ReflectiveProperty.java | 33 private Field mField; field in ReflectiveProperty 62 mField = propertyHolder.getField(name); in ReflectiveProperty() 63 Class fieldType = mField.getType(); in ReflectiveProperty() 124 } else if (mField != null) { in set() 126 mField.set(object, value); in set() 145 } else if (mField != null) { in get() 147 return (V) mField.get(object); in get() 161 return (mSetter == null && mField == null); in isReadOnly()
|
/frameworks/base/cmds/statsd/src/subscriber/ |
D | SubscriberReporter.cpp | 124 const int valueDepth = dim.mField.getDepth(); in getStatsDimensionsValueHelper() 125 const int valuePrefix = dim.mField.getPrefix(depth); in getStatsDimensionsValueHelper() 133 output->push_back(StatsDimensionsValue(dim.mField.getPosAtDepth(depth), in getStatsDimensionsValueHelper() 137 output->push_back(StatsDimensionsValue(dim.mField.getPosAtDepth(depth), in getStatsDimensionsValueHelper() 141 output->push_back(StatsDimensionsValue(dim.mField.getPosAtDepth(depth), in getStatsDimensionsValueHelper() 145 output->push_back(StatsDimensionsValue(dim.mField.getPosAtDepth(depth), in getStatsDimensionsValueHelper() 154 getStatsDimensionsValueHelper(dims, index, depth + 1, dim.mField.getPrefix(depth + 1), in getStatsDimensionsValueHelper() 156 output->push_back(StatsDimensionsValue(dim.mField.getPosAtDepth(depth), childOutput)); in getStatsDimensionsValueHelper() 171 return StatsDimensionsValue(dim.getValues()[0].mField.getTag(), fields); in getStatsDimensionsValue()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FieldPort.java | 27 protected Field mField; field in FieldPort 34 mField = field; in FieldPort() 55 return mField.get(mFilter); in getTarget() 65 mField.set(mFilter, mValue); in transfer() 68 "Access to field '" + mField.getName() + "' was denied!"); in transfer()
|
D | ProgramPort.java | 47 Object fieldValue = mField.get(mFilter); in transfer() 55 "Access to program field '" + mField.getName() + "' was denied!"); in transfer() 57 throw new RuntimeException("Non Program field '" + mField.getName() in transfer()
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEvent.cpp | 73 mValues.back().mField.decorateLastPos(2); in LogEvent() 75 mValues.back().mField.decorateLastPos(1); in LogEvent() 154 mValues.back().mField.decorateLastPos(2); in LogEvent() 163 mValues.back().mField.decorateLastPos(2); in LogEvent() 172 mValues.back().mField.decorateLastPos(2); in LogEvent() 181 mValues.back().mField.decorateLastPos(2); in LogEvent() 185 mValues.back().mField.decorateLastPos(1); in LogEvent() 186 mValues.at(mValues.size() - 2).mField.decorateLastPos(1); in LogEvent() 504 if (it->mField.getDepth() >= prevDepth && in init() 505 it->mField.getPath(prevDepth) == path) { in init() [all …]
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | DumpState.java | 29 @Nullable private String mField; field in DumpState 50 mField = field; in setField() 53 return mField; in getField()
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | matcher_util.cpp | 117 int pos = values[i].mField.getPosAtDepth(depth); in matchesSimple() 147 int pos = values[i].mField.getPosAtDepth(depth); in matchesSimple() 161 if (values[i].mField.isLastPos(depth)) { in matchesSimple() 174 int currentPos = values[start].mField.getPosAtDepth(depth); in matchesSimple() 177 int newPos = values[i].mField.getPosAtDepth(depth); in matchesSimple() 231 if (tryMatchString(uidMap, values[i].mField, values[i].mValue, in matchesSimple() 243 if (tryMatchString(uidMap, values[i].mField, values[i].mValue, str)) { in matchesSimple() 258 if (tryMatchString(uidMap, values[i].mField, values[i].mValue, str)) { in matchesSimple()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | InputPort.java | 52 private Field mField; field in InputPort.FieldBinding 55 mField = field; in FieldBinding() 63 mField.set(mFilter, frameValues.getValues()); in onFrameReceived() 66 mField.set(mFilter, frameValue.getValue()); in onFrameReceived() 70 + mField + " of filter " + mFilter + " caused exception!", e); in onFrameReceived()
|
/frameworks/base/core/java/android/os/ |
D | StatsDimensionsValue.java | 76 private final int mField; field in StatsDimensionsValue 93 mField = in.readInt(); in StatsDimensionsValue() 104 return mField; in getField() 244 sb.append(mField); in toString() 285 out.writeInt(mField); in writeToParcel()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | RawBatteryStats.java | 512 protected java.lang.reflect.Field mField; field in RawBatteryStats.FieldSetter 517 mField = field; in FieldSetter() 521 return mField.getName(); in getName() 533 return mField.getType().isArray(); in isArray() 550 + " field=" + mField.getName() in toString() 551 + " type=" + mField.getType().getSimpleName() in toString() 566 mField.setInt(object, Integer.parseInt(value.trim())); in setField() 588 mField.set(object, array); in setArray() 606 mField.setLong(object, Long.parseLong(value.trim())); in setField() 628 mField.set(object, array); in setArray() [all …]
|
/frameworks/base/cmds/statsd/src/external/ |
D | puller_util.cpp | 80 if (value.mField.getPosAtDepth(0) > kAttributionField) { in mapAndMergeIsolatedUidsToHostUid() 144 int pos = (*lhsValues)[p].mField.getPosAtDepth(0); in mapAndMergeIsolatedUidsToHostUid() 158 int pos = (*lhsValues)[p].mField.getPosAtDepth(0); in mapAndMergeIsolatedUidsToHostUid()
|
/frameworks/base/libs/hwui/ |
D | Animator.cpp | 410 : BaseRenderNodeAnimator(finalValue), mProperty(property), mField(field) {} in CanvasPropertyPaintAnimator() 413 switch (mField) { in getValue() 419 LOG_ALWAYS_FATAL("Unknown field %d", (int)mField); in getValue() 429 switch (mField) { in setValue() 437 LOG_ALWAYS_FATAL("Unknown field %d", (int)mField); in setValue()
|
D | Animator.h | 255 PaintField mField; variable
|
/frameworks/base/libs/services/include/android/os/ |
D | StatsDimensionsValue.h | 55 int32_t mField; variable
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptGroup.java | 860 private final Script.FieldID mField; field in ScriptGroup.Binding 871 mField = field; in Binding() 879 Script.FieldID getField() { return mField; } in getField()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptGroup.java | 977 private final Script.FieldID mField; field in ScriptGroup.Binding 988 mField = field; in Binding() 996 public Script.FieldID getField() { return mField; } in getField()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecConfig.cpp | 65 : mDomain(Domain::ALL), mMediaKey(mediaKey), mStruct(c2struct), mField(c2field) { } in ConfigMapper() 167 std::string path() const { return mField.size() ? mStruct + '.' + mField : mStruct; } in path() 175 C2String mField; ///< Codec 2.0 field name member
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | GaugeMetricProducer.cpp | 416 if (it->mField.matches(field)) { in getGaugeFields()
|