Home
last modified time | relevance | path

Searched refs:us2 (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java599 void compareUsageStats(UsageStats us1, UsageStats us2) {
600 assertEquals(us1.mPackageName, us2.mPackageName);
601 assertEquals(us1.mBeginTimeStamp, us2.mBeginTimeStamp);
602 assertEquals(us1.mLastTimeUsed, us2.mLastTimeUsed);
603 assertEquals(us1.mLastTimeVisible, us2.mLastTimeVisible);
604 assertEquals(us1.mLastTimeComponentUsed, us2.mLastTimeComponentUsed);
605 assertEquals(us1.mLastTimeForegroundServiceUsed, us2.mLastTimeForegroundServiceUsed);
606 assertEquals(us1.mTotalTimeInForeground, us2.mTotalTimeInForeground);
607 assertEquals(us1.mTotalTimeForegroundServiceUsed, us2.mTotalTimeForegroundServiceUsed);
608 assertEquals(us1.mAppLaunchCount, us2.mAppLaunchCount);
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rscript61 volatile ushort2 us2;
229 us2 = rsGetElementAt_ushort2(aUShort2, 0);
230 rsSetElementAt_ushort2(aUShort2, us2, 0);
231 us2 = rsGetElementAt_ushort2(aUShort2, 0, 0);
232 rsSetElementAt_ushort2(aUShort2, us2, 0, 0);
233 us2 = rsGetElementAt_ushort2(aUShort2, 0, 0, 0);
234 rsSetElementAt_ushort2(aUShort2, us2, 0, 0, 0);
439 c2 = convert_char2(us2);
461 uc2 = convert_uchar2(us2);
483 s2 = convert_short2(us2);
[all …]
Dmath.rscript44 volatile ushort2 us2;
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rscript59 volatile ushort2 us2;
227 us2 = rsGetElementAt_ushort2(aUShort2, 0);
228 rsSetElementAt_ushort2(aUShort2, us2, 0);
229 us2 = rsGetElementAt_ushort2(aUShort2, 0, 0);
230 rsSetElementAt_ushort2(aUShort2, us2, 0, 0);
231 us2 = rsGetElementAt_ushort2(aUShort2, 0, 0, 0);
232 rsSetElementAt_ushort2(aUShort2, us2, 0, 0, 0);
437 c2 = convert_char2(us2);
459 uc2 = convert_uchar2(us2);
481 s2 = convert_short2(us2);
[all …]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rscript43 volatile ushort2 us2;
209 us2 = rsGetElementAt_ushort2(aUShort2, 0);
210 rsSetElementAt_ushort2(aUShort2, us2, 0);
211 us2 = rsGetElementAt_ushort2(aUShort2, 0, 0);
212 rsSetElementAt_ushort2(aUShort2, us2, 0, 0);
213 us2 = rsGetElementAt_ushort2(aUShort2, 0, 0, 0);
214 rsSetElementAt_ushort2(aUShort2, us2, 0, 0, 0);
419 c2 = convert_char2(us2);
441 uc2 = convert_uchar2(us2);
463 s2 = convert_short2(us2);
[all …]
Dmath.rscript26 volatile ushort2 us2;
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java258 void compareUsageStats(UsageStats us1, UsageStats us2) { in compareUsageStats() argument
259 assertEquals(us1.mPackageName, us2.mPackageName); in compareUsageStats()
262 assertEquals(us1.mLastTimeUsed, us2.mLastTimeUsed); in compareUsageStats()
263 assertEquals(us1.mLastTimeVisible, us2.mLastTimeVisible); in compareUsageStats()
264 assertEquals(us1.mLastTimeComponentUsed, us2.mLastTimeComponentUsed); in compareUsageStats()
265 assertEquals(us1.mTotalTimeInForeground, us2.mTotalTimeInForeground); in compareUsageStats()
266 assertEquals(us1.mTotalTimeVisible, us2.mTotalTimeVisible); in compareUsageStats()
267 assertEquals(us1.mLastTimeForegroundServiceUsed, us2.mLastTimeForegroundServiceUsed); in compareUsageStats()
268 assertEquals(us1.mTotalTimeForegroundServiceUsed, us2.mTotalTimeForegroundServiceUsed); in compareUsageStats()
270 assertEquals(us1.mAppLaunchCount, us2.mAppLaunchCount); in compareUsageStats()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DConnectivityController.java146 public int compare(UidStats us1, UidStats us2) {
160 us1.runningJobs.size(), us2.runningJobs.size());
166 us1.numReadyWithConnectivity, us2.numReadyWithConnectivity);
173 us1.numRequestedNetworkAvailable, us2.numRequestedNetworkAvailable);
180 us1.basePriority, us2.basePriority);
186 final int ejPriority = prioritizeExistenceOver(0, us1.numEJs, us2.numEJs);
194 us1.basePriority, us2.basePriority);
199 if (us1.earliestEJEnqueueTime < us2.earliestEJEnqueueTime) {
201 } else if (us1.earliestEJEnqueueTime > us2.earliestEJEnqueueTime) {
205 if (us1.basePriority != us2.basePriority) {
[all …]
/frameworks/compile/slang/tests/P_math_int/
Dmath_int.rscript10 ushort2 us2;
/frameworks/rs/tests/cpp_api/typecheck/
Dkernels.rscript51 ushort2 us2;
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dmath.rscript26 volatile ushort2 us2;
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak26 volatile ushort2 us2;
Dmath.rs.orig26 volatile ushort2 us2;
Dmath.rscript26 volatile ushort2 us2;
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dmath.rscript26 volatile ushort2 us2;
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath.rscript42 volatile ushort2 us2;
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp1192 void rsDebug(const char *s, const float2 *f2, const ushort2 *us2) { argument
1194 ushort2 us = *us2;