/aosp12/frameworks/base/tools/aapt2/java/ |
H A D | ProguardRules_test.cpp | 226 <com.foo.Bar /> 244 <com.foo.Bar /> 257 .SetCompilationPackage("com.foo") 265 foo_layout->file.name = test::ParseNameOrDie("com.foo:layout/foo"); 278 EXPECT_THAT(actual, HasSubstr("int foo")); 285 EXPECT_THAT(actual, HasSubstr("int foo")); 293 <com.foo.Bar /> 303 "-keep class com.foo.Bar { <init>(...); }")); 305 EXPECT_THAT(actual, HasSubstr("int foo")); 312 EXPECT_THAT(actual, HasSubstr("int foo")); [all …]
|
/aosp12/build/blueprint/parser/ |
H A D | printer_test.go | 28 foo {} 31 foo {} 39 foo { 53 foo { 72 foo { 87 foo { 102 foo { 118 foo { 130 foo { 137 foo { [all …]
|
/aosp12/system/tools/aidl/build/ |
H A D | aidl_test.go | 386 "aidl_api/foo/1/foo.1.aidl": nil, 440 assertModulesExists(t, ctx, "foo-java", "foo-rust", "foo-cpp", "foo-ndk", "foo-ndk_platform") 458 …assertModulesExists(t, ctx, "foo-V1-java", "foo-V1-rust", "foo-V1-cpp", "foo-V1-ndk", "foo-V1-ndk_… 496 "aidl_api/foo/1/foo.1.aidl": nil, 500 …assertModulesExists(t, ctx, "foo-V1-java", "foo-V1-rust", "foo-V1-cpp", "foo-V1-ndk", "foo-V1-ndk_… 503 …assertModulesExists(t, ctx, "foo-V2-java", "foo-V2-rust", "foo-V2-cpp", "foo-V2-ndk", "foo-V2-ndk_… 1034 "foo/aidl_api/foo-iface/current/foo/Foo.aidl": nil, 1035 "foo/aidl_api/foo-iface/1/foo/Foo.aidl": nil, 1037 "foo/aidl_api/foo-iface/2/foo/Foo.aidl": nil, 1108 "foo/aidl_api/foo-iface/1/foo/Foo.aidl": nil, [all …]
|
/aosp12/art/test/640-checker-integer-valueof/src/ |
H A D | Main.java | 23 public static Integer foo(int a) { in foo() method in Main 52 assertEqual("42", foo(intField)); in main() 53 assertEqual(foo(intField), foo(intField2)); in main() 57 assertEqual("55555", foo(intField3)); in main() 60 assertEqual(foo(intFieldMinus128), foo(intFieldMinus128)); in main() 62 assertEqual(foo(intFieldMinus127), foo(intFieldMinus127)); in main() 63 assertEqual("126", foo(intField126)); in main() 64 assertEqual(foo(intField126), foo(intField126)); in main() 65 assertEqual("127", foo(intField127)); in main() 66 assertEqual(foo(intField127), foo(intField127)); in main() [all …]
|
/aosp12/system/tools/aidl/tests/java/src/android/aidl/tests/ |
H A D | JavaOnlyImmutableAnnotationTests.java | 54 foo.writeToParcel(parcel, 0); in testReadWriteJavaOnlyImmutableParcelable() 58 assertThat(foo.a, is(foo2.a)); in testReadWriteJavaOnlyImmutableParcelable() 59 assertThat(foo.b.s, is(foo2.b.s)); in testReadWriteJavaOnlyImmutableParcelable() 60 assertThat(foo.c.size(), is(foo.c.size())); in testReadWriteJavaOnlyImmutableParcelable() 62 assertThat(foo.c.size(), is(foo.c.size())); in testReadWriteJavaOnlyImmutableParcelable() 64 assertThat(foo.e.length, is(foo.e.length)); in testReadWriteJavaOnlyImmutableParcelable() 86 foo.c.add(new Bar("hi")); in testListIsUnmodifiable() 128 assertThat(foo.a, is(foo2.a)); in testBuilder() 130 assertThat(foo.c.size(), is(foo.c.size())); in testBuilder() 132 assertThat(foo.c.size(), is(foo.c.size())); in testBuilder() [all …]
|
H A D | MapTests.java | 40 Foo foo = new Foo(); in testWriteAndThenReadMaps() local 45 foo.intArrayMap = new HashMap<>(); in testWriteAndThenReadMaps() 51 foo.barMap = new HashMap<>(); in testWriteAndThenReadMaps() 52 foo.barMap.put("Foo", bar); in testWriteAndThenReadMaps() 54 foo.barArrayMap = new HashMap<>(); in testWriteAndThenReadMaps() 57 foo.stringMap = new HashMap<>(); in testWriteAndThenReadMaps() 58 foo.stringMap.put("Foo", "Bar"); in testWriteAndThenReadMaps() 64 foo.interfaceMap = new HashMap<>(); in testWriteAndThenReadMaps() 65 foo.interfaceMap.put("Foo", intf); in testWriteAndThenReadMaps() 67 foo.ibinderMap = new HashMap<>(); in testWriteAndThenReadMaps() [all …]
|
/aosp12/frameworks/base/cmds/idmap2/tests/ |
H A D | CommandLineOptionsTests.cpp | 41 bool foo = true; in TEST() local 48 ASSERT_TRUE(foo); in TEST() 54 ASSERT_TRUE(foo); in TEST() 59 std::string foo; in TEST() local 74 std::string foo; in TEST() local 92 std::string foo; in TEST() local 129 foo.clear(); in TEST() 137 foo.clear(); in TEST() 148 foo.clear(); in TEST() 153 foo.clear(); in TEST() [all …]
|
/aosp12/system/core/libutils/ |
H A D | StrongPointer_test.cpp | 57 TypeParam* foo = sp1.get(); in TYPED_TEST() local 58 ASSERT_EQ(1, foo->getStrongCount()); in TYPED_TEST() 76 sp<TypeParam> foo; in TYPED_TEST() local 77 ASSERT_EQ(foo, nullptr); in TYPED_TEST() 78 ASSERT_EQ(nullptr, foo); in TYPED_TEST() 84 ASSERT_EQ(foo.get(), foo); in TYPED_TEST() 85 ASSERT_EQ(foo, foo.get()); in TYPED_TEST() 86 ASSERT_NE(nullptr, foo); in TYPED_TEST() 87 ASSERT_NE(foo, nullptr); in TYPED_TEST() 97 foo = nullptr; in TYPED_TEST() [all …]
|
H A D | RefBase_test.cpp | 88 Foo* foo = new Foo(&isDeleted); in TEST() local 91 sp<Foo> sp1(foo); in TEST() 116 Foo* foo = new Foo(&isDeleted); in TEST() local 119 wp<Foo> wp1(foo); in TEST() 133 Foo* foo = new Foo(&isDeleted); in TEST() local 135 sp<Foo> sp1(foo); in TEST() 218 sp<FooFixedAlloc> sp1(foo); in TEST() 247 wp<Foo> weakFoo = foo; in TEST() 253 foo = nullptr; in TEST() 260 Foo* foo = new Foo(&isDeleted); in TEST() local [all …]
|
/aosp12/packages/modules/adb/daemon/ |
H A D | property_monitor_test.cpp | 82 RegisterCallback(&pm, &output, foo); in TEST() 83 android::base::SetProperty(foo, "foo"); in TEST() 95 ASSERT_EQ("", output.changes[foo][0]); in TEST() 96 ASSERT_EQ("foo", output.changes[foo][1]); in TEST() 108 RegisterCallback(&pm, &output, foo); in TEST() 109 android::base::SetProperty(foo, "foo"); in TEST() 118 ASSERT_EQ("", output.changes[foo][0]); in TEST() 122 android::base::SetProperty(foo, "bar"); in TEST() 147 RegisterCallback(&pm, &output, foo); in TEST() 150 android::base::SetProperty(foo, "foo"); in TEST() [all …]
|
/aosp12/art/test/911-get-stack-trace/ |
H A D | expected-stdout.txt | 11 foo (IIILart/ControlData;)I 0 21 14 foo (IIILart/ControlData;)I 0 21 17 foo (IIILart/ControlData;)I 0 21 20 foo (IIILart/ControlData;)I 0 21 23 foo (IIILart/ControlData;)I 0 21 31 foo (IIILart/ControlData;)I 0 21 34 foo (IIILart/ControlData;)I 0 21 37 foo (IIILart/ControlData;)I 0 21 40 foo (IIILart/ControlData;)I 0 21 43 foo (IIILart/ControlData;)I 0 21 [all …]
|
H A D | expected-cts-version.txt | 11 foo (IIILart/ControlData;)I 0 21 14 foo (IIILart/ControlData;)I 0 21 17 foo (IIILart/ControlData;)I 0 21 20 foo (IIILart/ControlData;)I 0 21 23 foo (IIILart/ControlData;)I 0 21 31 foo (IIILart/ControlData;)I 0 21 34 foo (IIILart/ControlData;)I 0 21 37 foo (IIILart/ControlData;)I 0 21 40 foo (IIILart/ControlData;)I 0 21 43 foo (IIILart/ControlData;)I 0 21 [all …]
|
/aosp12/system/extras/ioshark/ |
H A D | compile-only.sh | 11 fgrep -v '= -1' bar > foo 12 mv foo bar 42 rm foo 62 process_strace $stracefile foo.$pid 63 if ! [ -s foo.$pid ]; then 64 rm foo.$pid 73 fgrep mmap foo.$pid > bar 85 sort foo.$pid foobar >> footemp 96 mv foo.$pid parsed_input_trace.$pid 100 mv foo.$pid parsed_input_trace.$pid [all …]
|
H A D | collect-straces-ftraces.sh | 11 fgrep -v '= -1' bar > foo 12 mv foo bar 44 rm foo 64 process_strace $stracefile foo.$pid 65 if ! [ -s foo.$pid ]; then 66 rm foo.$pid 75 fgrep mmap foo.$pid > bar 87 sort foo.$pid foobar >> footemp 98 mv foo.$pid parsed_input_trace.$pid 102 mv foo.$pid parsed_input_trace.$pid [all …]
|
/aosp12/art/test/484-checker-register-hints/src/ |
H A D | Main.java | 53 foo.field2 = e + i + h; in test1() 54 foo.field3 = f + i + h; in test1() 55 foo.field4 = g + i + h; in test1() 56 foo.field0 = h; in test1() 57 foo.field1 = i + h; in test1() 87 foo.field2 = e + i + h; in test2() 90 foo.field0 = h; in test2() 91 foo.field1 = i + h; in test2() 119 foo.field0 = h; in test3() 120 foo.field1 = i + h; in test3() [all …]
|
/aosp12/system/bt/gd/dumpsys/ |
H A D | filter_test.cc | 115 ASSERT_EQ(123, foo->foo_int_private()); in TEST_F() 116 ASSERT_EQ(123, foo->foo_int_opaque()); in TEST_F() 117 ASSERT_EQ(123, foo->foo_int_anonymized()); in TEST_F() 118 ASSERT_EQ(123, foo->foo_int_any()); in TEST_F() 124 ASSERT_FLOAT_EQ(123.456, foo->foo_float_any()); in TEST_F() 167 ASSERT_EQ(0, foo->foo_int_private()); in TEST_F() 168 ASSERT_EQ(0, foo->foo_int_opaque()); in TEST_F() 169 ASSERT_NE(123, foo->foo_int_anonymized()); in TEST_F() 170 ASSERT_EQ(123, foo->foo_int_any()); in TEST_F() 172 ASSERT_FLOAT_EQ(0.0, foo->foo_float_private()); in TEST_F() [all …]
|
/aosp12/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.foo/ |
H A D | Android.bp | 19 name: "com.android.apex.test.foo.key", 21 private_key: "com.android.apex.test.foo.pem", 25 name: "com.android.apex.test.foo.certificate", 26 certificate: "com.android.apex.test.foo", 30 name: "com.android.apex.test.foo", 33 key: "com.android.apex.test.foo.key", 59 ":com.android.apex.test.foo", 60 "com.android.apex.test.foo.avbpubkey", 61 "com.android.apex.test.foo.pem", 62 "com.android.apex.test.foo.pk8", [all …]
|
/aosp12/art/test/Dex2oatVdexTestDex/ |
H A D | Dex2oatVdexTestDex.java | 22 public Integer foo() { in foo() method in AccessPublicCtor 28 public double foo(Integer i) { in foo() method in AccessPublicMethod 34 public void foo(Integer i) { in foo() method in AccessPublicMethodFromParent 40 public Integer foo() { in foo() method in AccessPublicStaticMethod 46 public int foo() { in foo() method in AccessPublicStaticField 56 public Integer foo() { in foo() method in AccessNonPublicCtor 62 public float foo(Integer i) { in foo() method in AccessNonPublicMethod 68 public void foo(Integer i) { in foo() method in AccessNonPublicMethodFromParent 74 public Integer foo() { in foo() method in AccessNonPublicStaticMethod 80 public Class foo() { in foo() method in AccessNonPublicStaticField
|
/aosp12/frameworks/base/tools/aapt2/ |
H A D | ResourceParser_test.cpp | 56 input += R"(<attr name="foo"/>)"; in TEST() 373 @app:string/foo</macro>)"; in TEST_F() 803 <plurals name="foo"> in TEST_F() 847 <string name="foo"> in TEST_F() 862 <declare-styleable name="foo"> in TEST_F() 867 <attr name="foo"> in TEST_F() 911 <public name="foo" /> in TEST_F() 930 <public name="foo" /> in TEST_F() 1031 <string name="foo" />)"; in TEST_F() 1188 <item name="foo" /> in TEST_F() [all …]
|
/aosp12/art/test/690-hiddenapi-same-name-methods/ |
H A D | hiddenapi-flags.csv | 1 LSpecificClass;->foo()Ljava/lang/Double;,blocked 2 LDirectMethods;->foo()Ljava/lang/Integer;,blocked 3 LDirectMethods;->foo()Ljava/lang/Boolean;,blocked 4 LVirtualMethods;->foo()Ljava/lang/Integer;,blocked 5 LVirtualMethods;->foo()Ljava/lang/Boolean;,blocked 6 LSyntheticMethods;->foo()Ljava/lang/Integer;,blocked 7 LSyntheticMethods;->foo()Ljava/lang/Boolean;,blocked 8 LNonSyntheticMethods;->foo()Ljava/lang/Integer;,blocked 9 LNonSyntheticMethods;->foo()Ljava/lang/Boolean;,blocked
|
/aosp12/art/test/657-branches/src/ |
H A D | Main.java | 19 public static void foo(float f) { in foo() method in Main 29 foo(Main.class, Object.class); in foo() 31 foo(Main.class, Object.class); in foo() 33 foo(Main.class, Object.class); in foo() 40 public static void foo(Object a, Object b) {} in foo() method in Main 43 foo(0f); in main() 44 foo(4f); in main() 45 foo(0.1f); in main()
|
/aosp12/packages/apps/MusicFX/src/com/android/musicfx/ |
H A D | Compatibility.java | 164 for (ResolveInfo foo: ris) { in searchControlPanel() 166 log("skipping " + foo); in searchControlPanel() 169 log("considering " + foo); in searchControlPanel() 172 foo.activityInfo.enabled) { in searchControlPanel() 174 defPanel = foo; in searchControlPanel() 178 otherPanel = foo; in searchControlPanel() 181 otherPanel = foo; in searchControlPanel() 183 thisPanel = foo; in searchControlPanel() 238 for (ResolveInfo foo: ris) { in setupReceivers() 239 … ComponentName comp = new ComponentName(foo.activityInfo.packageName, foo.activityInfo.name); in setupReceivers() [all …]
|
/aosp12/frameworks/base/tools/aapt2/link/ |
H A D | XmlCompatVersioner_test.cpp | 82 app:foo="16dp" 83 foo="bar"/>)"); 104 EXPECT_THAT(el->FindAttribute(xml::kSchemaAuto, "foo"), NotNull()); 105 EXPECT_THAT(el->FindAttribute({}, "foo"), NotNull()); 112 EXPECT_THAT(el->FindAttribute(xml::kSchemaAuto, "foo"), NotNull()); 113 EXPECT_THAT(el->FindAttribute({}, "foo"), NotNull()); 121 app:foo="16dp" 122 foo="bar"/>)"); 147 EXPECT_THAT(el->FindAttribute(xml::kSchemaAuto, "foo"), NotNull()); 148 EXPECT_THAT(el->FindAttribute({}, "foo"), NotNull()); [all …]
|
/aosp12/art/test/911-get-stack-trace/src/art/ |
H A D | SameThread.java | 25 Recurse.foo(4, 0, 25, null); in doTest() 26 Recurse.foo(4, 1, 25, null); in doTest() 27 Recurse.foo(4, 0, 5, null); in doTest() 28 Recurse.foo(4, 2, 5, null); in doTest() 29 Recurse.foo(4, 2, 1, null); in doTest() 32 Recurse.foo(4, -1, 25, null); in doTest() 33 Recurse.foo(4, -5, 5, null); in doTest() 34 Recurse.foo(4, -7, 5, null); in doTest()
|
/aosp12/art/test/957-methodhandle-transforms/ |
H A D | expected-stdout.txt | 1 Message: foo, Message2: 42 2 Message: foo, Message2: 42 3 Message: foo, Message2: 42 4 Message: foo, Message2: 42 5 Message: foo, Message2: 42 6 Message: foo, Message2: 42 7 Message: foo, Message2: 42 8 Target: Arg1: foo, Arg2: 42 9 Target: Arg1: foo, Arg2: 42 72 a: foo, b:45, c:56, d:bar [all …]
|