Home
last modified time | relevance | path

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

12345678910>>...47

/frameworks/base/core/java/android/hardware/camera2/impl/
DICameraDeviceUserWrapper.java70 } catch (RemoteException t) { in disconnect()
79 } catch (Throwable t) { in submitRequest()
80 CameraManager.throwAsPublicException(t); in submitRequest()
81 throw new UnsupportedOperationException("Unexpected exception", t); in submitRequest()
89 } catch (Throwable t) { in submitRequestList()
90 CameraManager.throwAsPublicException(t); in submitRequestList()
91 throw new UnsupportedOperationException("Unexpected exception", t); in submitRequestList()
98 } catch (Throwable t) { in cancelRequest()
99 CameraManager.throwAsPublicException(t); in cancelRequest()
100 throw new UnsupportedOperationException("Unexpected exception", t); in cancelRequest()
[all …]
/frameworks/base/services/java/com/android/server/
DSystemServer.java431 TimingsTraceAndSlog t = new TimingsTraceAndSlog(); in run() local
433 t.traceBegin("InitBeforeStartServices"); in run()
581 t.traceEnd(); // InitBeforeStartServices in run()
589 t.traceBegin("StartServices"); in run()
590 startBootstrapServices(t); in run()
591 startCoreServices(t); in run()
592 startOtherServices(t); in run()
598 t.traceEnd(); // StartServices in run()
704 private void startBootstrapServices(@NonNull TimingsTraceAndSlog t) { in startBootstrapServices() argument
705 t.traceBegin("startBootstrapServices"); in startBootstrapServices()
[all …]
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h182 Return<void> const& t) { in toBinderStatus() argument
184 t.isOk() ? OK : UNKNOWN_ERROR, in toBinderStatus()
185 t.description().c_str()); in toBinderStatus()
196 Return<Status> const& t) { in toBinderStatus() argument
198 t.isOk() ? static_cast<status_t>(static_cast<Status>(t)) : UNKNOWN_ERROR); in toBinderStatus()
208 inline status_t toStatusT(Return<void> const& t) { in toStatusT() argument
209 return t.isOk() ? OK : UNKNOWN_ERROR; in toStatusT()
219 inline status_t toStatusT(Status const& t) { in toStatusT() argument
220 switch (t) { in toStatusT()
234 return static_cast<status_t>(t); in toStatusT()
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DCXADemangle.tcc73 for (auto& t : db.template_param) in print_stack() local
77 for (auto& v : t) in print_stack()
110 const char* t = first; in parse_number() local
111 if (*t == 'n') in parse_number()
112 ++t; in parse_number()
113 if (t != last) in parse_number()
115 if (*t == '0') in parse_number()
117 first = t+1; in parse_number()
119 else if ('1' <= *t && *t <= '9') in parse_number()
121 first = t+1; in parse_number()
[all …]
/frameworks/base/libs/hwui/
DInterpolator.cpp44 float AnticipateInterpolator::interpolate(float t) { in interpolate() argument
45 return t * t * ((mTension + 1) * t - mTension); in interpolate()
48 static float a(float t, float s) { in a() argument
49 return t * t * ((s + 1) * t - s); in a()
52 static float o(float t, float s) { in o() argument
53 return t * t * ((s + 1) * t + s); in o()
56 float AnticipateOvershootInterpolator::interpolate(float t) { in interpolate() argument
57 if (t < 0.5f) in interpolate()
58 return 0.5f * a(t * 2.0f, mTension); in interpolate()
60 return 0.5f * (o(t * 2.0f - 2.0f, mTension) + 2.0f); in interpolate()
[all …]
/frameworks/base/tests/backup/
Dbackup_helper_test.cpp51 Test* t; in main() local
54 t = TESTS; in main()
55 while (t->name) { in main()
56 t->run = true; in main()
57 t++; in main()
60 t = TESTS; in main()
61 while (t->name) { in main()
63 if (0 == strcmp(t->name, argv[i])) { in main()
64 t->run = true; in main()
67 t++; in main()
[all …]
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp107 status_t toStatusT(Return<void> const& t) { in toStatusT() argument
108 return t.isOk() ? OK : (t.isDeadObject() ? DEAD_OBJECT : UNKNOWN_ERROR); in toStatusT()
140 int32_t toRawDataspace(Dataspace const& t) { in toRawDataspace() argument
141 return static_cast<int32_t>(t); in toRawDataspace()
153 hidl_vec<uint8_t> t; in inHidlBytes() local
154 t.setToExternal(static_cast<uint8_t*>(const_cast<void*>(l)), size, false); in inHidlBytes()
155 return t; in inHidlBytes()
167 hidl_vec<uint8_t> t; in toHidlBytes() local
168 t.resize(size); in toHidlBytes()
170 std::copy(src, src + size, t.data()); in toHidlBytes()
[all …]
DH2BGraphicBufferProducer.cpp102 inline status_t toStatusT(Return<Status> const& t) { in toStatusT() argument
103 if (t.isOk()) { in toStatusT()
104 return static_cast<status_t>(static_cast<Status>(t)); in toStatusT()
105 } else if (t.isDeadObject()) { in toStatusT()
118 inline status_t toStatusT(Return<void> const& t) { in toStatusT() argument
119 return t.isOk() ? OK : (t.isDeadObject() ? DEAD_OBJECT : UNKNOWN_ERROR); in toStatusT()
129 inline void wrapAs(AnwBuffer* t, GraphicBuffer const& l) { in wrapAs() argument
130 t->attr.width = l.getWidth(); in wrapAs()
131 t->attr.height = l.getHeight(); in wrapAs()
132 t->attr.stride = l.getStride(); in wrapAs()
[all …]
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h185 inline bool wrapAs(Message* t, native_handle_t** nh, omx_message const& l) { in wrapAs() argument
190 t->fence = *nh; in wrapAs()
193 t->type = Message::Type::EVENT; in wrapAs()
194 t->data.eventData.event = uint32_t(l.u.event_data.event); in wrapAs()
195 t->data.eventData.data1 = l.u.event_data.data1; in wrapAs()
196 t->data.eventData.data2 = l.u.event_data.data2; in wrapAs()
197 t->data.eventData.data3 = l.u.event_data.data3; in wrapAs()
198 t->data.eventData.data4 = l.u.event_data.data4; in wrapAs()
201 t->type = Message::Type::EMPTY_BUFFER_DONE; in wrapAs()
202 t->data.bufferData.buffer = l.u.buffer_data.buffer; in wrapAs()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeTest.java41 Time t = new Time(Time.TIMEZONE_UTC); in testNormalize0() local
42 t.parse("20060432T010203"); in testNormalize0()
43 t.normalize(false /* use isDst */); in testNormalize0()
281 Time t = new Time(Time.TIMEZONE_UTC); in testSwitchTimezone0() local
282 t.parse("20061005T120000"); in testSwitchTimezone0()
283 t.switchTimezone("America/Los_Angeles"); in testSwitchTimezone0()
289 Time t = new Time(Time.TIMEZONE_UTC); in testCtor0() local
290 assertEquals(Time.TIMEZONE_UTC, t.timezone); in testCtor0()
295 Time t = new Time(Time.TIMEZONE_UTC); in testGetActualMaximum0() local
296 t.getActualMaximum(Time.SECOND); in testGetActualMaximum0()
[all …]
/frameworks/native/services/vr/virtual_touchpad/tests/
DVirtualTouchpad_test.cpp104 for (int t = 0; t < kTouchpads; ++t) { in New() local
105 touchpad->SetEvdevInjectorForTesting(t, &touchpad->injector[t]); in New()
127 for (int t = 0; t < touchpad->GetTouchpadCount(); ++t) { in TEST_F() local
128 SCOPED_TRACE(t); in TEST_F()
129 uidev = touchpad->injector[t].GetUiDev(); in TEST_F()
131 name.appendFormat("vr-virtual-touchpad-%d", t); in TEST_F()
146 for (int t = 0; t < touchpad->GetTouchpadCount(); ++t) { in TEST_F() local
147 SCOPED_TRACE(t); in TEST_F()
170 expect.Write(touchpad->injector[t].GetUiDev(), sizeof(uinput_user_dev)); in TEST_F()
172 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString()); in TEST_F()
[all …]
/frameworks/base/core/java/android/util/
DExceptionUtils.java43 public static String getCompleteMessage(String msg, Throwable t) { in getCompleteMessage() argument
48 builder.append(t.getMessage()); in getCompleteMessage()
49 while ((t = t.getCause()) != null) { in getCompleteMessage()
50 builder.append(": ").append(t.getMessage()); in getCompleteMessage()
55 public static String getCompleteMessage(Throwable t) { in getCompleteMessage() argument
56 return getCompleteMessage(null, t); in getCompleteMessage()
60 @Nullable Throwable t, Class<E> c) throws E { in propagateIfInstanceOf()
61 if (t != null && c.isInstance(t)) { in propagateIfInstanceOf()
62 throw c.cast(t); in propagateIfInstanceOf()
69 public static <E extends Exception> RuntimeException propagate(@NonNull Throwable t, Class<E> c) in propagate() argument
[all …]
/frameworks/av/media/libaudioprocessing/
DAudioMixerBase.cpp96 auto t = preCreateTrack(); in create() local
100 t->needs = 0; in create()
105 t->volume[0] = 0; in create()
106 t->volume[1] = 0; in create()
107 t->prevVolume[0] = 0 << 16; in create()
108 t->prevVolume[1] = 0 << 16; in create()
109 t->volumeInc[0] = 0; in create()
110 t->volumeInc[1] = 0; in create()
111 t->auxLevel = 0; in create()
112 t->auxInc = 0; in create()
[all …]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipSessionListenerProxy.java54 } catch (Throwable t) { in onCalling()
55 handle(t, "onCalling()"); in onCalling()
70 } catch (Throwable t) { in onRinging()
71 handle(t, "onRinging()"); in onRinging()
85 } catch (Throwable t) { in onRingingBack()
86 handle(t, "onRingingBack()"); in onRingingBack()
101 } catch (Throwable t) { in onCallEstablished()
102 handle(t, "onCallEstablished()"); in onCallEstablished()
116 } catch (Throwable t) { in onCallEnded()
117 handle(t, "onCallEnded()"); in onCallEnded()
[all …]
/frameworks/rs/script_api/include/
Drs_allocation_create.rsh17 // Don't edit this file! It is auto-generated by frameworks/rs/api/generate.sh.
161 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
162 return rsCreateAllocation(t);
170 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
171 return rsCreateAllocation(t);
179 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
180 return rsCreateAllocation(t);
188 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
189 return rsCreateAllocation(t);
197 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
[all …]
/frameworks/native/services/surfaceflinger/tests/
DLayerUpdate_test.cpp65 asTransaction([&](Transaction& t) { in SetUp() argument
66 t.setDisplayLayerStack(display, 0); in SetUp()
68 t.setLayer(mBGSurfaceControl, INT32_MAX - 2).show(mBGSurfaceControl); in SetUp()
70 t.setLayer(mFGSurfaceControl, INT32_MAX - 1) in SetUp()
74 t.setLayer(mSyncSurfaceControl, INT32_MAX - 1) in SetUp()
166 asTransaction([&](Transaction& t) { in restoreInitialState() argument
167 t.setSize(mFGSurfaceControl, 64, 64); in restoreInitialState()
168 t.setPosition(mFGSurfaceControl, 64, 64); in restoreInitialState()
169 t.setCrop_legacy(mFGSurfaceControl, Rect(0, 0, 64, 64)); in restoreInitialState()
209 asTransaction([&](Transaction& t) { in TEST_F() argument
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/
DEuiccNotificationTest.java36 EuiccNotification t = null; in testEqualsHashCode() local
37 assertFalse(n.equals(t)); in testEqualsHashCode()
39 t = new EuiccNotification(1, "g.co", EuiccNotification.EVENT_DELETE, new byte[]{1}); in testEqualsHashCode()
40 assertTrue(n.equals(t)); in testEqualsHashCode()
41 assertEquals(n.hashCode(), t.hashCode()); in testEqualsHashCode()
43 t = new EuiccNotification(2, "g.co", EuiccNotification.EVENT_DELETE, new byte[]{1}); in testEqualsHashCode()
44 assertFalse(n.equals(t)); in testEqualsHashCode()
45 assertNotEquals(n.hashCode(), t.hashCode()); in testEqualsHashCode()
47 t = new EuiccNotification(1, "x.co", EuiccNotification.EVENT_DELETE, new byte[]{1}); in testEqualsHashCode()
48 assertFalse(n.equals(t)); in testEqualsHashCode()
[all …]
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DConversion.h134 status_t toStatusT(Return<void> const& t);
161 int32_t toRawDataspace(Dataspace const& t);
190 void wrapAs(AnwBuffer* t, GraphicBuffer const& l);
202 bool convertTo(GraphicBuffer* l, AnwBuffer const& t);
342 bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l);
354 bool convertTo(Fence* l, hidl_handle const& t);
365 size_t getFlattenedSize(HGraphicBufferProducer::FenceTimeSnapshot const& t);
374 size_t getFdCount(HGraphicBufferProducer::FenceTimeSnapshot const& t);
389 status_t flatten(HGraphicBufferProducer::FenceTimeSnapshot const& t,
408 HGraphicBufferProducer::FenceTimeSnapshot* t, native_handle_t** nh,
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DType.java216 Type t = new Type(id, rs); in createX() local
217 t.mElement = e; in createX()
218 t.mDimX = dimX; in createX()
219 t.calcElementCount(); in createX()
220 return t; in createX()
240 Type t = new Type(id, rs); in createXY() local
241 t.mElement = e; in createXY()
242 t.mDimX = dimX; in createXY()
243 t.mDimY = dimY; in createXY()
244 t.calcElementCount(); in createXY()
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dclock_ns.h15 timespec t; in GetSystemClock() local
16 clock_gettime(CLOCK_MONOTONIC, &t); in GetSystemClock()
17 return t; in GetSystemClock()
21 timespec t; in GetSystemClockRaw() local
22 clock_gettime(CLOCK_MONOTONIC_RAW, &t); in GetSystemClockRaw()
23 return t; in GetSystemClockRaw()
27 timespec t = GetSystemClock(); in GetSystemClockNs() local
28 int64_t ns = kNanosPerSecond * (int64_t)t.tv_sec + (int64_t)t.tv_nsec; in GetSystemClockNs()
33 timespec t = GetSystemClockRaw(); in GetSystemClockRawNs() local
34 int64_t ns = kNanosPerSecond * (int64_t)t.tv_sec + (int64_t)t.tv_nsec; in GetSystemClockRawNs()
[all …]
/frameworks/base/libs/androidfw/tests/
DTypeWrappers_test.cpp26 ResTable_type t; in createTypeData() local
27 memset(&t, 0, sizeof(t)); in createTypeData()
28 t.header.type = RES_TABLE_TYPE_TYPE; in createTypeData()
29 t.header.headerSize = sizeof(t); in createTypeData()
30 t.id = 1; in createTypeData()
31 t.entryCount = 3; in createTypeData()
34 t.entriesStart = t.header.headerSize + sizeof(offsets); in createTypeData()
35 t.header.size = t.entriesStart; in createTypeData()
42 t.header.size += sizeof(e1); in createTypeData()
46 t.header.size += sizeof(v1); in createTypeData()
[all …]
/frameworks/base/core/java/android/view/animation/
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()
/frameworks/base/core/java/android/net/
DWebAddress.java90 String t; in WebAddress() local
92 t = m.group(MATCH_GROUP_SCHEME); in WebAddress()
93 if (t != null) mScheme = t.toLowerCase(Locale.ROOT); in WebAddress()
94 t = m.group(MATCH_GROUP_AUTHORITY); 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()
102 mPort = Integer.parseInt(t); in WebAddress()
[all …]
/frameworks/base/tools/locked_region_code_injection/test/lockedregioncodeinjection/
DTestMain.java63 TestTarget t = new TestTarget(); in testSimpleSynchronizedBlock() local
69 synchronized (t) { in testSimpleSynchronizedBlock()
83 TestTarget t = new TestTarget(); in testSimpleSynchronizedMethod() local
88 t.synchronizedCall(); in testSimpleSynchronizedMethod()
98 TestTarget t = new TestTarget(); in testSimpleSynchronizedMethod2() local
103 t.synchronizedCallReturnInt(); in testSimpleSynchronizedMethod2()
113 TestTarget t = new TestTarget(); in testSimpleSynchronizedMethod3() local
118 t.synchronizedCallReturnObject(); in testSimpleSynchronizedMethod3()
129 TestTarget t = new TestTarget(); in testCaughtException() local
137 synchronized (t) { in testCaughtException()
[all …]
/frameworks/base/rs/java/android/renderscript/
DType.java269 Type t = new Type(id, rs); in createX() local
270 t.mElement = e; in createX()
271 t.mDimX = dimX; in createX()
272 t.calcElementCount(); in createX()
273 return t; in createX()
293 Type t = new Type(id, rs); in createXY() local
294 t.mElement = e; in createXY()
295 t.mDimX = dimX; in createXY()
296 t.mDimY = dimY; in createXY()
297 t.calcElementCount(); in createXY()
[all …]

12345678910>>...47