Home
last modified time | relevance | path

Searched refs:tr (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDumpHelpers.cpp86 void dumpVal(std::string& out, const char* name, const mat4& tr) { in dumpVal() argument
95 tr[0][0], tr[1][0], tr[2][0], tr[3][0], in dumpVal()
96 tr[0][1], tr[1][1], tr[2][1], tr[3][1], in dumpVal()
97 tr[0][2], tr[1][2], tr[2][2], tr[3][2], in dumpVal()
98 tr[0][3], tr[1][3], tr[2][3], tr[3][3] in dumpVal()
/frameworks/multidex/library/test/src/android/util/
DLog.java78 public static int v(String tag, String msg, Throwable tr) { in v() argument
79 return println(LOG_ID_MAIN, VERBOSE, tag, msg + '\n' + getStackTraceString(tr)); in v()
99 public static int d(String tag, String msg, Throwable tr) { in d() argument
100 return println(LOG_ID_MAIN, DEBUG, tag, msg + '\n' + getStackTraceString(tr)); in d()
120 public static int i(String tag, String msg, Throwable tr) { in i() argument
121 return println(LOG_ID_MAIN, INFO, tag, msg + '\n' + getStackTraceString(tr)); in i()
141 public static int w(String tag, String msg, Throwable tr) { in w() argument
142 return println(LOG_ID_MAIN, WARN, tag, msg + '\n' + getStackTraceString(tr)); in w()
151 public static int w(String tag, Throwable tr) { in w() argument
152 return println(LOG_ID_MAIN, WARN, tag, getStackTraceString(tr)); in w()
[all …]
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowSlog.java33 protected static int v(String tag, String msg, Throwable tr) { in v() argument
34 return Log.v(tag, msg, tr); in v()
43 protected static int d(String tag, String msg, Throwable tr) { in d() argument
44 return Log.d(tag, msg, tr); in d()
53 protected static int i(String tag, String msg, Throwable tr) { in i() argument
54 return Log.i(tag, msg, tr); in i()
63 protected static int w(String tag, String msg, Throwable tr) { in w() argument
64 return Log.w(tag, msg, tr); in w()
68 protected static int w(String tag, Throwable tr) { in w() argument
69 return Log.w(tag, tr); in w()
[all …]
/frameworks/base/core/java/android/util/
DLog.java144 public static int v(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in v() argument
145 return printlns(LOG_ID_MAIN, VERBOSE, tag, msg, tr); in v()
165 public static int d(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in d() argument
166 return printlns(LOG_ID_MAIN, DEBUG, tag, msg, tr); in d()
186 public static int i(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in i() argument
187 return printlns(LOG_ID_MAIN, INFO, tag, msg, tr); in i()
207 public static int w(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in w() argument
208 return printlns(LOG_ID_MAIN, WARN, tag, msg, tr); in w()
238 public static int w(@Nullable String tag, @Nullable Throwable tr) { in w() argument
239 return printlns(LOG_ID_MAIN, WARN, tag, "", tr); in w()
[all …]
DSlog.java35 public static int v(String tag, String msg, Throwable tr) { in v() argument
37 msg + '\n' + Log.getStackTraceString(tr)); in v()
46 public static int d(String tag, String msg, Throwable tr) { in d() argument
48 msg + '\n' + Log.getStackTraceString(tr)); in d()
56 public static int i(String tag, String msg, Throwable tr) { in i() argument
58 msg + '\n' + Log.getStackTraceString(tr)); in i()
67 public static int w(String tag, String msg, Throwable tr) { in w() argument
69 msg + '\n' + Log.getStackTraceString(tr)); in w()
72 public static int w(String tag, Throwable tr) { in w() argument
73 return Log.println_native(Log.LOG_ID_SYSTEM, Log.WARN, tag, Log.getStackTraceString(tr)); in w()
[all …]
/frameworks/native/libs/binder/
DIPCThreadState.cpp873 binder_transaction_data tr; in waitForResponse() local
874 err = mIn.read(&tr, sizeof(tr)); in waitForResponse()
879 if ((tr.flags & TF_STATUS_CODE) == 0) { in waitForResponse()
881 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer), in waitForResponse()
882 tr.data_size, in waitForResponse()
883 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse()
884 tr.offsets_size/sizeof(binder_size_t), in waitForResponse()
887 err = *reinterpret_cast<const status_t*>(tr.data.ptr.buffer); in waitForResponse()
889 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer), in waitForResponse()
890 tr.data_size, in waitForResponse()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java605 TaskRecord tr = mTasks.get(i); in removeTasksForUserLocked() local
606 if (tr.userId == userId) { in removeTasksForUserLocked()
608 "remove RecentTask " + tr + " when finishing user" + userId); in removeTasksForUserLocked()
609 remove(tr); in removeTasksForUserLocked()
617 final TaskRecord tr = mTasks.get(i); in onPackagesSuspendedChanged() local
618 if (tr.realActivity != null in onPackagesSuspendedChanged()
619 && packageNames.contains(tr.realActivity.getPackageName()) in onPackagesSuspendedChanged()
620 && tr.userId == userId in onPackagesSuspendedChanged()
621 && tr.realActivitySuspended != suspended) { in onPackagesSuspendedChanged()
622 tr.realActivitySuspended = suspended; in onPackagesSuspendedChanged()
[all …]
DAppTaskImpl.java82 TaskRecord tr = mService.mRootActivityContainer.anyTaskForId(mTaskId, in getTaskInfo() local
84 if (tr == null) { in getTaskInfo()
87 return mService.getRecentTasks().createRecentTaskInfo(tr); in getTaskInfo()
139 TaskRecord tr; in startActivity() local
142 tr = mService.mRootActivityContainer.anyTaskForId(mTaskId, in startActivity()
144 if (tr == null) { in startActivity()
159 .setInTask(tr) in startActivity()
170 TaskRecord tr = mService.mRootActivityContainer.anyTaskForId(mTaskId, in setExcludeFromRecents() local
172 if (tr == null) { in setExcludeFromRecents()
175 Intent intent = tr.getBaseIntent(); in setExcludeFromRecents()
/frameworks/base/telephony/java/android/telephony/
DRlog.java47 public static int v(String tag, String msg, Throwable tr) { in v() argument
49 msg + '\n' + Log.getStackTraceString(tr)); in v()
58 public static int d(String tag, String msg, Throwable tr) { in d() argument
60 msg + '\n' + Log.getStackTraceString(tr)); in d()
69 public static int i(String tag, String msg, Throwable tr) { in i() argument
71 msg + '\n' + Log.getStackTraceString(tr)); in i()
80 public static int w(String tag, String msg, Throwable tr) { in w() argument
82 msg + '\n' + Log.getStackTraceString(tr)); in w()
85 public static int w(String tag, Throwable tr) { in w() argument
86 return Log.println_native(Log.LOG_ID_RADIO, Log.WARN, tag, Log.getStackTraceString(tr)); in w()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java168 TaskRecord tr = getTaskRecord(TaskRecord.LOCK_TASK_AUTH_WHITELISTED); in testStartLockTaskMode_once() local
171 mLockTaskController.startLockTaskMode(tr, false, TEST_UID); in testStartLockTaskMode_once()
176 assertTrue(mLockTaskController.isTaskLocked(tr)); in testStartLockTaskMode_once()
205 TaskRecord tr = getTaskRecord(TaskRecord.LOCK_TASK_AUTH_PINNABLE); in testStartLockTaskMode_pinningRequest() local
208 mLockTaskController.startLockTaskMode(tr, false, TEST_UID); in testStartLockTaskMode_pinningRequest()
217 TaskRecord tr = getTaskRecord(TaskRecord.LOCK_TASK_AUTH_PINNABLE); in testStartLockTaskMode_pinnedBySystem() local
220 mLockTaskController.startLockTaskMode(tr, true, SYSTEM_UID); in testStartLockTaskMode_pinnedBySystem()
225 assertTrue(mLockTaskController.isTaskLocked(tr)); in testStartLockTaskMode_pinnedBySystem()
236 TaskRecord tr = getTaskRecord(TaskRecord.LOCK_TASK_AUTH_WHITELISTED); in testLockTaskViolation() local
237 mLockTaskController.startLockTaskMode(tr, false, TEST_UID); in testLockTaskViolation()
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/
DLog.java64 public static void d(Tag tag, String msg, Throwable tr) { in d() argument
66 android.util.Log.d(tag.toString(), msg, tr); in d() local
76 public static void e(Tag tag, String msg, Throwable tr) { in e() argument
78 android.util.Log.e(tag.toString(), msg, tr); in e() local
88 public static void i(Tag tag, String msg, Throwable tr) { in i() argument
90 android.util.Log.i(tag.toString(), msg, tr); in i() local
100 public static void v(Tag tag, String msg, Throwable tr) { in v() argument
102 android.util.Log.v(tag.toString(), msg, tr); in v() local
112 public static void w(Tag tag, String msg, Throwable tr) { in w() argument
114 android.util.Log.w(tag.toString(), msg, tr); in w() local
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java351 public CrashInfo(Throwable tr) { in CrashInfo() argument
354 tr.printStackTrace(pw); in CrashInfo()
357 exceptionMessage = tr.getMessage(); in CrashInfo()
360 Throwable rootTr = tr; in CrashInfo()
361 while (tr.getCause() != null) { in CrashInfo()
362 tr = tr.getCause(); in CrashInfo()
363 if (tr.getStackTrace() != null && tr.getStackTrace().length > 0) { in CrashInfo()
364 rootTr = tr; in CrashInfo()
366 String msg = tr.getMessage(); in CrashInfo()
390 public void appendStackTrace(String tr) { in appendStackTrace() argument
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DLog.java54 public static void e(String tag, String msg, Throwable tr) { in e() argument
56 android.util.Log.e(tag, msg, tr); in e()
58 final String trString = (tr != null) ? tr.getClass().getSimpleName() : "??"; in e()
/frameworks/rs/script_api/
Drs_value_types.spec24 …<tr><td> </td> <td>8 bits </td> <td>16 bits </td> <td>32 bits …
25tr><td>Integer: </td> <td>char, @int8_t </td> <td>short, @int16_t </td> <td>@int32_…
26 …<tr><td>Unsigned integer:</td> <td>uchar, @uint8_t</td> <td>ushort, @uint16_t</td> <td>uint, …
27 …<tr><td>Floating point: </td> <td> </td> <td>half </td> <td>float …
/frameworks/base/services/core/java/com/android/server/wm/animation/
DClipRectLRAnimation.java44 protected void applyTransformation(float it, Transformation tr) { in applyTransformation() argument
45 Rect oldClipRect = tr.getClipRect(); in applyTransformation()
46 tr.setClipRect(mFromRect.left + (int) ((mToRect.left - mFromRect.left) * it), in applyTransformation()
DClipRectTBAnimation.java75 protected void applyTransformation(float it, Transformation tr) {
79 Rect oldClipRect = tr.getClipRect();
80 tr.setClipRect(oldClipRect.left,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DModemPowerMetrics.java67 long[] tr = stats.getTimeInRatMs(); in buildProto() local
68 m.timeInRatMs = new long[tr.length]; in buildProto()
69 System.arraycopy(tr, 0, m.timeInRatMs, 0, tr.length); in buildProto()
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp120 mat4 tr; in inverseOrientation() local
123 tr = tr * rot90; in inverseOrientation()
126 tr = tr * flipH; in inverseOrientation()
129 tr = tr * flipV; in inverseOrientation()
131 return inverse(tr); in inverseOrientation()
192 mat4 tr = inverseOrientation(transform); in prepareClientLayer() local
206 tr = tr * inverseOrientation(parentTransform.getOrientation()); in prepareClientLayer()
210 const mat4 texTransform(mat4(static_cast<const float*>(textureMatrix)) * tr); in prepareClientLayer()
232 mat4 tr = mat4::translate(vec4(.5, .5, 0, 1)) * mat4::scale(vec4(1, -1, 1, 1)) * in prepareClientLayer() local
238 layer.source.buffer.textureTransform = mat4(static_cast<const float*>(textureMatrix)) * tr; in prepareClientLayer()
/frameworks/rs/perf-test-scripts/
Dset-cpu-freq13 [ `adb shell "[ -f $1 ] && echo 1 || echo 0" | tr -d '\r'` -eq 1 ]
17 echo `adb shell cat $1 | tr -d '\r'`
46 cores=`adb shell ls /sys/devices/system/cpu/ | grep cpu[0-9].* | tr -d '\r'`
72 … frequencies=(`adb shell cat $DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\r'`)
Dget-freq13 echo `adb shell cat $1 | tr -d '\r'`
40 cores=`adb shell ls /sys/devices/system/cpu/ | grep cpu[0-9].* | tr -d '\r'`
57 …frequencies=(`adb shell cat $CPU_DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\…
Dget-thermal43 ZONES=`adb shell ls $DIR | tr -d '\r' | grep thermal_zone | tr -d thermal_zone | sort -n`
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicLUT.cpp60 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr; in kernel() local
61 const uchar *tg = &tr[256]; in kernel()
66 out[0] = tr[in[0]]; in kernel()
/frameworks/base/data/sounds/
Dgenerate-all-audio.sh52 tr -d \ \\t |
56 tr -d \\n >> AllAudio.mk
/frameworks/base/telecomm/java/android/telecom/
DLog.java145 public static void e(String prefix, Throwable tr, String format, Object... args) { in e() argument
147 android.util.Slog.e(TAG, buildMessage(prefix, format, args), tr); in e()
151 public static void e(Object objectPrefix, Throwable tr, String format, Object... args) { in e() argument
154 tr); in e()
158 public static void wtf(String prefix, Throwable tr, String format, Object... args) { in wtf() argument
159 android.util.Slog.wtf(TAG, buildMessage(prefix, format, args), tr); in wtf()
162 public static void wtf(Object objectPrefix, Throwable tr, String format, Object... args) { in wtf() argument
164 tr); in wtf()
/frameworks/base/core/java/android/os/
DTransactionTracker.java46 public void addTrace(Throwable tr) { in addTrace() argument
47 String trace = Log.getStackTraceString(tr); in addTrace()

123