/cts/tests/media/jni/ |
D | NativeMediaFormatUnitTest.cpp | 138 bool result = AMediaFormat_getInt32(fmt, it.second, &val); in validateFormatInt32() 141 ALOGE("MediaFormat is not expected to contain Key %s", it.second); in validateFormatInt32() 146 ALOGE("MediaFormat doesn't contain key %s", it.second); in validateFormatInt32() 149 ALOGE("MediaFormat Value for Key %s is not %d but %d", it.second, it.first + offset, in validateFormatInt32() 153 if (strstr(toString, it.second) == nullptr) { in validateFormatInt32() 154 ALOGE("AMediaFormat_toString() of fmt %s doesn't contains %s", toString, it.second); in validateFormatInt32() 176 bool result = AMediaFormat_getInt64(fmt, it.second, &val); in validateFormatInt64() 179 ALOGE("MediaFormat is not expected to contain Key %s", it.second); in validateFormatInt64() 184 ALOGE("MediaFormat doesn't contain key %s", it.second); in validateFormatInt64() 187 ALOGE("MediaFormat Value for Key %s is not %" PRId64 "but %" PRId64, it.second, in validateFormatInt64() [all …]
|
D | NativeMediaCommon.cpp | 64 bool hasRefCSD = AMediaFormat_getBuffer(refFormat, name, &refCsd.first, &refCsd.second); in isCSDIdentical() 65 bool hasTestCSD = AMediaFormat_getBuffer(testFormat, name, &testCsd.first, &testCsd.second); in isCSDIdentical() 71 if (refCsd.second != testCsd.second) { in isCSDIdentical() 72 ALOGW("ref/test %s buffer sizes are not identical %zu/%zu", name, refCsd.second, in isCSDIdentical() 73 testCsd.second); in isCSDIdentical() 76 if (memcmp(refCsd.first, testCsd.first, refCsd.second)) { in isCSDIdentical()
|
/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/slice/src/android/slice/cts/ |
D | SliceSpecTest.java | 35 SliceSpec second = new SliceSpec("second", 1); in testDifferentTypes() local 37 assertFalse(first.canRender(second)); in testDifferentTypes() 38 assertFalse(second.canRender(first)); in testDifferentTypes() 41 verify(second); in testDifferentTypes() 47 SliceSpec second = new SliceSpec("namespace", 1); in testRenderDifference() local 49 assertTrue(first.canRender(second)); in testRenderDifference() 50 assertFalse(second.canRender(first)); in testRenderDifference()
|
/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 …]
|
D | LayoutMinimumLineHeightTest.kt | 110 descent = originalMetrics.second * 2f in Layout_expandToReserveMinimumFontMetrics() 130 descent = originalMetrics.second * 2f in StaticLayout_expandToReserveMinimumFontMetrics() 150 descent = originalMetrics.second * 2f in DynamicLayout_expandToReserveMinimumFontMetrics() 170 descent = originalMetrics.second / 2f in Layout_useActualFont() 178 assertThat(layout.getLineDescent(0)).isEqualTo(originalMetrics.second) in Layout_useActualFont() 190 descent = originalMetrics.second / 2f in StaticLayout_useActualFont() 198 assertThat(layout.getLineDescent(0)).isEqualTo(originalMetrics.second) in StaticLayout_useActualFont() 210 descent = originalMetrics.second / 2f in DynamicLayout_useActualFont() 218 assertThat(layout.getLineDescent(0)).isEqualTo(originalMetrics.second) in DynamicLayout_useActualFont()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | ActivityEmbeddingFinishTests.java | 127 activityPair.second.finish(); in testFinishPrimaryWithSecondary_ActivitiesStacked_FinishNever() 143 activityPair.second.finish(); in testFinishPrimaryWithSecondary_ActivitiesStacked_FinishAdjacent() 159 activityPair.second.finish(); in testFinishPrimaryWithSecondary_ActivitiesStacked_FinishAlways() 174 activityPair.second.finish(); in testFinishPrimaryWithSecondary_ActivitiesSplit_FinishNever() 190 activityPair.second.finish(); in testFinishPrimaryWithSecondary_ActivitiesSplit_FinishAdjacent() 205 activityPair.second.finish(); in testFinishPrimaryWithSecondary_ActivitiesSplit_FinishAlways() 221 waitAndAssertResumed(activityPair.second); in testFinishSecondaryWithPrimary_ActivitiesStacked_FinishNever() 237 waitAndAssertResumed(activityPair.second); in testFinishSecondaryWithPrimary_ActivitiesStacked_FinishAdjacent() 253 waitAndAssertFinishing(activityPair.second); in testFinishSecondaryWithPrimary_ActivitiesStacked_FinishAlways() 268 waitAndAssertResumedAndFillsTask(activityPair.second); in testFinishSecondaryWithPrimary_ActivitiesSplit_FinishNever() [all …]
|
D | ActivityEmbeddingCrossUidTests.java | 21 import static android.server.wm.jetpack.second.Components.ACTION_ENTER_PIP; 22 import static android.server.wm.jetpack.second.Components.ACTION_EXIT_PIP; 23 import static android.server.wm.jetpack.second.Components.EXTRA_LAUNCH_NON_EMBEDDABLE_ACTIVITY; 24 import static android.server.wm.jetpack.second.Components.SECOND_ACTIVITY; 25 import static android.server.wm.jetpack.second.Components.SECOND_ACTIVITY_UNKNOWN_EMBEDDING_CERTS; 26 import static android.server.wm.jetpack.second.Components.SECOND_UNTRUSTED_EMBEDDING_ACTIVITY; 27 import static android.server.wm.jetpack.second.Components.SECOND_UNTRUSTED_EMBEDDING_ACTIVITY_STATE…
|
/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/mediapc/src/android/mediapc/cts/ |
D | MultiDecoderPairPerfTest.java | 116 isSecureSupportedCodec(mFirstPair.second, mFirstPair.first) || in test720p() 117 isSecureSupportedCodec(mSecondPair.second, mSecondPair.first)); in test720p() 140 boolean isFirstSecure = isSecureSupportedCodec(mFirstPair.second, mFirstPair.first); in test1080p() 141 boolean isSecondSecure = isSecureSupportedCodec(mSecondPair.second, mSecondPair.first); in test1080p() 171 boolean isFirstSecure = isSecureSupportedCodec(mFirstPair.second, mFirstPair.first); in test4k() 172 boolean isSecondSecure = isSecureSupportedCodec(mSecondPair.second, mSecondPair.first); in test4k() 200 boolean isFirstSecure = isSecureSupportedCodec(mFirstPair.second, mFirstPair.first); in test4kHbd() 201 boolean isSecondSecure = isSecureSupportedCodec(mSecondPair.second, mSecondPair.first); in test4kHbd() 224 boolean isFirstSecure = isSecureSupportedCodec(mFirstPair.second, mFirstPair.first); in testCodec() 225 boolean isSecondSecure = isSecureSupportedCodec(mSecondPair.second, mSecondPair.first); in testCodec() [all …]
|
D | MultiEncoderPairPerfTest.java | 166 testList.add(new Encode(mFirstPair.first, mFirstPair.second, mIsAsync, 1080, in testCodec() 170 testList.add(new Encode(mSecondPair.first, mSecondPair.second, mIsAsync, 1080, in testCodec() 178 testList.add(new Encode(mFirstPair.first, mFirstPair.second, mIsAsync, 1080, in testCodec() 181 testList.add(new Encode(mFirstPair.first, mFirstPair.second, mIsAsync, height, in testCodec() 187 testList.add(new Encode(mSecondPair.first, mSecondPair.second, mIsAsync, 1080, in testCodec() 190 testList.add(new Encode(mSecondPair.first, mSecondPair.second, mIsAsync, height, in testCodec()
|
D | MultiTranscoderPerfTest.java | 205 new Transcode(mEncoderPair.first, testFiles1080p, mDecoderPair.second, in testCodec() 206 mEncoderPair.second, mIsAsync, useHighBitDepth)); in testCodec() 210 mDecoderPair.second, mEncoderPair.second, mIsAsync, in testCodec() 216 mDecoderPair.second, mEncoderPair.second, mIsAsync, in testCodec() 229 mTestFiles.get(mDecoderPair.first), mDecoderPair.second, surface, in testCodec()
|
/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;
|
/cts/tests/framework/base/windowmanager/jetpack/SecondApp/src/android/server/wm/jetpack/second/ |
D | SecondActivityAllowsUntrustedEmbedding.java | 17 package android.server.wm.jetpack.second; 19 import static android.server.wm.jetpack.second.Components.ACTION_ENTER_PIP; 20 import static android.server.wm.jetpack.second.Components.ACTION_EXIT_PIP; 21 import static android.server.wm.jetpack.second.Components.EXTRA_LAUNCH_NON_EMBEDDABLE_ACTIVITY;
|
/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()
|
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/ |
D | ContentInfoTest.java | 81 assertThat(split.second.getClip().getItemCount()).isEqualTo(2); in testPartition_multipleItems() 85 assertThat(split.second.getClip().getDescription()) in testPartition_multipleItems() 90 assertThat(split.second.getSource()).isEqualTo(SOURCE_CLIPBOARD); in testPartition_multipleItems() 91 assertThat(split.second.getLinkUri()).isNotNull(); in testPartition_multipleItems() 92 assertThat(split.second.getExtras()).isNotNull(); in testPartition_multipleItems() 97 assertThat(split.second).isSameInstanceAs(payload); in testPartition_multipleItems() 102 assertThat(split.second).isNull(); in testPartition_multipleItems() 118 assertThat(split.second).isSameInstanceAs(payload); in testPartition_singleItem() 122 assertThat(split.second).isNull(); in testPartition_singleItem()
|
/cts/tests/bugreport/src/android/bugreport/cts/ |
D | BugreportManagerTest.java | 133 String screenshot = brFiles.second; in testTelephonyBugreport() 147 String screenshot = brFiles.second; in testFullBugreport() 162 String screenshot = brFiles.second; in testInteractiveBugreport() 182 String screenshot = brFiles.second; in testWifiBugreport() 196 String screenshot = brFiles.second; in testRemoteBugreport() 210 String screenshot = brFiles.second; in testWearBugreport() 225 String screenshot = brFiles.second; in testOnboardingBugreport()
|
/cts/tests/tests/appop/AppThatUsesAppOps/src/android/app/appops/cts/appthatusesappops/ |
D | AppOpsUserService.kt | 142 assertThat(noted[0].second.map { it.methodName }) in noteSyncOpFromNativeCode() 154 assertThat(noted[0].second.map { it.methodName }) in noteSyncOpFromNativeCode() 182 assertThat(noted[0].second.map { it.methodName }) in noteSyncOpFromNativeCode() 219 assertThat(noted[0].second.map { it.methodName }).contains( in noteSyncOpFromNativeCode() 242 assertThat(noted[0].second.map { it.methodName }) in noteSyncOpFromNativeCode() 255 assertThat(noted[0].second.map { it.methodName }) in noteSyncOpFromNativeCode() 257 assertThat(noted[1].second.map { it.methodName }) in noteSyncOpFromNativeCode()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CallComposerTest.java | 188 if (result.second != null && expectedErrorCode < 0) { in pictureUploadHelper() 189 String error = TelephonyUtils.parseErrorCodeToString(result.second.getErrorCode(), in pictureUploadHelper() 192 + "\nIOException: " + result.second.getIOException()); in pictureUploadHelper() 196 if (result.second == null) { in pictureUploadHelper() 200 } else if (result.second.getErrorCode() != expectedErrorCode) { in pictureUploadHelper() 202 TelephonyUtils.parseErrorCodeToString(result.second.getErrorCode(), in pictureUploadHelper()
|
D | SimultaneousCallingRestrictionsTest.java | 385 result_0.second, result_1.second); in testCellularDSDASupported_ImsRegisteredWWAN() 426 result_0.second, result_1.second); in testCellularDSDANotSupported_ImsRegisteredWWAN() 465 result_0.second, result_1.second); in testImsRegisteredWLAN() 674 && accts.second.hasSimultaneousCallingRestriction() in isDsdaAccountRestrictionsSet() 676 .contains(accts.second.getAccountHandle()) in isDsdaAccountRestrictionsSet() 677 && accts.second.getSimultaneousCallingRestriction() in isDsdaAccountRestrictionsSet() 698 assertTrue(accts.second.hasSimultaneousCallingRestriction()); in verifySimultaneousCallingRestrictions() 700 assertEquals(1, accts.second.getSimultaneousCallingRestriction().size()); in verifySimultaneousCallingRestrictions() 702 accts.second.getAccountHandle())); in verifySimultaneousCallingRestrictions() 703 Assert.assertTrue(accts.second.getSimultaneousCallingRestriction().contains( in verifySimultaneousCallingRestrictions() [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/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 …]
|