Home
last modified time | relevance | path

Searched refs:simple (Results 1 – 25 of 176) sorted by relevance

12345678

/aosp12/system/tools/xsdc/tests/
H A Dsimple_type.cpp28 using namespace simple::type; in TEST_F()
35 SimpleTypes simple = *readSimpleTypes(file_name.c_str()); in TEST_F() local
37 for (int i = 0; i < simple.getListInt().size(); ++i) { in TEST_F()
38 EXPECT_EQ(simple.getListInt()[i], i + 1); in TEST_F()
40 EXPECT_EQ(*simple.getFirstUnionTest(), "100"); in TEST_F()
41 EXPECT_EQ(simple.getYesOrNo()[0], EnumType::YES); in TEST_F()
42 EXPECT_EQ(simple.getYesOrNo()[1], EnumType::EMPTY); in TEST_F()
44 write(out, simple); in TEST_F()
46 for (int i = 0; i < simple.getListInt().size(); ++i) { in TEST_F()
50 EXPECT_EQ(simple.getYesOrNo()[0], simple2.getYesOrNo()[0]); in TEST_F()
[all …]
/aosp12/system/tools/xsdc/tests/resources/simple_complex_content/api/
H A Dcurrent.txt2 package simple.complex.content {
17 public class KRAddress extends simple.complex.content.Address {
23 method public simple.complex.content.KRAddress getKRAddress();
25 method public simple.complex.content.SubAddress getSubAddress();
26 method public simple.complex.content.USAddressP getUSAddressP();
31 method public void setKRAddress(simple.complex.content.KRAddress);
39 method public simple.complex.content.KRAddress getKRAddress();
42 method public simple.complex.content.USAddressP getUSAddressP();
47 method public void setKRAddress(simple.complex.content.KRAddress);
84 …method public static void write(simple.complex.content.XmlWriter, simple.complex.content.Person) t…
[all …]
/aosp12/system/tools/xsdc/tests/resources/simple_type/api/
H A Dcurrent.txt2 package simple.type {
6 enum_constant public static final simple.type.EnumType EMPTY;
7 enum_constant public static final simple.type.EnumType NO;
8 enum_constant @Deprecated public static final simple.type.EnumType YES;
22 method public java.util.List<simple.type.EnumType> getYesOrNo();
45 …method public static simple.type.MultiChoice readMultiChoice(java.io.InputStream) throws javax.xml…
46 …method public static simple.type.SimpleTypes readSimpleTypes(java.io.InputStream) throws javax.xml…
47 …method public static simple.type.SingleChoice readSingleChoice(java.io.InputStream) throws javax.x…
55 …method public static void write(simple.type.XmlWriter, simple.type.SimpleTypes) throws java.io.IOE…
56 …method public static void write(simple.type.XmlWriter, simple.type.MultiChoice) throws java.io.IOE…
[all …]
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A Dstruct_field_simple.rscript24 struct Simple simple;
30 rsDebug("simple.I ", simple.I);
32 rsDebug("simple.L.lo", (unsigned)simple.L & ~0U);
34 rsDebug("simple.L.hi", (unsigned)((ulong)simple.L >> 32));
36 _RS_ASSERT(simple.I == argI);
37 _RS_ASSERT(simple.L == argL);
H A DUT_struct_field_simple.java32 ScriptField_Simple.Item simple = new ScriptField_Simple.Item(); in run() local
35 simple.I = I; in run()
36 simple.L = L; in run()
37 s.set_simple(simple); in run()
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
H A Dstruct_field_simple.rscript26 struct Simple simple;
32 rsDebug("simple.I ", simple.I);
34 rsDebug("simple.L.lo", (unsigned)simple.L & ~0U);
36 rsDebug("simple.L.hi", (unsigned)((ulong)simple.L >> 32));
38 _RS_ASSERT(simple.I == argI);
39 _RS_ASSERT(simple.L == argL);
H A DUT_struct_field_simple.java34 ScriptField_Simple.Item simple = new ScriptField_Simple.Item(); in run() local
37 simple.I = I; in run()
38 simple.L = L; in run()
39 s.set_simple(simple); in run()
/aosp12/art/test/121-simple-suspend-check/
H A DAndroid.bp3 // Build rules for ART run-test `121-simple-suspend-check`.
16 name: "art-run-test-121-simple-suspend-check",
21 ":art-run-test-121-simple-suspend-check-expected-stdout",
22 ":art-run-test-121-simple-suspend-check-expected-stderr",
28 name: "art-run-test-121-simple-suspend-check-expected-stdout",
29 out: ["art-run-test-121-simple-suspend-check-expected-stdout.txt"],
36 name: "art-run-test-121-simple-suspend-check-expected-stderr",
37 out: ["art-run-test-121-simple-suspend-check-expected-stderr.txt"],
/aosp12/build/soong/ui/terminal/
H A Dstatus_test.go32 simple string
38 simple: "[ 50% 1/2] action1\n[100% 2/2] action2\n",
44 simple: "[ 50% 1/2] action1\n[100% 2/2] action2\n",
68 simple: "[100% 1/1] command1\n",
74 simple: "[ 50% 1/2] action1\nstatus\nprint\nFAILED: error\n[100% 2/2] action2\n",
80 simple: "[ 50% 1/2] action with very long description to test eliding\n",
86 simple: "[100% 1/1] action1\ncolor\n",
107 simple := &bytes.Buffer{}
108 stat := NewStatusOutput(simple, "", false, false)
112 if g, w := simple.String(), tt.simple; g != w {
[all …]
/aosp12/system/tools/xsdc/tests/src/com/android/xsdc/tests/
H A DXmlParserTest.java40 purchase.simple.PurchaseOrderType orderType; in testPurchaseSimple()
43 orderType = purchase.simple.XmlParser.read(str); in testPurchaseSimple()
61 try(purchase.simple.XmlWriter writer = in testPurchaseSimple()
63 purchase.simple.XmlWriter.write(writer, orderType); in testPurchaseSimple()
86 simple.complex.content.Person person; in testSimpleComplexContent()
89 person = simple.complex.content.XmlParser.readPerson(str); in testSimpleComplexContent()
103 try(simple.complex.content.XmlWriter writer = in testSimpleComplexContent()
226 simple.type.SimpleTypes simples; in testSimpleType()
229 simples = simple.type.XmlParser.readSimpleTypes(str); in testSimpleType()
241 try(simple.type.XmlWriter writer = new simple.type.XmlWriter(new PrintWriter(baos))) { in testSimpleType()
[all …]
/aosp12/system/tools/xsdc/tests/resources/purchase_simple/api/
H A Dcurrent.txt2 package purchase.simple {
6 method public purchase.simple.USAddress getBillTo();
8 method public java.util.List<purchase.simple.USAddress> getShipTo();
9 method public void setBillTo(purchase.simple.USAddress);
31 …method public static purchase.simple.PurchaseOrderType read(java.io.InputStream) throws javax.xml.…
39 …method public static void write(purchase.simple.XmlWriter, purchase.simple.PurchaseOrderType) thro…
/aosp12/frameworks/av/services/camera/libcameraservice/device3/
H A DDistortionMapper.h92 DistortionMapperInfo *mapperInfo, bool clamp, bool simple = true);
104 DistortionMapperInfo *mapperInfo, bool clamp, bool simple = true);
116 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple = true) const;
128 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple = true) const;
199 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple) const;
H A DDistortionMapper.cpp270 DistortionMapperInfo *mapperInfo, bool clamp, bool simple) { in mapRawToCorrected() argument
273 if (simple) return mapRawToCorrectedSimple(coordPairs, coordCount, mapperInfo, clamp); in mapRawToCorrected()
351 DistortionMapperInfo *mapperInfo, bool clamp, bool simple) { in mapRawRectToCorrected() argument
362 mapRawToCorrected(coords, 2, mapperInfo, clamp, simple); in mapRawRectToCorrected()
375 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple) const { in mapCorrectedToRaw()
376 return mapCorrectedToRawImpl(coordPairs, coordCount, mapperInfo, clamp, simple); in mapCorrectedToRaw()
381 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple) const { in mapCorrectedToRawImpl()
384 if (simple) return mapCorrectedToRawImplSimple(coordPairs, coordCount, mapperInfo, clamp); in mapCorrectedToRawImpl()
437 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple) const { in mapCorrectedRectToRaw()
449 mapCorrectedToRaw(coords, 2, mapperInfo, clamp, simple); in mapCorrectedRectToRaw()
/aosp12/system/tools/xsdc/tests/resources/simple_type/
H A DAndroid.bp9 package_name: "simple.type",
17 package_name: "simple.type",
26 package_name: "simple.type",
/aosp12/system/tools/xsdc/tests/resources/attr_group_simple/api/
H A Dcurrent.txt2 package attr.group.simple {
20 …method public static attr.group.simple.Student read(java.io.InputStream) throws javax.xml.datatype…
28 …method public static void write(attr.group.simple.XmlWriter, attr.group.simple.Student) throws jav…
/aosp12/art/test/031-class-attributes/
H A Dexpected-stdout.txt26 simple: ClassAttrs
52 simple: OtherClass
78 simple: OtherPackageClass
104 simple: InnerNamed
130 simple: ConsInnerNamed
156 simple:
182 simple: MemberClass
208 simple: FancyClass
/aosp12/frameworks/rs/tests/lldb/cpp/WaitAttach/
H A DAndroid.mk10 simple.rscript
23 simple.rscript
/aosp12/art/tools/jvmti-agents/
H A DREADME.md14 * [libforceredefine](./simple-force-redefine)
15 * [libsimpleprofile](./simple-profile)
/aosp12/system/tools/aidl/
H A Dast_cpp_unittest.cpp223 ArgList simple("foo"); in TEST_F() local
224 CompareGeneratedCode(simple, "(foo)"); in TEST_F()
263 Assignment simple("foo", "8"); in TEST_F() local
264 CompareGeneratedCode(simple, "foo = 8;\n"); in TEST_F()
/aosp12/system/tools/hidl/c2hal/
H A DREADME.md31 # Build the simple.h header:
32 …oid.hardware:hardware/interfaces -p android.hardware.simple@1.0 system/tools/hidl/c2hal/test/simpl…
/aosp12/frameworks/av/services/camera/libcameraservice/fuzzer/
H A DDistortionMapperFuzzer.cpp61 bool simple = fdp.ConsumeBool(); in LLVMFuzzerTestOneInput() local
69 m.mapCorrectedToRaw(input.data(), input.size()/2, mapperInfo, clamp, simple); in LLVMFuzzerTestOneInput()
/aosp12/art/libartbase/base/unix_file/
H A DREADME1 A simple C++ wrapper for Unix file I/O.
7 In particular, the basic RandomAccessFile interface is kept small and simple so
/aosp12/frameworks/rs/tests/lldb/java/Reduction/src/com/android/rs/lldbreductiontest/
H A Dreduce.rscript17 /* This application is a simple scheduler for testing the lldb debugger
20 * It launches one of two simple reductions in a loop
H A Dreduce_auto_comb.rscript17 /* This application is a simple scheduler for testing the lldb debugger
20 * It launches one of two simple reductions in a loop
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/
H A DBrightnessMappingStrategyTest.java125 BrightnessMappingStrategy simple = BrightnessMappingStrategy.create(res, ddc); in testSimpleStrategyMappingAtControlPoints() local
126 assertNotNull("BrightnessMappingStrategy should not be null", simple); in testSimpleStrategyMappingAtControlPoints()
132 simple.getBrightness(LUX_LEVELS[i]), 0.0001f /*tolerance*/); in testSimpleStrategyMappingAtControlPoints()
140 BrightnessMappingStrategy simple = BrightnessMappingStrategy.create(res, ddc); in testSimpleStrategyMappingBetweenControlPoints() local
141 assertNotNull("BrightnessMappingStrategy should not be null", simple); in testSimpleStrategyMappingBetweenControlPoints()
144 final float backlight = simple.getBrightness(lux) * PowerManager.BRIGHTNESS_ON; in testSimpleStrategyMappingBetweenControlPoints()

12345678