/frameworks/base/cmds/idmap2/tests/ |
D | CommandLineOptionsTests.cpp | 42 bool bar = false; in TEST() local 44 CommandLineOptions("test").OptionalFlag("--foo", "", &foo).OptionalFlag("--bar", "", &bar); in TEST() 49 ASSERT_TRUE(bar); in TEST() 51 foo = bar = false; in TEST() 55 ASSERT_FALSE(bar); in TEST() 60 std::string bar; in TEST() local 63 .MandatoryOption("--bar", "", &bar); in TEST() 67 ASSERT_EQ(bar, "BAR"); in TEST() 93 std::string bar; in TEST() local 96 .OptionalOption("--bar", "", &bar); in TEST() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/ |
D | GPBDictionaryTests+String.m | 43 //%PDDM-EXPAND TESTS_FOR_POD_VALUES(String, NSString, *, Objects, @"foo", @"bar", @"baz", @"mumble") 113 XCTAssertFalse([dict getUInt32:NULL forKey:@"bar"]); 122 const NSString *kKeys[] = { @"foo", @"bar", @"baz" }; 134 XCTAssertTrue([dict getUInt32:NULL forKey:@"bar"]); 135 XCTAssertTrue([dict getUInt32:&value forKey:@"bar"]); 177 const NSString *kKeys1[] = { @"foo", @"bar", @"baz", @"mumble" }; 178 const NSString *kKeys2[] = { @"bar", @"foo", @"mumble" }; 231 const NSString *kKeys[] = { @"foo", @"bar", @"baz", @"mumble" }; 252 const NSString *kKeys[] = { @"foo", @"bar", @"baz", @"mumble" }; 278 const NSString *kKeys[] = { @"bar", @"baz", @"mumble" }; [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/ |
D | printer_unittest.cc | 234 const GeneratedCodeInfo::Annotation* bar = info.annotation(0).path_size() == 1 in TEST() local 238 ASSERT_EQ(2, bar->path_size()); in TEST() 240 EXPECT_EQ(11, bar->path(0)); in TEST() 241 EXPECT_EQ(22, bar->path(1)); in TEST() 243 EXPECT_EQ("path_2", bar->source_file()); in TEST() 246 EXPECT_EQ(5, bar->begin()); in TEST() 247 EXPECT_EQ(6, bar->end()); in TEST() 274 const GeneratedCodeInfo::Annotation* bar = info.annotation(0).path_size() == 1 in TEST() local 278 ASSERT_EQ(2, bar->path_size()); in TEST() 280 EXPECT_EQ(11, bar->path(0)); in TEST() [all …]
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | PaintActivity.java | 92 private void showToolbar(View bar) { in showToolbar() argument 93 if (bar.getVisibility() != View.GONE) return; in showToolbar() 94 bar.setVisibility(View.VISIBLE); in showToolbar() 95 bar.setTranslationY(toolbar.getHeight()/2); in showToolbar() 96 bar.animate() in showToolbar() 103 private void hideToolbar(View bar) { in hideToolbar() argument 104 if (bar.getVisibility() != View.VISIBLE) return; in hideToolbar() 105 bar.animate() in hideToolbar() 112 bar.setVisibility(View.GONE); in hideToolbar() 118 private void toggleToolbar(View bar) { in toggleToolbar() argument [all …]
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/ |
D | breakpoint_inlined_sourceline.rs | 30 static int bar() { 35 return bar(); 39 bar();
|
D | breakpoint_inlined_function.rs | 31 static int bar() { 36 return bar(); 40 bar();
|
D | crash.rs | 26 static int bar() { 31 return bar(); 35 bar();
|
D | breakpoint_sourceline.rs | 26 static int bar() { 31 return bar(); 35 bar();
|
D | breakpoint_function.rs | 27 static int bar() { 32 return bar(); 36 bar();
|
D | global_int.rs | 32 static int bar() { 37 return bar(); 41 bar();
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | parser_unittest.cc | 2548 const DescriptorProto& bar = file_.message_type(0).nested_type(0); in TEST_F() local 2549 const DescriptorProto& baz = bar.nested_type(0); in TEST_F() 2552 EXPECT_TRUE(HasSpan('a', 'h', bar)); in TEST_F() 2553 EXPECT_TRUE(HasSpan('b', 'c', bar, "name")); in TEST_F() 2574 const DescriptorProto& bar = file_.message_type(0).nested_type(0); in TEST_F() local 2594 EXPECT_TRUE(HasSpan(bar)); in TEST_F() 2595 EXPECT_TRUE(HasSpan(bar, "name")); in TEST_F() 2620 const EnumValueDescriptorProto& bar = file_.enum_type(0).value(0); in TEST_F() local 2623 EXPECT_TRUE(HasSpan('a', 'e', bar)); in TEST_F() 2624 EXPECT_TRUE(HasSpan('a', 'b', bar, "name")); in TEST_F() [all …]
|
D | importer_unittest.cc | 176 const FileDescriptor* bar = importer_.Import("bar.proto"); in TEST_F() local 179 ASSERT_TRUE(bar != NULL); in TEST_F() 183 EXPECT_EQ(bar, foo->dependency(0)); in TEST_F() 187 ASSERT_EQ(1, bar->message_type_count()); in TEST_F() 191 EXPECT_EQ(bar->message_type(0), in TEST_F()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | ProgressBarMixin.java | 103 final ProgressBar bar = peekProgressBar(); in setColor() local 104 if (bar != null) { in setColor() 105 bar.setIndeterminateTintList(color); in setColor() 113 bar.setProgressBackgroundTintList(color); in setColor()
|
/frameworks/compile/libbcc/tests/debuginfo/host-tests/ |
D | func_invoke_and_crash.cpp | 23 static int bar() { in bar() function 28 return bar(); in main()
|
D | test_info_sources.cpp | 25 static int bar() { in bar() function 30 return bar(); in main()
|
D | aggregate-indirect-arg.cpp | 19 void bar(SVal &v) {} in bar() function 22 void foo(SVal v) { bar(v); } in foo()
|
/frameworks/base/tools/aapt2/ |
D | ResourceParser_test.cpp | 100 ASSERT_TRUE(TestParse(R"(<string name="bar">Isn\'t it cool?</string>)")); in TEST_F() 120 str = test::GetValue<String>(&table_, "string/bar"); in TEST_F() 325 <attr name="bar"/>)"; in TEST_F() 343 <declare-styleable name="bar"> in TEST_F() 403 <enum name="bar" value="0"/> in TEST_F() 430 <flag name="bar" value="0"/> in TEST_F() 462 <enum name="bar" value="0"/> in TEST_F() 472 <item name="bar">#ffffffff</item> in TEST_F() 521 EXPECT_THAT(style->entries[0].key.name, Eq(make_value(test::ParseNameOrDie("android:attr/bar")))); in TEST_F() 545 Style* style = test::GetValue<Style>(&table_, "style/foo.bar"); in TEST_F() [all …]
|
/frameworks/compile/slang/lit-tests/P_ref_count/ |
D | ref_count.rs | 16 static rs_element bar() { 32 rs_element e = bar();
|
D | func_params.rs | 47 static void bar(int a0, rs_element a1, float a2, struct Wrapper a3) { 59 bar(3, e, 2.718f, w);
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules_test.cpp | 191 bar_layout->file.name = test::ParseNameOrDie("com.foo:layout/bar"); 222 EXPECT_THAT(actual, HasSubstr("int bar")); 229 EXPECT_THAT(actual, HasSubstr("int bar")); 241 set.AddReference({test::ParseNameOrDie("layout/bar"), {}}, layout->file.name); 249 EXPECT_THAT(actual, HasSubstr("int bar")); 256 EXPECT_THAT(actual, HasSubstr("int bar"));
|
/frameworks/compile/slang/tests/F_vector_cast/ |
D | vector_cast.rs | 24 static uchar4 bar(uchar4 u) { 31 u = bar((uchar4) c);
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | proto_builder_test.py | 66 proto.bar = 'asdf' 77 proto.bar = 'asdf'
|
/frameworks/base/packages/SystemUI/docs/ |
D | plugin_hooks.md | 5 Use: Allows plugin access to the status bar and nav bar window for whatever nefarious purposes you … 22 Use: Allows a plugin to create a new nav bar button, or override an existing one with a view of its… 27 Use: Allows touch events from the nav bar to be intercepted and used for other gestures.
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | LiteEqualsAndHashTest.java | 83 Bar bar = Bar.newBuilder().setName("bar").build(); in testEquals() local 85 assertFalse(bar.equals(barPrime)); in testEquals()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 66 SpannableString bar = new SpannableString("bar"); in testBasic() local 67 bar.setSpan("bar", 1, 2, Spannable.SPAN_EXCLUSIVE_INCLUSIVE); in testBasic() 73 assertEquals("foobar", TextUtils.concat(foo, bar).toString()); in testBasic() 74 assertEquals("foobarbaz", TextUtils.concat(foo, bar, baz).toString()); in testBasic() 78 assertEquals(1, ((Spanned) TextUtils.concat(foo, bar)).getSpanStart("foo")); in testBasic() 79 assertEquals(4, ((Spanned) TextUtils.concat(foo, bar)).getSpanStart("bar")); in testBasic() 81 assertEquals(1, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("foo")); in testBasic() 82 assertEquals(4, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("bar")); in testBasic() 83 assertEquals(7, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("baz")); in testBasic() 86 assertTrue(TextUtils.concat(foo, bar) instanceof SpannedString); in testBasic()
|