Home
last modified time | relevance | path

Searched refs:us (Results 1 – 25 of 71) sorted by relevance

123

/frameworks/compile/slang/tests/P_math_int/
Dmath_int.rscript9 ushort us;
59 TEST4_1(us, s, fnc); \
65 TEST4_1(us, us, fnc); \
73 TEST4_2(us, fnc); \
/frameworks/base/libs/hwui/utils/
DTimeUtils.h32 constexpr nsecs_t operator"" _us(unsigned long long us) {
33 return microseconds_to_nanoseconds(us);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DConnectivityController.java413 UidStats us = mUidStats.get(uid); in getUidStats() local
414 if (us == null) { in getUidStats()
426 us = new UidStats(uid); in getUidStats()
427 mUidStats.append(uid, us); in getUidStats()
429 return us; in getUidStats()
1221 UidStats us = mUidStats.valueAt(u); in maybeAdjustRegisteredCallbacksLocked() local
1222 ArraySet<JobStatus> jobs = mTrackedJobs.get(us.uid); in maybeAdjustRegisteredCallbacksLocked()
1224 unregisterDefaultNetworkCallbackLocked(us.uid, nowElapsed); in maybeAdjustRegisteredCallbacksLocked()
1229 if (us.lastUpdatedElapsed + MIN_STATS_UPDATE_INTERVAL_MS < nowElapsed) { in maybeAdjustRegisteredCallbacksLocked()
1230 us.earliestEnqueueTime = Long.MAX_VALUE; in maybeAdjustRegisteredCallbacksLocked()
[all …]
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dglobal_struct.c23 unsigned short us = -1; variable
34 double result = pf[0] * d[1][1] * s.d * us * l; in main()
Dglobals.c30 unsigned short us = -1; variable
41 double result = pf[0] * d[1][1] * s.d * us * l; in main()
Dlocals.cpp30 unsigned short us = -1; in main() local
44 double result = pf[0] * d[1][1] * s.f * us * l; in main()
Dparameters.cpp28 … pf, double ppd[][2], struct char_struct& s, int** ppn = 0, unsigned short us = 10u, const unsigne… in test_parameters() argument
30 double result = pf[0] * ppd[1][1] * s.c * us * l; in test_parameters()
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dlocals.rs33 unsigned short us = -1;
47 double result = pf[0] * d[1][1] * s.f * us * l;
/frameworks/compile/slang/lit-tests/opt/
Dlocals_opt_0.rscript22 unsigned short us = -1;
36 double result = pf[0] * d[1][1] * s.f * us * l;
Dlocals_opt_3.rscript22 unsigned short us = -1;
36 double result = pf[0] * d[1][1] * s.f * us * l;
Dlocals_opt_default.rscript25 unsigned short us = -1;
39 double result = pf[0] * d[1][1] * s.f * us * l;
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dmath.rscript86 TEST_INT_OP_TYPE(op, us) \
113 TEST_XN_FUNC_YN(us, fnc, us) \
121 TEST_XN_FUNC_YN(us, fnc, s) \
128 TEST_XN_FUNC_XN_XN(us, fnc) \
137 TEST_X_FUNC_X_X_X(us, fnc) \
396 TEST_CVT(to, us, type); \
407 TEST_CVT_MATRIX(us, ushort);
443 INIT_TYPE(us); \
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rscript86 TEST_INT_OP_TYPE(op, us) \
113 TEST_XN_FUNC_YN(us, fnc, us) \
121 TEST_XN_FUNC_YN(us, fnc, s) \
128 TEST_XN_FUNC_XN_XN(us, fnc) \
137 TEST_X_FUNC_X_X_X(us, fnc) \
396 TEST_CVT(to, us, type); \
407 TEST_CVT_MATRIX(us, ushort);
443 INIT_TYPE(us); \
Dmath.rs.orig86 TEST_INT_OP_TYPE(op, us) \
113 TEST_XN_FUNC_YN(us, fnc, us) \
121 TEST_XN_FUNC_YN(us, fnc, s) \
128 TEST_XN_FUNC_XN_XN(us, fnc) \
137 TEST_X_FUNC_X_X_X(us, fnc) \
396 TEST_CVT(to, us, type); \
407 TEST_CVT_MATRIX(us, ushort);
Dmath.rs.bak99 TEST_XN_FUNC_YN(us, fnc, us) \
107 TEST_XN_FUNC_YN(us, fnc, s) \
114 TEST_XN_FUNC_XN_XN(us, fnc) \
123 TEST_X_FUNC_X_X_X(us, fnc) \
382 TEST_CVT(to, us, type); \
393 TEST_CVT_MATRIX(us, ushort);
/frameworks/compile/slang/tests/P_warnings_rsSetElementAt/
Dsetelementat.rscript15 ushort us = 4;
29 rsSetElementAt(A, &us, 0, 0);
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
DDriverRS.java.template32 // This provides us with the renderscript context and resources that
33 // allow us to create the script that does rendering
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-int-param/
DDriverRS.java.template32 // This provides us with the renderscript context and resources that
33 // allow us to create the script that does rendering
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath.rscript102 TEST_INT_OP_TYPE(op, us) \
129 TEST_XN_FUNC_YN(us, fnc, us) \
137 TEST_XN_FUNC_YN(us, fnc, s) \
144 TEST_XN_FUNC_XN_XN(us, fnc) \
153 TEST_X_FUNC_X_X_X(us, fnc) \
420 TEST_CVT(to, us, type); \
431 TEST_CVT_MATRIX(us, ushort);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dmath.rscript104 TEST_INT_OP_TYPE(op, us) \
131 TEST_XN_FUNC_YN(us, fnc, us) \
139 TEST_XN_FUNC_YN(us, fnc, s) \
146 TEST_XN_FUNC_XN_XN(us, fnc) \
155 TEST_X_FUNC_X_X_X(us, fnc) \
422 TEST_CVT(to, us, type); \
433 TEST_CVT_MATRIX(us, ushort);
Dapitest.rscript60 volatile ushort us;
223 us = rsGetElementAt_ushort(aUShort, 0);
224 rsSetElementAt_ushort(aUShort, us, 0);
225 us = rsGetElementAt_ushort(aUShort, 0, 0);
226 rsSetElementAt_ushort(aUShort, us, 0, 0);
227 us = rsGetElementAt_ushort(aUShort, 0, 0, 0);
228 rsSetElementAt_ushort(aUShort, us, 0, 0, 0);
910 us = abs(s);
931 us = clz(us);
956 us = min(us, us);
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rscript58 volatile ushort us;
221 us = rsGetElementAt_ushort(aUShort, 0);
222 rsSetElementAt_ushort(aUShort, us, 0);
223 us = rsGetElementAt_ushort(aUShort, 0, 0);
224 rsSetElementAt_ushort(aUShort, us, 0, 0);
225 us = rsGetElementAt_ushort(aUShort, 0, 0, 0);
226 rsSetElementAt_ushort(aUShort, us, 0, 0, 0);
908 us = abs(s);
929 us = clz(us);
954 us = min(us, us);
[all …]
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsExporterTest.java194 .filter(us -> us.getUid() == APP_UID1).findFirst().orElse(null); in combinedProcessStates()
294 .filter(us -> us.getUid() == uid).findFirst().orElse(null); in assertUidPowerEstimate()
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rscript104 BENCH_BASIC_OP_TYPE(op, us) \
127 BENCH_CVT(to, us, type); \
153 BENCH_XN_FUNC_YN(us, fnc, us) \
161 BENCH_XN_FUNC_YN(us, fnc, s) \
168 BENCH_XN_FUNC_XN_XN(us, fnc) \
177 BENCH_X_FUNC_X_X_X(us, fnc) \
295 BENCH_CVT_MATRIX(us, ushort);
/frameworks/base/services/core/java/com/android/server/pm/
DSnapshotStatistics.java148 private int usToMs(int us) { in usToMs() argument
149 return us / US_IN_MS; in usToMs()
349 private String durationToString(long us) { in durationToString() argument
351 int s = (int) (us / (1000 * 1000)); in durationToString()

123