Home
last modified time | relevance | path

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

123

/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/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/common/include/
DExecutionBurstController.h63 std::optional<std::tuple<ErrorStatus, std::vector<OutputShape>, Timing>> deserialize(
105 std::optional<std::tuple<ErrorStatus, std::vector<OutputShape>, Timing>> getBlocking();
292 std::tuple<ErrorStatus, std::vector<OutputShape>, Timing> compute(
314 std::tuple<ErrorStatus, std::vector<OutputShape>, Timing, bool> tryCompute(
DExecutionBurstServer.h61 std::optional<std::tuple<Request, std::vector<int32_t>, MeasureTiming>> deserialize(
99 std::optional<std::tuple<Request, std::vector<int32_t>, MeasureTiming>> getBlocking();
227 virtual std::tuple<ErrorStatus, hidl_vec<OutputShape>, Timing> execute(
/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/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...>;
Dfunction_traits.h29 using Args = std::tuple<Args_...>;
Dremote_method_type.h48 typedef std::tuple<MethodTypes...> Methods;
/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/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/services/camera/libcameraservice/common/
DCameraProviderManager.h502 std::vector<std::tuple<size_t, size_t>> *sizes /*out*/);
505 const std::vector<std::tuple<size_t, size_t>>& sizes,
512 const std::vector<std::tuple<size_t, size_t>>& blobSizes,
513 const std::vector<std::tuple<size_t, size_t>>& depthSizes,
514 std::vector<std::tuple<size_t, size_t>> *dynamicDepthSizes /*out*/,
515 std::vector<std::tuple<size_t, size_t>> *internalDepthSizes /*out*/);
/frameworks/ml/nn/runtime/
DVersionedInterfaces.h420 std::tuple<ErrorStatus, uint32_t, uint32_t> getNumberOfCacheFilesNeeded();
740 std::tuple<ErrorStatus, hidl_vec<OutputShape>, Timing> executeSynchronously(
DVersionedInterfaces.cpp178 std::tuple<ErrorStatus, hidl_vec<OutputShape>, Timing>
180 const std::tuple<ErrorStatus, hidl_vec<OutputShape>, Timing> kFailure = { in executeSynchronously()
184 std::tuple<ErrorStatus, hidl_vec<OutputShape>, Timing> result; in executeSynchronously()
838 std::tuple<ErrorStatus, uint32_t, uint32_t> VersionedIDevice::getNumberOfCacheFilesNeeded() { in getNumberOfCacheFilesNeeded()
839 constexpr std::tuple<ErrorStatus, uint32_t, uint32_t> kFailure = {ErrorStatus::GENERAL_FAILURE, in getNumberOfCacheFilesNeeded()
841 std::tuple<ErrorStatus, uint32_t, uint32_t> result; in getNumberOfCacheFilesNeeded()
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestPixelComparator.h55 std::vector<std::tuple<uint32_t, uint32_t, uint32_t, uint32_t>>
/frameworks/rs/tests/lldb/tests/testcases/
Dreduce_common.py46 funcs_match = 'find_min_user_type_((%s|%s))' % tuple(func_suffixes)
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dchannel_event_set.h59 std::tuple<LocalHandle, LocalHandle, LocalHandle> TakeFds() { in TakeFds()
/frameworks/av/media/codec2/vndk/include/
DC2AllocatorIon.h94 typedef std::tuple<size_t, unsigned, unsigned, c2_status_t> MapperValue;
/frameworks/minikin/doc/
Dhyb_file_format.md28 array, and the pattern field in the tuple is the pattern for that node. Further, each edge
29 in the trie has an entry in the array, and the character and link fields in the tuple
39 an array with a 3-tuple for each pattern (length, number of trailing 0's, and offset
/frameworks/ml/nn/common/
DExecutionBurstController.cpp138 std::optional<std::tuple<ErrorStatus, std::vector<OutputShape>, Timing>> deserialize( in deserialize()
238 std::optional<std::tuple<ErrorStatus, std::vector<OutputShape>, Timing>>
536 std::tuple<ErrorStatus, std::vector<OutputShape>, Timing> ExecutionBurstController::compute( in compute()
543 std::tuple<ErrorStatus, std::vector<OutputShape>, Timing, bool>
/frameworks/native/services/surfaceflinger/tests/unittests/
DAsyncCallRecorder.h90 using ArgTuple = std::tuple<std::remove_cv_t<std::remove_reference_t<Args>>...>;

123