Home
last modified time | relevance | path

Searched refs:Position (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/native/include/input/
DVelocityTracker.h33 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 …]
DVelocityControl.h101 VelocityTracker::Position mRawPosition;
/frameworks/base/cmds/statsd/tests/condition/
DSimpleConditionTracker_test.cpp44 bool outputSlicedUid, Position position) { in getWakeLockHeldCondition()
82 const Position position, in getWakeLockQueryKey()
90 case Position::FIRST: in getWakeLockQueryKey()
93 case Position::LAST: in getWakeLockQueryKey()
97 case Position::ANY: in getWakeLockQueryKey()
384 for (Position position : {Position::FIRST, Position::LAST}) { in TEST()
416 if (position == Position::FIRST || position == Position::LAST) { in TEST()
422 if (position == Position::FIRST || position == Position::LAST) { in TEST()
448 if (position == Position::FIRST || position == Position::LAST) { in TEST()
469 if (position == Position::FIRST || position == Position::LAST) { in TEST()
[all …]
/frameworks/base/tools/aapt2/text/
DUtf8Iterator_test.cpp72 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()
DUtf8Iterator.h34 size_t Position() const;
DUtf8Iterator.cpp46 size_t Utf8Iterator::Position() const { in Position() function in aapt::text::Utf8Iterator
/frameworks/base/cmds/statsd/src/
DFieldValue.cpp76 case Position::ALL: in translateFieldMatcher()
80 case Position::ANY: in translateFieldMatcher()
84 case Position::FIRST: in translateFieldMatcher()
88 case Position::LAST: in translateFieldMatcher()
92 case Position::POSITION_UNKNOWN: in translateFieldMatcher()
449 if (matcher.has_position() && matcher.position() == Position::ANY) { in HasPositionANY()
461 if (matcher.has_position() && matcher.position() == Position::ALL) { in HasPositionALL()
Dstatsd_config.proto24 enum Position { enum
54 optional Position position = 2;
62 optional Position position = 2;
/frameworks/base/cmds/statsd/benchmark/
Dduration_metric_benchmark.cpp50 {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()
Dmetric_util.h90 const std::vector<Position>& positions);
94 const std::vector<Position>& positions);
/frameworks/base/cmds/statsd/tests/
DLogEntryMatcher_test.cpp151 attributionMatcher->set_position(Position::FIRST); in TEST()
171 attributionMatcher->set_position(Position::LAST); in TEST()
178 attributionMatcher->set_position(Position::ANY); in TEST()
194 attributionMatcher->set_position(Position::ANY); in TEST()
203 attributionMatcher->set_position(Position::ANY); in TEST()
233 attributionMatcher->set_position(Position::FIRST); in TEST()
247 attributionMatcher->set_position(Position::LAST); in TEST()
262 attributionMatcher->set_position(Position::ANY); in TEST()
296 attributionMatcher->set_position(Position::FIRST); in TEST()
328 attributionMatcher->set_position(Position::LAST); in TEST()
[all …]
DFieldValue_test.cpp75 child->set_position(Position::ANY); in TEST()
96 child->set_position(Position::ALL); in TEST()
117 child->set_position(Position::ALL); in TEST()
209 child11->set_position(Position::ANY); in TEST()
217 child2->set_position(Position::LAST); in TEST()
239 for (auto position : {Position::ANY, Position::ALL, Position::FIRST, Position::LAST}) { in TEST()
533 child->set_position(Position::ALL); in TEST()
547 child->set_position(Position::ALL); in TEST()
Dstatsd_test_util.h184 const std::vector<Position>& positions);
188 const std::vector<Position>& positions);
191 const std::vector<Position>& positions,
/frameworks/base/cmds/statsd/src/matchers/
Dmatcher_util.cpp144 case Position::FIRST: { in matchesSimple()
157 case Position::LAST: { in matchesSimple()
168 case Position::ANY: { in matchesSimple()
186 case Position::ALL: in matchesSimple()
189 case Position::POSITION_UNKNOWN: in matchesSimple()
/frameworks/native/libs/input/
DVelocityTracker.cpp230 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/native/libs/input/tests/
DVelocityTracker_test.cpp71 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/base/media/java/android/media/tv/tuner/
DLnb.java104 public @interface Position {} annotation in Lnb
228 public int setSatellitePosition(@Position int position) { in setSatellitePosition()
/frameworks/base/cmds/statsd/tests/e2e/
DAttribution_e2e_test.cpp32 StatsdConfig CreateStatsdConfig(const Position position) { in CreateStatsdConfig()
39 attributionNodeMatcher->set_position(Position::ANY); in CreateStatsdConfig()
98 auto config = CreateStatsdConfig(Position::FIRST); in TEST()
211 auto config = CreateStatsdConfig(Position::ALL); in TEST()
DWakelockDuration_e2e_test.cpp45 util::WAKELOCK_STATE_CHANGED, {Position::FIRST, Position::LAST}); in CreateStatsdConfig()
59 util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in CreateStatsdConfig()
DConfigTtl_e2e_test.cpp42 util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in CreateStatsdConfig()
DDurationMetric_e2e_test.cpp467 {Position::FIRST}); in TEST()
473 CreateDimensions(util::ACTIVITY_FOREGROUND_STATE_CHANGED, {Position::FIRST}); in TEST()
483 util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST()
493 util::ACTIVITY_FOREGROUND_STATE_CHANGED, {Position::FIRST}); in TEST()
572 {Position::FIRST}); in TEST()
578 CreateDimensions(util::ACTIVITY_FOREGROUND_STATE_CHANGED, {Position::FIRST}); in TEST()
588 util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST()
598 util::ACTIVITY_FOREGROUND_STATE_CHANGED, {Position::FIRST}); in TEST()
1204 *fieldsInWhat = CreateAttributionUidDimensions(util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST()
1246 util::WAKELOCK_STATE_CHANGED, {Position::FIRST}, {3 /* tag */}); in TEST()
[all …]
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp1652 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/
DBitcodeWriter.cpp1716 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/
DBitcodeWriter.cpp1790 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 …]
/frameworks/base/tools/aapt2/java/
DAnnotationProcessor.cpp38 const size_t current_position = iter.Position(); in ExtractFirstSentence()

12