Searched defs:getHistory (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/net/
H A DNetworkStatsCollectionTest.java233 // Verify security check in getHistory.
234 assertNotNull(collection.getHistory(buildTemplateMobileAll(TEST_IMSI), null, myUid, SET_DEFAULT,
237 collection.getHistory(buildTemplateMobileAll(TEST_IMSI), null, otherUidInSameUser,
291 history = getHistory(emptyCollection, plan, TIME_A, TIME_C);
295 history = getHistory(collection, plan, TIME_A, TIME_C); i = 0;
323 history = getHistory(collection, plan, TIME_B - HOUR_IN_MILLIS,
343 history = getHistory(emptyCollection, plan, TIME_A, TIME_C);
347 history = getHistory(collection, plan, TIME_A, TIME_C); i = 0;
378 history = getHistory(collection, plan, TIME_B - HOUR_IN_MILLIS,
398 history = getHistory(emptyCollectio
522 private static NetworkStatsHistory getHistory(NetworkStatsCollection collection, method in class:NetworkStatsCollectionTest
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsCollection.java233 public NetworkStatsHistory getHistory(NetworkTemplate template, SubscriptionPlan augmentPlan, method in class:NetworkStatsCollection
/frameworks/native/include/input/
H A DInputTransport.h417 const History* getHistory(size_t index) const { function in struct:android::InputConsumer::TouchState
426 if (!getHistory(0)->hasPointerId(id) || !getHistory(1)->hasPointerId(id)) {
429 float currentX = getHistory(0)->getPointerById(id).getX();
430 float currentY = getHistory(0)->getPointerById(id).getY();
431 float previousX = getHistory(1)->getPointerById(id).getX();
432 float previousY = getHistory(1)->getPointerById(id).getY();

Completed in 234 milliseconds