Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 490) sorted by relevance

12345678910>>...20

/cts/hostsidetests/mediapc/videoencodingquality/bdrate/src/test/java/com/android/media/videoquality/bdrate/
DBdRateMainTests.java28 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 …]
DRateDistortionCurvePairTests.java42 .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 …]
DBdQualityCalculatorTests.java41 .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 …]
DBdRateCalculatorTests.java42 .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/tests/rscpp/librscpptest/
Drs_jni_foreach.cpp49 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 …]
Drs_jni_type.cpp52 result &= (b.create() != nullptr); in testTypeBuilderHelper()
122 sp<const Type> t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
133 sp<const Type> t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
140 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
146 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
152 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
157 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
163 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
180 sp<const Type> t = Type::create(mRS, Element::F32(mRS), 3, 4, 0); in Java_android_cts_rscpp_RSTypeTest_testGet()
190 passed &= (b.create()->hasFaces()); in Java_android_cts_rscpp_RSTypeTest_testGet()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DPrecomputedTextTest.java220 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/
DRequirementTest.java39 public static TestReq create() { in create() method in RequirementTest.TestReq
66 public static TestReqWith2Measures create() { in create() method in RequirementTest.TestReqWith2Measures
90 TestReq testReq = TestReq.create(); in computePerformanceClass_0()
100 TestReq testReq = TestReq.create(); in computePerformanceClass_30()
110 TestReq testReq = TestReq.create(); in computePerformanceClass_31()
120 TestReq testReq = TestReq.create(); in computePerformanceClass_32()
130 TestReqWith2Measures testReq = TestReqWith2Measures.create(); in computePerformanceClass_PicksLower()
143 TestReq testReq = TestReq.create(); in checkPerformanceClass_justBelow()
155 TestReq testReq = TestReq.create(); in checkPerformanceClass_justAt()
167 TestReq testReq = TestReq.create(); in checkPerformanceClass_justAbove()
[all …]
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSColorMatrixTest.java57 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 …]
DRSBlurTest.java46 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()
DRSConvolveTest.java57 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3()
58 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3()
60 … ScriptIntrinsicConvolve3x3 convolve = ScriptIntrinsicConvolve3x3.create(mRS, Element.A_8(mRS)); in testConvolve3x3()
68 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3()
105 RenderScript mRS = RenderScript.create(getContext()); in testConvolve5x5()
114 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5()
115 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5()
117 … ScriptIntrinsicConvolve5x5 convolve = ScriptIntrinsicConvolve5x5.create(mRS, Element.A_8(mRS)); in testConvolve5x5()
125 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DForEachTest.java59 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 …]
DKernelTest.java59 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 …]
DTypeTest.java28 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 …]
DScriptGroupTest.java45 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupSingleKernel()
49 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupSingleKernel()
63 group = b.create(); in testScriptGroupSingleKernel()
79 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupDisconnectedKernel()
83 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel()
84 mColorMatrix2 = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel()
102 group = b.create(); in testScriptGroupDisconnectedKernel()
121 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupFieldConnection()
126 mConvolve3x3 = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); in testScriptGroupFieldConnection()
127 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupFieldConnection()
[all …]
/cts/tests/tests/util/src/android/util/cts/
DPairTest.java35 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/
Dcertificates.py52 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/
DSharedConnectivityManagerTest.java154 assertThat(SharedConnectivityManager.create(mContext)).isNull(); in resourcesNotDefined_createShouldReturnNull()
161 assertThat(SharedConnectivityManager.create(mContext)).isNull(); in resourceStringsAreEmpty_createShouldReturnNull()
166 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindingToServiceOnFirstCallbackRegistration()
177 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindToServiceFails_userUnlocked_callsOnRegisterCallbackFailed()
189 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindToServiceFails_userLocked_registerReceiver()
202 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in broadcastReceiver_onReceiveUnlock_retriesBind()
211 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindIsCalledOnceOnMultipleCallbackRegistrations()
224 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in unbindIsCalledOnLastCallbackUnregistrations()
239 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in bindIsCalledOnRegisterAfterUnbind()
252 SharedConnectivityManager manager = SharedConnectivityManager.create(mContext); in registerCallback_serviceNotConnected_canUnregisterAndReregister()
[all …]
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DPropertyPathCtsTest.java115 NullPointerException.class, () -> PropertyPath.PathSegment.create(null)); in testPathSegmentInvalid()
120 IllegalArgumentException.class, () -> PropertyPath.PathSegment.create("")); in testPathSegmentInvalid()
124 IllegalArgumentException.class, () -> PropertyPath.PathSegment.create("[")); in testPathSegmentInvalid()
128 IllegalArgumentException.class, () -> PropertyPath.PathSegment.create(".")); in testPathSegmentInvalid()
132 IllegalArgumentException.class, () -> PropertyPath.PathSegment.create("]")); in testPathSegmentInvalid()
137 () -> PropertyPath.PathSegment.create("foo", -2)); in testPathSegmentInvalid()
143 PropertyPath.PathSegment segment = PropertyPath.PathSegment.create("foo", 2); in testPathSegmentValid()
145 segment = PropertyPath.PathSegment.create("foo"); in testPathSegmentValid()
147 assertThat(segment).isEqualTo(PropertyPath.PathSegment.create("foo")); in testPathSegmentValid()
154 PropertyPath.PathSegment.create("foo", 1), in testBuildPropertyPathFromSegmentList()
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java56 HardwareBuffer buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreate()
65 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBX_8888, 1, in testCreate()
68 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_888, 1, in testCreate()
71 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_565, 1, in testCreate()
74 buffer = HardwareBuffer.create(2, 1, HardwareBuffer.BLOB, 1, in testCreate()
103 HardwareBuffer.create(2, 4, format, 1, HardwareBuffer.USAGE_CPU_READ_RARELY); in testCreateOptionalFormats()
119 buffer = HardwareBuffer.create(0, 4, HardwareBuffer.RGB_888, 1, in testCreateFailsWithInvalidArguments()
124 buffer = HardwareBuffer.create(2, 0, HardwareBuffer.RGB_888, 1, in testCreateFailsWithInvalidArguments()
129 buffer = HardwareBuffer.create(2, 4, 0, 1, in testCreateFailsWithInvalidArguments()
134 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_888, -1, in testCreateFailsWithInvalidArguments()
[all …]
/cts/tests/location/location_none/src/android/location/cts/none/
DGnssSignalTypeTest.java44 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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBlockingBroadcastReceiver.java74 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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DBlockingBroadcastReceiver.java79 public static BlockingBroadcastReceiver create(Context context, String expectedAction) { in create() method in BlockingBroadcastReceiver
80 return create(context, new IntentFilter(expectedAction)); in create()
83 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter) { in create() method in BlockingBroadcastReceiver
84 return create(context, intentFilter, /* checker= */ null); in create()
87 public static BlockingBroadcastReceiver create(Context context, String expectedAction, in create() method in BlockingBroadcastReceiver
89 return create(context, new IntentFilter(expectedAction), checker); in create()
92 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter, in create() method in BlockingBroadcastReceiver
94 return create(context, Set.of(intentFilter), checker); in create()
97 public static BlockingBroadcastReceiver create(Context context, in create() method in BlockingBroadcastReceiver
99 return create(context, intentFilters, /* checker= */ null); in create()
[all …]
/cts/tests/tests/soundtrigger/src/android/soundtrigger/cts/instrumentation/
DSoundTriggerInstrumentationObserver.java76 private SettableFuture<RecognitionSession> mOnRecognitionStarted = SettableFuture.create();
79 private SettableFuture<Void> mOnRecognitionStopped = SettableFuture.create();
82 private SettableFuture<Void> mOnModelUnloaded = SettableFuture.create();
159 mOnRecognitionStarted = SettableFuture.create(); in resetOnRecognitionStartedFuture()
171 mOnRecognitionStopped = SettableFuture.create(); in resetOnRecognitionStoppedFuture()
183 mOnModelUnloaded = SettableFuture.create(); in resetOnModelUnloadedFuture()
206 private SettableFuture<ModelSessionObserver> mOnModelLoaded = SettableFuture.create();
209 private SettableFuture<Void> mOnClientAttached = SettableFuture.create();
212 private SettableFuture<Void> mOnClientDetached = SettableFuture.create();
300 mOnModelLoaded = SettableFuture.create(); in resetOnModelLoadedFuture()
[all …]
/cts/common/device-side/bedstead/modules/multiuser/src/test/kotlin/com/android/bedstead/multiuser/
DUsersTest.kt120 val user = TestApis.users().createUser().create() in <lambda>()
132 val user = TestApis.users().createUser().create() in <lambda>()
134 val user2 = TestApis.users().createUser().create() in <lambda>()
147 val user = TestApis.users().createUser().create() in <lambda>()
157 val user = TestApis.users().createUser().create() in <lambda>()
187 .create() in <lambda>()
194 val user = TestApis.users().createUser().create() in <lambda>()
212 .create() in <lambda>()
226 .create() in <lambda>()
262 assertThrows(NeneException::class.java) { userBuilder.create() } in <lambda>()
[all …]

12345678910>>...20