/cts/hostsidetests/mediapc/videoencodingquality/bdrate/src/test/java/com/android/media/videoquality/bdrate/ |
D | BdRateMainTests.java | 28 private static final BdRateCalculator BD_RATE_CALCULATOR = BdRateCalculator.create(); 29 private static final BdQualityCalculator BD_QUALITY_CALCULATOR = BdQualityCalculator.create(); 50 .addPoint(RateDistortionPoint.create(3341.0, 63.0)) in parametersForCheckVeq_passesOnKnownGoodResults() 51 .addPoint(RateDistortionPoint.create(4028.0, 67.0)) in parametersForCheckVeq_passesOnKnownGoodResults() 52 .addPoint(RateDistortionPoint.create(6001.0, 75.0)) in parametersForCheckVeq_passesOnKnownGoodResults() 53 .addPoint(RateDistortionPoint.create(8000.0, 80.0)) in parametersForCheckVeq_passesOnKnownGoodResults() 54 .addPoint(RateDistortionPoint.create(10043.0, 84.0)) in parametersForCheckVeq_passesOnKnownGoodResults() 55 .addPoint(RateDistortionPoint.create(12058.0, 86.0)) in parametersForCheckVeq_passesOnKnownGoodResults() 58 .addPoint(RateDistortionPoint.create(5444.5, 77.76)) in parametersForCheckVeq_passesOnKnownGoodResults() 59 .addPoint(RateDistortionPoint.create(5733.5, 78.71)) in parametersForCheckVeq_passesOnKnownGoodResults() [all …]
|
D | RateDistortionCurvePairTests.java | 42 .addPoint(RateDistortionPoint.create(1269000, 85.99145178011112)) in parametersForCluster_correctlyClustersPoints() 43 .addPoint(RateDistortionPoint.create(1271000, 85.940599017292612)) in parametersForCluster_correctlyClustersPoints() 47 .addPoint(RateDistortionPoint.create(1280000, 86.239622578028658)) in parametersForCluster_correctlyClustersPoints() 48 .addPoint(RateDistortionPoint.create(1980000, 91.798753645900973)) in parametersForCluster_correctlyClustersPoints() 49 .addPoint(RateDistortionPoint.create(2963000, 96.336865669564261)) in parametersForCluster_correctlyClustersPoints() 50 .addPoint(RateDistortionPoint.create(3953000, 98.916661924718113)) in parametersForCluster_correctlyClustersPoints() 51 .addPoint(RateDistortionPoint.create(4944000, 100.56809641317301)) in parametersForCluster_correctlyClustersPoints() 54 .addPoint(RateDistortionPoint.create(1270000, 85.966025)) in parametersForCluster_correctlyClustersPoints() 55 .addPoint(RateDistortionPoint.create(1280000, 86.239622578028658)) in parametersForCluster_correctlyClustersPoints() 56 .addPoint(RateDistortionPoint.create(1980000, 91.798753645900973)) in parametersForCluster_correctlyClustersPoints() [all …]
|
D | BdQualityCalculatorTests.java | 41 .addPoint(RateDistortionPoint.create(108048.8736, 43.6471)) in calculate_dataFromJCTVCE137_1() 42 .addPoint(RateDistortionPoint.create(61279.976, 40.3953)) in calculate_dataFromJCTVCE137_1() 43 .addPoint(RateDistortionPoint.create(33905.6656, 37.247)) in calculate_dataFromJCTVCE137_1() 44 .addPoint(RateDistortionPoint.create(18883.6928, 34.2911)) in calculate_dataFromJCTVCE137_1() 48 .addPoint(RateDistortionPoint.create(78915.635, 41.8147)) in calculate_dataFromJCTVCE137_1() 52 .addPoint(RateDistortionPoint.create(108061.2784, 43.6768)) in calculate_dataFromJCTVCE137_1() 53 .addPoint(RateDistortionPoint.create(61299.9936, 40.4232)) in calculate_dataFromJCTVCE137_1() 54 .addPoint(RateDistortionPoint.create(33928.7472, 37.2761)) in calculate_dataFromJCTVCE137_1() 55 .addPoint(RateDistortionPoint.create(18910.912, 34.3147)) in calculate_dataFromJCTVCE137_1() 59 .addPoint(RateDistortionPoint.create(78532.332, 41.8147)) in calculate_dataFromJCTVCE137_1() [all …]
|
D | BdRateCalculatorTests.java | 42 .addPoint(RateDistortionPoint.create(108048.8736, 43.6471)) in calculate_dataFromJCTVCE137_1() 43 .addPoint(RateDistortionPoint.create(61279.976, 40.3953)) in calculate_dataFromJCTVCE137_1() 44 .addPoint(RateDistortionPoint.create(33905.6656, 37.247)) in calculate_dataFromJCTVCE137_1() 45 .addPoint(RateDistortionPoint.create(18883.6928, 34.2911)) in calculate_dataFromJCTVCE137_1() 49 .addPoint(RateDistortionPoint.create(78915.635, 41.8147)) in calculate_dataFromJCTVCE137_1() 53 .addPoint(RateDistortionPoint.create(108061.2784, 43.6768)) in calculate_dataFromJCTVCE137_1() 54 .addPoint(RateDistortionPoint.create(61299.9936, 40.4232)) in calculate_dataFromJCTVCE137_1() 55 .addPoint(RateDistortionPoint.create(33928.7472, 37.2761)) in calculate_dataFromJCTVCE137_1() 56 .addPoint(RateDistortionPoint.create(18910.912, 34.3147)) in calculate_dataFromJCTVCE137_1() 60 .addPoint(RateDistortionPoint.create(78532.332, 41.8147)) in calculate_dataFromJCTVCE137_1() [all …]
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/ast/operators/ |
D | ComparatorNodeCtsTest.java | 60 PropertyPath.PathSegment.create("example"), in testConstructor_correctConstruction() 61 PropertyPath.PathSegment.create("property"), in testConstructor_correctConstruction() 62 PropertyPath.PathSegment.create("path")); in testConstructor_correctConstruction() 78 PropertyPath.PathSegment.create("example"), in testConstructor_throwsOnInvalidComparator() 79 PropertyPath.PathSegment.create("property"), in testConstructor_throwsOnInvalidComparator() 80 PropertyPath.PathSegment.create("path")); in testConstructor_throwsOnInvalidComparator() 114 PropertyPath.PathSegment.create("example"), in testGetChildren_returnsEmptyList() 115 PropertyPath.PathSegment.create("property"), in testGetChildren_returnsEmptyList() 116 PropertyPath.PathSegment.create("path")); in testGetChildren_returnsEmptyList() 131 PropertyPath.PathSegment.create("example"), in testSetValue_setsValueCorrectly() [all …]
|
D | PropertyRestrictNodeTest.java | 63 PropertyPath.PathSegment.create("example"), in testConstructor_takesPropertyPath() 64 PropertyPath.PathSegment.create("property"), in testConstructor_takesPropertyPath() 65 PropertyPath.PathSegment.create("segment")); in testConstructor_takesPropertyPath() 90 PropertyPath.PathSegment.create("example"), in testGetChildren_returnsListOfSizeOne() 91 PropertyPath.PathSegment.create("property"), in testGetChildren_returnsListOfSizeOne() 92 PropertyPath.PathSegment.create("segment")); in testGetChildren_returnsListOfSizeOne() 106 PropertyPath.PathSegment.create("example"), in testGetChildren_returnsViewOfList() 107 PropertyPath.PathSegment.create("property"), in testGetChildren_returnsViewOfList() 108 PropertyPath.PathSegment.create("segment")); in testGetChildren_returnsViewOfList() 130 PropertyPath.PathSegment.create("example"), in testSetPropertyPath_throwsOnNullPointer() [all …]
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_foreach.cpp | 49 sp<const Type> t = Type::create(mRS, Element::I8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 53 t = Type::create(mRS, Element::U8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 59 t = Type::create(mRS, Element::I8_2(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 61 t = Type::create(mRS, Element::U8_2(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 67 t = Type::create(mRS, Element::I8_3(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 69 t = Type::create(mRS, Element::U8_3(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 75 t = Type::create(mRS, Element::I8_4(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 77 t = Type::create(mRS, Element::U8_4(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 83 t = Type::create(mRS, Element::I16(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 85 t = Type::create(mRS, Element::U16(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() [all …]
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/ast/query/ |
D | PropertyDefinedNodeCtsTest.java | 60 PropertyPath.PathSegment.create("property"), in testGetFunctionName_functionNameCorrect() 61 PropertyPath.PathSegment.create("path")); in testGetFunctionName_functionNameCorrect() 72 PropertyPath.PathSegment.create("property"), in testGetChildren_returnsEmptyList() 73 PropertyPath.PathSegment.create("path")); in testGetChildren_returnsEmptyList() 85 PropertyPath.PathSegment.create("property"), in testGetPropertyPath_returnsCorrectPropertyPath() 86 PropertyPath.PathSegment.create("path")); in testGetPropertyPath_returnsCorrectPropertyPath() 98 PropertyPath.PathSegment.create("property"), in testSetPropertyPath_throwsOnNullPointer() 99 PropertyPath.PathSegment.create("path")); in testSetPropertyPath_throwsOnNullPointer() 111 PropertyPath.PathSegment.create("property"), in testSetPropertyPath_setsCorrectPropertyPath() 112 PropertyPath.PathSegment.create("path")); in testSetPropertyPath_setsCorrectPropertyPath() [all …]
|
D | HasPropertyNodeCtsTest.java | 60 PropertyPath.PathSegment.create("property"), in testGetFunctionName_functionNameCorrect() 61 PropertyPath.PathSegment.create("path")); in testGetFunctionName_functionNameCorrect() 72 PropertyPath.PathSegment.create("property"), in testGetChildren_returnsEmptyList() 73 PropertyPath.PathSegment.create("path")); in testGetChildren_returnsEmptyList() 85 PropertyPath.PathSegment.create("property"), in testGetPropertyPath_returnsCorrectPropertyPath() 86 PropertyPath.PathSegment.create("path")); in testGetPropertyPath_returnsCorrectPropertyPath() 98 PropertyPath.PathSegment.create("property"), in testSetPropertyPath_throwsOnNullPointer() 99 PropertyPath.PathSegment.create("path")); in testSetPropertyPath_throwsOnNullPointer() 111 PropertyPath.PathSegment.create("property"), in testSetPropertyPath_replaceOldPropertyPath() 112 PropertyPath.PathSegment.create("path")); in testSetPropertyPath_replaceOldPropertyPath() [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | PrecomputedTextTest.java | 220 PrecomputedText.create(NULL_CHAR_SEQUENCE, param); in testCreate_withNull() 226 PrecomputedText.create(STRING, null); in testCreate_withNull() 236 final PrecomputedText textWithLTR = PrecomputedText.create(STRING, param); in testCreateForDifferentDirection() 238 final PrecomputedText textWithRTL = PrecomputedText.create(textWithLTR, newParam); in testCreateForDifferentDirection() 247 final CharSequence s = PrecomputedText.create(STRING, param); in testCharSequenceInteface() 268 final Spanned s = PrecomputedText.create(SPANNED, param); in testSpannedInterface_Spanned() 286 final Spannable s = PrecomputedText.create(STRING, param); in testSpannedInterface_Spannable() 307 final Spannable s = PrecomputedText.create(SPANNED, param); in testSpannedInterface_Spannable_setSpan_MetricsAffectingSpan() 314 final Spannable s = PrecomputedText.create(SPANNED, param); in testSpannedInterface_Spannable_removeSpan_MetricsAffectingSpan() 321 final Spanned s = PrecomputedText.create(STRING, param); in testSpannedInterface_String() [all …]
|
/cts/tests/mediapc/common/tests/src/android/mediapc/cts/common/ |
D | RequirementTest.java | 37 public static TestReq create() { in create() method in RequirementTest.TestReq 64 public static TestReqWith2Measures create() { in create() method in RequirementTest.TestReqWith2Measures 88 TestReq testReq = TestReq.create(); in computePerformanceClass_0() 98 TestReq testReq = TestReq.create(); in computePerformanceClass_30() 108 TestReq testReq = TestReq.create(); in computePerformanceClass_31() 118 TestReq testReq = TestReq.create(); in computePerformanceClass_32() 128 TestReqWith2Measures testReq = TestReqWith2Measures.create(); in computePerformanceClass_PicksLower() 141 TestReq testReq = TestReq.create(); in checkPerformanceClass_justBelow() 153 TestReq testReq = TestReq.create(); in checkPerformanceClass_justAt() 165 TestReq testReq = TestReq.create(); in checkPerformanceClass_justAbove() [all …]
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSColorMatrixTest.java | 57 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 58 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 61 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix0() 69 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 88 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() 89 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() 92 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix1() 99 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() 122 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix2() 123 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix2() [all …]
|
D | RSBlurTest.java | 46 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel() 47 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel() 49 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.A_8(mRS)); in testRSBlurOneChannel() 57 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel() 75 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels() 76 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels() 78 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.RGBA_8888(mRS)); in testRSBlurFourChannels() 86 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ForEachTest.java | 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach() 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach() 80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach() 82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach() 96 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach() 98 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach() 112 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach() 114 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach() 128 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach() 130 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create(); in testForEach() [all …]
|
D | KernelTest.java | 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach() 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach() 80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach() 82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach() 96 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach() 98 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach() 112 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach() 114 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach() 128 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach() 130 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create(); in testForEach() [all …]
|
D | TypeTest.java | 28 b.create(); in testBuilderSizes() 93 Type t = b.create(); in testGetCount() 102 Type t = b.setX(8).setY(1).create(); in testGetCount() 106 t = b.setX(8).setY(8).create(); in testGetCount() 110 t = b.setX(8).setY(4).create(); in testGetCount() 114 t = b.setX(4).setY(8).create(); in testGetCount() 117 t = b.setX(7).setY(1).create(); in testGetCount() 121 t = b.setX(7).setY(3).create(); in testGetCount() 129 assertTrue(b.create().getElement() == Element.F32(mRS)); in testGetElement() 135 assertTrue(b.create().getX() == 3); in testGetX() [all …]
|
/cts/tests/media/src/android/mediav2/cts/ |
D | VideoTranscoderAvailabilityTest.java | 147 validateGetCodecResources(List.of(Pair.create(mDecoder, CodecState.UNINITIALIZED)), in testSimpleDecodeEncodeFromSurface() 152 validateGetCodecResources(List.of(Pair.create(mEncoder, CodecState.UNINITIALIZED), in testSimpleDecodeEncodeFromSurface() 153 Pair.create(mDecoder, CodecState.UNINITIALIZED)), GLOBAL_AVBL_RESOURCES, in testSimpleDecodeEncodeFromSurface() 160 validateGetCodecResources(List.of(Pair.create(mEncoder, CodecState.CONFIGURED), in testSimpleDecodeEncodeFromSurface() 161 Pair.create(mDecoder, CodecState.CONFIGURED)), GLOBAL_AVBL_RESOURCES, in testSimpleDecodeEncodeFromSurface() 166 validateGetCodecResources(List.of(Pair.create(mEncoder, CodecState.RUNNING), in testSimpleDecodeEncodeFromSurface() 167 Pair.create(mDecoder, CodecState.CONFIGURED)), GLOBAL_AVBL_RESOURCES, in testSimpleDecodeEncodeFromSurface() 172 validateGetCodecResources(List.of(Pair.create(mEncoder, CodecState.RUNNING), in testSimpleDecodeEncodeFromSurface() 173 Pair.create(mDecoder, CodecState.RUNNING)), GLOBAL_AVBL_RESOURCES, in testSimpleDecodeEncodeFromSurface() 180 validateGetCodecResources(List.of(Pair.create(mEncoder, CodecState.EOS), in testSimpleDecodeEncodeFromSurface() [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | PairTest.java | 35 Pair pairA = Pair.create(1, 2); in testBasic() 46 Pair pairA = Pair.create(1, 2); in testEqualsHashCode() 47 Pair pairB = Pair.create(1, 2); in testEqualsHashCode() 51 Pair pairC = Pair.create(42, 42); in testEqualsHashCode() 58 Pair pairA = Pair.create(1, null); in testNull() 59 Pair pairB = Pair.create(1, null); in testNull() 63 Pair pairC = Pair.create(42, null); in testNull()
|
/cts/tools/utils/ |
D | certificates.py | 52 def create(cn, issuer=None, key=None, keysize=2048, digest="sha256", member in Certificate 81 a = Certificate.create("Root A") 82 a_sha1 = Certificate.create("Root A", key=a.key, digest="sha1") 83 b = Certificate.create("Root B") 84 a_to_b = Certificate.create("Root A", b, a.key) 85 b_to_a = Certificate.create("Root B", a, b.key) 86 leaf1 = Certificate.create("Leaf", a) 87 intermediate_a = Certificate.create("intermediate", a) 88 intermediate_b = Certificate.create("intermediate", b, intermediate_a.key) 89 leaf2 = Certificate.create("Leaf 2", intermediate_a)
|
/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/cts/app/ |
D | SharedConnectivityManagerTest.java | 159 assertThat(SharedConnectivityManager.create(mContext)).isNull(); in resourcesNotDefined_createShouldReturnNull() 166 assertThat(SharedConnectivityManager.create(mContext)).isNull(); in resourceStringsAreEmpty_createShouldReturnNull() 171 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindingToServiceOnFirstCallbackRegistration() 182 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindToServiceFails_userUnlocked_callsOnRegisterCallbackFailed() 194 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindToServiceFails_userLocked_registerReceiver() 207 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in broadcastReceiver_onReceiveUnlock_retriesBind() 216 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindIsCalledOnceOnMultipleCallbackRegistrations() 229 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in unbindIsCalledOnLastCallbackUnregistrations() 244 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindIsCalledOnRegisterAfterUnbind() 257 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in registerCallback_serviceNotConnected_canUnregisterAndReregister() [all …]
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BlockingBroadcastReceiver.java | 81 public static BlockingBroadcastReceiver create(Context context, String expectedAction) { in create() method in BlockingBroadcastReceiver 82 return create(context, new IntentFilter(expectedAction)); in create() 85 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter) { in create() method in BlockingBroadcastReceiver 86 return create(context, intentFilter, /* checker= */ null); in create() 89 public static BlockingBroadcastReceiver create(Context context, String expectedAction, in create() method in BlockingBroadcastReceiver 91 return create(context, new IntentFilter(expectedAction), checker); in create() 94 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter, in create() method in BlockingBroadcastReceiver 96 return create(context, Set.of(intentFilter), checker); in create() 99 public static BlockingBroadcastReceiver create(Context context, in create() method in BlockingBroadcastReceiver 101 return create(context, intentFilters, /* checker= */ null); in create() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockingBroadcastReceiver.java | 74 public static BlockingBroadcastReceiver create(Context context, String expectedAction) { in create() method in BlockingBroadcastReceiver 75 return create(context, new IntentFilter(expectedAction)); in create() 78 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter) { in create() method in BlockingBroadcastReceiver 79 return create(context, intentFilter, /* checker= */ null); in create() 82 public static BlockingBroadcastReceiver create(Context context, String expectedAction, in create() method in BlockingBroadcastReceiver 84 return create(context, new IntentFilter(expectedAction), checker); in create() 87 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter, in create() method in BlockingBroadcastReceiver 89 return create(context, Set.of(intentFilter), checker); in create() 92 public static BlockingBroadcastReceiver create(Context context, in create() method in BlockingBroadcastReceiver 94 return create(context, intentFilters, /* checker= */ null); in create() [all …]
|
/cts/tests/location/location_none/src/android/location/cts/none/ |
D | GnssSignalTypeTest.java | 44 GnssSignalType.create(GnssStatus.CONSTELLATION_GPS, 1575.42e6, "C"); in testGetValues() 53 GnssSignalType.create(GnssStatus.CONSTELLATION_GPS, 1575.42e6, "C"); in testDescribeContents() 60 GnssSignalType.create(GnssStatus.CONSTELLATION_GPS, 1575.42e6, "C"); in testWriteToParcel() 73 GnssSignalType.create(GnssStatus.CONSTELLATION_GPS, 1575.42e6, "C"); in testEquals() 75 GnssSignalType.create(GnssStatus.CONSTELLATION_GALILEO, 1575.42e6, "A"); in testEquals() 77 GnssSignalType.create(GnssStatus.CONSTELLATION_GPS, 1575.42e6, "C"); in testEquals()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | PropertyPathCtsTest.java | 127 NullPointerException.class, () -> PropertyPath.PathSegment.create(null)); in testPathSegmentInvalid() 132 IllegalArgumentException.class, () -> PropertyPath.PathSegment.create("")); in testPathSegmentInvalid() 136 IllegalArgumentException.class, () -> PropertyPath.PathSegment.create("[")); in testPathSegmentInvalid() 140 IllegalArgumentException.class, () -> PropertyPath.PathSegment.create(".")); in testPathSegmentInvalid() 144 IllegalArgumentException.class, () -> PropertyPath.PathSegment.create("]")); in testPathSegmentInvalid() 149 () -> PropertyPath.PathSegment.create("foo", -2)); in testPathSegmentInvalid() 155 PropertyPath.PathSegment segment = PropertyPath.PathSegment.create("foo", 2); in testPathSegmentValid() 157 segment = PropertyPath.PathSegment.create("foo"); in testPathSegmentValid() 159 assertThat(segment).isEqualTo(PropertyPath.PathSegment.create("foo")); in testPathSegmentValid() 166 PropertyPath.PathSegment.create("foo", 1), in testBuildPropertyPathFromSegmentList() [all …]
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | HardwareBufferTest.java | 58 HardwareBuffer buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreate() 67 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBX_8888, 1, in testCreate() 70 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_888, 1, in testCreate() 73 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_565, 1, in testCreate() 76 buffer = HardwareBuffer.create(2, 1, HardwareBuffer.BLOB, 1, in testCreate() 125 HardwareBuffer.create(2, 4, format, 1, HardwareBuffer.USAGE_CPU_READ_RARELY); in testCreateOptionalFormats() 141 buffer = HardwareBuffer.create(0, 4, HardwareBuffer.RGB_888, 1, in testCreateFailsWithInvalidArguments() 146 buffer = HardwareBuffer.create(2, 0, HardwareBuffer.RGB_888, 1, in testCreateFailsWithInvalidArguments() 151 buffer = HardwareBuffer.create(2, 4, 0, 1, in testCreateFailsWithInvalidArguments() 156 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_888, -1, in testCreateFailsWithInvalidArguments() [all …]
|