Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 982) sorted by relevance

12345678910>>...40

/aosp14/frameworks/base/services/java/com/android/server/
H A DSystemServer.java1080 t.traceEnd(); in startBootstrapServices()
1088 t.traceEnd(); in startBootstrapServices()
1094 t.traceEnd(); in startBootstrapServices()
1104 t.traceEnd(); in startBootstrapServices()
1111 t.traceEnd(); in startBootstrapServices()
1118 t.traceEnd(); in startBootstrapServices()
1124 t.traceEnd(); in startBootstrapServices()
1130 t.traceEnd(); in startBootstrapServices()
1135 t.traceEnd(); in startBootstrapServices()
1140 t.traceEnd(); in startBootstrapServices()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/camera2/impl/
H A DICameraDeviceUserWrapper.java79 } catch (Throwable t) { in submitRequest()
89 } catch (Throwable t) { in submitRequestList()
98 } catch (Throwable t) { in cancelRequest()
107 } catch (Throwable t) { in beginConfigure()
118 } catch (Throwable t) { in endConfigure()
127 } catch (Throwable t) { in deleteStream()
137 } catch (Throwable t) { in createStream()
147 } catch (Throwable t) { in createInputStream()
156 } catch (Throwable t) { in getInputSurface()
165 } catch (Throwable t) { in createDefaultRequest()
[all …]
/aosp14/frameworks/base/libs/hwui/
H A DInterpolator.cpp45 return t * t * ((mTension + 1) * t - mTension); in interpolate()
49 return t * t * ((s + 1) * t - s); in a()
53 return t * t * ((s + 1) * t + s); in o()
57 if (t < 0.5f) in interpolate()
64 return t * t * 8.0f; in bounce()
68 t *= 1.1226f; in interpolate()
69 if (t < 0.3535f) in interpolate()
94 t -= 1.0f; in interpolate()
95 return t * t * ((mTension + 1) * t + mTension) + 1.0f; in interpolate()
99 if (t <= 0) { in interpolate()
[all …]
/aosp14/frameworks/base/tests/backup/
H A Dbackup_helper_test.cpp51 Test* t; in main() local
54 t = TESTS; in main()
57 t++; in main()
60 t = TESTS; in main()
67 t++; in main()
72 t = TESTS; in main()
77 t++; in main()
83 t = TESTS; in main()
90 t->result = t->func(); in main()
99 t++; in main()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/text/format/
H A DTimeTest.java372 if (!t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23) { in testParse33390()
377 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 || in testParse33390()
378 t.hour != 9 || t.minute != 50 || t.second != 50 || in testParse33390()
384 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 || in testParse33390()
385 t.hour != 9 || t.minute != 50 || t.second != 50 || in testParse33390()
391 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 || in testParse33390()
392 t.hour != 9 || t.minute != 50 || t.second != 50 || in testParse33390()
398 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 || in testParse33390()
405 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 || in testParse33390()
413 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 || in testParse33390()
[all …]
/aosp14/frameworks/base/core/java/android/util/
H A DExceptionUtils.java48 builder.append(t.getMessage()); in getCompleteMessage()
49 while ((t = t.getCause()) != null) { in getCompleteMessage()
61 if (t != null && c.isInstance(t)) { in propagateIfInstanceOf()
62 throw c.cast(t); in propagateIfInstanceOf()
71 propagateIfInstanceOf(t, c); in propagate()
72 return propagate(t); in propagate()
76 Preconditions.checkNotNull(t); in propagate()
79 throw new RuntimeException(t); in propagate()
86 while (t.getCause() != null) t = t.getCause(); in getRootCause()
87 return t; in getRootCause()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DSurfaceFreezer.java82 reset(t); in freeze()
100 unfreeze(t); in freeze()
133 void unfreeze(SurfaceControl.Transaction t) { in unfreeze() argument
134 unfreezeInner(t); in unfreeze()
162 mSnapshot.destroy(t); in reset()
166 t.remove(mLeash); in reset()
173 t.setLayer(mLeash, layer); in setLayer()
223 Snapshot(SurfaceControl.Transaction t, in Snapshot() argument
240 t.show(mSurfaceControl); in Snapshot()
251 t.remove(mSurfaceControl); in destroy()
[all …]
H A DTrustedOverlayHost.java69 t.reparent(mSurfaceControl, newParent); in setParent()
71 t.show(mSurfaceControl); in setParent()
73 t.hide(mSurfaceControl); in setParent()
79 t.setLayer(mSurfaceControl, layer); in setLayer()
85 t.setVisibility(mSurfaceControl, visible); in setVisibility()
94 t.reparent(p.getSurfaceControl(), mSurfaceControl) in addOverlay()
96 setParent(t,currentParent); in addOverlay()
97 t.apply(); in addOverlay()
107 t.reparent(l.getSurfaceControl(), null); in removeOverlay()
111 t.apply(); in removeOverlay()
[all …]
H A DSurfaceAnimator.java278 void setLayer(Transaction t, int layer) {
332 t.reparent(surface, mLeash);
333 t.reparent(mLeash, parent);
361 reset(t, false);
384 t.remove(leash);
437 t.reparent(surface, parent);
442 t.remove(leash);
473 t.setPosition(leash, x, y);
474 t.show(leash);
475 t.setAlpha(leash, hidden ? 0 : 1);
[all …]
H A DInputConsumerImpl.java109 layout(t, mTmpRect); in layout()
112 void layout(SurfaceControl.Transaction t, Rect r) { in layout() argument
119 t.setPosition(mInputSurface, r.left, r.top); in layout()
120 t.setWindowCrop(mInputSurface, mTmpClipRect); in layout()
126 void hide(SurfaceControl.Transaction t) { in hide() argument
127 t.hide(mInputSurface); in hide()
131 t.show(mInputSurface); in show()
136 void show(SurfaceControl.Transaction t, int layer) { in show() argument
137 t.show(mInputSurface); in show()
139 t.setLayer(mInputSurface, layer); in show()
[all …]
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
H A DIntegerPerfTest.java30 int t = 0; in timeLongSignumBranch() local
35 t += signum1(0); in timeLongSignumBranch()
36 t += signum1(i); in timeLongSignumBranch()
42 int t = 0; in timeLongSignumBranchFree() local
47 t += signum2(0); in timeLongSignumBranchFree()
62 int t = 0; in timeLongBitCount_BitSet() local
90 int t = 0; in timeLongBitCount_2Int() local
106 int t = 0; in timeLongBitCount_Long() local
141 int t = 0; in timeNumberOfTrailingZerosHD() local
151 int t = 0; in timeNumberOfTrailingZerosOL() local
[all …]
/aosp14/frameworks/base/rs/java/android/renderscript/
H A DType.java275 t.mElement = e; in createX()
276 t.mDimX = dimX; in createX()
278 return t; in createX()
299 t.mElement = e; in createXY()
300 t.mDimX = dimX; in createXY()
301 t.mDimY = dimY; in createXY()
303 return t; in createXY()
325 t.mElement = e; in createXYZ()
326 t.mDimX = dimX; in createXYZ()
330 return t; in createXYZ()
[all …]
/aosp14/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/synthetic/
H A DTestInterface.java225 for (int t = 0; t < 1000; t++) { in testCPUHeatSoak()
226 mLinesLow[t * 4 + 0] = (float)t; in testCPUHeatSoak()
228 mLinesLow[t * 4 + 2] = (float)t; in testCPUHeatSoak()
237 for (int t = 0; t < 1000; t++) { in testCPUHeatSoak()
291 for (int t = 0; t < 1000; t++) { in testCPUMemoryBandwidth()
292 mLinesLow[t * 4 + 0] = (float)t; in testCPUMemoryBandwidth()
294 mLinesLow[t * 4 + 2] = (float)t; in testCPUMemoryBandwidth()
343 for (int t = 0; t < 1000; t++) { in testCPUMemoryLatency()
344 mLinesLow[t * 4 + 0] = (float)t; in testCPUMemoryLatency()
346 mLinesLow[t * 4 + 2] = (float)t; in testCPUMemoryLatency()
[all …]
/aosp14/frameworks/base/core/java/android/view/animation/
H A DBounceInterpolator.java37 private static float bounce(float t) { in bounce() argument
38 return t * t * 8.0f; in bounce()
41 public float getInterpolation(float t) { in getInterpolation() argument
48 t *= 1.1226f; in getInterpolation()
49 if (t < 0.3535f) return bounce(t); in getInterpolation()
50 else if (t < 0.7408f) return bounce(t - 0.54719f) + 0.7f; in getInterpolation()
51 else if (t < 0.9644f) return bounce(t - 0.8526f) + 0.9f; in getInterpolation()
52 else return bounce(t - 1.0435f) + 0.95f; in getInterpolation()
H A DTransformation.java109 public void set(Transformation t) { in set() argument
110 mAlpha = t.getAlpha(); in set()
111 mMatrix.set(t.getMatrix()); in set()
112 if (t.mHasClipRect) { in set()
113 setClipRect(t.getClipRect()); in set()
127 mAlpha *= t.getAlpha(); in compose()
128 mMatrix.preConcat(t.getMatrix()); in compose()
129 if (t.mHasClipRect) { in compose()
147 mAlpha *= t.getAlpha(); in postCompose()
149 if (t.mHasClipRect) { in postCompose()
[all …]
H A DAnticipateOvershootInterpolator.java86 private static float a(float t, float s) { in a() argument
87 return t * t * ((s + 1) * t - s); in a()
90 private static float o(float t, float s) { in o() argument
91 return t * t * ((s + 1) * t + s); in o()
94 public float getInterpolation(float t) { in getInterpolation() argument
99 if (t < 0.5f) return 0.5f * a(t * 2.0f, mTension); in getInterpolation()
100 else return 0.5f * (o(t * 2.0f - 2.0f, mTension) + 2.0f); in getInterpolation()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DResizeVeil.java83 t.setPosition(mVeilSurface, 0, 0) in setupResizeVeil()
124 relayout(taskBounds, t); in showVeil()
131 t.apply(); in showVeil()
134 t.show(mVeilSurface) in showVeil()
170 updateResizeVeil(t, newBounds); in updateResizeVeil()
180 relayout(newBounds, t); in updateResizeVeil()
194 t.apply(); in hideVeil()
200 t.hide(mVeilSurface); in hideVeil()
201 t.apply(); in hideVeil()
228 t.remove(mVeilSurface); in dispose()
[all …]
/aosp14/frameworks/base/core/java/android/net/
H A DWebAddress.java90 String t; in WebAddress() local
93 if (t != null) mScheme = t.toLowerCase(Locale.ROOT); in WebAddress()
95 if (t != null) mAuthInfo = t; in WebAddress()
96 t = m.group(MATCH_GROUP_HOST); in WebAddress()
97 if (t != null) mHost = t; in WebAddress()
98 t = m.group(MATCH_GROUP_PORT); in WebAddress()
99 if (t != null && t.length() > 0) { in WebAddress()
108 if (t != null && t.length() > 0) { in WebAddress()
111 if (t.charAt(0) == '/') { in WebAddress()
112 mPath = t; in WebAddress()
[all …]
/aosp14/frameworks/base/libs/androidfw/tests/
H A DZipUtils_test.cpp38 struct tm t; in TEST_F() local
43 ZipUtils::zipTimeToTimespec(when, &t); in TEST_F()
45 EXPECT_EQ(2011, t.tm_year + 1900) in TEST_F()
48 EXPECT_EQ(5, t.tm_mon) in TEST_F()
51 EXPECT_EQ(29, t.tm_mday) in TEST_F()
54 EXPECT_EQ(14, t.tm_hour) in TEST_F()
57 EXPECT_EQ(40, t.tm_min) in TEST_F()
60 EXPECT_EQ(40, t.tm_sec) in TEST_F()
64 EXPECT_EQ(-1, t.tm_isdst); in TEST_F()
65 EXPECT_EQ(0, t.tm_gmtoff); in TEST_F()
[all …]
H A DTypeWrappers_test.cpp31 ResTable_type t{}; in createTypeTable() local
32 t.header.type = RES_TABLE_TYPE_TYPE; in createTypeTable()
33 t.header.headerSize = sizeof(t); in createTypeTable()
34 t.header.size = sizeof(t); in createTypeTable()
35 t.id = 1; in createTypeTable()
39 t.entriesStart = t.header.size; in createTypeTable()
40 t.entryCount = values.size(); in createTypeTable()
45 t.header.size += v ? entry_size : 0; in createTypeTable()
50 uint8_t* p_offsets = data + t.header.headerSize; in createTypeTable()
51 uint8_t* p_entries = data + t.entriesStart; in createTypeTable()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/service/euicc/
H A DEuiccProfileInfoTest.java200 EuiccProfileInfo t = null; in testEqualsHashCode() local
201 assertFalse(p.equals(t)); in testEqualsHashCode()
204 assertFalse(p.equals(t)); in testEqualsHashCode()
208 assertFalse(p.equals(t)); in testEqualsHashCode()
212 assertFalse(p.equals(t)); in testEqualsHashCode()
216 assertFalse(p.equals(t)); in testEqualsHashCode()
220 assertFalse(p.equals(t)); in testEqualsHashCode()
225 assertFalse(p.equals(t)); in testEqualsHashCode()
230 assertFalse(p.equals(t)); in testEqualsHashCode()
234 assertFalse(p.equals(t)); in testEqualsHashCode()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DBounceInterpolator.java29 public float getInterpolation(float t) { in getInterpolation() argument
30 t *= 11f / 10f; in getInterpolation()
31 if (t < 4f / 11f) { in getInterpolation()
32 return SCALE_FACTOR * t * t; in getInterpolation()
33 } else if (t < 8f / 11f) { in getInterpolation()
34 float t2 = t - 6f / 11f; in getInterpolation()
36 } else if (t < 10f / 11f) { in getInterpolation()
37 float t2 = t - 9f / 11f; in getInterpolation()
/aosp14/frameworks/base/cmds/incidentd/tests/
H A DThrottler_test.cpp25 Throttler t(100, 100000); in TEST() local
26 EXPECT_FALSE(t.shouldThrottle()); in TEST()
27 t.addReportSize(200); in TEST()
28 EXPECT_TRUE(t.shouldThrottle()); in TEST()
32 Throttler t(100, 500); in TEST() local
33 EXPECT_FALSE(t.shouldThrottle()); in TEST()
34 t.addReportSize(200); in TEST()
35 EXPECT_TRUE(t.shouldThrottle()); in TEST()
37 EXPECT_FALSE(t.shouldThrottle()); in TEST()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DSystemUIInterpolators.java40 private float computeLog(float t) { in computeLog() argument
41 return 1f - (float) Math.pow(mBase, -t * mTimeScale) + (mDrift * t); in computeLog()
45 public float getInterpolation(float t) { in getInterpolation() argument
46 return computeLog(t) * mOutputScale; in getInterpolation()
65 private static float computeLog(float t, int base, int drift) { in computeLog() argument
66 return (float) -Math.pow(base, -t) + 1 + (drift * t); in computeLog()
70 public float getInterpolation(float t) { in getInterpolation() argument
71 return 1 - computeLog(1 - t, mBase, mDrift) * mLogScale; in getInterpolation()
/aosp14/frameworks/base/core/java/android/widget/
H A DRemoteViewsService.java151 Thread t = Thread.currentThread(); in onDataSetChanged()
152 Thread.getDefaultUncaughtExceptionHandler().uncaughtException(t, ex); in onDataSetChanged()
163 Thread t = Thread.currentThread(); in getCount()
164 Thread.getDefaultUncaughtExceptionHandler().uncaughtException(t, ex); in getCount()
176 Thread t = Thread.currentThread(); in getViewAt()
186 Thread t = Thread.currentThread(); in getLoadingView()
196 Thread t = Thread.currentThread(); in getViewTypeCount()
206 Thread t = Thread.currentThread(); in getItemId()
216 Thread t = Thread.currentThread(); in hasStableIds()
229 Thread t = Thread.currentThread(); in onDestroy()
[all …]

12345678910>>...40