Home
last modified time | relevance | path

Searched defs:auto (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchTimerQueueTest.cpp617 [&](auto, auto, auto) { in TEST_F() argument
631 [&](auto timestamp, auto, auto) { in TEST_F() argument
894 mDispatch, [](auto, auto, auto) {}, ""); in TEST_F() argument
908 mDispatch, [](auto, auto, auto) {}, ""); in TEST_F() argument
910 mDispatch, [](auto, auto, auto) {}, ""); in TEST_F() argument
1234 name, [](auto, auto, auto) {}, mVsyncMoveThreshold); in TEST_F() argument
1242 "test", [](auto, auto, auto) {}, mVsyncMoveThreshold); in TEST_F() argument
1267 "test", [](auto, auto, auto) {}, mVsyncMoveThreshold); in TEST_F() argument
1326 "test", [](auto, auto, auto) {}, mVsyncMoveThreshold); in TEST_F() argument
1349 "test", [](auto, auto, auto) {}, mVsyncMoveThreshold); in TEST_F() argument
[all …]
DDisplayTransactionTest.cpp40 mFlinger.setCreateBufferQueueFunction([](auto, auto, auto) { in DisplayTransactionTest() argument
44 mFlinger.setCreateNativeWindowSurface([](auto) { in DisplayTransactionTest() argument
120 mFlinger.setCreateNativeWindowSurface([this](auto) { in injectFakeNativeWindowSurfaceFactory() argument
DSurfaceFlinger_DisplayModeSwitching.cpp368 const auto [innerDisplay, outerDisplay] = injectOuterDisplay(); in TEST_F() local
441 const auto [innerDisplay, outerDisplay] = injectOuterDisplay(); in TEST_F() local
519 const auto [innerDisplay, outerDisplay] = injectOuterDisplay(); in TEST_F() local
/frameworks/base/libs/androidfw/tests/
DByteBucketArray_test.cpp97 bba.forEachItem([&count](auto, auto) { ++count; }); in TEST() argument
103 bba.forEachItem([&count](auto, auto) { ++count; }); in TEST() argument
/frameworks/native/libs/ftl/
Dsmall_map_test.cpp208 const auto [it, ok] = map.try_emplace(123, "abc"); in TYPED_TEST() local
213 const auto [it, ok] = map.try_emplace(42, 3u, '?'); in TYPED_TEST() local
218 const auto [it, ok] = map.try_emplace(-1); in TYPED_TEST() local
229 const auto [it, ok] = map.try_emplace(42, "!!!"); in TYPED_TEST() local
240 const auto [it, ok] = map.try_emplace(999, "xyz"); in TYPED_TEST() local
317 const auto [it, emplace] = map.emplace_or_replace(3, "c"); in TYPED_TEST() local
327 const auto [it, emplace] = map.emplace_or_replace(2, 1u, static_cast<char>(std::tolower(*ref))); in TYPED_TEST() local
344 const auto [it, emplace] = map.emplace_or_replace(5, "e"); in TYPED_TEST() local
354 const auto [it, emplace] = map.emplace_or_replace(3, ref->get().str, 2u, 1u); in TYPED_TEST() local
Dexpected_test.cpp55 EXPECT_FALSE(IntExp(123).has_error([](auto) { return true; })); in TEST() argument
56 EXPECT_FALSE(IntExp(ftl::Unexpected(std::errc::io_error)).has_error([](auto) { return false; })); in TEST() argument
/frameworks/native/include/ftl/
Dmatch.h46 decltype(auto) match(std::variant<Ts...>& variant, Ms&&... matchers) { in decltype() argument
54 decltype(auto) match(const std::variant<Ts...>& variant, Ms&&... matchers) { in decltype() argument
Dstring.h58 const auto [end, err] = std::to_chars(begin, buffer + N, v, static_cast<int>(radix)); variable
Dnon_null.h83 [[nodiscard]] constexpr decltype(auto) operator*() const { return *get(); } in decltype() argument
/frameworks/base/libs/hwui/tests/unit/
DWebViewFunctorManagerTests.cpp67 TestUtils::runOnRenderThreadUnmanaged([&](auto&) { in TEST() argument
74 TestUtils::runOnRenderThreadUnmanaged([&](auto&) { in TEST() argument
103 TestUtils::runOnRenderThreadUnmanaged([&](auto&) { in TEST() argument
131 TestUtils::runOnRenderThreadUnmanaged([&](auto&) { in TEST() argument
148 TestUtils::runOnRenderThreadUnmanaged([&](auto&) { in TEST() argument
/frameworks/libs/binary_translation/intrinsics/riscv64/
Dvector_intrinsics_test.cc68 const auto [simd_mask] = BitMaskToSimdMask<Int8>(mask); in TEST() local
76 const auto [simd_mask] = BitMaskToSimdMask<Int16>(mask); in TEST() local
84 const auto [simd_mask] = BitMaskToSimdMask<Int32>(mask); in TEST() local
92 const auto [simd_mask] = BitMaskToSimdMask<Int64>(mask); in TEST() local
123 const auto [simd_mask] = BitMaskToSimdMask<decltype(kElement)>(mask); in TestVectorMaskedElementTo() local
/frameworks/libs/binary_translation/intrinsics/riscv64/include/berberis/intrinsics/riscv64/
Dvector_intrinsics.h248 const auto [tail_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vl); in VectorMasking() local
259 const auto [start_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vstart); in VectorMasking() local
260 const auto [tail_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vl); in VectorMasking() local
267 const auto [tail_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vl); in VectorMasking() local
278 const auto [start_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vstart); in VectorMasking() local
279 const auto [tail_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vl); in VectorMasking() local
287 const auto [tail_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vl); in VectorMasking() local
297 const auto [start_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vstart); in VectorMasking() local
298 const auto [tail_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vl); in VectorMasking() local
320 const auto [simd_mask] = BitMaskToSimdMask<decltype(kDefaultElement)>( variable
[all …]
/frameworks/av/services/mediametrics/
DAudioAnalytics.cpp608 const auto [prefixKey, suffixKey] = stringutils::splitPrefixKey(key); in processStatus() local
681 const auto [ result, str ] = sendToStatsd(AudioRecordStatusFields, in reportAudioRecordStatus() local
768 const auto [ result, str ] = sendToStatsd(AudioTrackStatusFields, in reportAudioTrackStatus() local
839 const auto [ inputDeviceStatsd, inputDevices ] = in endAudioIntervalGroup() local
894 const auto [ result, str ] = sendToStatsd(AudioRecordDeviceUsageFields, in endAudioIntervalGroup() local
964 const auto [ result, str ] = sendToStatsd(AudioThreadDeviceUsageFields, in endAudioIntervalGroup() local
987 const auto [ outputDeviceStatsd, outputDevices ] = in endAudioIntervalGroup() local
1084 const auto [ result, str ] = sendToStatsd(AudioTrackDeviceUsageFields, in endAudioIntervalGroup() local
1170 const auto [ result, str ] = sendToStatsd(AudioDeviceConnectionFields, in createPatch() local
1224 const auto [ result, str ] = sendToStatsd(AudioDeviceConnectionFields, in expire() local
[all …]
DMediaMetricsService.cpp166 const auto [ pkgName, version ] = in submitInternal() local
325 const auto [ heatDumpString, heatLines] = in dump() local
334 const auto [ healthDumpString, healthLines ] = in dump() local
343 const auto [ spatializerDumpString, spatializerLines ] = in dump() local
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DPropertyProvider.cpp113 const auto [it, inserted] = in createIntArrayProperty() local
122 const auto [it, inserted] = in createBoolArrayProperty() local
130 const auto [it, inserted] = in createRealArrayProperty() local
138 const auto [it, inserted] = mProperties.insert(std::pair{name, GesturesProp(name, loc, init)}); in createStringProperty() local
/frameworks/native/libs/binder/
DRpcTrusty.cpp50 auto session = RpcTrustyConnectWithSessionInitializer(device, port, [](auto) {}); in RpcTrustyConnect() argument
/frameworks/native/services/surfaceflinger/Scheduler/tests/
DPresentLatencyTrackerTest.cpp36 const auto [fence, fenceTime] = fenceMap.makePendingFenceForTest(); in TEST() local
/frameworks/av/media/libeffects/hapticgenerator/
DProcessors.cpp203 const auto [real, img] = getComplexPoleZ(ringingFrequency, q, sampleRate); in bpfCoefs() local
218 const auto [zeroReal, zeroImg] = getComplexPoleZ(ringingFrequency, zq, sampleRate); in bsfCoefs() local
221 const auto [poleReal, poleImg] = getComplexPoleZ(ringingFrequency, pq, sampleRate); in bsfCoefs() local
/frameworks/native/services/sensorservice/
DHidlSensorHalWrapper.cpp438 if (mSensors->poll(0, [](auto, const auto&, const auto&) {}).isOk()) { in connectHidlServiceV1_0() argument
/frameworks/av/media/utils/tests/
Dextended_accumulator_tests.cpp66 const auto [result, status] = test.poll(static_cast<TestUInt>(next)); in testPair() local
/frameworks/hardware/interfaces/automotive/display/1.0/vts/functional/
DVtsHalAutomotiveDisplayV1_0TargetTest.cpp61 mDisplayProxy->getDisplayInfo(id, [](const auto& cfg, const auto& /*state*/) { in TEST_P()
/frameworks/av/media/libmedia/omx/1.0/
DWGraphicBufferSource.cpp73 [stopTimeOffsetUs](auto, auto offsetUs) { in getStopTimeOffsetUs() argument
/frameworks/native/services/inputflinger/
DPointerChoreographer.cpp240 const auto [x, y] = pc.getPosition(); in processMouseEventLocked() local
251 const auto [x, y] = pc.getPosition(); in processMouseEventLocked() local
278 const auto [x, y] = pc.getPosition(); in processTouchpadEventLocked() local
289 const auto [x, y] = pc.getPosition(); in processTouchpadEventLocked() local
/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncConfiguration.cpp55 const auto [it, _] = mOffsetsCache.try_emplace(fps, constructOffsets(fps.getPeriodNsecs())); in getConfigsForRefreshRateLocked() local
60 const auto [early, earlyGpu, late, hwcMinWorkDuration] = getCurrentConfigs(); in dump() local
DRefreshRateSelector.cpp191 const auto [start, end] = in createFrameRateModes() local
211 const auto [existingIter, emplaceHappened] = in createFrameRateModes() local
375 const auto [displayFramesQuotient, displayFramesRemainder] = in calculateNonExactMatchingLayerScoreLocked() local
1051 const auto [_, score] = scoredFrameRate; in getFrameRateOverrides() local
1059 const auto [overrideFps, _] = in getFrameRateOverrides() local
1168 const auto [iter, _] = maxRenderRateForMode.try_emplace(frameRateMode.modePtr->getId(), in rankFrameRates() local

123