Home
last modified time | relevance | path

Searched refs:pair (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestMmTelFeature.java66 for (CapabilityChangeRequest.CapabilityPair pair : pairs) { in changeEnabledCapabilities()
67 if (pair.getRadioTech() == ImsRegistrationImplBase.REGISTRATION_TECH_LTE) { in changeEnabledCapabilities()
68 mCapabilities.addCapabilities(pair.getCapability()); in changeEnabledCapabilities()
72 for (CapabilityChangeRequest.CapabilityPair pair : pairs) { in changeEnabledCapabilities()
73 if (pair.getRadioTech() == ImsRegistrationImplBase.REGISTRATION_TECH_LTE) { in changeEnabledCapabilities()
74 mCapabilities.removeCapabilities(pair.getCapability()); in changeEnabledCapabilities()
/cts/tests/tests/os/src/android/os/cts/
DFileObserverTest.java269 for (Pair<File, Boolean> pair : dirsAndIsEmulated) { in verifyMultipleFiles()
270 directories.add(pair.first); in verifyMultipleFiles()
276 for (Pair<File, Boolean> pair : dirsAndIsEmulated) { in verifyMultipleFiles()
278 new File(pair.first, TEST_FILE), pair.second); in verifyMultipleFiles()
285 for (Pair<File, Boolean> pair : dirsAndIsEmulated) { in verifyMultipleFiles()
286 directories.add(new File(pair.first, TEST_DIR)); in verifyMultipleFiles()
292 for (Pair<File, Boolean> pair : dirsAndIsEmulated) { in verifyMultipleFiles()
294 new File(pair.first, TEST_DIR), pair.second); in verifyMultipleFiles()
DParcelFileDescriptorTest.java345 final ParcelFileDescriptor[] pair = ParcelFileDescriptor.createReliableSocketPair(); in testSocketErrorAfterClose() local
346 final ParcelFileDescriptor red = pair[0]; in testSocketErrorAfterClose()
347 final ParcelFileDescriptor blue = pair[1]; in testSocketErrorAfterClose()
368 final ParcelFileDescriptor[] pair = ParcelFileDescriptor.createReliableSocketPair(); in testSocketMultipleCheck() local
369 final ParcelFileDescriptor red = pair[0]; in testSocketMultipleCheck()
370 final ParcelFileDescriptor blue = pair[1]; in testSocketMultipleCheck()
/cts/suite/audio_quality/lib/src/
DReport.cpp78 StringPair pair(name, task->getDetails()); in addCasePassed() local
79 mPassedCases.push_back(pair); in addCasePassed()
86 StringPair pair(name, task->getDetails()); in addCaseFailed() local
87 mFailedCases.push_back(pair); in addCaseFailed()
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DSaProposalTest.java124 for (Pair<Integer, Integer> pair : ciphers) { in buildIkeSaProposal()
125 builder.addEncryptionAlgorithm(pair.first, pair.second); in buildIkeSaProposal()
166 for (Pair<Integer, Integer> pair : ciphers) { in buildChildSaProposal()
167 builder.addEncryptionAlgorithm(pair.first, pair.second); in buildChildSaProposal()
/cts/tests/media/jni/
DNativeMediaCommon.cpp52 std::pair<void*, size_t> refCsd; in isCSDIdentical()
53 std::pair<void*, size_t> testCsd; in isCSDIdentical()
DNativeCodecDecoderTest.cpp38 std::vector<std::pair<void*, size_t>> mCsdBuffers;
/cts/suite/audio_quality/lib/include/task/
DTaskCase.h48 typedef std::pair<android::String8, android::sp<Buffer> > BufferPair;
109 typedef std::pair<android::String8, Value> ValuePair;
116 typedef std::pair<android::String8, int> IndexPair;
/cts/suite/audio_quality/lib/src/task/
DTaskCase.cpp110 template <typename T> typename std::list<std::pair<android::String8, T> >* findAllGeneric( in findAllGeneric()
119 typename std::list<std::pair<android::String8, T> >* list = NULL; in findAllGeneric()
123 list = new std::list<std::pair<android::String8, T> >(); in findAllGeneric()
129 typename std::pair<android::String8, T> match(it->first, it->second); in findAllGeneric()
/cts/tests/tests/graphics/src/android/graphics/cts/
DColorTest.java94 for (int[] pair : colors) { in resourceColor()
95 final int resourceId = pair[1]; in resourceColor()
96 final int expectedColor = pair[0]; in resourceColor()
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_multi_camera_frame_sync.py142 ….cvtColor(its.image.convert_capture_to_rgb_image(f, props=props), cv2.COLOR_RGB2GRAY) for f in pair
143 ] for pair in frame_pairs]
/cts/suite/audio_quality/lib/include/
DReport.h51 typedef std::pair<android::String8, android::String8> StringPair;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java281 Pair<File, Uri> pair = getTempUri("image.jpg"); in onCreate() local
282 mImageFile = pair.first; in onCreate()
283 mImageUri = pair.second; in onCreate()
/cts/tools/utils/
Dmonsoon.py412 for pair in zip(this_sample, chan_avgs)
413 for datum in pair]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java633 VideoSizeNamePair pair = new VideoSizeNamePair(qualityArray[i], nameArray[i]); in getVideoSizeNamePairs() local
634 availableSizes.add(pair); in getVideoSizeNamePairs()
638 VideoSizeNamePair pair = new VideoSizeNamePair(qualityArray[i], nameArray[i]); in getVideoSizeNamePairs() local
639 availableSizes.add(pair); in getVideoSizeNamePairs()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java599 for (NameValuePair pair : args) { in getResponse()
600 String name = pair.getName(); in getResponse()
602 mimeType = pair.getValue(); in getResponse()
604 length = Integer.parseInt(pair.getValue()); in getResponse()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java343 private static Object serializePair(Pair pair) in serializePair() argument
346 pairObj.put(pair.first); in serializePair()
347 pairObj.put(pair.second); in serializePair()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_fonts_cts_SystemFonts.cpp125 std::pair<AFont*, uint32_t> match(const std::string familyName, in match()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java187 private static Object serializePair(Pair pair) in serializePair() argument
190 pairObj.put(pair.first); in serializePair()
191 pairObj.put(pair.second); in serializePair()
DItsService.java843 for (Map.Entry<String, CaptureResult> pair : physicalMetadata.entrySet()) { in sendResponseCaptureResult()
845 jsonOneMetadata.put(pair.getKey(), ItsSerializer.serialize(pair.getValue())); in sendResponseCaptureResult()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DHelper.java983 for (Pair<String, String> pair : info.getAttributes()) { in getAttributeValue()
984 if (pair.first.equals(attribute)) { in getAttributeValue()
985 return pair.second; in getAttributeValue()