Move `generateAllEnumerations` to testutils-common

1. Moved `generateAllEnumerations` to testutils-common so that it can be used everywhere in AndroidX.
2. The function is reimplemented iteratively to prevent stack overflow.
3. @Parameterized.Parameters functions in Room were updated with this function when suitable.

Test: ParameterizedHelperTest
Change-Id: Ice737ec716210fc72f98df3f90604435c30773d2
diff --git a/testutils/testutils-common/build.gradle b/testutils/testutils-common/build.gradle
index 19480c5..6090eaf 100644
--- a/testutils/testutils-common/build.gradle
+++ b/testutils/testutils-common/build.gradle
@@ -26,6 +26,9 @@
 dependencies {
     implementation(libs.kotlinStdlib)
     implementation(libs.kotlinCoroutinesAndroid)
+
+    testImplementation(libs.junit)
+    testImplementation(libs.truth)
 }
 
 // Allow usage of Kotlin's @OptIn.