/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/pidf/ |
D | TupleTest.java | 73 Tuple tuple = new Tuple(); in testElementName() local 75 assertEquals(PidfConstant.NAMESPACE, tuple.getNamespace()); in testElementName() 76 assertEquals(Tuple.ELEMENT_NAME, tuple.getElementName()); in testElementName() 82 Tuple tuple = new Tuple(); in testSerializing() local 87 tuple.setStatus(status); in testSerializing() 96 tuple.setServiceDescription(serviceDescription); in testSerializing() 107 tuple.setServiceCaps(serviceCaps); in testSerializing() 110 tuple.addNote(note); in testSerializing() 114 tuple.setTimestamp(timestamp); in testSerializing() 121 tuple.serialize(serializer); in testSerializing() [all …]
|
D | PresenceTest.java | 167 Tuple tuple = tupleList.get(0); in testParsing() local 168 assertEquals(serviceId, PidfParserUtils.getTupleServiceId(tuple)); in testParsing() 169 assertEquals(version, PidfParserUtils.getTupleServiceVersion(tuple)); in testParsing() 170 assertEquals(description, PidfParserUtils.getTupleServiceDescription(tuple)); in testParsing() 171 assertEquals(contact, PidfParserUtils.getTupleContact(tuple)); in testParsing() 191 Tuple tuple = new Tuple(); in getTuple() local 192 tuple.setStatus(status); in getTuple() 193 tuple.setServiceDescription(serviceDescription); in getTuple() 194 tuple.setContact(contact); in getTuple() 196 return tuple; in getTuple()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/ |
D | PidfParserUtils.java | 193 public static String getTupleStatus(Tuple tuple) { in getTupleStatus() argument 194 if (tuple == null) { in getTupleStatus() 197 Status status = tuple.getStatus(); in getTupleStatus() 210 public static String getTupleServiceId(Tuple tuple) { in getTupleServiceId() argument 211 if (tuple == null) { in getTupleServiceId() 214 ServiceDescription servDescription = tuple.getServiceDescription(); in getTupleServiceId() 227 public static String getTupleServiceVersion(Tuple tuple) { in getTupleServiceVersion() argument 228 if (tuple == null) { in getTupleServiceVersion() 231 ServiceDescription servDescription = tuple.getServiceDescription(); in getTupleServiceVersion() 244 public static String getTupleServiceDescription(Tuple tuple) { in getTupleServiceDescription() argument [all …]
|
D | PidfParser.java | 203 presence.getTupleList().forEach(tuple -> { in convertToRcsContactUceCapability() 204 RcsContactPresenceTuple capabilityTuple = getRcsContactPresenceTuple(tuple); in convertToRcsContactUceCapability() 216 private static RcsContactPresenceTuple getRcsContactPresenceTuple(Tuple tuple) { in getRcsContactPresenceTuple() argument 217 if (tuple == null) { in getRcsContactPresenceTuple() 222 if (Basic.OPEN.equals(PidfParserUtils.getTupleStatus(tuple))) { in getRcsContactPresenceTuple() 226 String serviceId = PidfParserUtils.getTupleServiceId(tuple); in getRcsContactPresenceTuple() 227 String serviceVersion = PidfParserUtils.getTupleServiceVersion(tuple); in getRcsContactPresenceTuple() 228 String serviceDescription = PidfParserUtils.getTupleServiceDescription(tuple); in getRcsContactPresenceTuple() 234 String contact = PidfParserUtils.getTupleContact(tuple); in getRcsContactPresenceTuple() 248 ServiceCaps serviceCaps = tuple.getServiceCaps(); in getRcsContactPresenceTuple()
|
/frameworks/native/include/ftl/ |
D | initializer_list.h | 59 return {std::tuple_cat(std::move(tuple), std::forward_as_tuple(std::forward<Args>(args)...))}; 65 std::tuple<Types...> tuple; 80 std::tuple<K&&>, std::tuple<Args&&...>> { 82 std::move(tuple), 87 std::tuple<Types...> tuple;
|
D | static_vector.h | 181 std::index_sequence<Sizes...>{}, list.tuple) {} 323 std::index_sequence<Size, Sizes...>, std::tuple<Args...>& tuple) in StaticVector() argument 325 std::make_index_sequence<Size>{}, std::index_sequence<Sizes...>{}, tuple) { 326 construct_at(begin() + I, std::move(std::get<ArgIndex + Indices>(tuple))...); 333 std::index_sequence<>, std::tuple<Args...>& tuple) in StaticVector() argument 335 construct_at(begin() + I, std::move(std::get<ArgIndex + Indices>(tuple))...); in StaticVector()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/ |
D | PidfParserTest.java | 182 for(RcsContactPresenceTuple tuple : presenceTupleList) { in testConvertFromNewlineIncludedPidfToRcsContactUceCapability() 183 String serviceId = tuple.getServiceId(); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability() 189 assertEquals(expectedTuple.getStatus(), tuple.getStatus()); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability() 190 assertEquals(expectedTuple.getServiceVersion(), tuple.getServiceVersion()); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability() 191 assertEquals(expectedTuple.getServiceDescription(), tuple.getServiceDescription()); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability() 192 assertEquals(mPidfTimestamp, tuple.getTime()); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability() 193 assertEquals(expectedTuple.getContactUri(), tuple.getContactUri()); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability() 196 ServiceCapabilities resultCap = tuple.getServiceCapabilities(); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability() 212 for (RcsContactPresenceTuple tuple : expectedTupleList) { in findTuple() 213 if (serviceId.equalsIgnoreCase(tuple.getServiceId())) { in findTuple() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | StateListAnimator.java | 83 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/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/pidf/ |
D | Presence.java | 89 public void addTuple(@NonNull Tuple tuple) { in addTuple() argument 90 mTupleList.add(tuple); in addTuple() 115 for (Tuple tuple : mTupleList) { in serialize() 116 tuple.serialize(serializer); in serialize() 148 Tuple tuple = new Tuple(); in parse() local 149 tuple.parse(parser); in parse() 150 mTupleList.add(tuple); in parse()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | DepthCompositeStream.h | 92 std::vector<std::tuple<size_t, size_t>>* depthSizes /*out*/); 94 const std::vector<std::tuple<size_t, size_t>>& supporedDepthSizes, 97 const std::vector<std::tuple<size_t, size_t>> &depthSizes, 98 const std::vector<std::tuple<size_t, size_t>> &depthSizesMaximumResolution, 141 std::vector<std::tuple<size_t, size_t>> mSupportedDepthSizes; 142 std::vector<std::tuple<size_t, size_t>> mSupportedDepthSizesMaximumResolution;
|
/frameworks/native/libs/binder/include/binder/ |
D | SafeInterface.h | 237 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/ |
D | dump_coverage.cc | 24 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/telephony/java/android/telephony/ims/ |
D | RcsContactUceCapability.java | 207 public @NonNull PresenceBuilder addCapabilityTuple(@NonNull RcsContactPresenceTuple tuple) { in addCapabilityTuple() argument 208 mCapabilities.mPresenceTuples.add(tuple); in addCapabilityTuple() 333 for (RcsContactPresenceTuple tuple : mPresenceTuples) { in getCapabilityTuple() 334 if (tuple.getServiceId() != null && tuple.getServiceId().equals(serviceId)) { in getCapabilityTuple() 335 return tuple; in getCapabilityTuple()
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | AnimatorInflaterTest.java | 63 for (StateListAnimator.Tuple tuple : sla.getTuples()) { in testLoadStateListAnimator() 64 assertUnique(tuple); in testLoadStateListAnimator() 65 assertUnique(tuple.getAnimator()); in testLoadStateListAnimator()
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | serialization.h | 281 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 …]
|
D | type_operators.h | 81 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...>>
|
D | argument_encoder.h | 108 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/ |
D | AVCUtilsUnitTest.cpp | 39 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/media/libstagefright/foundation/tests/OpusHeader/ |
D | OpusHeaderTest.cpp | 85 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/services/surfaceflinger/CompositionEngine/tests/ |
D | DisplayColorProfileTest.cpp | 402 const std::array<std::tuple<Dataspace, ColorMode, RenderIntent>, 15>& expected) { in checkGetBestColorMode() 403 using ArgsType = std::tuple<Dataspace, RenderIntent>; in checkGetBestColorMode() 407 const std::array<std::tuple<Dataspace, RenderIntent>, 15> kArgs = { in checkGetBestColorMode() 437 std::tuple<Dataspace, ColorMode, RenderIntent> actual; in checkGetBestColorMode() 450 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F() 484 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F() 517 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F() 550 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F() 584 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F()
|
/frameworks/av/media/libstagefright/tests/metadatautils/ |
D | MetaDataUtilsTest.cpp | 80 tuple<string /*inputFile*/, size_t /*avcWidth*/, size_t /*avcHeight*/>> { 91 tuple<string, size_t, size_t> params = GetParam(); in SetUp() 132 : public ::testing::TestWithParam<tuple<uint32_t /*profile*/, uint32_t /*samplingFreqIndex*/, 136 tuple<uint32_t, uint32_t, uint32_t> params = GetParam(); in SetUp() 149 tuple<string /*adtsFile*/, uint32_t /*channelCount*/, uint32_t /*sampleRate*/>> { 154 tuple<string, uint32_t, uint32_t> params = GetParam(); in SetUp()
|
/frameworks/base/tools/fonts/ |
D | fontchain_linter.py | 71 if type(inp) is tuple: # character sequence 142 sequence = tuple(sequence) 325 if type(sequence) is tuple: 456 additions = [tuple(sequence)] 537 return tuple(0x1F1E6 + ord(ch) - ord('A') for ch in territory_code) 603 return tuple(rev) 620 sequence = tuple(ch for ch in sequence if ch != EMOJI_VS) 632 sequence = tuple(ch for ch in sequence if ch != EMOJI_VS)
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | remote_method_tests.cpp | 125 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/tests/benchmark/tests/ |
D | DecoderTest.cpp | 29 class DecoderTest : public ::testing::TestWithParam<tuple<string, string, bool>> {}; 33 tuple<string /* InputFile */, string /* CodecName */, bool /* asyncMode */> params = GetParam(); in TEST_P()
|
/frameworks/av/media/libstagefright/flac/dec/test/ |
D | FlacDecoderTest.cpp | 43 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()
|