/aosp12/packages/modules/Connectivity/tests/unit/java/android/net/util/ |
H A D | DnsUtilsTest.java | 30 import androidx.test.filters.SmallTest; 116 assertEquals(test.label, 4); in testV4SortableAddress() 127 assertEquals(test.label, 4); in testV4SortableAddress() 137 assertEquals(test.label, 1); in testV6SortableAddress() 148 assertEquals(test.label, 1); in testV6SortableAddress() 158 assertEquals(test.label, 1); in testV6SortableAddress() 169 assertEquals(test.label, 0); in testV6SortableAddress() 175 assertEquals(test.label, 1); in testV6SortableAddress() 181 assertEquals(test.label, 1); in testV6SortableAddress() 187 assertEquals(test.label, 2); in testV6SortableAddress() [all …]
|
/aosp12/frameworks/base/tools/aapt2/split/ |
H A D | TableSplitter_test.cpp | 27 test::ResourceTableBuilder() in TEST() 30 test::ParseConfigOrDie("mdpi")) in TEST() 33 test::ParseConfigOrDie("hdpi")) in TEST() 36 test::ParseConfigOrDie("xhdpi")) in TEST() 50 test::ParseConfigOrDie("mdpi"))); in TEST() 53 test::ParseConfigOrDie("hdpi"))); in TEST() 65 test::ResourceTableBuilder() in TEST() 110 test::ResourceTableBuilder() in TEST() 200 test::GetDiagnostics())); in TEST() 206 test::GetDiagnostics())); in TEST() [all …]
|
/aosp12/art/ |
H A D | TEST_MAPPING | 122 "name": "art-run-test-050-sync-test[com.google.android.art.apex]" 656 "name": "art-run-test-507-boolean-test[com.google.android.art.apex]" 1195 "name": "art-run-test-001-Main" 1207 "name": "art-run-test-006-args" 1309 "name": "art-run-test-050-sync-test" 1444 "name": "art-run-test-122-npe" 1669 "name": "art-run-test-433-gvn" 1690 "name": "art-run-test-439-npe" 1843 "name": "art-run-test-507-boolean-test" 2056 "name": "art-run-test-581-rtp" [all …]
|
/aosp12/art/test/005-annotations/ |
H A D | expected-stdout.txt | 12 @android.test.anno.AnnoSimpleType() 13 interface android.test.anno.AnnoSimpleType 14 @android.test.anno.AnnoSimpleType2() 18 @android.test.anno.AnnoSimpleConstructor() 28 @android.test.anno.AnnoSimpleMethod() 32 @android.test.anno.AnnoSimpleField() 35 @android.test.anno.AnnoSimpleField() 39 @android.test.anno.AnnoSimpleType2() 43 @android.test.anno.AnnoSimpleMethod() 50 @android.test.anno.AnnoSimpleType() [all …]
|
/aosp12/frameworks/base/tools/aapt2/link/ |
H A D | NoDefaultResourceRemover_test.cpp | 26 test::ResourceTableBuilder() in TEST() 28 .AddSimple("android:string/foo", test::ParseConfigOrDie("en-rGB")) in TEST() 29 .AddSimple("android:string/foo", test::ParseConfigOrDie("fr-rFR")) in TEST() 30 .AddSimple("android:string/bar", test::ParseConfigOrDie("en-rGB")) in TEST() 31 .AddSimple("android:string/bar", test::ParseConfigOrDie("fr-rFR")) in TEST() 34 .AddSimple("android:string/baz", test::ParseConfigOrDie("en-rGB")) in TEST() 35 .AddSimple("android:string/baz", test::ParseConfigOrDie("fr-rFR")) in TEST() 50 test::ContextBuilder().SetPackageId(0x01).SetMinSdkVersion(26).Build(); in TEST() 52 test::ResourceTableBuilder() in TEST() 76 test::ResourceTableBuilder() in TEST() [all …]
|
H A D | ProductFilter_test.cpp | 28 const ConfigDescription land = test::ParseConfigOrDie("land"); in TEST() 29 const ConfigDescription port = test::ParseConfigOrDie("port"); in TEST() 33 NewResourceBuilder(test::ParseNameOrDie("android:string/one")) in TEST() 39 NewResourceBuilder(test::ParseNameOrDie("android:string/one")) in TEST() 46 NewResourceBuilder(test::ParseNameOrDie("android:string/one")) in TEST() 61 EXPECT_EQ(nullptr, test::GetValueForConfigAndProduct<Id>( in TEST() 63 EXPECT_NE(nullptr, test::GetValueForConfigAndProduct<Id>( in TEST() 65 EXPECT_EQ(nullptr, test::GetValueForConfigAndProduct<Id>( in TEST() 67 EXPECT_NE(nullptr, test::GetValueForConfigAndProduct<Id>( in TEST() 91 EXPECT_NE(nullptr, test::GetValueForConfigAndProduct<Id>( in TEST() [all …]
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | CompositionTest.cpp | 274 .inject(&test->mFlinger, test->mComposer); in setupPreconditions() 303 test->mDisplay = FakeDisplayDeviceInjector(test->mFlinger, compositionDisplay, in setupPreconditions() 544 if (!test->mDisplayOff) { in setupHwcSetGeometryCallExpectations() 572 if (!test->mDisplayOff) { in setupHwcSetSourceCropBufferCallExpectations() 582 if (!test->mDisplayOff) { in setupHwcSetSourceCropColorCallExpectations() 591 if (!test->mDisplayOff) { in setupHwcSetPerFrameCallExpectations() 603 if (!test->mDisplayOff) { in setupHwcSetPerFrameColorCallExpectations() 918 Base::template createLayerWithFactory<BufferQueueLayer>(test, [test]() { in createLayer() 1186 setupCommon(test); in setupForDirtyGeometry() 1195 setupCommon(test); in setupForDirtyFrame() [all …]
|
H A D | SurfaceFlinger_SetPowerModeInternalTest.cpp | 77 setupVsyncAndEventThreadNoCallExpectations(test); in setupAcquireAndEnableVsyncCallExpectations() 84 setupVsyncAndEventThreadNoCallExpectations(test); in setupReleaseAndDisableVsyncCallExpectations() 138 Case::setupRepaintEverythingCallExpectations(test); in setupCallExpectations() 142 EXPECT_TRUE(test->mFlinger.getVisibleRegionsDirty()); in verifyPostconditions() 143 EXPECT_TRUE(test->mFlinger.getHasPoweredOff()); in verifyPostconditions() 153 Case::setupRepaintEverythingCallExpectations(test); in setupCallExpectations() 157 EXPECT_TRUE(test->mFlinger.getVisibleRegionsDirty()); in verifyPostconditions() 158 EXPECT_TRUE(test->mFlinger.getHasPoweredOff()); in verifyPostconditions() 170 EXPECT_TRUE(test->mFlinger.getVisibleRegionsDirty()); in verifyPostconditions() 183 EXPECT_TRUE(test->mFlinger.getVisibleRegionsDirty()); in verifyPostconditions() [all …]
|
/aosp12/system/tools/hidl/hidl2aidl/test/ |
H A D | TranslateJavaTest.java | 31 hidl2aidl.test.V1_0.OnlyIn10 source = new hidl2aidl.test.V1_0.OnlyIn10(); in OnlyIn10() 40 hidl2aidl.test.V1_1.OnlyIn11 source = new hidl2aidl.test.V1_1.OnlyIn11(); in OnlyIn11() 49 hidl2aidl.test.V1_1.OverrideMe source = new hidl2aidl.test.V1_1.OverrideMe(); in OverrideMe() 58 hidl2aidl.test.V1_1.Outer source = new hidl2aidl.test.V1_1.Outer(); in Outer() 68 hidl2aidl.test.V1_0.Outer.Inner source = new hidl2aidl.test.V1_0.Outer.Inner(); in OuterInner() 101 hidl2aidl.test.V1_0.IBar.Inner source = new hidl2aidl.test.V1_0.IBar.Inner(); in IBarInner() 161 hidl2aidl.test.V1_1.OnlyIn11 onlyIn11 = new hidl2aidl.test.V1_1.OnlyIn11(); in SafeUnionBarOnlyIn11() 240 hidl2aidl.test.V1_2.ArrayFoo source = new hidl2aidl.test.V1_2.ArrayFoo(); in ArrayFoo() 250 hidl2aidl.test.V1_2.ArrayFoo source = new hidl2aidl.test.V1_2.ArrayFoo(); in ArrayFooEmpty() 258 hidl2aidl.test.V1_2.ArrayFoo source = new hidl2aidl.test.V1_2.ArrayFoo(); in ArrayFooEnum() [all …]
|
H A D | Android.bp | 30 "-rhidl2aidl.test:system/tools/hidl/hidl2aidl/test " + 33 "-rhidl2aidl.test:system/tools/hidl/hidl2aidl/test " + 36 "-rhidl2aidl.test:system/tools/hidl/hidl2aidl/test " + 38 "mv $(genDir)/include/hidl2aidl/test/translate-ndk.h $(genDir)/hidl2aidl/test/ && " + 39 "mv $(genDir)/include/hidl2aidl/test/translate-cpp.h $(genDir)/hidl2aidl/test/ &&" + 130 owner: "test", 184 "hidl2aidl.test@1.0", 185 "hidl2aidl.test@1.1", 186 "hidl2aidl.test@1.2", 220 "hidl2aidl.test@1.0", [all …]
|
H A D | translate_cpp_test.cpp | 27 hidl2aidl::test::OnlyIn10 dest; in TEST_F() 35 hidl2aidl::test::OnlyIn11 dest; in TEST_F() 43 hidl2aidl::test::OverrideMe dest; in TEST_F() 51 hidl2aidl::test::Outer dest; in TEST_F() 61 hidl2aidl::test::OuterInner dest; in TEST_F() 91 hidl2aidl::test::IBarInner dest; in TEST_F() 99 hidl2aidl::test::IBarInner dest; in TEST_F() 200 hidl2aidl::test::ArrayFoo dest; in TEST_F() 213 hidl2aidl::test::ArrayFoo dest; in TEST_F() 221 hidl2aidl::test::ArrayFoo dest; in TEST_F() [all …]
|
H A D | translate_ndk_test.cpp | 27 aidl::hidl2aidl::test::OnlyIn10 dest; in TEST_F() 28 hidl2aidl::test::V1_0::OnlyIn10 source; in TEST_F() 35 aidl::hidl2aidl::test::OnlyIn11 dest; in TEST_F() 36 hidl2aidl::test::V1_1::OnlyIn11 source; in TEST_F() 43 aidl::hidl2aidl::test::OverrideMe dest; in TEST_F() 51 aidl::hidl2aidl::test::Outer dest; in TEST_F() 52 hidl2aidl::test::V1_1::Outer source; in TEST_F() 61 aidl::hidl2aidl::test::OuterInner dest; in TEST_F() 91 aidl::hidl2aidl::test::IBarInner dest; in TEST_F() 99 aidl::hidl2aidl::test::IBarInner dest; in TEST_F() [all …]
|
/aosp12/art/test/010-instance/src/ |
H A D | InstanceTest.java | 36 Object test; in main() local 38 test = x; in main() 41 test = y; in main() 45 test = xar; in main() 49 + (test instanceof X)); in main() 58 test = yar; in main() 62 test = xararar; in main() 68 + (test instanceof X)); in main() 87 test = yararar; in main() 91 test = iar; in main() [all …]
|
/aosp12/build/soong/cc/ |
H A D | test.go | 185 return test.data 258 if !test.gtest() { 282 if test.gtest() { 342 test.testDecorator.linkerInit(ctx, test.binaryDecorator.baseLinker) 369 test.data = append(test.data, android.DataPath{SrcPath: dataSrcPath}) 384 test.data = append(test.data, 467 test := &testBinary{ 475 module.linker = test 490 test.testDecorator.linkerInit(ctx, test.libraryDecorator.baseLinker) 509 test := &testLibrary{ [all …]
|
/aosp12/frameworks/base/tools/aapt2/filter/ |
H A D | ConfigFilter_test.cpp | 32 filter.AddConfig(test::ParseConfigOrDie("fr")); in TEST() 39 filter.AddConfig(test::ParseConfigOrDie("fr")); in TEST() 46 filter.AddConfig(test::ParseConfigOrDie("fr")); in TEST() 53 filter.AddConfig(test::ParseConfigOrDie("fr-rFR")); in TEST() 55 filter.AddConfig(test::ParseConfigOrDie("normal")); in TEST() 56 filter.AddConfig(test::ParseConfigOrDie("en-rUS")); in TEST() 63 filter.AddConfig(test::ParseConfigOrDie("fr")); in TEST() 70 filter.AddConfig(test::ParseConfigOrDie("fr-rFR")); in TEST() 73 filter.AddConfig(test::ParseConfigOrDie("large")); in TEST() 105 filter.AddConfig(test::ParseConfigOrDie("kok")); in TEST() [all …]
|
/aosp12/art/test/1927-exception-event/ |
H A D | exception_event.cc | 44 env->CallStaticVoidMethod(test, m); in CallMethod() 60 ClearAndPrintException(env, test); in Java_art_Test1927_test_1N() 64 CallMethod(env, test, "terminal_J"); in Java_art_Test1927_test_1N_1J() 65 ClearAndPrintException(env, test); in Java_art_Test1927_test_1N_1J() 69 CallMethod(env, test, "terminal_N"); in Java_art_Test1927_test_1N_1N() 70 ClearAndPrintException(env, test); in Java_art_Test1927_test_1N_1N() 74 CallMethod(env, test, "terminal_J"); in Java_art_Test1927_intermediate_1N_1J() 83 ClearAndPrintException(env, test); in Java_art_Test1927_test_1N_1J_1J() 88 ClearAndPrintException(env, test); in Java_art_Test1927_test_1N_1J_1N() 93 ClearAndPrintException(env, test); in Java_art_Test1927_test_1N_1N_1J() [all …]
|
/aosp12/system/apex/tests/testdata/sharedlibs/prebuilts/ |
H A D | Android.bp | 64 name: "com.android.apex.test.bar.v1.libvX_prebuilt", 67 src: "arm/com.android.apex.test.bar.v1.libvX.apex", 73 src: "x86/com.android.apex.test.bar.v1.libvX.apex", 79 filename: "com.android.apex.test.bar.v1.libvX.apex", 84 name: "com.android.apex.test.bar.v2.libvY_prebuilt", 87 src: "arm/com.android.apex.test.bar.v2.libvY.apex", 99 filename: "com.android.apex.test.bar.v2.libvY.apex", 164 name: "com.android.apex.test.foo.v1.libvX_prebuilt", 179 filename: "com.android.apex.test.foo.v1.libvX.apex", 184 name: "com.android.apex.test.foo.v2.libvY_prebuilt", [all …]
|
/aosp12/frameworks/base/tools/aapt2/optimize/ |
H A D | VersionCollapser_test.cpp | 27 test::ResourceTableBuilder builder; in BuildTableWithConfigs() 29 builder.AddSimple(name, test::ParseConfigOrDie(item)); in BuildTableWithConfigs() 36 test::ContextBuilder().SetMinSdkVersion(7).Build(); in TEST() 49 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 52 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 57 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 62 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 67 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 70 test::GetValueForConfig<Id>(table.get(), res_name, in TEST() 79 test::ContextBuilder().SetMinSdkVersion(21).Build(); in TEST() [all …]
|
/aosp12/build/soong/rust/ |
H A D | test.go | 76 return test.data 97 test := &testDecorator{ 103 module.compiler = test 104 return module, test 108 return append(test.binaryDecorator.compilerProps(), &test.Properties) 113 test.Properties.Test_config, 115 test.Properties.Test_suites, 117 test.Properties.Auto_gen_config) 122 test.data = append(test.data, android.DataPath{SrcPath: dataSrcPath}) 135 test.binaryDecorator.install(ctx) [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | BytesMatcherTest.java | 24 import androidx.test.filters.SmallTest; 38 assertFalse(matcher.test(hexStringToByteArray("cafe"))); in testEmpty() 39 assertFalse(matcher.test(hexStringToByteArray(""))); in testEmpty() 45 assertTrue(matcher.test(hexStringToByteArray("cafe"))); in testExact() 46 assertFalse(matcher.test(hexStringToByteArray("beef"))); in testExact() 47 assertFalse(matcher.test(hexStringToByteArray("ca"))); in testExact() 54 assertTrue(matcher.test(hexStringToByteArray("cafe"))); in testMask() 55 assertTrue(matcher.test(hexStringToByteArray("ca88"))); in testMask() 57 assertFalse(matcher.test(hexStringToByteArray("ca"))); in testMask() 67 assertFalse(matcher.test(hexStringToByteArray("ca"))); in testPrefix() [all …]
|
/aosp12/frameworks/base/tools/aapt2/ |
H A D | ResourceTable_test.cpp | 66 test::GetDiagnostics())); in TEST() 81 test::GetDiagnostics())); in TEST() 87 test::GetDiagnostics())); in TEST() 93 test::GetDiagnostics())); in TEST() 142 test::GetDiagnostics())); in TEST() 145 test::GetDiagnostics())); in TEST() 154 test::GetDiagnostics())); in TEST() 160 test::GetDiagnostics())); in TEST() 376 test::GetDiagnostics())); in TEST() 379 test::GetDiagnostics())); in TEST() [all …]
|
/aosp12/frameworks/base/test-runner/api/ |
H A D | lint-baseline.txt | 2 GenericException: android.test.ActivityInstrumentationTestCase#setUp(): 12 GenericException: android.test.ActivityUnitTestCase#setUp(): 16 GenericException: android.test.ApplicationTestCase#setUp(): 20 GenericException: android.test.ProviderTestCase#setUp(): 22 GenericException: android.test.ProviderTestCase#tearDown(): 24 GenericException: android.test.ProviderTestCase2#setUp(): 26 GenericException: android.test.ProviderTestCase2#tearDown(): 28 GenericException: android.test.ServiceTestCase#setUp(): 30 GenericException: android.test.ServiceTestCase#tearDown(): 156 ProtectedMember: android.test.ProviderTestCase#setUp(): [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | TimeTest.java | 195 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1() 200 if (local.year != test.year2 || local.month != test.month2 in testNormalize1() 204 test.year2, test.month2, test.day2, test.hour2, test.minute2); in testNormalize1() 212 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1() 222 test.year2, test.month2, test.day2, test.hour2, test.minute2); in testNormalize1() 234 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1() 238 if (test.dst2 == -1) test.dst2 = local.isDst; in testNormalize1() 245 test.year2, test.month2, test.day2, test.hour2, test.minute2, in testNormalize1() 255 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1() 259 if (test.dst2 == -1) test.dst2 = local.isDst; in testNormalize1() [all …]
|
/aosp12/bionic/libc/arch-x86/atom/string/ |
H A D | sse2-strchr-atom.S | 117 test %eax, %eax 120 test %edx, %edx 126 test %edx, %edx 140 test %eax, %eax 142 test %edx, %edx 151 test %eax, %eax 153 test %edx, %edx 162 test %eax, %eax 187 test %al, %al 232 test %dl, %dl [all …]
|
/aosp12/build/blueprint/pathtools/ |
H A D | fs_test.go | 99 if got != test.to { 193 checkErr(t, test.err, err) 194 if got != test.isDir { 345 if got != test.to { 346 t.Errorf("fs.Readlink(%q) want: %q, got %q", test.from, test.to, got) 411 test.name, test.mode, got.Mode()&os.ModeType) 413 if test.mode == 0 && got.Size() != test.size { 414 t.Errorf("fs.Lstat(%q).Size() want: %d, got %d", test.name, test.size, got.Size()) 479 test.name, test.mode, got.Mode()&os.ModeType) 481 if test.mode == 0 && got.Size() != test.size { [all …]
|