Home
last modified time | relevance | path

Searched refs:tuple (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/base/core/java/android/animation/
DStateListAnimator.java83 Tuple tuple = new Tuple(specs, animator); in addState() local
84 tuple.mAnimator.addListener(mAnimatorListener); in addState()
85 mTuples.add(tuple); in addState()
147 final Tuple tuple = mTuples.get(i); in clone() local
148 final Animator animatorClone = tuple.mAnimator.clone(); in clone()
150 clone.addState(tuple.mSpecs, animatorClone); in clone()
167 final Tuple tuple = mTuples.get(i); in setState() local
168 if (StateSet.stateSetMatches(tuple.mSpecs, state)) { in setState()
169 match = tuple; in setState()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DHSConnectionCapabilityElementTest.java48 private void appendProtocolPortTuple(ByteBuffer buffer, ProtocolPortTuple tuple) { in appendProtocolPortTuple() argument
49 buffer.put((byte) tuple.getProtocol()); in appendProtocolPortTuple()
50 buffer.putShort((short) tuple.getPort()); in appendProtocolPortTuple()
51 buffer.put((byte) tuple.getStatus()); in appendProtocolPortTuple()
63 for (ProtocolPortTuple tuple : tuples) { in getTestBuffer()
64 appendProtocolPortTuple(buffer, tuple); in getTestBuffer()
/frameworks/native/libs/binder/include/binder/
DSafeInterface.h237 using ParamTuple = std::tuple<Params...>;
241 using ParamTuple = std::tuple<Params...>;
260 static_assert(ArgsMatchParams<std::tuple<Args...>, ParamTuple>::value,
311 static_assert(ArgsMatchParams<std::tuple<Args...>, ParamTuple>::value,
359 struct ArgsMatchParams<std::tuple<Args...>, std::tuple<Params...>> {
367 if (!DecayedElementsMatch<Index, std::tuple<Args...>, std::tuple<Params...>>::value) {
457 typename RawConverter<std::tuple<>, ParamTuple>::type rawArgs{};
499 typename RawConverter<std::tuple<>, ParamTuple>::type rawArgs{};
524 struct RemoveFirst<std::tuple<T, Args...>> {
525 using type = std::tuple<Args...>;
[all …]
/frameworks/base/tools/dump-coverage/
Ddump_coverage.cc24 using std::tuple;
45 static tuple<jclass, jobject> GetJavaAgent(JNIEnv* env) { in GetJavaAgent()
60 return tuple(java_agent_class, java_agent_instance); in GetJavaAgent()
149 static tuple<std::string, std::string> SplitOnColon(const std::string& options) { in SplitOnColon()
159 return tuple(command, args); in SplitOnColon()
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorInflaterTest.java63 for (StateListAnimator.Tuple tuple : sla.getTuples()) { in testLoadStateListAnimator()
64 assertUnique(tuple); in testLoadStateListAnimator()
65 assertUnique(tuple.getAnimator()); in testLoadStateListAnimator()
/frameworks/ml/nn/runtime/
DVersionedInterfaces.h369 std::tuple<hal::ErrorStatus, sp<hal::IBuffer>, uint32_t> allocate(
679 std::tuple<int, std::vector<hal::OutputShape>, hal::Timing> execute(
766 std::tuple<int, hal::hidl_handle, sp<hal::IFencedExecutionCallback>, hal::Timing> executeFenced(
775 std::tuple<int, std::vector<hal::OutputShape>, hal::Timing> executeAsynchronously(
779 std::tuple<int, std::vector<hal::OutputShape>, hal::Timing> executeSynchronously(
DExecutionBuilder.h267 std::tuple<int, std::vector<hal::OutputShape>, hal::Timing> compute(
273 std::tuple<int, std::vector<hal::OutputShape>, hal::Timing> computeOnCpuFallback();
279 std::tuple<int, int, sp<hal::IFencedExecutionCallback>> computeFenced(
290 std::tuple<int, std::vector<hal::OutputShape>, hal::Timing> computeWithMemories(
DManager.cpp134 std::tuple<int, std::vector<OutputShape>, Timing> execute(
142 std::tuple<int, int, sp<hal::IFencedExecutionCallback>, hal::Timing> executeFenced(
280 static std::tuple<int, std::unique_ptr<MemoryAshmem>, std::vector<DataLocation>>
322 std::tuple<int, std::vector<OutputShape>, Timing> DriverPreparedModel::execute( in execute()
429 std::tuple<int, int, sp<hal::IFencedExecutionCallback>, hal::Timing>
606 std::tuple<int, std::vector<OutputShape>, Timing> execute(
619 std::tuple<int, int, sp<hal::IFencedExecutionCallback>, hal::Timing> executeFenced(
691 static std::tuple<int, std::vector<OutputShape>, Timing> computeOnCpu( in computeOnCpu()
711 std::tuple<int, int, sp<hal::IFencedExecutionCallback>, hal::Timing>
752 std::tuple<int, std::vector<OutputShape>, Timing> CpuPreparedModel::execute( in execute()
[all …]
DVersionedInterfaces.cpp205 std::tuple<int, std::vector<OutputShape>, Timing> VersionedIPreparedModel::executeAsynchronously( in executeAsynchronously()
208 const auto failDeadObject = []() -> std::tuple<int, std::vector<OutputShape>, Timing> { in executeAsynchronously()
303 std::tuple<int, std::vector<OutputShape>, Timing> VersionedIPreparedModel::executeSynchronously( in executeSynchronously()
306 const std::tuple<int, std::vector<OutputShape>, Timing> kDeadObject = { in executeSynchronously()
312 std::tuple<int, std::vector<OutputShape>, Timing> result; in executeSynchronously()
340 std::tuple<int, std::vector<OutputShape>, Timing> result; in executeSynchronously()
362 std::tuple<int, std::vector<OutputShape>, Timing> VersionedIPreparedModel::execute( in execute()
416 std::tuple<int, hal::hidl_handle, sp<hal::IFencedExecutionCallback>, hal::Timing>
593 static std::tuple<ErrorStatus, uint32_t, uint32_t> getNumberOfCacheFilesNeededFunction( in getNumberOfCacheFilesNeededFunction()
596 constexpr std::tuple<ErrorStatus, uint32_t, uint32_t> kFailure = {ErrorStatus::GENERAL_FAILURE, in getNumberOfCacheFilesNeededFunction()
[all …]
DManager.h57 virtual std::tuple<int, std::vector<hal::OutputShape>, hal::Timing> execute(
68 virtual std::tuple<int, int, sp<hal::IFencedExecutionCallback>, hal::Timing> executeFenced(
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dserialization.h281 inline std::size_t GetSerializedSize(const std::tuple<T...>& tuple);
407 inline std::size_t GetTupleSize(const std::tuple<T...>&, Index<0>) {
413 inline std::size_t GetTupleSize(const std::tuple<T...>& tuple, Index<index>) {
414 return GetTupleSize(tuple, Index<index - 1>()) +
415 GetSerializedSize(std::get<index - 1>(tuple));
421 inline std::size_t GetSerializedSize(const std::tuple<T...>& tuple) {
422 return GetEncodingSize(EncodeType(tuple)) +
423 GetTupleSize(tuple, Index<sizeof...(T)>());
667 inline void SerializeType(const std::tuple<T...>& value, void*& buffer) {
871 inline void SerializeObject(const std::tuple<T...>&, MessageWriter*, void*&);
[all …]
Dtype_operators.h81 struct IsConvertible<std::pair<A, B>, std::tuple<C, D>>
85 struct IsConvertible<std::tuple<A, B>, std::pair<C, D>>
92 struct IsConvertible<std::tuple<A...>, std::tuple<B...>>
Dargument_encoder.h108 using ArgsTupleType = std::tuple<typename std::decay<Args>::type...>;
128 using ArgsTupleType = std::tuple<typename std::decay<Args>::type...>;
/frameworks/av/media/libstagefright/foundation/tests/AVCUtils/
DAVCUtilsUnitTest.cpp39 tuple</*audioHeader*/ uint32_t, /*frameSize*/ int32_t, /*sampleRate*/ int32_t,
44 tuple</*fileName*/ string, /*volWidth*/ int32_t, /*volHeight*/ int32_t>> {};
74 tuple</*fileName*/ string, /*infoFileName*/ string,
78 tuple<string, string, size_t, size_t, size_t> params = GetParam(); in SetUp()
110 tuple<uint32_t, size_t, int, int, int, int> params = GetParam(); in TEST_P()
141 tuple<string, int32_t, int32_t> params = GetParam(); in TEST_P()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.h88 std::vector<std::tuple<size_t, size_t>>* depthSizes /*out*/);
90 const std::vector<std::tuple<size_t, size_t>>& supporedDepthSizes,
126 std::vector<std::tuple<size_t, size_t>> mSupportedDepthSizes;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayColorProfileTest.cpp431 const std::array<std::tuple<Dataspace, ColorMode, RenderIntent>, 15>& expected) { in checkGetBestColorMode()
432 using ArgsType = std::tuple<Dataspace, RenderIntent>; in checkGetBestColorMode()
436 const std::array<std::tuple<Dataspace, RenderIntent>, 15> kArgs = { in checkGetBestColorMode()
466 std::tuple<Dataspace, ColorMode, RenderIntent> actual; in checkGetBestColorMode()
479 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F()
513 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F()
546 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F()
579 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F()
613 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F()
/frameworks/base/tools/fonts/
Dfontchain_linter.py70 if type(inp) is tuple: # character sequence
140 sequence = tuple(sequence)
410 additions = [tuple(sequence)]
491 return tuple(0x1F1E6 + ord(ch) - ord('A') for ch in territory_code)
557 return tuple(rev)
574 sequence = tuple(ch for ch in sequence if ch != EMOJI_VS)
586 sequence = tuple(ch for ch in sequence if ch != EMOJI_VS)
/frameworks/ml/nn/common/include/
DExecutionBurstServer.h69 std::optional<std::tuple<hardware::neuralnetworks::V1_0::Request, std::vector<int32_t>,
114 std::optional<std::tuple<hardware::neuralnetworks::V1_0::Request, std::vector<int32_t>,
246 virtual std::tuple<hardware::neuralnetworks::V1_0::ErrorStatus,
DExecutionBurstController.h71 std::optional<std::tuple<hardware::neuralnetworks::V1_0::ErrorStatus,
126 std::optional<std::tuple<hardware::neuralnetworks::V1_0::ErrorStatus,
321 std::tuple<int, std::vector<hardware::neuralnetworks::V1_2::OutputShape>,
/frameworks/av/media/libstagefright/foundation/tests/OpusHeader/
DOpusHeaderTest.cpp85 tuple<string /* InputFileName */, int32_t /* ChannelCount */,
92 public ::testing::TestWithParam<tuple<int32_t /* ChannelCount */, int32_t /* skipSamples */,
96 tuple<int32_t, int32_t, string> params = GetParam(); in TEST_P()
207 tuple<string, int32_t, bool, bool, bool, bool> params = GetParam(); in TEST_P()
/frameworks/native/libs/vr/libpdx_uds/
Dremote_method_tests.cpp125 using SerializableMembers = std::tuple<int, int>;
807 (IsConvertible<std::pair<int, float>, std::tuple<int, float>>::value)); in TEST()
809 (IsConvertible<std::tuple<int, float>, std::pair<int, float>>::value)); in TEST()
811 (IsConvertible<std::pair<float, float>, std::tuple<int, float>>::value)); in TEST()
813 (IsConvertible<std::tuple<float, float>, std::pair<int, float>>::value)); in TEST()
815 (IsConvertible<std::pair<int, int>, std::tuple<int, float>>::value)); in TEST()
817 (IsConvertible<std::tuple<int, int>, std::pair<int, float>>::value)); in TEST()
819 (IsConvertible<std::pair<int, int>, std::tuple<int, int, int>>::value)); in TEST()
821 (IsConvertible<std::tuple<int, int, int>, std::pair<int, int>>::value)); in TEST()
863 (IsConvertible<std::map<std::tuple<int, int>, std::string>, in TEST()
[all …]
/frameworks/av/media/libstagefright/flac/dec/test/
DFlacDecoderTest.cpp43 class FLACDecoderTest : public ::testing::TestWithParam<tuple<string, string, bool>> {
196 tuple<string /* InputFileName */, string /* InfoFileName */, bool /* outputfloat */> params = in TEST_P()
225 tuple<string /* InputFileName */, string /* InfoFileName */, bool /* outputfloat */> params = in TEST_P()
/frameworks/av/media/tests/benchmark/tests/
DDecoderTest.cpp29 class DecoderTest : public ::testing::TestWithParam<tuple<string, string, bool>> {};
33 tuple<string /* InputFile */, string /* CodecName */, bool /* asyncMode */> params = GetParam(); in TEST_P()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h506 std::vector<std::tuple<size_t, size_t>> *sizes /*out*/);
509 const std::vector<std::tuple<size_t, size_t>>& sizes,
516 const std::vector<std::tuple<size_t, size_t>>& blobSizes,
517 const std::vector<std::tuple<size_t, size_t>>& depthSizes,
518 std::vector<std::tuple<size_t, size_t>> *dynamicDepthSizes /*out*/,
519 std::vector<std::tuple<size_t, size_t>> *internalDepthSizes /*out*/);
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestPixelComparator.h55 std::vector<std::tuple<uint32_t, uint32_t, uint32_t, uint32_t>>

1234