/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 183 Return<void> const& t) { in toBinderStatus() argument 185 t.isOk() ? OK : UNKNOWN_ERROR, in toBinderStatus() 186 t.description().c_str()); in toBinderStatus() 197 Return<Status> const& t) { in toBinderStatus() argument 199 t.isOk() ? static_cast<status_t>(static_cast<Status>(t)) : UNKNOWN_ERROR); in toBinderStatus() 209 inline status_t toStatusT(Return<void> const& t) { in toStatusT() argument 210 return t.isOk() ? OK : UNKNOWN_ERROR; in toStatusT() 220 inline status_t toStatusT(Status const& t) { in toStatusT() argument 221 switch (t) { in toStatusT() 235 return static_cast<status_t>(t); in toStatusT() [all …]
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | CXADemangle.tcc | 73 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/core/java/android/hardware/camera2/impl/ |
D | ICameraDeviceUserWrapper.java | 68 } catch (RemoteException t) { in disconnect() 77 } catch (Throwable t) { in submitRequest() 78 CameraManager.throwAsPublicException(t); in submitRequest() 79 throw new UnsupportedOperationException("Unexpected exception", t); in submitRequest() 87 } catch (Throwable t) { in submitRequestList() 88 CameraManager.throwAsPublicException(t); in submitRequestList() 89 throw new UnsupportedOperationException("Unexpected exception", t); in submitRequestList() 96 } catch (Throwable t) { in cancelRequest() 97 CameraManager.throwAsPublicException(t); in cancelRequest() 98 throw new UnsupportedOperationException("Unexpected exception", t); in cancelRequest() [all …]
|
/frameworks/base/libs/hwui/ |
D | Interpolator.cpp | 44 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/native/libs/gui/bufferqueue/1.0/ |
D | Conversion.cpp | 107 status_t toStatusT(Return<void> const& t) { in toStatusT() argument 108 return t.isOk() ? OK : (t.isDeadObject() ? DEAD_OBJECT : UNKNOWN_ERROR); in toStatusT() 119 Return<void> const& t) { in toBinderStatus() argument 121 toStatusT(t), in toBinderStatus() 122 t.description().c_str()); in toBinderStatus() 154 int32_t toRawDataspace(Dataspace const& t) { in toRawDataspace() argument 155 return static_cast<int32_t>(t); in toRawDataspace() 167 hidl_vec<uint8_t> t; in inHidlBytes() local 168 t.setToExternal(static_cast<uint8_t*>(const_cast<void*>(l)), size, false); in inHidlBytes() 169 return t; in inHidlBytes() [all …]
|
D | H2BGraphicBufferProducer.cpp | 102 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/base/tests/backup/ |
D | backup_helper_test.cpp | 51 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/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 186 inline bool wrapAs(Message* t, native_handle_t** nh, omx_message const& l) { in wrapAs() argument 191 t->fence = *nh; in wrapAs() 194 t->type = Message::Type::EVENT; in wrapAs() 195 t->data.eventData.event = uint32_t(l.u.event_data.event); in wrapAs() 196 t->data.eventData.data1 = l.u.event_data.data1; in wrapAs() 197 t->data.eventData.data2 = l.u.event_data.data2; in wrapAs() 198 t->data.eventData.data3 = l.u.event_data.data3; in wrapAs() 199 t->data.eventData.data4 = l.u.event_data.data4; in wrapAs() 202 t->type = Message::Type::EMPTY_BUFFER_DONE; in wrapAs() 203 t->data.bufferData.buffer = l.u.buffer_data.buffer; in wrapAs() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | TimeTest.java | 41 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/ |
D | VirtualTouchpad_test.cpp | 104 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/ |
D | ExceptionUtils.java | 43 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/rs/script_api/include/ |
D | rs_allocation_create.rsh | 17 // 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/opt/net/voip/src/java/com/android/server/sip/ |
D | SipSessionListenerProxy.java | 54 } 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/av/media/libaudioprocessing/ |
D | AudioMixerBase.cpp | 96 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/native/libs/gui/include/gui/bufferqueue/1.0/ |
D | Conversion.h | 136 ::android::binder::Status toBinderStatus(Return<void> const& t); 145 status_t toStatusT(Return<void> const& t); 172 int32_t toRawDataspace(Dataspace const& t); 201 void wrapAs(AnwBuffer* t, GraphicBuffer const& l); 213 bool convertTo(GraphicBuffer* l, AnwBuffer const& t); 353 bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l); 365 bool convertTo(Fence* l, hidl_handle const& t); 376 size_t getFlattenedSize(HGraphicBufferProducer::FenceTimeSnapshot const& t); 385 size_t getFdCount(HGraphicBufferProducer::FenceTimeSnapshot const& t); 400 status_t flatten(HGraphicBufferProducer::FenceTimeSnapshot const& t, [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/ |
D | EuiccNotificationTest.java | 36 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/rs/support/java/src/androidx/renderscript/ |
D | Type.java | 216 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/ |
D | clock_ns.h | 15 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/ |
D | TypeWrappers_test.cpp | 26 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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | FilteredTaskList.java | 47 void add(Task t) { in add() argument 48 mTasks.add(t); in add() 60 boolean remove(Task t) { in remove() argument 61 if (mFilteredTasks.contains(t)) { in remove() 62 boolean removed = mTasks.remove(t); in remove() 70 int indexOf(Task t) { in indexOf() argument 71 if (t != null && mFilteredTaskIndices.containsKey(t.key)) { in indexOf() 72 return mFilteredTaskIndices.get(t.key); in indexOf() 83 boolean contains(Task t) { in contains() argument 84 return mFilteredTaskIndices.containsKey(t.key); in contains() [all …]
|
/frameworks/base/core/java/android/net/ |
D | WebAddress.java | 90 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/ |
D | TestMain.java | 63 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/ |
D | Type.java | 269 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 …]
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/synthetic/ |
D | TestInterface.java | 225 for (int t = 0; t < 1000; t++) { in testCPUHeatSoak() 226 mLinesLow[t * 4 + 0] = (float)t; in testCPUHeatSoak() 227 mLinesLow[t * 4 + 1] = 498.f; in testCPUHeatSoak() 228 mLinesLow[t * 4 + 2] = (float)t; in testCPUHeatSoak() 229 mLinesLow[t * 4 + 3] = 500.f; in testCPUHeatSoak() 237 for (int t = 0; t < 1000; t++) { in testCPUHeatSoak() 248 mLinesLow[t * 4 + 1] = 499.f - p; in testCPUHeatSoak() 261 postTextToView(mTextTypical, "Average " + (total / (t + 1)) + " per second"); in testCPUHeatSoak() 291 for (int t = 0; t < 1000; t++) { in testCPUMemoryBandwidth() 292 mLinesLow[t * 4 + 0] = (float)t; in testCPUMemoryBandwidth() [all …]
|
/frameworks/base/core/java/android/view/animation/ |
D | BounceInterpolator.java | 38 private static float bounce(float t) { in bounce() argument 39 return t * t * 8.0f; in bounce() 42 public float getInterpolation(float t) { in getInterpolation() argument 49 t *= 1.1226f; in getInterpolation() 50 if (t < 0.3535f) return bounce(t); in getInterpolation() 51 else if (t < 0.7408f) return bounce(t - 0.54719f) + 0.7f; in getInterpolation() 52 else if (t < 0.9644f) return bounce(t - 0.8526f) + 0.9f; in getInterpolation() 53 else return bounce(t - 1.0435f) + 0.95f; in getInterpolation()
|