/frameworks/base/packages/SystemUI/compose/core/tests/src/com/android/compose/animation/scene/transformation/ |
D | EdgeTranslateTest.kt | 55 Box(Modifier.size(100.dp).element(TestElements.Foo).align(Alignment.Center)) in testEdgeTranslate() 60 translate(TestElements.Foo, edge, startsOutsideLayoutBounds) in testEdgeTranslate() 69 before { onElement(TestElements.Foo).assertDoesNotExist() } in testEntersFromTop_startsOutsideLayoutBounds() 70 at(0) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, (-100).dp) } in testEntersFromTop_startsOutsideLayoutBounds() 71 at(32) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 0.dp) } in testEntersFromTop_startsOutsideLayoutBounds() 72 at(64) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 100.dp) } in testEntersFromTop_startsOutsideLayoutBounds() 73 after { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 100.dp) } in testEntersFromTop_startsOutsideLayoutBounds() 80 before { onElement(TestElements.Foo).assertDoesNotExist() } in testEntersFromTop_startsInsideLayoutBounds() 81 at(0) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 0.dp) } in testEntersFromTop_startsInsideLayoutBounds() 82 at(32) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 50.dp) } in testEntersFromTop_startsInsideLayoutBounds() [all …]
|
D | TranslateTest.kt | 43 Box(Modifier.offset(10.dp, 50.dp).element(TestElements.Foo)) in testTranslateExit() 49 translate(TestElements.Foo, x = 20.dp, y = (-40).dp) in testTranslateExit() 52 before { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(10.dp, 50.dp) } in testTranslateExit() 53 at(0) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(10.dp, 50.dp) } in testTranslateExit() 54 at(16) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(15.dp, 40.dp) } in testTranslateExit() 55 at(32) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(20.dp, 30.dp) } in testTranslateExit() 56 at(48) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(25.dp, 20.dp) } in testTranslateExit() 57 after { onElement(TestElements.Foo).assertDoesNotExist() } in testTranslateExit() 67 Box(Modifier.offset(10.dp, 50.dp).element(TestElements.Foo)) in testTranslateEnter() 72 translate(TestElements.Foo, x = 20.dp, y = (-40).dp) in testTranslateEnter() [all …]
|
D | ScaleSizeTest.kt | 42 toSceneContent = { Box(Modifier.size(100.dp).element(TestElements.Foo)) }, in testScaleSize() 46 scaleSize(TestElements.Foo, width = 2f, height = 0.5f) in testScaleSize() 51 before { onElement(TestElements.Foo).assertDoesNotExist() } in testScaleSize() 52 at(0) { onElement(TestElements.Foo).assertSizeIsEqualTo(200.dp, 50.dp) } in testScaleSize() 53 at(16) { onElement(TestElements.Foo).assertSizeIsEqualTo(175.dp, 62.5.dp) } in testScaleSize() 54 at(32) { onElement(TestElements.Foo).assertSizeIsEqualTo(150.dp, 75.dp) } in testScaleSize() 55 at(48) { onElement(TestElements.Foo).assertSizeIsEqualTo(125.dp, 87.5.dp) } in testScaleSize() 56 at(64) { onElement(TestElements.Foo).assertSizeIsEqualTo(100.dp, 100.dp) } in testScaleSize() 57 after { onElement(TestElements.Foo).assertSizeIsEqualTo(100.dp, 100.dp) } in testScaleSize()
|
D | AnchoredTranslateTest.kt | 42 Box(Modifier.offset(10.dp, 50.dp).element(TestElements.Foo)) in testAnchoredTranslateExit() 45 toSceneContent = { Box(Modifier.offset(30.dp, 10.dp).element(TestElements.Foo)) }, in testAnchoredTranslateExit() 49 anchoredTranslate(TestElements.Bar, TestElements.Foo) in testAnchoredTranslateExit() 65 fromSceneContent = { Box(Modifier.offset(10.dp, 50.dp).element(TestElements.Foo)) }, in testAnchoredTranslateEnter() 67 Box(Modifier.offset(30.dp, 10.dp).element(TestElements.Foo)) in testAnchoredTranslateEnter() 73 anchoredTranslate(TestElements.Bar, TestElements.Foo) in testAnchoredTranslateEnter()
|
D | AnchoredSizeTest.kt | 41 fromSceneContent = { Box(Modifier.size(100.dp, 100.dp).element(TestElements.Foo)) }, in testAnchoredSizeEnter() 43 Box(Modifier.size(50.dp, 50.dp).element(TestElements.Foo)) in testAnchoredSizeEnter() 49 anchoredSize(TestElements.Bar, TestElements.Foo) in testAnchoredSizeEnter() 68 Box(Modifier.size(100.dp, 100.dp).element(TestElements.Foo)) in testAnchoredSizeExit() 71 toSceneContent = { Box(Modifier.size(200.dp, 60.dp).element(TestElements.Foo)) }, in testAnchoredSizeExit() 75 anchoredSize(TestElements.Bar, TestElements.Foo) in testAnchoredSizeExit()
|
/frameworks/libs/binary_translation/base/ |
D | forever_pool_test.cc | 29 struct Foo { in TEST() struct 33 Foo* p1 = ForeverPool<Foo>::Alloc(); in TEST() 36 Foo* p2 = ForeverPool<Foo>::Alloc(); in TEST() 40 ForeverPool<Foo>::Free(p1); in TEST() 43 Foo* p3 = ForeverPool<Foo>::Alloc(); in TEST() 46 ForeverPool<Foo>::Free(p2); in TEST() 47 ForeverPool<Foo>::Free(p3); in TEST()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | ArrayListIterationPerfTest.java | 38 public class Foo { class in ArrayListIterationPerfTest 44 ArrayList<Foo> mList = new ArrayList<Foo>(); 46 for (int i = 0; i < 27; ++i) mList.add(new Foo()); in mList.add() argument 53 ArrayList<Foo> list = mList; in timeArrayListIterationIndexed() 65 for (Foo a : mList) { in timeArrayListIterationForEach()
|
D | ArrayIterationPerfTest.java | 36 public class Foo { class in ArrayIterationPerfTest 43 Foo[] mArray = new Foo[27]; 45 for (int i = 0; i < mArray.length; ++i) mArray[i] = new Foo(); 62 Foo[] localArray = mArray; in timeArrayIterationCached() 75 for (Foo a: mArray) { in timeArrayIterationForEach()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/service/ |
D | ObservableServiceConnectionTest.java | 56 static class Foo { class in ObservableServiceConnectionTest 59 Foo(int value) { in Foo() method in ObservableServiceConnectionTest.Foo 66 if (!(o instanceof Foo)) return false; in equals() 67 Foo foo = (Foo) o; in equals() 84 Foo mResult; 93 ObservableServiceConnection.ServiceTransformer<Foo> mTransformer; 96 ObservableServiceConnection.Callback<Foo> mCallback; 114 ObservableServiceConnection<Foo> connection = new ObservableServiceConnection<>(mContext, in testConnect() 134 ObservableServiceConnection<Foo> connection = new ObservableServiceConnection<>(mContext, in testDisconnect() 165 ObservableServiceConnection<Foo> connection = new ObservableServiceConnection<>(mContext, in testUnbind() [all …]
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | ObservableServiceConnectionTest.java | 53 public static class Foo { class in ObservableServiceConnectionTest 56 Foo(int value) { in Foo() method in ObservableServiceConnectionTest.Foo 63 if (!(o instanceof Foo)) return false; in equals() 64 Foo foo = (Foo) o; in equals() 80 private Foo mResult; 84 private ServiceTransformer<Foo> mTransformer; 86 private ObservableServiceConnection.Callback<Foo> mCallback; 88 private ObservableServiceConnection<Foo> mConnection;
|
/frameworks/compile/slang/tests/F_reflection3264_variable_mismatch/ |
D | reflection3264_variable_mismatch.rscript | 4 struct Foo { int f; } foo; 24 struct Foo f; 57 struct Foo u;
|
D | stderr.txt.expect | 5 …obal variable 'f' has type 'struct Bar' for 32-bit targets but type 'struct Foo' for 64-bit targets
|
/frameworks/base/packages/SystemUI/compose/core/tests/src/com/android/compose/animation/scene/ |
D | SceneTransitionLayoutTest.kt | 119 .element(TestElements.Foo) in SceneScope() 120 .testTag(TestElements.Foo.name) in SceneScope() 123 val offset by animateSharedDpAsState(childOffset, TestValues.Value1, TestElements.Foo) in SceneScope() 227 var sharedFoo = rule.onNodeWithTag(TestElements.Foo.name, useUnmergedTree = true) in testSharedElement() 253 sharedFoo = rule.onAllNodesWithTag(TestElements.Foo.name).onFirst() in testSharedElement() 287 sharedFoo = rule.onAllNodesWithTag(TestElements.Foo.name).onFirst() in testSharedElement()
|
D | TestValues.kt | 33 val Foo = ElementKey("Foo") constant
|
D | SwipeToSceneTest.kt | 66 modifier = Modifier.size(LayoutWidth, LayoutHeight).testTag(TestElements.Foo.name), in TestContent()
|
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/LibOne/src/com/android/aapt/staticlib/one/ |
D | StaticLibOne.java | 20 public static int FooId = com.android.aapt.staticlib.one.R.string.Foo;
|
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/LibTwo/src/com/android/aapt/staticlib/two/ |
D | StaticLibTwo.java | 20 public static int FooId = com.android.aapt.staticlib.one.R.string.Foo;
|
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/App/src/com/android/aapt/app/one/ |
D | AppOne.java | 20 public static int FooId = com.android.aapt.staticlib.one.R.string.Foo;
|
/frameworks/base/test-mock/api/ |
D | system-lint-baseline.txt | 3 …Methods creating an Intent should be named `create<Foo>Intent()`, was `registerReceiverForAllUsers`
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | remote_method_tests.cpp | 157 PDX_REMOTE_METHOD(Foo, kOpFoo, int(int, const std::string&)); 182 PDX_REMOTE_API(API, Add, Foo, Concatenate, SumVector, StringLength, 196 int Foo(int a, const std::string& b) { in Foo() function in __anond879f2260111::TestClient 197 return ReturnStatusOrError(InvokeRemoteMethod<TestInterface::Foo>(a, b)); in Foo() 352 case TestInterface::Foo::Opcode: in HandleMessage() 353 DispatchRemoteMethod<TestInterface::Foo>(*this, &TestService::OnFoo, in HandleMessage() 607 const auto length = client->Foo(10, "123"); in TEST_F()
|
/frameworks/native/libs/vr/libpdx/ |
D | serialization_tests.cpp | 47 enum class Foo { kFoo, kBar, kBaz }; enum 52 Foo d; 55 TestType(int a, float b, const std::string& c, Foo d) in TestType() 108 TestType tt(1, 2.0, "three", TestType::Foo::kBar); in TEST() 112 EXPECT_EQ(TestType::Foo::kBar, tt.d); in TEST() 680 enum Foo { kFoo, kBar, kBaz }; in TEST() enum 681 Foo value = kBar; in TEST() 692 enum class Foo { kFoo, kBar, kBaz }; in TEST() enum 693 Foo value = Foo::kBaz; in TEST() 1218 TestType t1{10, 0.0, "12345", TestType::Foo::kBaz}; in TEST() [all …]
|
/frameworks/native/libs/input/tests/ |
D | StructLayout_test.cpp | 25 struct Foo { struct 31 CHECK_OFFSET(Foo, coords, 8); in TestPointerCoordsAlignment()
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules_test.cpp | 216 EXPECT_THAT(actual, HasSubstr("-keep class com.package.Foo { <init>(...); }")); 221 EXPECT_THAT(actual, HasSubstr("-keep class com.package.Foo { <init>(...); }"));
|
/frameworks/base/test-runner/api/ |
D | lint-baseline.txt | 41 Methods creating an Intent should be named `create<Foo>Intent()`, was `registerReceiver`
|
/frameworks/base/core/api/ |
D | test-lint-baseline.txt | 139 Methods creating an Intent should be named `create<Foo>Intent()`, was `getManageKeyphraseIntent`
|