Home
last modified time | relevance | path

Searched defs:TestContext (Results 1 – 25 of 104) sorted by relevance

12345

/aosp_15_r20/build/soong/android/
H A Dtesting.go219 type TestContext struct { struct
220 *Context
221 preArch, preDeps, postDeps, postApex, finalDeps []RegisterMutatorFunc
222 NameResolver *NameResolver
225 singletons sortableComponents
229 mutatorOrder, singletonOrder []string
232 func (ctx *TestContext) PreArchMutators(f RegisterMutatorFunc) {
236 func (ctx *TestContext) HardCodedPreArchMutators(f RegisterMutatorFunc) {
241 …ctx *TestContext) otherModuleProvider(m blueprint.Module, p blueprint.AnyProviderKey) (any, bool) {
245 func (ctx *TestContext) PreDepsMutators(f RegisterMutatorFunc) {
[all …]
H A Dfixture.go265 func FixtureModifyConfigAndContext(mutator func(config Config, ctx *TestContext)) FixturePreparer {
272 func FixtureModifyContext(mutator func(ctx *TestContext)) FixturePreparer {
280 func FixtureModifyContextWithMockFs(mutator func(ctx *TestContext)) FixturePreparer {
698 *TestContext anonMember
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationSmokeTests.cpp623 struct TestContext struct
625 const DeviceInterface &vkd;
626 const VkDevice device;
627 const uint32_t queueFamilyIndex;
628 const BinaryCollection &binaryCollection;
629 Allocator &allocator;
630 de::SharedPtr<vk::ResourceInterface> resourceInterface;
632 const tcu::Vec4 *vertices;
633 uint32_t numVertices;
634 tcu::IVec2 renderDimension;
[all …]
/aosp_15_r20/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/test/
Dcontext.rs28 pub struct TestContext { struct
38 impl TestContext { argument
66 impl Context for TestContext { implementation
/aosp_15_r20/trusty/user/base/lib/unittest-rust/src/
Dcontext.rs22 pub struct TestContext { struct
28 impl TestContext { argument
/aosp_15_r20/build/soong/cc/
H A Dtesting.go709 func checkSnapshotIncludeExclude(t *testing.T, ctx *android.TestContext, singleton android.TestingS…
738 func CheckSnapshot(t *testing.T, ctx *android.TestContext, singleton android.TestingSingleton, modu…
743 func CheckSnapshotExclude(t *testing.T, ctx *android.TestContext, singleton android.TestingSingleto…
748 func CheckSnapshotRule(t *testing.T, ctx *android.TestContext, singleton android.TestingSingleton, …
753 func GetOutputPaths(ctx *android.TestContext, variant string, moduleNames []string) (paths android.…
/aosp_15_r20/packages/modules/Virtualization/guest/apkdmverity/src/
Dmain.rs170 struct TestContext<'a> { struct
171 data_backing_file: &'a Path,
172 hash_backing_file: &'a Path,
173 result: &'a VerityResult,
205 fn run_test(apk: &[u8], idsig: &[u8], name: &str, check: fn(TestContext)) { in run_test()
214 check: fn(TestContext), in run_test_with_hash()
/aosp_15_r20/build/soong/java/
H A Dtesting.go607 func getModuleDependencies(t *testing.T, ctx *android.TestContext, name, variant string) []string {
621 func CheckModuleDependencies(t *testing.T, ctx *android.TestContext, name, variant string, expected…
630 func CheckModuleHasDependency(t *testing.T, ctx *android.TestContext, name, variant string, expecte…
640 func CheckModuleHasDependencyWithTag(t *testing.T, ctx *android.TestContext, name, variant string, …
672 func ApexNamePairsFromModules(ctx *android.TestContext, modules []android.Module) []string {
680 func apexNamePairFromModule(ctx *android.TestContext, module android.Module) string {
/aosp_15_r20/external/rust/android-crates-io/crates/tinytemplate/src/
Dtemplate.rs365 struct TestContext { struct
366 number: usize,
367 string: &'static str,
368 boolean: bool,
369 null: Option<usize>,
370 array: Vec<usize>,
371 nested: NestedContext,
372 escapes: &'static str,
/aosp_15_r20/external/deqp/external/openglcts/modules/common/
H A DglcFramebufferCompleteness.cpp48 struct TestContext struct
50 const glu::RenderContext &renderContext;
51 const glw::Functions &gl;
52 vector<GLuint> &fboIds;
53 vector<GLuint> &texIds;
54 vector<GLuint> &rboIds;
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/flex/
H A Dutil_test.cc40 struct TestContext : public TfLiteContext { struct
41 string error;
42 std::vector<int> new_size;
/aosp_15_r20/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
H A DTestContext.java24 public class TestContext extends ContextWrapper { class
30 public TestContext(Context base) { in TestContext() method in TestContext
/aosp_15_r20/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DFakeContactsProviderTestBase.java66 class TestContext extends ContextWrapper { class in FakeContactsProviderTestBase
70 TestContext(Context base) { in TestContext() method in FakeContactsProviderTestBase.TestContext
/aosp_15_r20/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/
DLinkSpanTest.java95 private static class TestContext extends ContextWrapper implements LinkSpan.OnClickListener { class in LinkSpanTest
99 TestContext(Context base) { in TestContext() method in LinkSpanTest.TestContext
/aosp_15_r20/build/soong/apex/
H A Dsystemserver_classpath_fragment_test.go457 func assertProfileGuided(t *testing.T, ctx *android.TestContext, moduleName string, variant string,…
465 func assertProfileGuidedPrebuilt(t *testing.T, ctx *android.TestContext, apexName string, moduleNam…
/aosp_15_r20/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/synchronization/
H A Dmutex_test.cc68 struct TestContext { struct
69 int iterations;
70 int threads;
71 int g0; // global 0
72 int g1; // global 1
73 absl::Mutex mu;
74 absl::CondVar cv;
/aosp_15_r20/external/webrtc/third_party/abseil-cpp/absl/synchronization/
H A Dmutex_test.cc68 struct TestContext { struct
69 int iterations;
70 int threads;
71 int g0; // global 0
72 int g1; // global 1
73 absl::Mutex mu;
74 absl::CondVar cv;
/aosp_15_r20/external/openscreen/third_party/abseil/src/absl/synchronization/
H A Dmutex_test.cc67 struct TestContext { struct
68 int iterations;
69 int threads;
70 int g0; // global 0
71 int g1; // global 1
72 absl::Mutex mu;
73 absl::CondVar cv;
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/
Dmutex_test.cc68 struct TestContext { struct
69 int iterations;
70 int threads;
71 int g0; // global 0
72 int g1; // global 1
73 absl::Mutex mu;
74 absl::CondVar cv;
/aosp_15_r20/external/grpc-grpc/test/core/promise/
H A Dcontext_test.cc23 struct TestContext { struct
24 bool done = false;
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/provider/
H A DTestDocumentsProvider.java105 private static class TestContext extends ContextWrapper { class in TestDocumentsProvider
107 private TestContext(Context context) { in TestContext() method in TestDocumentsProvider.TestContext
/aosp_15_r20/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppOpenEventIndexerUserInstanceTest.java68 class TestContext extends ContextWrapper { class in AppOpenEventIndexerUserInstanceTest
71 TestContext(Context base) { in TestContext() method in AppOpenEventIndexerUserInstanceTest.TestContext
/aosp_15_r20/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DRichTextViewTest.java214 public static class TestContext extends ContextWrapper implements LinkSpan.OnClickListener { class in RichTextViewTest
218 public TestContext(Context base) { in TestContext() method in RichTextViewTest.TestContext
/aosp_15_r20/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastActivityTestCase.java119 public static class TestContext extends ContextWrapper { class in CellBroadcastActivityTestCase
133 public TestContext(Context base) { in TestContext() method in CellBroadcastActivityTestCase.TestContext
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/synchronization/
H A Dmutex_test.cc80 struct TestContext { struct
81 int iterations;
82 int threads;
83 int g0; // global 0
84 int g1; // global 1
85 absl::Mutex mu;
86 absl::CondVar cv;

12345