Home
last modified time | relevance | path

Searched refs:testConfig (Results 1 – 25 of 31) sorted by relevance

12

/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DNonCarrierMergedNetworksStatusTrackerTest.java102 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled() local
103 testConfig.carrierMerged = true; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
104 testConfig.subscriptionId = INVALID_SUBSCRIPTION_ID; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
105 assertTrue(mNonCarrierMergedNetworksStatusTracker.isNetworkDisabled(testConfig)); in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
108 testConfig.carrierMerged = false; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
109 testConfig.subscriptionId = TEST_SUBSCRIPTION_ID; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
110 assertTrue(mNonCarrierMergedNetworksStatusTracker.isNetworkDisabled(testConfig)); in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
113 testConfig.carrierMerged = true; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
114 testConfig.subscriptionId = TEST_SUBSCRIPTION_ID; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
125 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testClearWillUndoDisableAllNonCarrierMergedNetworks() local
[all …]
/aosp12/hardware/interfaces/neuralnetworks/1.2/vts/functional/
H A DGeneratedTestHarness.cpp213 const TestConfig& testConfig) { in EvaluatePreparedModel() argument
215 if (testConfig.outputType == OutputType::INSUFFICIENT && in EvaluatePreparedModel()
221 Request request = context.createRequest(testModel, testConfig.memoryType); in EvaluatePreparedModel()
222 if (testConfig.outputType == OutputType::INSUFFICIENT) { in EvaluatePreparedModel()
229 switch (testConfig.executor) { in EvaluatePreparedModel()
276 controller->compute(request, testConfig.measureTiming, keys); in EvaluatePreparedModel()
283 if (testConfig.outputType != OutputType::FULLY_SPECIFIED && in EvaluatePreparedModel()
292 if (testConfig.measureTiming == MeasureTiming::NO) { in EvaluatePreparedModel()
301 switch (testConfig.outputType) { in EvaluatePreparedModel()
360 const TestConfig testConfig = {.executor = executor, in EvaluatePreparedModel() local
[all …]
/aosp12/hardware/interfaces/neuralnetworks/1.3/vts/functional/
H A DGeneratedTestHarness.cpp558 if (testConfig.outputType == OutputType::INSUFFICIENT && in EvaluatePreparedModel()
564 auto maybeRequest = context.createRequest(testModel, testConfig.memoryType); in EvaluatePreparedModel()
573 if (testConfig.outputType == OutputType::INSUFFICIENT) { in EvaluatePreparedModel()
581 if (testConfig.outputType == OutputType::MISSED_DEADLINE) { in EvaluatePreparedModel()
591 switch (testConfig.executor) { in EvaluatePreparedModel()
694 if (testConfig.outputType != OutputType::FULLY_SPECIFIED && in EvaluatePreparedModel()
699 if (!testConfig.reportSkipping) { in EvaluatePreparedModel()
709 if (testConfig.measureTiming == MeasureTiming::NO) { in EvaluatePreparedModel()
718 switch (testConfig.outputType) { in EvaluatePreparedModel()
732 if (testConfig.executor == Executor::FENCED) { in EvaluatePreparedModel()
[all …]
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
H A DImsRegistrationTests.java72 ImsFeatureConfiguration testConfig = new ImsFeatureConfiguration.Builder() in testRegistrationConfigParcel() local
77 testConfig.writeToParcel(p, 0); in testRegistrationConfigParcel()
83 assertEquals(testConfig, result); in testRegistrationConfigParcel()
89 ImsFeatureConfiguration testConfig = new ImsFeatureConfiguration.Builder() in testRegistrationConfigPermutationEqual() local
100 assertEquals(testConfig, testConfig2); in testRegistrationConfigPermutationEqual()
107 ImsFeatureConfiguration testConfig = new ImsFeatureConfiguration.Builder() in testRegistrationConfigConstructorsEqual() local
118 assertEquals(testConfig, testConfig2); in testRegistrationConfigConstructorsEqual()
/aosp12/hardware/interfaces/neuralnetworks/aidl/vts/functional/
H A DGeneratedTestHarness.cpp531 if (testConfig.outputType == OutputType::INSUFFICIENT && in EvaluatePreparedModel()
537 auto maybeRequest = context.createRequest(testModel, testConfig.memoryType); in EvaluatePreparedModel()
546 if (testConfig.outputType == OutputType::INSUFFICIENT) { in EvaluatePreparedModel()
554 if (testConfig.outputType == OutputType::MISSED_DEADLINE) { in EvaluatePreparedModel()
564 switch (testConfig.executor) { in EvaluatePreparedModel()
671 if (testConfig.outputType != OutputType::FULLY_SPECIFIED && in EvaluatePreparedModel()
676 if (!testConfig.reportSkipping) { in EvaluatePreparedModel()
686 if (!testConfig.measureTiming) { in EvaluatePreparedModel()
694 switch (testConfig.outputType) { in EvaluatePreparedModel()
708 if (testConfig.executor == Executor::FENCED) { in EvaluatePreparedModel()
[all …]
/aosp12/frameworks/av/media/libmediatranscoding/include/media/
H A DTranscodingRequest.h60 testConfig = parcel.testConfig; in setTo()
/aosp12/build/soong/android/
H A Dpaths_test.go227 testConfig := pathTestConfig("")
714 tc.ctx.baseModuleContext.config = testConfig
730 testConfig := pathTestConfig("")
731 testConfig.TestProductVariables.BoardUsesRecoveryAsBoot = proptools.BoolPtr(true)
775 tc.ctx.baseModuleContext.config = testConfig
791 testConfig := pathTestConfig("")
800 ctx.baseModuleContext.config = testConfig
1001 testConfig := pathTestConfig(test.buildDir)
1002 ctx := &configErrorWrapper{config: testConfig}
1379 testConfig := pathTestConfig("/tmp/build/top")
[all …]
H A Dconfig.go307 func modifyTestConfigToSupportArchMutator(testConfig Config) {
308 config := testConfig.config
338 testConfig := TestConfig(buildDir, env, bp, fs)
339 modifyTestConfigToSupportArchMutator(testConfig)
340 return testConfig
/aosp12/build/soong/rust/
H A Dandroidmk.go104 if test.testConfig != nil {
105 entries.SetString("LOCAL_FULL_TEST_CONFIG", test.testConfig.String())
120 if benchmark.testConfig != nil {
121 entries.SetString("LOCAL_FULL_TEST_CONFIG", benchmark.testConfig.String())
H A Dbenchmark.go49 testConfig android.Path member
115 benchmark.testConfig = tradefed.AutoGenRustBenchmarkConfig(ctx,
H A Dtest.go70 testConfig android.Path member
112 test.testConfig = tradefed.AutoGenRustTestConfig(ctx,
/aosp12/frameworks/av/services/mediatranscoding/
H A DSimulatedTranscoder.cpp66 if (request.testConfig.has_value() && request.testConfig->processingTotalTimeMs > 0) { in start()
67 processingTimeUs = request.testConfig->processingTotalTimeMs * 1000; in start()
/aosp12/build/soong/python/
H A Dtest.go64 testConfig android.Path member
74 test.testConfig = tradefed.AutoGenPythonBinaryHostTestConfig(ctx, test.testProperties.Test_config,
H A Dandroidmk.go64 if p.testConfig != nil {
65 entries.SetString("LOCAL_FULL_TEST_CONFIG", p.testConfig.String())
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DPasspointXmlUtilsTest.java205 private void serializeAndDeserializePasspointConfiguration(PasspointConfiguration testConfig) in serializeAndDeserializePasspointConfiguration() argument
210 PasspointXmlUtils.serializePasspointConfiguration(out, testConfig); in serializeAndDeserializePasspointConfiguration()
220 assertEquals(testConfig, deserializedConfig); in serializeAndDeserializePasspointConfiguration()
/aosp12/build/soong/sh/
H A Dsh_binary.go169 testConfig android.Path member
367 s.testConfig = tradefed.AutoGenShellTestConfig(ctx, s.testProperties.Test_config,
422 if s.testConfig != nil {
423 entries.SetPath("LOCAL_FULL_TEST_CONFIG", s.testConfig)
/aosp12/frameworks/av/media/libmediatranscoding/aidl/android/media/
H A DTranscodingRequestParcel.aidl114 @nullable TranscodingTestConfig testConfig;
/aosp12/build/soong/cc/
H A Dtest.go331 testConfig android.Path member
442 test.testConfig = tradefed.AutoGenNativeTestConfig(ctx, test.Properties.Test_config,
550 testConfig android.Path member
581 …benchmark.testConfig = tradefed.AutoGenNativeBenchmarkTestConfig(ctx, benchmark.Properties.Test_co…
H A Dandroidmk.go359 if benchmark.testConfig != nil {
360 entries.SetString("LOCAL_FULL_TEST_CONFIG", benchmark.testConfig.String())
384 if test.testConfig != nil {
385 entries.SetString("LOCAL_FULL_TEST_CONFIG", test.testConfig.String())
/aosp12/build/soong/java/
H A Dapp.go953 testConfig android.Path member
980 testConfig := tradefed.AutoGenInstrumentationTestConfig(ctx, a.testProperties.Test_config,
982 a.testConfig = a.FixTestConfig(ctx, testConfig)
987 func (a *AndroidTest) FixTestConfig(ctx android.ModuleContext, testConfig android.Path) android.Pat…
988 if testConfig == nil {
994 command := rule.Command().BuiltTool("test_config_fixer").Input(testConfig).Output(fixedConfig)
1012 return testConfig
H A Djava.go758 testConfig android.Path member
780 testConfig android.Path member
811 …j.testConfig = tradefed.AutoGenJavaTestConfig(ctx, j.testProperties.Test_config, j.testProperties.…
853 j.testConfig = tradefed.AutoGenJavaTestConfig(ctx, j.prebuiltTestProperties.Test_config, nil,
896 p.TestConfig = test.testConfig
910 testConfig := p.TestConfig
911 if testConfig != nil {
913 builder.CopyToSnapshot(testConfig, snapshotRelativeTestConfigPath)
H A Drobolectric.go84 testConfig android.Path member
118 r.testConfig = tradefed.AutoGenRobolectricTestConfig(ctx, r.testProperties.Test_config,
196 installedConfig := ctx.InstallFile(installPath, ctx.ModuleName()+".config", r.testConfig)
H A Dandroidmk.go157 if j.testConfig != nil {
158 entries.SetPath("LOCAL_FULL_TEST_CONFIG", j.testConfig)
447 if a.testConfig != nil {
448 entries.SetPath("LOCAL_FULL_TEST_CONFIG", a.testConfig)
/aosp12/build/soong/sdk/
H A Dtesting.go262 …var runSnapshotTestWithCheckers = func(t *testing.T, testConfig snapshotTest, extraPreparer androi…
264 customization := snapshotBuildInfo.snapshotTestCustomization(testConfig)
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DMediaArtworkProcessorTest.kt87 fun testConfig() { regex

12