/frameworks/base/tools/aapt2/java/ |
D | ProguardRules_test.cpp | 59 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarAppComponentFactory { <init>(); }")); 60 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarBackupAgent { <init>(); }")); 61 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarApplication { <init>(); }")); 62 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarActivity { <init>(); }")); 63 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarService { <init>(); }")); 64 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarReceiver { <init>(); }")); 65 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarProvider { <init>(); }")); 66 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarInstrumentation { <init>(); }")); 67 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarZygotePreload { <init>(); }")); 70 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarAppComponentFactory { <init>(); }")); [all …]
|
/frameworks/base/cmds/idmap2/tests/ |
D | CommandLineOptionsTests.cpp | 41 bool foo = true; in TEST() local 44 CommandLineOptions("test").OptionalFlag("--foo", "", &foo).OptionalFlag("--bar", "", &bar); in TEST() 48 ASSERT_TRUE(foo); in TEST() 51 foo = bar = false; in TEST() 54 ASSERT_TRUE(foo); in TEST() 59 std::string foo; in TEST() local 62 .MandatoryOption("--foo", "", &foo) in TEST() 66 ASSERT_EQ(foo, "FOO"); in TEST() 74 std::string foo; in TEST() local 75 CommandLineOptions opts = CommandLineOptions("test").MandatoryOption("--foo", "", &foo); in TEST() [all …]
|
/frameworks/base/tools/aapt2/link/ |
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 …]
|
/frameworks/base/tools/aapt2/ |
D | ResourceParser_test.cpp | 56 input += R"(<attr name="foo"/>)"; in TEST() 95 ASSERT_TRUE(TestParse(R"(<string name="foo"> " hey there " </string>)")); in TEST_F() 116 String* str = test::GetValue<String>(&table_, "string/foo"); in TEST_F() 156 ASSERT_TRUE(TestParse(R"(<string name="foo"> This is what I think </string>)")); in TEST_F() 172 EXPECT_TRUE(TestParse(R"(<string name="foo"> Hello </string>)")); in TEST_F() 204 std::string input = R"(<string name="foo"> <b> My <i> favorite</i> string </b> </string>)"; in TEST_F() 247 <string name="foo" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> in TEST_F() 259 <string name="foo" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> in TEST_F() 266 <string name="foo" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> in TEST_F() 281 <string name="foo" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> in TEST_F() [all …]
|
/frameworks/av/ |
D | MainlineFiles.cfg | 18 # so 'foo/' and 'EXCLUDE foo/nope' 19 # means everything under foo/ is part of mainline EXCEPT foo/nope. 23 # so 'foo' will match 'foo', 'foo.c', 'foo/bar/baz' 24 # if you want to exclude a directory, best to use a pattern like "foo/"
|
/frameworks/compile/slang/tests/F_reduce_general_parse/ |
D | reduce_general_parse.rscript | 9 #pragma rs reduce(foo 10 #pragma rs reduce (foo 11 #pragma rs reduce(foo ) 12 #pragma rs reduce(foo) initializer( 13 #pragma rs reduce(foo) initializer(init) 14 #pragma rs reduce(foo) initializer(init) accumulator(accum) 15 #pragma rs reduce(foo) initializer(init2) accumulator(accum2)
|
/frameworks/compile/slang/tests/F_foreach_unexpected_kernel_arg/ |
D | foreach_unexpected_kernel_arg.rscript | 3 #pragma rs java_package_name(com.example.foo) 5 int RS_KERNEL foo(int a) { 10 int (*fp)(int) = &foo; 12 rsForEach(&foo, in, out); 14 rsForEachWithOptions(&foo, NULL, in, out);
|
/frameworks/native/libs/binder/ndk/tests/ |
D | iface.cpp | 31 sp<IFoo> foo; member 35 IFoo_Class_Data* foo = static_cast<IFoo_Class_Data*>(args); in IFoo_Class_onCreate() local 38 return static_cast<void*>(foo); in IFoo_Class_onCreate() 49 sp<IFoo> foo = static_cast<IFoo_Class_Data*>(AIBinder_getUserData(binder))->foo; in IFoo_Class_onTransact() local 50 CHECK(foo != nullptr) << "Transaction made on already deleted object"; in IFoo_Class_onTransact() 58 stat = foo->doubleNumber(valueIn, &valueOut); in IFoo_Class_onTransact() 64 stat = foo->die(); in IFoo_Class_onTransact() 178 sp<IFoo> ret = data->foo; in getService()
|
D | libbinder_ndk_unit_test.cpp | 227 sp<IFoo> foo = IFoo::getService("asdfghkl;"); in TEST() local 228 EXPECT_EQ(nullptr, foo.get()); in TEST() 245 sp<IFoo> foo = IFoo::getService(IFoo::kSomeInstanceName); in TEST() local 246 ASSERT_NE(foo, nullptr); in TEST() 247 AIBinder* binder = foo->getBinder(); in TEST() 265 sp<IFoo> foo = IFoo::getService(IFoo::kSomeInstanceName); in TEST() local 266 ASSERT_NE(foo, nullptr); in TEST() 269 EXPECT_EQ(STATUS_OK, foo->doubleNumber(1, &out)); in TEST() 373 sp<IFoo> foo = IFoo::getService(IFoo::kInstanceNameToDieFor, &binder); in TEST() local 374 ASSERT_NE(nullptr, foo.get()); in TEST() [all …]
|
/frameworks/compile/slang/tests/F_foreach_unexpected_allocs/ |
D | foreach_unexpected_allocs.rscript | 3 #pragma rs java_package_name(com.example.foo) 5 int RS_KERNEL foo(int a) { 10 rsForEach(foo, in); 11 rsForEach(foo, in, in, out);
|
/frameworks/compile/slang/tests/F_foreach_from_kernel/ |
D | foreach_from_kernel.rscript | 3 #pragma rs java_package_name(com.example.foo) 5 int __attribute__((kernel)) foo(int a) { 13 rsForEach(foo, g_in, g_out); 18 rsForEach(foo, g_in, g_out);
|
/frameworks/compile/slang/tests/F_struct_field_ptr_to_fn_noproto/ |
D | struct_field_ptr_to_fn_noproto.rscript | 2 #pragma rs java_package_name(foo) 4 struct foo { 8 struct foo f;
|
/frameworks/compile/slang/tests/F_struct_field_ptr_to_array/ |
D | struct_field_ptr_to_array.rscript | 2 #pragma rs java_package_name(foo) 4 struct foo { 8 struct foo f;
|
/frameworks/compile/slang/tests/F_struct_field_ptr_to_fn_proto/ |
D | struct_field_ptr_to_fn_proto.rscript | 2 #pragma rs java_package_name(foo) 4 struct foo { 8 struct foo f;
|
/frameworks/compile/slang/tests/P_overload/ |
D | overload.rscript | 2 #pragma rs java_package_name(foo) 4 void __attribute__((overloadable)) foo(int i) { 7 void __attribute__((overloadable)) foo(float f) {
|
/frameworks/compile/slang/tests/P_foreach_multi/ |
D | foreach_multi.rscript | 3 #pragma rs java_package_name(com.example.foo) 5 int RS_KERNEL foo(int a, int b) { 10 rsForEach(foo, in, in, out);
|
/frameworks/compile/slang/tests/P_foreach_options/ |
D | foreach_options.rscript | 3 #pragma rs java_package_name(com.example.foo) 5 int RS_KERNEL foo(int a) { 13 rsForEach(foo, in, out);
|
/frameworks/compile/slang/tests/P_foreach/ |
D | foreach.rscript | 3 #pragma rs java_package_name(com.example.foo) 9 int RS_KERNEL foo(int a) { 14 rsForEach(foo, in, out);
|
/frameworks/compile/slang/tests/F_foreach_non_kernel/ |
D | foreach_non_kernel.rscript | 3 #pragma rs java_package_name(com.example.foo) 9 int foo(int a) { 15 rsForEach(foo, in, out);
|
/frameworks/native/libs/ui/tests/ |
D | FlattenableHelpers_test.cpp | 162 LightFlattenableAndTriviallyCopyable foo; in TEST_F() local 163 EXPECT_EQ(kSizeTag, FlattenableHelpers::getFlattenedSize(foo)); in TEST_F() 171 LightFlattenableAndTriviallyCopyable foo; in TEST_F() local 172 ASSERT_EQ(OK, FlattenableHelpers::flatten(&rawBuffer, &size, foo)); in TEST_F() 190 LightFlattenableAndTriviallyCopyable foo; in TEST_F() local 191 FlattenableHelpers::unflatten(&rawReadBuffer, &size, &foo); in TEST_F() 192 EXPECT_EQ(kUnflattenTag, foo.value); in TEST_F()
|
/frameworks/compile/slang/tests/P_refcount/ |
D | refcount.rscript | 2 #pragma rs java_package_name(foo) 11 static void foo() { 30 foo();
|
/frameworks/compile/slang/tests/F_set_target_api_foo/ |
D | stderr.txt.expect | 1 error: invalid integral value 'foo' in '-target-api foo'
|
/frameworks/compile/slang/tests/F_invoke_return/ |
D | invoke_return.rscript | 2 #pragma rs java_package_name(foo) 4 int foo() {
|
/frameworks/compile/slang/tests/P_ignore_warnings/ |
D | ignore_warnings.rscript | 3 #pragma rs java_package_name(foo) 5 static int foo() {
|
/frameworks/compile/slang/tests/P_dummy_root/ |
D | dummy_root.rscript | 2 #pragma rs java_package_name(foo) 4 void foo (int *p) {
|