/cts/tests/tests/util/src/android/util/cts/ |
D | SparseArrayTest.java | 207 SparseArray<String> second = new SparseArray<>(); in testSet() local 208 second.set(2, "2"); in testSet() 209 second.set(0, "0"); in testSet() 210 second.set(1, "1"); in testSet() 212 assertThat(first.size()).isEqualTo(second.size()); in testSet() 213 assertThat(first.get(0)).isEqualTo(second.get(0)); in testSet() 214 assertThat(first.get(1)).isEqualTo(second.get(1)); in testSet() 215 assertThat(first.get(2)).isEqualTo(second.get(2)); in testSet() 216 assertThat(first.get(3, "-1")).isEqualTo(second.get(3, "-1")); in testSet() 218 testContentEquals(first, second, SparseArray::contentEquals); in testSet() [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringTest.java | 166 Spanned second = (Spanned) first.subSequence(2,4); in testSubsequence_copiesSpans() local 167 Object[] secondSpans = second.getSpans(0, second.length(), Object.class); in testSubsequence_copiesSpans() 173 {underlineSpan, 0, second.length(), Spanned.SPAN_PRIORITY}, in testSubsequence_copiesSpans() 179 assertEquals(expected[i][1], second.getSpanStart(secondSpan)); in testSubsequence_copiesSpans() 180 assertEquals(expected[i][2], second.getSpanEnd(secondSpan)); in testSubsequence_copiesSpans() 181 assertEquals(expected[i][3], second.getSpanFlags(secondSpan)); in testSubsequence_copiesSpans() 194 SpannableString second = new SpannableString(first); in testCopyConstructor_copiesAllSpans() local 195 Object[] secondSpans = second.getSpans(0, second.length(), Object.class); in testCopyConstructor_copiesAllSpans() 202 assertEquals(first.getSpanStart(firstSpan), second.getSpanStart(secondSpan)); in testCopyConstructor_copiesAllSpans() 203 assertEquals(first.getSpanEnd(firstSpan), second.getSpanEnd(secondSpan)); in testCopyConstructor_copiesAllSpans() [all …]
|
/cts/tests/media/jni/ |
D | NativeMediaCommon.cpp | 62 bool hasRefCSD = AMediaFormat_getBuffer(refFormat, name, &refCsd.first, &refCsd.second); in isCSDIdentical() 63 bool hasTestCSD = AMediaFormat_getBuffer(testFormat, name, &testCsd.first, &testCsd.second); in isCSDIdentical() 69 if (refCsd.second != testCsd.second) { in isCSDIdentical() 70 ALOGW("ref/test %s buffer sizes are not identical %zu/%zu", name, refCsd.second, in isCSDIdentical() 71 testCsd.second); in isCSDIdentical() 74 if (memcmp(refCsd.first, testCsd.first, refCsd.second)) { in isCSDIdentical()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/ |
D | Asn1UTCTime.java | 40 private int second; field in Asn1UTCTime 57 second = other.second; in assignTo() 101 return second; in getSecond() 105 second = newSecond; in setSecond() 115 builder.append(twoDigit.format(second)); in encodeToIA5String() 135 builder.append(twoDigit.format(second)); in toHumanReadableString() 211 second = Integer.parseInt(result.substring(yearLength + 8, yearLength + 10)); in retrieveResult() 213 second = 0; in retrieveResult()
|
/cts/tests/framework/base/windowmanager/appSecondUid/src/android/server/wm/second/ |
D | EmbeddingActivity.java | 17 package android.server.wm.second; 19 import static android.server.wm.second.Components.EmbeddingActivity.ACTION_EMBEDDING_TEST_ACTIVITY_… 20 import static android.server.wm.second.Components.EmbeddingActivity.EXTRA_EMBEDDING_COMPONENT_NAME; 21 import static android.server.wm.second.Components.EmbeddingActivity.EXTRA_EMBEDDING_TARGET_DISPLAY;
|
D | SecondActivity.java | 17 package android.server.wm.second; 19 import static android.server.wm.second.Components.SecondActivity.EXTRA_DISPLAY_ACCESS_CHECK;
|
D | ImplicitTargetActivity.java | 17 package android.server.wm.second;
|
D | SecondActivityNoEmbedding.java | 17 package android.server.wm.second;
|
D | TestActivityWithSameAffinityDifferentUid.java | 17 package android.server.wm.second;
|
/cts/suite/audio_quality/test/ |
D | TaskCaseTest.cpp | 63 ASSERT_TRUE(((list->front().second.get() == buffer1.get()) && in TEST_F() 64 (list->back().second.get() == buffer2.get())) || in TEST_F() 65 ((list->front().second.get() == buffer2.get()) && in TEST_F() 66 (list->back().second.get() == buffer1.get()))); in TEST_F() 104 ASSERT_TRUE(((list->front().second == val2) && (list->back().second == val3)) || in TEST_F() 105 ((list->front().second == val3) && (list->back().second == val4))); in TEST_F()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | MultiTranscoderPerfTest.java | 111 assertTrue("DecodeMime: " + mDecoderPair.first + ", Decoder " + mDecoderPair.second + in test720p() 112 ", EncodeMime: " + mEncoderPair.first + ", Encoder: " + mEncoderPair.second + in test720p() 119 mDecoderPair.second, mEncoderPair.second, mIsAsync)); in test720p() 131 mTestFiles.get(mDecoderPair.first), mDecoderPair.second, surface, mIsAsync)); in test720p()
|
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/ |
D | ContentInfoTest.java | 73 assertThat(split.second.getClip().getItemCount()).isEqualTo(2); in testPartition_multipleItems() 77 assertThat(split.second.getClip().getDescription()).isNotSameInstanceAs( in testPartition_multipleItems() 82 assertThat(split.second.getSource()).isEqualTo(SOURCE_CLIPBOARD); in testPartition_multipleItems() 83 assertThat(split.second.getLinkUri()).isNotNull(); in testPartition_multipleItems() 84 assertThat(split.second.getExtras()).isNotNull(); in testPartition_multipleItems() 89 assertThat(split.second).isSameInstanceAs(payload); in testPartition_multipleItems() 94 assertThat(split.second).isNull(); in testPartition_multipleItems() 109 assertThat(split.second).isSameInstanceAs(payload); in testPartition_singleItem() 113 assertThat(split.second).isNull(); in testPartition_singleItem()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SumPathEffectTest.java | 66 PathEffect second = new DashPathEffect(new float[] { 10, 5 }, 5); in testSumPathEffect() local 67 paint.setPathEffect(second); in testSumPathEffect() 70 SumPathEffect sumPathEffect = new SumPathEffect(second, first); in testSumPathEffect()
|
D | TypefaceCustomFallbackBuilderTest.java | 54 final boolean italic = style.second.booleanValue(); in createFullFamilyTypeface() 72 final boolean italic = style.second.booleanValue(); in testSingleFont_path() 87 final boolean italic = style.second.booleanValue(); in testSingleFont_ttc() 103 final boolean italic = style.second.booleanValue(); in testSingleFont_vf() 126 final boolean italic = style.second.booleanValue(); in testFamily_selectStyle() 139 final boolean italic = familyStyle.second.booleanValue(); in testFamily_selectStyleByBuilder() 151 testStyle.second.booleanValue() in testFamily_selectStyleByBuilder()
|
/cts/tests/bugreport/src/android/bugreport/cts/ |
D | BugreportManagerTest.java | 97 String screenshot = brFiles.second; in testTelephonyBugreport() 110 String screenshot = brFiles.second; in testFullBugreport() 124 String screenshot = brFiles.second; in testInteractiveBugreport() 143 String screenshot = brFiles.second; in testWifiBugreport() 156 String screenshot = brFiles.second; in testRemoteBugreport() 169 String screenshot = brFiles.second; in testWearBugreport()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskSave.cpp | 91 if (!it->second->saveToFile(fileName)) { in handleFile() 128 if (it->second.getType() == TaskCase::Value::ETypeDouble) { in handleReport() 129 details.appendFormat(" %s: %f\n", it->first.string(), it->second.getDouble()); in handleReport() 132 it->second.getInt64()); in handleReport()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CallComposerTest.java | 168 if (result.second != null && expectedErrorCode < 0) { in pictureUploadHelper() 169 String error = TelephonyUtils.parseErrorCodeToString(result.second.getErrorCode(), in pictureUploadHelper() 172 + "\nIOException: " + result.second.getIOException()); in pictureUploadHelper() 176 if (result.second == null) { in pictureUploadHelper() 180 } else if (result.second.getErrorCode() != expectedErrorCode) { in pictureUploadHelper() 182 TelephonyUtils.parseErrorCodeToString(result.second.getErrorCode(), in pictureUploadHelper()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityEndToEndTest.java | 1096 private boolean equalsAccessiblityEvent(AccessibilityEvent first, AccessibilityEvent second) { in equalsAccessiblityEvent() argument 1097 return first.getEventType() == second.getEventType() in equalsAccessiblityEvent() 1098 && first.isChecked() == second.isChecked() in equalsAccessiblityEvent() 1099 && first.getCurrentItemIndex() == second.getCurrentItemIndex() in equalsAccessiblityEvent() 1100 && first.isEnabled() == second.isEnabled() in equalsAccessiblityEvent() 1101 && first.getFromIndex() == second.getFromIndex() in equalsAccessiblityEvent() 1102 && first.getItemCount() == second.getItemCount() in equalsAccessiblityEvent() 1103 && first.isPassword() == second.isPassword() in equalsAccessiblityEvent() 1104 && first.getRemovedCount() == second.getRemovedCount() in equalsAccessiblityEvent() 1105 && first.isScrollable()== second.isScrollable() in equalsAccessiblityEvent() [all …]
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/pseudorange/ |
D | GpsTime.java | 79 public GpsTime(int year, int month, int day, int hour, int minute, double second) { in GpsTime() argument 81 (int) second, (int) ((second * nanoSecPerSec) % nanoSecPerSec)); in GpsTime() 203 int second = (int) TimeUnit.NANOSECONDS.toSeconds(gpsNanos % NANOS_IN_WEEK); 204 return Pair.create(week, second);
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestSipDelegate.java | 121 assertNotNull(transactionAndIdPair.second); in receiveMessageAndVerifyReceivedCalled() 122 assertEquals(-1, transactionAndIdPair.second.intValue()); in receiveMessageAndVerifyReceivedCalled() 131 assertNotNull(transactionAndIdPair.second); in receiveMessageAndVerifyReceiveErrorCalled() 132 assertEquals(reason, transactionAndIdPair.second.intValue()); in receiveMessageAndVerifyReceiveErrorCalled()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | ContentObservableTest.java | 60 MyContentObserver second = new MyContentObserver(); in testNotifyChange() local 61 mContentObservable.registerObserver(second); in testNotifyChange() 68 assertTrue(second.hasChanged()); in testNotifyChange()
|
/cts/common/device-side/nativetesthelper/jni/ |
D | gtest_wrapper.cpp | 227 found->second.run = true; in Java_com_android_gtestrunner_GtestRunner_nAddTest() 240 if (!entry.second.run) continue; in Java_com_android_gtestrunner_GtestRunner_nRun() 243 if (entry.second.nativeName.find("DISABLED_") == 0 || in Java_com_android_gtestrunner_GtestRunner_nRun() 244 entry.second.nativeName.find("/DISABLED_") != std::string::npos || in Java_com_android_gtestrunner_GtestRunner_nRun() 245 entry.second.nativeName.find(".DISABLED_") != std::string::npos) { in Java_com_android_gtestrunner_GtestRunner_nRun() 249 filterStream << entry.second.nativeName << ":"; in Java_com_android_gtestrunner_GtestRunner_nRun()
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontTest.java | 156 boolean italic = style.second.booleanValue(); in testBuilder_buffer() 177 boolean italic = style.second.booleanValue(); in testBuilder_buffer_ttc() 199 boolean italic = style.second.booleanValue(); in testBuilder_buffer_vf() 223 boolean italic = style.second.booleanValue(); in testBuilder_buffer_override() 240 boolean italic = style.second.booleanValue(); in testBuilder_buffer_override() 272 boolean italic = style.second.booleanValue(); in testBuilder_file() 298 boolean italic = style.second.booleanValue(); in testBuilder_file_ttc() 325 boolean italic = style.second.booleanValue(); in testBuilder_file_vf() 354 boolean italic = style.second.booleanValue(); in testBuilder_file_override() 375 boolean italic = style.second.booleanValue(); in testBuilder_file_override() [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | AdhocConferenceTest.java | 69 ConnectionRequest request = verifyAdhocConferenceCall().second; in testStartConference() 94 assertTrue(resultPair.second.isAdhocConferenceCall()); in testAddNewIncomingConference_onAnswer() 117 assertTrue(resultPair.second.isAdhocConferenceCall()); in testAddNewIncomingConference_onReject() 154 assertTrue(resultPair.second.isAdhocConferenceCall()); in testConferenceCallAddConferenceParticipants()
|
/cts/hostsidetests/jvmti/base/jni/ |
D | redefine.cpp | 80 if (stack == redefinitions_.end() || stack->second.empty()) { in RetrieveRedefinition() 83 *data = stack->second.top(); in RetrieveRedefinition() 91 if (stack == redefinitions_.end() || stack->second.empty()) { in PopRedefinition() 94 stack->second.pop(); in PopRedefinition()
|