Home
last modified time | relevance | path

Searched refs:foo (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/frameworks/base/tools/aapt2/java/
DProguardRules_test.cpp59 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/
DCommandLineOptionsTests.cpp41 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/
DXmlCompatVersioner_test.cpp82 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/
DResourceParser_test.cpp56 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">&#32;Hello&#32;</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/
DMainlineFiles.cfg18 # 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/
Dreduce_general_parse.rscript9 #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/
Dforeach_unexpected_kernel_arg.rscript3 #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/
Diface.cpp31 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()
Dlibbinder_ndk_unit_test.cpp227 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/
Dforeach_unexpected_allocs.rscript3 #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/
Dforeach_from_kernel.rscript3 #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/
Dstruct_field_ptr_to_fn_noproto.rscript2 #pragma rs java_package_name(foo)
4 struct foo {
8 struct foo f;
/frameworks/compile/slang/tests/F_struct_field_ptr_to_array/
Dstruct_field_ptr_to_array.rscript2 #pragma rs java_package_name(foo)
4 struct foo {
8 struct foo f;
/frameworks/compile/slang/tests/F_struct_field_ptr_to_fn_proto/
Dstruct_field_ptr_to_fn_proto.rscript2 #pragma rs java_package_name(foo)
4 struct foo {
8 struct foo f;
/frameworks/compile/slang/tests/P_overload/
Doverload.rscript2 #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/
Dforeach_multi.rscript3 #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/
Dforeach_options.rscript3 #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/
Dforeach.rscript3 #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/
Dforeach_non_kernel.rscript3 #pragma rs java_package_name(com.example.foo)
9 int foo(int a) {
15 rsForEach(foo, in, out);
/frameworks/native/libs/ui/tests/
DFlattenableHelpers_test.cpp162 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/
Drefcount.rscript2 #pragma rs java_package_name(foo)
11 static void foo() {
30 foo();
/frameworks/compile/slang/tests/F_set_target_api_foo/
Dstderr.txt.expect1 error: invalid integral value 'foo' in '-target-api foo'
/frameworks/compile/slang/tests/F_invoke_return/
Dinvoke_return.rscript2 #pragma rs java_package_name(foo)
4 int foo() {
/frameworks/compile/slang/tests/P_ignore_warnings/
Dignore_warnings.rscript3 #pragma rs java_package_name(foo)
5 static int foo() {
/frameworks/compile/slang/tests/P_dummy_root/
Ddummy_root.rscript2 #pragma rs java_package_name(foo)
4 void foo (int *p) {

12345678910>>...12