Home
last modified time | relevance | path

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

123

/cts/tests/tests/binder_ndk/src/android/binder/cts/
DJavaClientTest.java577 Foo foo = new Foo(); in testGetLastItem() local
578 foo.d = new Bar(); in testGetLastItem()
579 foo.e = new Bar(); in testGetLastItem()
580 foo.f = 15; in testGetLastItem()
581 foo.shouldContainTwoByteFoos = new byte[]{}; in testGetLastItem()
582 foo.shouldContainTwoIntFoos = new int[]{}; in testGetLastItem()
583 foo.shouldContainTwoLongFoos = new long[]{}; in testGetLastItem()
585 assertEquals(foo.f, mInterface.getF(foo)); in testGetLastItem()
590 Foo foo = new Foo(); in testRepeatFoo() local
592 foo.a = "NEW FOO"; in testRepeatFoo()
[all …]
DTestImpl.java379 public void renameFoo(Foo foo, String name) { in renameFoo() argument
380 foo.a = name; in renameFoo()
384 public void renameBar(Foo foo, String name) { in renameBar() argument
385 if (foo.d == null) { in renameBar()
386 foo.d = new Bar(); in renameBar()
388 foo.d.a = name; in renameBar()
392 public int getF(Foo foo) { in getF() argument
393 return foo.f; in getF()
/cts/tests/tests/os/jni/
Dandroid_os_cts_NoExecutePermissionTest.cpp50 unsigned int foo; in android_os_cts_NoExecutePermissionTest_isStackExecutable() local
51 return isAddressExecutable((uintptr_t) &foo); in android_os_cts_NoExecutePermissionTest_isStackExecutable()
57 unsigned int* foo = (unsigned int *) malloc(sizeof(unsigned int)); in android_os_cts_NoExecutePermissionTest_isHeapExecutable() local
58 if (foo == NULL) { in android_os_cts_NoExecutePermissionTest_isHeapExecutable()
62 jboolean result = isAddressExecutable((uintptr_t) foo); in android_os_cts_NoExecutePermissionTest_isHeapExecutable()
63 free(foo); in android_os_cts_NoExecutePermissionTest_isHeapExecutable()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_native_aidl_client.cpp430 Foo foo; in TEST_P() local
431 foo.g = {"a", "b", "c"}; in TEST_P()
434 ASSERT_OK(iface->repeatFoo(foo, &outFoo)); in TEST_P()
439 EXPECT_EQ(foo.g, outFoo.g); in TEST_P()
444 Foo foo; in TEST_P() local
446 ASSERT_OK(iface->renameFoo(&foo, "MYFOO")); in TEST_P()
448 EXPECT_EQ("MYFOO", foo.a); in TEST_P()
452 Foo foo; in TEST_P() local
454 ASSERT_OK(iface->renameBar(&foo, "MYBAR")); in TEST_P()
456 EXPECT_EQ("MYBAR", foo.d.a); in TEST_P()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerNotificationTest.java90 File foo = new File(tmpPath, "foobar." + extensions[i]); in createTempFiles() local
93 foo.createNewFile(); in createTempFiles()
94 FileOutputStream out = new FileOutputStream(foo); in createTempFiles()
98 assertTrue(foo.length() != 0); in createTempFiles()
100 fail("Error creating " + foo.getAbsolutePath() + ": " + e); in createTempFiles()
108 File foo = new File(tmpPath, "foobar." + extensions[i]); in checkTempFiles() local
109 assertTrue(foo.getAbsolutePath() + " no longer exists or was truncated", in checkTempFiles()
110 foo.length() != 0); in checkTempFiles()
DNativeDecoderTest.java139 CtsTestServer foo = new CtsTestServer(mContext); in testExtractor() local
140 testExtractor(foo.getAssetUrl("noiseandchirps.ogg")); in testExtractor()
141 testExtractor(foo.getAssetUrl("ringer.mp3")); in testExtractor()
142 testExtractor(foo.getRedirectingAssetUrl("ringer.mp3")); in testExtractor()
146 testExtractor(foo.getAssetUrl("noiseandchirps.ogg"), keys, values); in testExtractor()
147 HttpRequest req = foo.getLastRequest("noiseandchirps.ogg"); in testExtractor()
157 testExtractor(foo.getAssetUrl("noiseandchirps.ogg"), emptyArray, emptyArray); in testExtractor()
224 ArrayList<Integer> foo = new ArrayList<Integer>(); in getSampleSizes() local
228 foo.add(numtracks); in getSampleSizes()
233 foo.add(0); in getSampleSizes()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dsingle_source_script.rscript21 int RS_KERNEL foo(int a) {
36 rsForEach(foo, in, out);
49 rsForEachWithOptions(foo, &opts, in, out);
63 rsForEach(foo, in, out);
/cts/tests/signature/tests/src/android/signature/cts/tests/data/
DSystemApiClass.java39 public SystemApiClass(float foo) { in SystemApiClass() argument
53 public SystemApiClass(boolean foo) { in SystemApiClass() argument
DPublicApiClass.java23 public PublicApiClass(boolean foo) { in PublicApiClass() argument
46 public PublicApiClass(int foo) { in PublicApiClass() argument
/cts/tests/tests/binder_ndk/libbinder_ndk_test/test_package/
DITest.aidl117 void renameFoo(inout Foo foo, String name); in renameFoo() argument
118 void renameBar(inout Foo foo, String name); in renameBar() argument
119 int getF(in Foo foo); in getF() argument
/cts/tests/tests/binder_ndk/libbinder_ndk_test/aidl_api/libbinder_ndk_test_interface/2/test_package/
DITest.aidl60 void renameFoo(inout test_package.Foo foo, String name); in renameFoo() argument
61 void renameBar(inout test_package.Foo foo, String name); in renameBar() argument
62 int getF(in test_package.Foo foo); in getF() argument
/cts/tests/tests/binder_ndk/libbinder_ndk_test/aidl_api/libbinder_ndk_test_interface_dup/1/test_package/
DITest.aidl60 void renameFoo(inout test_package.Foo foo, String name); in renameFoo() argument
61 void renameBar(inout test_package.Foo foo, String name); in renameBar() argument
62 int getF(in test_package.Foo foo); in getF() argument
/cts/tests/tests/binder_ndk/libbinder_ndk_test/aidl_api/libbinder_ndk_test_interface_dup/current/test_package/
DITest.aidl77 void renameFoo(inout test_package.Foo foo, String name); in renameFoo() argument
78 void renameBar(inout test_package.Foo foo, String name); in renameBar() argument
79 int getF(in test_package.Foo foo); in getF() argument
/cts/tests/tests/binder_ndk/libbinder_ndk_test/aidl_api/libbinder_ndk_test_interface/1/test_package/
DITest.aidl60 void renameFoo(inout test_package.Foo foo, String name); in renameFoo() argument
61 void renameBar(inout test_package.Foo foo, String name); in renameBar() argument
62 int getF(in test_package.Foo foo); in getF() argument
/cts/tests/tests/binder_ndk/libbinder_ndk_test/aidl_api/libbinder_ndk_test_interface/current/test_package/
DITest.aidl77 void renameFoo(inout test_package.Foo foo, String name); in renameFoo() argument
78 void renameBar(inout test_package.Foo foo, String name); in renameBar() argument
79 int getF(in test_package.Foo foo); in getF() argument
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_result_object/d/
DT_move_result_object_5.smali32 …invoke-direct {v15} , Ldot/junit/opcodes/move_result_object/d/T_move_result_object_5;->foo()Ljava/…
38 .method private foo()Ljava/lang/Object;
DT_move_result_object_7.smali31 …invoke-direct {v15} , Ldot/junit/opcodes/move_result_object/d/T_move_result_object_7;->foo()Ljava/…
38 .method private foo()Ljava/lang/Object;
DT_move_result_object_3.smali30 invoke-direct {v15} , Ldot/junit/opcodes/move_result_object/d/T_move_result_object_3;->foo()I
36 .method private foo()I
DT_move_result_object_6.smali30 …invoke-direct {v15} , Ldot/junit/opcodes/move_result_object/d/T_move_result_object_6;->foo()Ljava/…
37 .method private foo()Ljava/lang/Object;
DT_move_result_object_9.smali30 …invoke-direct {v15} , Ldot/junit/opcodes/move_result_object/d/T_move_result_object_9;->foo()Ljava/…
37 .method private foo()Ljava/lang/Object;
DT_move_result_object_2.smali30 …invoke-direct {v15} , Ldot/junit/opcodes/move_result_object/d/T_move_result_object_2;->foo()Ljava/…
36 .method private foo()Ljava/lang/Object;
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_result/d/
DT_move_result_3.smali30 invoke-direct {v15} , Ldot/junit/opcodes/move_result/d/T_move_result_3;->foo()Ljava/lang/Object;
36 .method private foo()Ljava/lang/Object;
DT_move_result_6.smali30 invoke-static {} , Ldot/junit/opcodes/move_result/d/T_move_result_6;->foo()I
37 .method private static foo()I
DT_move_result_7.smali31 invoke-static {} , Ldot/junit/opcodes/move_result/d/T_move_result_7;->foo()I
38 .method private static foo()I
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_result_wide/d/
DT_move_result_wide_2.smali30 invoke-static {} , Ldot/junit/opcodes/move_result_wide/d/T_move_result_wide_2;->foo()J
36 .method private static foo()J

123