Home
last modified time | relevance | path

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

/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/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/suite/audio_quality/lib/include/
DReport.h51 typedef std::pair<android::String8, android::String8> StringPair;
/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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java289 Pair<File, Uri> pair = getTempUri("image.jpg"); in onCreate() local
290 mImageFile = pair.first; in onCreate()
291 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.java632 VideoSizeNamePair pair = new VideoSizeNamePair(qualityArray[i], nameArray[i]); in getVideoSizeNamePairs() local
633 availableSizes.add(pair); in getVideoSizeNamePairs()
637 VideoSizeNamePair pair = new VideoSizeNamePair(qualityArray[i], nameArray[i]); in getVideoSizeNamePairs() local
638 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/tests/graphics/jni/
Dandroid_graphics_fonts_cts_SystemFonts.cpp125 std::pair<AFont*, uint32_t> match(const std::string familyName, in match()
/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/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.java972 for (Pair<String, String> pair : info.getAttributes()) { in getAttributeValue()
973 if (pair.first.equals(attribute)) { in getAttributeValue()
974 return pair.second; in getAttributeValue()