/frameworks/native/include/input/ |
D | VelocityTracker.h | 33 struct Position { struct 83 void addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions); 131 const VelocityTracker::Position* positions) = 0; 163 const VelocityTracker::Position* positions); 178 VelocityTracker::Position positions[MAX_POINTERS]; 180 inline const VelocityTracker::Position& getPosition(uint32_t id) const { in getPosition() 206 const VelocityTracker::Position* positions); 240 const VelocityTracker::Position* positions); 256 VelocityTracker::Position positions[MAX_POINTERS]; 258 inline const VelocityTracker::Position& getPosition(uint32_t id) const { in getPosition() [all …]
|
D | VelocityControl.h | 101 VelocityTracker::Position mRawPosition;
|
/frameworks/base/cmds/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 41 bool outputSlicedUid, Position position) { in getWakeLockHeldCondition() 79 const Position position, in getWakeLockQueryKey() 87 case Position::FIRST: in getWakeLockQueryKey() 90 case Position::LAST: in getWakeLockQueryKey() 94 case Position::ANY: in getWakeLockQueryKey() 269 for (Position position : in TEST() 270 { Position::FIRST, Position::LAST}) { in TEST() 305 if (position == Position::FIRST || in TEST() 306 position == Position::LAST) { in TEST() 312 if (position == Position::FIRST || in TEST() [all …]
|
/frameworks/base/tools/aapt2/text/ |
D | Utf8Iterator_test.cpp | 72 EXPECT_THAT(iter.Position(), Eq(0u)); in TEST() 77 EXPECT_THAT(iter.Position(), Eq(1u)); in TEST() 82 EXPECT_THAT(iter.Position(), Eq(2u)); in TEST() 87 EXPECT_THAT(iter.Position(), Eq(6u)); in TEST() 91 EXPECT_THAT(iter.Position(), Eq(expected.size())); in TEST()
|
D | Utf8Iterator.h | 34 size_t Position() const;
|
D | Utf8Iterator.cpp | 46 size_t Utf8Iterator::Position() const { in Position() function in aapt::text::Utf8Iterator
|
/frameworks/base/cmds/statsd/src/ |
D | FieldValue.cpp | 77 case Position::ALL: in translateFieldMatcher() 81 case Position::ANY: in translateFieldMatcher() 85 case Position::FIRST: in translateFieldMatcher() 89 case Position::LAST: in translateFieldMatcher() 93 case Position::POSITION_UNKNOWN: in translateFieldMatcher() 442 if (matcher.has_position() && matcher.position() == Position::ANY) { in HasPositionANY() 454 if (matcher.has_position() && matcher.position() == Position::ALL) { in HasPositionALL()
|
D | statsd_config.proto | 24 enum Position { enum 53 optional Position position = 2; 61 optional Position position = 2;
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEntryMatcher_test.cpp | 89 attributionMatcher->set_position(Position::FIRST); in TEST() 108 attributionMatcher->set_position(Position::LAST); in TEST() 115 attributionMatcher->set_position(Position::ANY); in TEST() 131 attributionMatcher->set_position(Position::ANY); in TEST() 140 attributionMatcher->set_position(Position::ANY); in TEST() 169 attributionMatcher->set_position(Position::FIRST); in TEST() 183 attributionMatcher->set_position(Position::LAST); in TEST() 198 attributionMatcher->set_position(Position::ANY); in TEST() 232 attributionMatcher->set_position(Position::FIRST); in TEST() 264 attributionMatcher->set_position(Position::LAST); in TEST() [all …]
|
D | FieldValue_test.cpp | 38 child->set_position(Position::ANY); in TEST() 59 child->set_position(Position::ALL); in TEST() 80 child->set_position(Position::ALL); in TEST() 202 child11->set_position(Position::ANY); in TEST() 210 child2->set_position(Position::LAST); in TEST() 232 for (auto position : {Position::ANY, Position::ALL, Position::FIRST, Position::LAST}) { in TEST()
|
D | statsd_test_util.h | 115 const std::vector<Position>& positions); 119 const std::vector<Position>& positions);
|
/frameworks/base/cmds/statsd/benchmark/ |
D | duration_metric_benchmark.cpp | 50 {Position::FIRST}); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition() 74 android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition() 91 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition() 97 android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition() 120 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition() 126 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition() 128 CreateAttributionUidDimensions(android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition()
|
D | metric_util.h | 89 const std::vector<Position>& positions); 93 const std::vector<Position>& positions);
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | matcher_util.cpp | 145 case Position::FIRST: { in matchesSimple() 158 case Position::LAST: { in matchesSimple() 169 case Position::ANY: { in matchesSimple() 187 case Position::ALL: in matchesSimple() 190 case Position::POSITION_UNKNOWN: in matchesSimple()
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 230 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions) { in addMovement() 323 Position positions[pointerCount]; in addMovement() 384 const VelocityTracker::Position* positions) { in addMovement() 649 const VelocityTracker::Position& position = movement.getPosition(id); in getEstimator() 796 const VelocityTracker::Position* positions) { in addMovement() 801 const VelocityTracker::Position& position = positions[index++]; in addMovement() 914 const VelocityTracker::Position* positions) { in addMovement() 967 const VelocityTracker::Position& oldestPosition = oldestMovement.getPosition(id); in getEstimator() 981 const VelocityTracker::Position& position = movement.getPosition(id); in getEstimator() 993 const VelocityTracker::Position& newestPosition = newestMovement.getPosition(id); in getEstimator() [all …]
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | DimensionInCondition_e2e_simple_cond_test.cpp | 48 {Position::FIRST}); in CreateDurationMetricConfig_NoLink_SimpleCondition() 66 android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_NoLink_SimpleCondition() 323 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in createDurationMetric_Link_SimpleConditionConfig() 329 android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in createDurationMetric_Link_SimpleConditionConfig() 344 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in createDurationMetric_Link_SimpleConditionConfig() 350 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in createDurationMetric_Link_SimpleConditionConfig() 352 CreateAttributionUidDimensions(android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in createDurationMetric_Link_SimpleConditionConfig() 547 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in createDurationMetric_PartialLink_SimpleConditionConfig() 553 android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in createDurationMetric_PartialLink_SimpleConditionConfig() 566 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in createDurationMetric_PartialLink_SimpleConditionConfig() [all …]
|
D | DimensionInCondition_e2e_combination_AND_cond_test.cpp | 53 {Position::FIRST}); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition() 78 android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition() 411 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition() 417 android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition() 440 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition() 446 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition() 448 CreateAttributionUidDimensions(android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition() 659 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_PartialLink_AND_CombinationCondition() 665 android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_PartialLink_AND_CombinationCondition() 687 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_PartialLink_AND_CombinationCondition() [all …]
|
D | DurationMetric_e2e_test.cpp | 458 android::util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST() 464 CreateDimensions(android::util::ACTIVITY_FOREGROUND_STATE_CHANGED, {Position::FIRST}); in TEST() 475 android::util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST() 485 android::util::ACTIVITY_FOREGROUND_STATE_CHANGED, { Position::FIRST }); in TEST() 561 android::util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST() 567 CreateDimensions(android::util::ACTIVITY_FOREGROUND_STATE_CHANGED, {Position::FIRST}); in TEST() 578 android::util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST() 588 android::util::ACTIVITY_FOREGROUND_STATE_CHANGED, { Position::FIRST }); in TEST()
|
D | DimensionInCondition_e2e_combination_OR_cond_test.cpp | 48 {Position::FIRST}); in CreateCountMetric_NoLink_CombinationCondition_Config() 64 android::util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in CreateCountMetric_NoLink_CombinationCondition_Config() 249 {Position::FIRST}); in CreateCountMetric_Link_CombinationCondition() 268 android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateCountMetric_Link_CombinationCondition() 277 CreateAttributionUidDimensions(android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateCountMetric_Link_CombinationCondition() 443 {Position::FIRST}); in CreateDurationMetricConfig_NoLink_CombinationCondition() 462 android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_NoLink_CombinationCondition() 634 {Position::FIRST}); in CreateDurationMetricConfig_Link_CombinationCondition() 659 android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_CombinationCondition() 668 CreateAttributionUidDimensions(android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_CombinationCondition()
|
D | Attribution_e2e_test.cpp | 32 StatsdConfig CreateStatsdConfig(const Position position) { in CreateStatsdConfig() 39 attributionNodeMatcher->set_position(Position::ANY); in CreateStatsdConfig() 59 auto config = CreateStatsdConfig(Position::FIRST); in TEST() 207 auto config = CreateStatsdConfig(Position::ALL); in TEST()
|
D | WakelockDuration_e2e_test.cpp | 45 android::util::WAKELOCK_STATE_CHANGED, {Position::FIRST, Position::LAST}); in CreateStatsdConfig() 59 android::util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in CreateStatsdConfig()
|
/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 71 struct Position { struct 87 std::vector<Position> positions; 90 static BitSet32 getValidPointers(const std::vector<Position>& positions) { in getValidPointers() 107 static int32_t resolveAction(const std::vector<Position>& lastPositions, in resolveAction() 108 const std::vector<Position>& currentPositions, in resolveAction() 109 const std::vector<Position>& nextPositions) { in resolveAction()
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | BitcodeWriter.cpp | 1652 uint32_t &Position) { in WriteInt32ToBuffer() argument 1653 Buffer[Position + 0] = (unsigned char) (Value >> 0); in WriteInt32ToBuffer() 1654 Buffer[Position + 1] = (unsigned char) (Value >> 8); in WriteInt32ToBuffer() 1655 Buffer[Position + 2] = (unsigned char) (Value >> 16); in WriteInt32ToBuffer() 1656 Buffer[Position + 3] = (unsigned char) (Value >> 24); in WriteInt32ToBuffer() 1657 Position += 4; in WriteInt32ToBuffer() 1694 unsigned Position = 0; in EmitDarwinBCHeaderAndTrailer() local 1695 WriteInt32ToBuffer(0x0B17C0DE , Buffer, Position); in EmitDarwinBCHeaderAndTrailer() 1696 WriteInt32ToBuffer(0 , Buffer, Position); // Version. in EmitDarwinBCHeaderAndTrailer() 1697 WriteInt32ToBuffer(BCOffset , Buffer, Position); in EmitDarwinBCHeaderAndTrailer() [all …]
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | BitcodeWriter.cpp | 1716 uint32_t &Position) { in WriteInt32ToBuffer() argument 1717 Buffer[Position + 0] = (unsigned char) (Value >> 0); in WriteInt32ToBuffer() 1718 Buffer[Position + 1] = (unsigned char) (Value >> 8); in WriteInt32ToBuffer() 1719 Buffer[Position + 2] = (unsigned char) (Value >> 16); in WriteInt32ToBuffer() 1720 Buffer[Position + 3] = (unsigned char) (Value >> 24); in WriteInt32ToBuffer() 1721 Position += 4; in WriteInt32ToBuffer() 1758 unsigned Position = 0; in EmitDarwinBCHeaderAndTrailer() local 1759 WriteInt32ToBuffer(0x0B17C0DE , Buffer, Position); in EmitDarwinBCHeaderAndTrailer() 1760 WriteInt32ToBuffer(0 , Buffer, Position); // Version. in EmitDarwinBCHeaderAndTrailer() 1761 WriteInt32ToBuffer(BCOffset , Buffer, Position); in EmitDarwinBCHeaderAndTrailer() [all …]
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | BitcodeWriter.cpp | 1790 uint32_t &Position) { in WriteInt32ToBuffer() argument 1791 Buffer[Position + 0] = (unsigned char) (Value >> 0); in WriteInt32ToBuffer() 1792 Buffer[Position + 1] = (unsigned char) (Value >> 8); in WriteInt32ToBuffer() 1793 Buffer[Position + 2] = (unsigned char) (Value >> 16); in WriteInt32ToBuffer() 1794 Buffer[Position + 3] = (unsigned char) (Value >> 24); in WriteInt32ToBuffer() 1795 Position += 4; in WriteInt32ToBuffer() 1832 unsigned Position = 0; in EmitDarwinBCHeaderAndTrailer() local 1833 WriteInt32ToBuffer(0x0B17C0DE , Buffer, Position); in EmitDarwinBCHeaderAndTrailer() 1834 WriteInt32ToBuffer(0 , Buffer, Position); // Version. in EmitDarwinBCHeaderAndTrailer() 1835 WriteInt32ToBuffer(BCOffset , Buffer, Position); in EmitDarwinBCHeaderAndTrailer() [all …]
|