/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestRcsFeature.java | 124 for (CapabilityChangeRequest.CapabilityPair pair : pairs) { in changeEnabledCapabilities() 125 if (pair.getRadioTech() == ImsRegistrationImplBase.REGISTRATION_TECH_LTE) { in changeEnabledCapabilities() 126 mRcsCapabilitiesLte.addCapabilities(pair.getCapability()); in changeEnabledCapabilities() 127 } else if (pair.getRadioTech() == ImsRegistrationImplBase.REGISTRATION_TECH_IWLAN) { in changeEnabledCapabilities() 128 mRcsCapabilitiesIWan.addCapabilities(pair.getCapability()); in changeEnabledCapabilities() 134 for (CapabilityChangeRequest.CapabilityPair pair : pairs) { in changeEnabledCapabilities() 135 if (pair.getRadioTech() == ImsRegistrationImplBase.REGISTRATION_TECH_LTE) { in changeEnabledCapabilities() 136 mRcsCapabilitiesLte.removeCapabilities(pair.getCapability()); in changeEnabledCapabilities() 137 } else if (pair.getRadioTech() == ImsRegistrationImplBase.REGISTRATION_TECH_IWLAN) { in changeEnabledCapabilities() 138 mRcsCapabilitiesIWan.removeCapabilities(pair.getCapability()); in changeEnabledCapabilities()
|
D | TestMmTelFeature.java | 71 for (CapabilityChangeRequest.CapabilityPair pair : pairs) { in changeEnabledCapabilities() 72 if (pair.getRadioTech() == ImsRegistrationImplBase.REGISTRATION_TECH_LTE) { in changeEnabledCapabilities() 73 mCapabilities.addCapabilities(pair.getCapability()); in changeEnabledCapabilities() 77 for (CapabilityChangeRequest.CapabilityPair pair : pairs) { in changeEnabledCapabilities() 78 if (pair.getRadioTech() == ImsRegistrationImplBase.REGISTRATION_TECH_LTE) { in changeEnabledCapabilities() 79 mCapabilities.removeCapabilities(pair.getCapability()); in changeEnabledCapabilities()
|
D | RcsUceAdapterTest.java | 1091 Pair<Uri, String> pair = Pair.create(uriList.get(i), "noresource"); in testRequestCapabilitiesWithPresenceMechanism() local 1092 terminatedResources.add(pair); in testRequestCapabilitiesWithPresenceMechanism() 1415 Pair<Uri, String> pair = Pair.create(uriList.get(i), "noresource"); in testIndividualRequestCapabilities() local 1416 terminatedResources.add(pair); in testIndividualRequestCapabilities() 2690 Pair<Uri, String> pair = Pair.create(uriList.get(i), "noresource"); in testRequestCapabilitiesWithUriFormatChanged() local 2691 terminatedResources.add(pair); in testRequestCapabilitiesWithUriFormatChanged()
|
/cts/suite/audio_quality/lib/src/ |
D | Report.cpp | 78 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/os/src/android/os/cts/ |
D | FileObserverTest.java | 290 for (Pair<File, Boolean> pair : dirsAndIsEmulated) { in verifyMultipleFiles() 291 directories.add(pair.first); in verifyMultipleFiles() 297 for (Pair<File, Boolean> pair : dirsAndIsEmulated) { in verifyMultipleFiles() 299 new File(pair.first, TEST_FILE), pair.second); in verifyMultipleFiles() 306 for (Pair<File, Boolean> pair : dirsAndIsEmulated) { in verifyMultipleFiles() 307 directories.add(new File(pair.first, TEST_DIR)); in verifyMultipleFiles() 313 for (Pair<File, Boolean> pair : dirsAndIsEmulated) { in verifyMultipleFiles() 315 new File(pair.first, TEST_DIR), pair.second); in verifyMultipleFiles()
|
D | ParcelFileDescriptorTest.java | 363 final ParcelFileDescriptor[] pair = ParcelFileDescriptor.createReliableSocketPair(); in testSocketErrorAfterClose() local 364 final ParcelFileDescriptor red = pair[0]; in testSocketErrorAfterClose() 365 final ParcelFileDescriptor blue = pair[1]; in testSocketErrorAfterClose() 386 final ParcelFileDescriptor[] pair = ParcelFileDescriptor.createReliableSocketPair(); in testSocketMultipleCheck() local 387 final ParcelFileDescriptor red = pair[0]; in testSocketMultipleCheck() 388 final ParcelFileDescriptor blue = pair[1]; in testSocketMultipleCheck()
|
/cts/suite/audio_quality/lib/include/task/ |
D | TaskCase.h | 48 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/tests/tests/media/src/android/media/cts/ |
D | AudioFormatTest.java | 247 for (int[] pair : maskCount) { in testChannelMasks() 248 assertEquals("Mask " + Integer.toHexString(pair[0]) in testChannelMasks() 249 + " should have " + pair[1] + " bits set#", in testChannelMasks() 250 /*expected*/ pair[1], /*actual*/ Integer.bitCount(pair[0])); in testChannelMasks()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayPolicyTests.java | 364 assertBothDisplaysHaveResumedActivities(pair(DEFAULT_DISPLAY, RESIZEABLE_ACTIVITY), in testLaunchActivitiesAffectsVisibility() 365 pair(newDisplay.mId, TEST_ACTIVITY)); in testLaunchActivitiesAffectsVisibility() 389 assertBothDisplaysHaveResumedActivities(pair(DEFAULT_DISPLAY, VIRTUAL_DISPLAY_ACTIVITY), in testMoveTaskBetweenDisplays() 390 pair(newDisplay.mId, TEST_ACTIVITY)); in testMoveTaskBetweenDisplays() 577 assertBothDisplaysHaveResumedActivities(pair(DEFAULT_DISPLAY, VIRTUAL_DISPLAY_ACTIVITY), in testStackFocusSwitchOnTouchEvent() 578 pair(newDisplay.mId, TEST_ACTIVITY)); in testStackFocusSwitchOnTouchEvent() 624 assertBothDisplaysHaveResumedActivities(pair(DEFAULT_DISPLAY, RESIZEABLE_ACTIVITY), in testStackFocusSwitchOnTouchEventAfterKeyguard() 625 pair(newDisplay.mId, TEST_ACTIVITY)); in testStackFocusSwitchOnTouchEventAfterKeyguard() 632 assertBothDisplaysHaveResumedActivities(pair(DEFAULT_DISPLAY, RESIZEABLE_ACTIVITY), in testStackFocusSwitchOnTouchEventAfterKeyguard() 633 pair(newDisplay.mId, TEST_ACTIVITY)); in testStackFocusSwitchOnTouchEventAfterKeyguard()
|
D | MultiDisplayActivityLaunchTests.java | 416 assertBothDisplaysHaveResumedActivities(pair(newDisplay.mId, TEST_ACTIVITY), in testConsequentLaunchActivityInNewProcess() 417 pair(DEFAULT_DISPLAY, SECOND_ACTIVITY)); in testConsequentLaunchActivityInNewProcess() 553 assertBothDisplaysHaveResumedActivities(pair(DEFAULT_DISPLAY, LAUNCHING_ACTIVITY), in testLaunchActivityFromAppToSecondaryDisplay() 554 pair(newDisplay.mId, TEST_ACTIVITY)); in testLaunchActivityFromAppToSecondaryDisplay() 851 assertBothDisplaysHaveResumedActivities(pair(DEFAULT_DISPLAY, SECOND_ACTIVITY), in testNewTaskDefaultDisplay() 852 pair(newDisplay.mId, BROADCAST_RECEIVER_ACTIVITY)); in testNewTaskDefaultDisplay() 862 assertBothDisplaysHaveResumedActivities(pair(DEFAULT_DISPLAY, SECOND_ACTIVITY), in testNewTaskDefaultDisplay() 863 pair(newDisplay.mId, LAUNCHING_ACTIVITY)); in testNewTaskDefaultDisplay()
|
D | MultiDisplaySecurityTests.java | 483 assertBothDisplaysHaveResumedActivities(pair(DEFAULT_DISPLAY, VIRTUAL_DISPLAY_ACTIVITY), in testPermissionLaunchFromShell() 484 pair(newDisplay.mId, TEST_ACTIVITY)); in testPermissionLaunchFromShell() 494 assertBothDisplaysHaveResumedActivities(pair(DEFAULT_DISPLAY, VIRTUAL_DISPLAY_ACTIVITY), in testPermissionLaunchFromShell() 495 pair(newDisplay.mId, SECOND_ACTIVITY)); in testPermissionLaunchFromShell()
|
/cts/suite/audio_quality/lib/include/ |
D | Report.h | 51 typedef std::pair<android::String8, android::String8> StringPair;
|
/cts/tests/media/jni/ |
D | NativeMediaCommon.cpp | 58 std::pair<void*, size_t> refCsd; in isCSDIdentical() 59 std::pair<void*, size_t> testCsd; in isCSDIdentical()
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
D | test_multi_camera_frame_sync.py | 191 for pair in frame_pairs: 194 f, props=props), cv2.COLOR_RGB2GRAY) for f in pair])
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | CannedAugmentedFillResponse.java | 191 for (Pair<AutofillId, AutofillValue> pair : dataset.getValues()) { in createResponseWithInlineSuggestion() 192 final AutofillId id = pair.first; in createResponseWithInlineSuggestion() 193 datasetBuilder.setFieldInlinePresentation(id, pair.second, null, in createResponseWithInlineSuggestion()
|
D | Helper.java | 1042 for (Pair<String, String> pair : info.getAttributes()) { in getAttributeValue() 1043 if (pair.first.equals(attribute)) { in getAttributeValue() 1044 return pair.second; in getAttributeValue()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ColorTest.java | 162 for (int[] pair : colors) { in resourceColor() 163 final int resourceId = pair[1]; in resourceColor() 164 final int expectedColor = pair[0]; in resourceColor()
|
D | BitmapTest.java | 2506 for (ConfigToFormat pair : CONFIG_TO_FORMAT) { in testNdkFormats() 2507 Bitmap bm = Bitmap.createBitmap(10, 10, pair.config); in testNdkFormats() 2510 assertEquals("Config: " + pair.config, pair.format, nativeFormat); in testNdkFormats() 2516 for (ConfigToFormat pair : CONFIG_TO_FORMAT) { in testNdkFormatsHardware() 2517 Bitmap bm = Bitmap.createBitmap(10, 10, pair.config); in testNdkFormatsHardware() 2522 assertEquals(Bitmap.Config.ALPHA_8, pair.config); in testNdkFormatsHardware() 2525 assertNotEquals(Bitmap.Config.ALPHA_8, pair.config); in testNdkFormatsHardware() 2528 if (pair.config == Bitmap.Config.RGBA_F16) { in testNdkFormatsHardware() 2534 assertEquals("Config: " + pair.config, pair.format, nativeFormat); in testNdkFormatsHardware() 2887 for (ConfigToFormat pair : CONFIG_TO_FORMAT) { in configToFormat() [all …]
|
/cts/tools/utils/ |
D | monsoon.py | 412 for pair in zip(this_sample, chan_avgs) 413 for datum in pair]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodHelperActivity.java | 408 Pair<File, Uri> pair = getTempUri("image.jpg"); in startCaptureImageIntent() local 409 mImageFile = pair.first; in startCaptureImageIntent() 410 mImageUri = pair.second; in startCaptureImageIntent()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 635 VideoSizeNamePair pair = new VideoSizeNamePair(qualityArray[i], nameArray[i]); in getVideoSizeNamePairs() local 636 availableSizes.add(pair); in getVideoSizeNamePairs() 640 VideoSizeNamePair pair = new VideoSizeNamePair(qualityArray[i], nameArray[i]); in getVideoSizeNamePairs() local 641 availableSizes.add(pair); in getVideoSizeNamePairs()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_fonts_cts_SystemFonts.cpp | 125 std::pair<AFont*, uint32_t> match(const std::string familyName, in match()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | CtsTestServer.java | 654 for (NameValuePair pair : args) { in getResponse() 655 String name = pair.getName(); in getResponse() 657 mimeType = pair.getValue(); in getResponse() 659 length = Integer.parseInt(pair.getValue()); in getResponse()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 187 private static Object serializePair(Pair pair) in serializePair() argument 190 pairObj.put(pair.first); in serializePair() 191 pairObj.put(pair.second); in serializePair()
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_stream_builder.cpp | 547 using ChannelMaskAndCountParams = std::pair<aaudio_direction_t, aaudio_channel_mask_t>;
|