Home
last modified time | relevance | path

Searched refs:testModule (Results 1 – 25 of 66) sorted by relevance

123

/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
H A DAudioDataPathsSpeakerMicActivity.java68 TestModule testModule; in gatherTestModules() local
75 testModule = new TestModule( in gatherTestModules()
78 testModule.setSectionTitle("Mono"); in gatherTestModules()
79 testModule.setSources(sinSourceProvider, micSinkProvider); in gatherTestModules()
80 testModule.setInputPreset(Recorder.INPUT_PRESET_NONE); in gatherTestModules()
81 testModule.setDescription("Spkr:1 Mic:1:PRESET_NONE"); in gatherTestModules()
82 testManager.addTestModule(testModule); in gatherTestModules()
86 testModule = new TestModule( in gatherTestModules()
89 testModule.setSources(sinSourceProvider, micSinkProvider); in gatherTestModules()
90 testModule.setInputPreset(Recorder.INPUT_PRESET_NONE); in gatherTestModules()
[all …]
H A DAudioDataPathsUSBActivity.java68 TestModule testModule; in gatherTestModules() local
79 testModule = new TestModule( in gatherTestModules()
82 testModule.setSectionTitle("USB Device"); in gatherTestModules()
83 testModule.setSources(leftSineSourceProvider, analysisSinkProvider); in gatherTestModules()
84 testModule.setDescription("Dev:2:L Dev:2"); in gatherTestModules()
85 testModule.setAnalysisChannel(0); in gatherTestModules()
86 testManager.addTestModule(testModule); in gatherTestModules()
88 testModule = new TestModule( in gatherTestModules()
91 testModule.setSources(rightSineSourceProvider, analysisSinkProvider); in gatherTestModules()
92 testModule.setDescription("Dev:2:R Dev:2"); in gatherTestModules()
[all …]
H A DAudioDataPathsBaseActivity.java332 TestStateData(TestModule testModule) { in TestStateData() argument
333 mTestModule = testModule; in TestStateData()
336 abstract String buildErrorString(TestModule testModule); in buildErrorString() argument
346 BadSharingTestState(TestModule testModule, in BadSharingTestState() argument
348 super(testModule); in BadSharingTestState()
354 String buildErrorString(TestModule testModule) { in buildErrorString() argument
357 if (testModule.mTransferType == TRANSFER_LEGACY) { in buildErrorString()
359 } else if (testModule.mTransferType == TRANSFER_MMAP_EXCLUSIVE) { in buildErrorString()
383 BadMMAPTestState(TestModule testModule, in BadMMAPTestState() argument
385 super(testModule); in BadMMAPTestState()
[all …]
H A DAudioDataPathsAnalogActivity.java66 TestModule testModule; in gatherTestModules() local
68 testModule = new TestModule( in gatherTestModules()
71 testModule.setSectionTitle("Analog Jack"); in gatherTestModules()
72 testModule.setDescription("Analog:2:Left Analog:1"); in gatherTestModules()
73 testModule.setSources(leftSineSourceProvider, micSinkProvider); in gatherTestModules()
74 testManager.addTestModule(testModule); in gatherTestModules()
76 testModule = new TestModule( in gatherTestModules()
79 testModule.setDescription("Analog:2:Right Analog:1"); in gatherTestModules()
80 testModule.setSources(rightSineSourceProvider, micSinkProvider); in gatherTestModules()
81 testManager.addTestModule(testModule); in gatherTestModules()
/aosp_15_r20/external/dagger2/javatests/dagger/internal/codegen/goldens/
H A DComponentProcessorTest_moduleNameCollision_FAST_INIT_MODE_test.DaggerTestComponent32 private TestModule testModule;
39 public Builder testModule(TestModule testModule) {
40 this.testModule = Preconditions.checkNotNull(testModule);
44 public Builder testModule(other.test.TestModule testModule) {
45 this.testModule2 = Preconditions.checkNotNull(testModule);
50 if (testModule == null) {
51 this.testModule = new TestModule();
56 return new TestComponentImpl(testModule, testModule2);
61 private final TestModule testModule;
68 this.testModule = testModuleParam;
[all …]
H A DComponentProcessorTest_moduleNameCollision_DEFAULT_MODE_test.DaggerTestComponent32 private TestModule testModule;
39 public Builder testModule(TestModule testModule) {
40 this.testModule = Preconditions.checkNotNull(testModule);
44 public Builder testModule(other.test.TestModule testModule) {
45 this.testModule2 = Preconditions.checkNotNull(testModule);
50 if (testModule == null) {
51 this.testModule = new TestModule();
56 return new TestComponentImpl(testModule, testModule2);
61 private final TestModule testModule;
68 this.testModule = testModuleParam;
[all …]
H A DComponentProcessorTest_componentWithModule_FAST_INIT_MODE_test.DaggerTestComponent32 private TestModule testModule;
37 public Builder testModule(TestModule testModule) {
38 this.testModule = Preconditions.checkNotNull(testModule);
43 if (testModule == null) {
44 this.testModule = new TestModule();
46 return new TestComponentImpl(testModule);
51 private final TestModule testModule;
56 this.testModule = testModuleParam;
61 return TestModule_BFactory.b(testModule, new C());
H A DComponentProcessorTest_componentWithModule_DEFAULT_MODE_test.DaggerTestComponent32 private TestModule testModule;
37 public Builder testModule(TestModule testModule) {
38 this.testModule = Preconditions.checkNotNull(testModule);
43 if (testModule == null) {
44 this.testModule = new TestModule();
46 return new TestComponentImpl(testModule);
51 private final TestModule testModule;
56 this.testModule = testModuleParam;
61 return TestModule_BFactory.b(testModule, new C());
H A DComponentBuilderTest_testUsesBuildAndSetterNames_DEFAULT_MODE_test.DaggerTestComponent32 private TestModule testModule;
35 public Builder setTestModule(TestModule testModule) {
36 this.testModule = Preconditions.checkNotNull(testModule);
42 if (testModule == null) {
43 this.testModule = new TestModule();
45 return new TestComponentImpl(testModule);
50 private final TestModule testModule;
55 this.testModule = testModuleParam;
61 return TestModule_StringFactory.string(testModule);
H A DComponentBuilderTest_testUsesBuildAndSetterNames_FAST_INIT_MODE_test.DaggerTestComponent32 private TestModule testModule;
35 public Builder setTestModule(TestModule testModule) {
36 this.testModule = Preconditions.checkNotNull(testModule);
42 if (testModule == null) {
43 this.testModule = new TestModule();
45 return new TestComponentImpl(testModule);
50 private final TestModule testModule;
55 this.testModule = testModuleParam;
61 return TestModule_StringFactory.string(testModule);
H A DComponentCreatorTest_testCanInstantiateModulesUserCannotSet_compilerMode=DEFAULT_MODE, creatorKind=dagger.Component.Factory_test.DaggerTestComponent38 private final TestModule testModule;
43 this.testModule = testModuleParam;
49 return TestModule_StringFactory.string(testModule);
H A DComponentCreatorTest_testCanInstantiateModulesUserCannotSet_compilerMode=DEFAULT_MODE, creatorKind=dagger.Component.Builder_test.DaggerTestComponent38 private final TestModule testModule;
43 this.testModule = testModuleParam;
49 return TestModule_StringFactory.string(testModule);
H A DComponentCreatorTest_testCanInstantiateModulesUserCannotSet_compilerMode=FAST_INIT_MODE, creatorKind=dagger.Component.Builder_test.DaggerTestComponent38 private final TestModule testModule;
43 this.testModule = testModuleParam;
49 return TestModule_StringFactory.string(testModule);
H A DComponentFactoryTest_testUsesParameterNames_DEFAULT_MODE_test.DaggerTestComponent36 private final TestModule testModule;
41 this.testModule = testModuleParam;
47 return TestModule_StringFactory.string(testModule);
H A DComponentCreatorTest_testCanInstantiateModulesUserCannotSet_compilerMode=FAST_INIT_MODE, creatorKind=dagger.Component.Factory_test.DaggerTestComponent38 private final TestModule testModule;
43 this.testModule = testModuleParam;
49 return TestModule_StringFactory.string(testModule);
H A DComponentFactoryTest_testUsesParameterNames_FAST_INIT_MODE_test.DaggerTestComponent36 private final TestModule testModule;
41 this.testModule = testModuleParam;
47 return TestModule_StringFactory.string(testModule);
/aosp_15_r20/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
H A DCheckedProviderMethodsModuleTest.java131 TestModule testModule = new TestModule(); in testWithScope() local
132 Injector injector = Guice.createInjector(testModule); in testWithScope()
136 testModule.setNextIntToReturn(120); in testWithScope()
143 TestModule testModule = new TestModule(); in testWithAnnotation() local
144 Injector injector = Guice.createInjector(testModule); in testWithAnnotation()
151 TestModule testModule = new TestModule(); in testWithInjectedParameters() local
152 Injector injector = Guice.createInjector(testModule); in testWithInjectedParameters()
159 TestModule testModule = new TestModule(); in testWithThrownException() local
160 Injector injector = Guice.createInjector(testModule); in testWithThrownException()
173 TestModule testModule = new TestModule(); in testExposedMethod() local
[all …]
/aosp_15_r20/external/dagger2/javatests/dagger/internal/codegen/
H A DMembersInjectionValidationTest.java322 CompilerTests.daggerCompiler(component, testModule) in memberInjectionForKotlinObjectFails()
354 CompilerTests.daggerCompiler(component, testModule) in setterMemberInjectionForKotlinObjectFails()
380 CompilerTests.daggerCompiler(component, testModule) in memberInjectionForKotlinClassWithCompanionObjectFails()
413 CompilerTests.daggerCompiler(component, testModule) in setterMemberInjectionForKotlinClassWithCompanionObjectFails()
449 CompilerTests.daggerCompiler(component, testModule) in memberInjectionForKotlinClassWithNamedCompanionObjectFails()
483 CompilerTests.daggerCompiler(component, testModule) in setterMemberInjectionForKotlinClassWithNamedCompanionObjectFails()
504 private final Source testModule = field in MembersInjectionValidationTest
/aosp_15_r20/build/soong/android/
H A Dnamespace_test.go691 testModule, ok := candidate.(*testModule)
693 if testModule.properties.Id == id {
694 module = newTestingModule(result.config, testModule)
702 type testModule struct { struct
711 func (m *testModule) DepsMutator(ctx BottomUpMutatorContext) { argument
717 func (m *testModule) GenerateAndroidBuildActions(ModuleContext) { argument
721 if m, ok := ctx.Module().(*testModule); ok {
729 m := &testModule{}
/aosp_15_r20/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/features/
H A DPolymorphicOnClassesTest.kt67 private val testModule = SerializersModule { in <lambda>() constant
82 serializersModule = testModule in <lambda>()
115 val inheritors = polyDesc.inContext(testModule) in <lambda>()
131 assertEquals(setOf("id", "body", "body2"), allDistinctNames(polyDesc, testModule)) in <lambda>()
132 …ertEquals(setOf("id", "body"), allDistinctNames(MessageWithId.serializer().descriptor, testModule)) in <lambda>()
/aosp_15_r20/external/guice/core/test/com/googlecode/guice/
H A DBytecodeGenTest.java163 private Module testModule; field in BytecodeGenTest
174 testModule = in setUp()
208 Guice.createInjector(interceptorModule, testModule).getInstance(proxyTestClass); in testProxyClassLoading()
236 Guice.createInjector(interceptorModule, testModule).getInstance(proxyTestClass); in testProxyClassUnloading()
/aosp_15_r20/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
H A DTestTreeWithType.java123 …SimpleModule testModule = new SimpleModule("MyModule", new Version(1, 0, 0, null, "TEST", "TEST")); in testIssue353() local
124 testModule.addDeserializer(SavedCookie.class, new SavedCookieDeserializer()); in testIssue353()
125 mapper.registerModule(testModule); in testIssue353()
/aosp_15_r20/external/kotlinx.serialization/integration-test/src/commonTest/kotlin/sample/
H A DJsonTest.kt52 private val testModule = SerializersModule { in <lambda>() constant
64 …nWithDefaults) { useArrayPolymorphism = true; prettyPrint = false; serializersModule = testModule } in testEnablesImplicitlyOnInterfacesAndAbstractClasses()
81 serializersModule = testModule + SerializersModule { in testPolymorphicForGenericUpperBound()
/aosp_15_r20/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DPythonUnitTestRunner.java197 String[] testModule = {pyModule}; in doRunTest() local
200 cmd = ArrayUtil.buildArray(baseOpts, mUnitTestOpts.split(" "), testModule); in doRunTest()
202 cmd = ArrayUtil.buildArray(baseOpts, testModule); in doRunTest()
/aosp_15_r20/test/mts/tools/mts-tradefed/tests/src/com/android/compatibility/tradefed/
H A DMtsTradefedTest.java140 for (String testModule : testModules) { in testModulesTaggedWithIncludeFilterLoad()
141 assertTrue(String.format("%s not in configs", testModule), configs.contains(testModule)); in testModulesTaggedWithIncludeFilterLoad()

123