Home
last modified time | relevance | path

Searched refs:getHistory (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/include/input/
DInputTransport.h430 const History* getHistory(size_t index) const { in getHistory() function
439 if (!getHistory(0)->hasPointerId(id) || !getHistory(1)->hasPointerId(id)) { in recentCoordinatesAreIdentical()
442 float currentX = getHistory(0)->getPointerById(id).getX(); in recentCoordinatesAreIdentical()
443 float currentY = getHistory(0)->getPointerById(id).getY(); in recentCoordinatesAreIdentical()
444 float previousX = getHistory(1)->getPointerById(id).getX(); in recentCoordinatesAreIdentical()
445 float previousY = getHistory(1)->getPointerById(id).getY(); in recentCoordinatesAreIdentical()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsCollectionTest.java234 … assertNotNull(collection.getHistory(buildTemplateMobileAll(TEST_IMSI), null, myUid, SET_DEFAULT, in testAccessLevels()
237 collection.getHistory(buildTemplateMobileAll(TEST_IMSI), null, otherUidInSameUser, in testAccessLevels()
291 history = getHistory(emptyCollection, plan, TIME_A, TIME_C); in testAugmentPlan()
295 history = getHistory(collection, plan, TIME_A, TIME_C); i = 0; in testAugmentPlan()
323 history = getHistory(collection, plan, TIME_B - HOUR_IN_MILLIS, in testAugmentPlan()
343 history = getHistory(emptyCollection, plan, TIME_A, TIME_C); in testAugmentPlan()
347 history = getHistory(collection, plan, TIME_A, TIME_C); i = 0; in testAugmentPlan()
378 history = getHistory(collection, plan, TIME_B - HOUR_IN_MILLIS, in testAugmentPlan()
398 history = getHistory(emptyCollection, plan, TIME_A, TIME_C); in testAugmentPlan()
402 history = getHistory(collection, plan, TIME_A, TIME_C); i = 0; in testAugmentPlan()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java584 return getUidComplete().getHistory(template, null, uid, set, tag, fields, in openSessionInternal()
587 return getUidTagComplete().getHistory(template, null, uid, set, tag, fields, in openSessionInternal()
598 return getUidComplete().getHistory(template, null, uid, set, tag, fields, in openSessionInternal()
601 return getUidTagComplete().getHistory(template, null, uid, set, tag, fields, in openSessionInternal()
685 return mXtStatsCached.getHistory(template, augmentPlan, in internalGetHistoryForNetwork()
DNetworkStatsObservers.java411 NetworkStatsHistory history = mCollection.getHistory(template, null, uid, in getTotalBytesForNetworkUid()
DNetworkStatsCollection.java233 public NetworkStatsHistory getHistory(NetworkTemplate template, SubscriptionPlan augmentPlan, in getHistory() method in NetworkStatsCollection
/frameworks/native/libs/input/
DInputTransport.cpp819 const History* current = touchState.getHistory(0); in resampleTouchState()
857 other = touchState.getHistory(1); in resampleTouchState()