Home
last modified time | relevance | path

Searched refs:build (Results 1 – 25 of 1022) sorted by relevance

12345678910>>...41

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DSparseRectFArrayTest.java60 assertNull(builder.build().get(-1)); in testBuilder()
61 assertNull(builder.build().get(0)); in testBuilder()
62 assertNull(builder.build().get(99)); in testBuilder()
63 assertEquals(0, builder.build().getFlags(99, 0 /* valueIfKeyNotFound */)); in testBuilder()
64 assertEquals(1, builder.build().getFlags(99, 1 /* valueIfKeyNotFound */)); in testBuilder()
65 assertEquals(TEMP_RECT, builder.build().get(100)); in testBuilder()
66 assertEquals(TEMP_FLAGS, builder.build().getFlags(100, 0 /* valueIfKeyNotFound */)); in testBuilder()
67 assertEquals(TEMP_FLAGS, builder.build().getFlags(100, 1 /* valueIfKeyNotFound */)); in testBuilder()
68 assertNull(builder.build().get(101)); in testBuilder()
69 assertEquals(0, builder.build().getFlags(101, 0 /* valueIfKeyNotFound */)); in testBuilder()
[all …]
DCursorAnchorInfoTest.java106 final CursorAnchorInfo info = builder.build(); in testBuilder()
131 final CursorAnchorInfo info2 = builder.build(); in testBuilder()
184 final CursorAnchorInfo uninitializedInfo = builder.build(); in testBuilder()
234 assertEquals(new Builder().build(), new Builder().build()); in testEquality()
237 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END1).build(), in testEquality()
238 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END1).build()); in testEquality()
240 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END1).build(), in testEquality()
241 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END2).build()); in testEquality()
243 new Builder().setSelectionRange(SELECTION_START1, SELECTION_END1).build(), in testEquality()
244 new Builder().setSelectionRange(SELECTION_START2, SELECTION_END1).build()); in testEquality()
[all …]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
DScanFilterTest.java62 ScanFilter filter = mFilterBuilder.setDeviceName("Ped").build(); in testsetNameFilter()
65 filter = mFilterBuilder.setDeviceName("Pem").build(); in testsetNameFilter()
72 ScanFilter filter = mFilterBuilder.setDeviceAddress(DEVICE_MAC).build(); in testDeviceFilter()
75 filter = mFilterBuilder.setDeviceAddress("11:22:33:44:55:66").build(); in testDeviceFilter()
82 ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB")).build(); in testsetServiceUuidFilter()
86 ParcelUuid.fromString("0000110C-0000-1000-8000-00805F9B34FB")).build(); in testsetServiceUuidFilter()
92 .build(); in testsetServiceUuidFilter()
101 ScanFilter filter = mFilterBuilder.setServiceData(serviceDataUuid, setServiceData).build(); in testsetServiceDataFilter()
105 filter = mFilterBuilder.setServiceData(serviceDataUuid, emptyData).build(); in testsetServiceDataFilter()
110 filter = mFilterBuilder.setServiceData(serviceDataUuid, prefixData).build(); in testsetServiceDataFilter()
[all …]
DAdvertiseDataTest.java43 AdvertiseData data = mAdvertiseDataBuilder.build(); in testEmptyData()
54 AdvertiseData data = mAdvertiseDataBuilder.setIncludeDeviceName(true).build(); in testEmptyServiceUuid()
69 .addManufacturerData(manufacturerId, manufacturerData).build(); in testEmptyManufacturerData()
84 .addServiceData(uuid, serviceData).build(); in testEmptyServiceData()
100 .addServiceUuid(uuid).addServiceUuid(uuid2).build(); in testServiceUuid()
120 .addManufacturerData(manufacturerId, manufacturerData).build(); in testManufacturerData()
137 .addServiceData(uuid, serviceData).build(); in testServiceData()
/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/
DIndentingPrintWriterBenchmark.java42 final Node manyChildren = Node.build("ManyChildren", Node.build("1"), Node.build("2"), in setUp()
43 Node.build("3"), Node.build("4"), Node.build("5"), Node.build("6"), Node.build("7"), in setUp()
44 Node.build("8"), Node.build("9"), Node.build("10")); in setUp()
46 mSimple = Node.build("RED"); in setUp()
47 mComplex = Node.build("PARENT", Node.build("RED"), Node.build("GREEN", in setUp()
48 Node.build("BLUE", manyChildren, manyChildren), manyChildren, manyChildren), in setUp()
105 public static Node build(String name, Node... children) { in build() method in IndentingPrintWriterBenchmark.Node
/frameworks/base/tools/aapt2/link/
DReferenceLinker_test.cpp35 .build(); in TEST()
44 .build()) in TEST()
45 .build(); in TEST()
73 .build()) in TEST()
74 .build(); in TEST()
95 .build()) in TEST()
101 .build()) in TEST()
102 .build()) in TEST()
103 .build(); in TEST()
135 .build()) in TEST()
[all …]
DProductFilter_test.cpp26 std::unique_ptr<IAaptContext> context = test::ContextBuilder().build(); in TEST()
35 .setSource(Source("land/default.xml")).build(), in TEST()
40 .setSource(Source("land/tablet.xml")).build(), in TEST()
46 .setSource(Source("port/default.xml")).build(), in TEST()
51 .setSource(Source("port/tablet.xml")).build(), in TEST()
68 std::unique_ptr<IAaptContext> context = test::ContextBuilder().build(); in TEST()
74 .setSource(Source("default.xml")).build(), in TEST()
79 .setSource(Source("tablet.xml")).build(), in TEST()
94 std::unique_ptr<IAaptContext> context = test::ContextBuilder().build(); in TEST()
100 .setSource(Source("default.xml")).build(), in TEST()
[all …]
DTableMerger_test.cpp41 .build(); in SetUp()
52 .build()) in TEST_F()
53 .build(); in TEST_F()
58 .build(); in TEST_F()
121 .build(); in TEST_F()
125 .build(); in TEST_F()
148 .build(); in TEST_F()
152 .build(); in TEST_F()
171 .build(); in TEST_F()
175 .build(); in TEST_F()
[all …]
DXmlReferenceLinker_test.cpp36 .build()) in SetUp()
39 .setTypeMask(android::ResTable_map::TYPE_COLOR).build()) in SetUp()
41 test::AttributeBuilder().build()) in SetUp()
45 .build()) in SetUp()
49 test::AttributeBuilder().build()) in SetUp()
60 .setTypeMask(android::ResTable_map::TYPE_COLOR).build()) in SetUp()
63 .setTypeMask(android::ResTable_map::TYPE_COLOR).build()) in SetUp()
65 test::AttributeBuilder().build()) in SetUp()
66 .build()) in SetUp()
67 .build(); in SetUp()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java101 AudioAttributes.USAGE_NOTIFICATION_RINGTONE).build())
108 .build();
121 .build();
129 .build();
137 .build();
146 .build();
159 .build();
167 .build();
175 .build();
189 .build();
[all …]
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator_test.cpp30 .build(); in TEST()
35 .build(); in TEST()
47 test::AttributeBuilder(false).build()) in TEST()
51 .build()) in TEST()
52 .build(); in TEST()
57 .build(); in TEST()
80 .build(); in TEST()
85 .build(); in TEST()
102 .build(); in TEST()
107 .build(); in TEST()
[all …]
/frameworks/support/tests/java/android/support/v4/app/
DNotificationCompatActionWearableExtenderTest.java76 .build(); in testEmptyNotification()
78 .build(); in testEmptyNotification()
94 .addAction(baseAction.build()); in testDefaultActionNotification()
97 .addAction(compatAction.build()); in testDefaultActionNotification()
100 .extend(baseNoteExtender).build(); in testDefaultActionNotification()
102 .extend(compatNoteExtender).build(); in testDefaultActionNotification()
125 .addAction(baseAction.build()); in testDefaultActionExtenderNotification()
128 .addAction(compatAction.build()); in testDefaultActionExtenderNotification()
131 .extend(baseNoteExtender).build(); in testDefaultActionExtenderNotification()
133 .extend(compatNoteExtender).build(); in testDefaultActionExtenderNotification()
[all …]
/frameworks/base/docs/html/ndk/guides/
Dndk-build.jd1 page.title=ndk-build
19 <p>The {@code ndk-build} file is a shell script introduced in Android NDK r4. Its purpose
20 is to invoke the right NDK build script.
24 <p>Running the {@code ndk-build} script is equivalent to running the following command:</p>
27 $GNUMAKE -f &lt;ndk&gt;/build/core/build-local.mk
33 this information to invoke ndk-build from other shell scripts, or even your own
37 <p>The {@code ndk-build} file lives in the top level the NDK installation directory. To run it
43 $ &lt;ndk&gt;/ndk-build
52 <p>All parameters to ndk-build are passed directly to the underlying GNU {@code make}
53 command that runs the NDK build scripts. Combine <code>ndk-build</code> and
[all …]
Dbuild.jd4 <p>One of the NDK's core purposes is allowing you to build C and C++ source code into shared
7 <p>This section explains how to build native binaries for use in your Android app. It begins by
13 app. Next, it tells you how to use the <a href="{@docRoot}ndk/guides/ndk-build.html">
14 {@code ndk-build}</a> script, which is what the NDK uses to build your sources. Last, it ventures
17 build that way instead of using
18 <a href="{@docRoot}ndk/guides/ndk-build.html">{@code ndk-build}</a>.</p>
Dandroid_mk.jd18 <p>This page describes the syntax of the {@code Android.mk} build file,
23 and describes your sources and shared libraries to the build system. It is really a tiny GNU
24 makefile fragment that the build system parses once or more. The {@code Android.mk} file is useful
26 Application.mk}</a>, the build system, and your
33 you can use the same source file in multiple modules. The build system only places shared libraries
36 <p>In addition to packaging libraries, the build system handles a variety of other details for you.
38 your {@code Android.mk} file. The NDK build system computes these relationships automatically for
44 build system implementation that uses them is different, their similarity is an
61 function {@code my-dir}, provided by the build system, returns the path of the current directory
64 <p>The next line declares the {@code CLEAR_VARS} variable, whose value the build system provides.
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DPrioritySchedulingTest.java57 .build(); in testLowerPriorityJobPreempted()
61 .build(); in testLowerPriorityJobPreempted()
65 .build(); in testLowerPriorityJobPreempted()
70 .build(); in testLowerPriorityJobPreempted()
95 .build(); in testHigherPriorityJobNotPreempted()
99 .build(); in testHigherPriorityJobNotPreempted()
103 .build(); in testHigherPriorityJobNotPreempted()
108 .build(); in testHigherPriorityJobNotPreempted()
/frameworks/data-binding/extensions/library/
Dbuild.gradle16 import com.android.build.api.transform.Format;
17 import com.android.build.api.transform.QualifiedContent;
18 import com.android.build.api.transform.QualifiedContent.ContentType;
19 import com.android.build.api.transform.QualifiedContent.Scope;
20 import com.android.build.api.transform.Transform;
21 import com.android.build.api.transform.Context;
22 import com.android.build.api.transform.TransformInput;
23 import com.android.build.api.transform.TransformOutputProvider;
24 import com.android.build.api.transform.TransformException;
25 import com.android.build.gradle.internal.pipeline.TransformManager;
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java39 Uri uri = builder.build(); in testToStringWithPathOnly()
53 .build()); in testParcelling()
64 u = u.buildUpon().build(); in parcelAndUnparcel()
76 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUponOpaqueStringUri()
146 .build(); in testEqualsAndHashCode()
155 .build(); in testEqualsAndHashCode()
195 Uri b = a.buildUpon().fragment("new").build(); in testBuildUponOpaqueUri()
207 .build(); in testBuildUponEncodedOpaqueUri()
208 Uri b = a.buildUpon().fragment("new").build(); in testBuildUponEncodedOpaqueUri()
226 .build(); in testSms()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTouchAnimatorTests.java40 .build(); in testSetValueFloat()
55 .build(); in testSetValueInt()
71 .build(); in testStartDelay()
90 .build(); in testEndDelay()
108 .build(); in testOnAnimationAtStartCallback()
132 .build(); in testOnAnimationAtEndCallback()
156 .build(); in testOnAnimationStartedCallback()
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/
D.gitignore10 /build/*
11 !/build/intermediates/
13 /build/intermediates/*
14 !/build/intermediates/classes/
/frameworks/base/tools/aapt2/
DResourceTable_test.cpp37 test::ValueBuilder<Id>().setSource("test.xml", 21u).build(), in TEST()
43 test::ValueBuilder<Id>().setSource("test.xml", 21u).build(), in TEST()
54 .setSource("test/path/file.xml", 23u).build(), in TEST()
71 test::ValueBuilder<Id>().setSource("test/path/file.xml", 10u).build(), in TEST()
78 test::ValueBuilder<Id>().setSource("test/path/file.xml", 12u).build(), in TEST()
85 test::ValueBuilder<Id>().setSource("test/path/file.xml", 14u).build(), in TEST()
94 .build(), in TEST()
/frameworks/base/tools/aapt2/compile/
DIdAssigner_test.cpp34 .build(); in TEST()
36 std::unique_ptr<IAaptContext> context = test::ContextBuilder().build(); in TEST()
51 .build(); in TEST()
53 std::unique_ptr<IAaptContext> context = test::ContextBuilder().build(); in TEST()
66 .build(); in TEST()
68 std::unique_ptr<IAaptContext> context = test::ContextBuilder().build(); in TEST()
/frameworks/multidex/
Dbuild.gradle8 classpath 'com.android.tools.build:gradle:0.10.0'
18 * With the build server you are given two env variables.
19 * The OUT_DIR is a temporary directory you can use to put things during the build.
20 * The DIST_DIR is where you want to save things from the build.
22 * The build server will copy the contents of DIST_DIR to somewhere and make it available.
25 buildDir = new File(System.env.OUT_DIR + '/gradle/frameworks/support/build').getCanonicalFile()
28 buildDir = file('../../out/host/gradle/frameworks/support/build')
34 // Main task called by the build server.
128 project.buildDir = project.file("$project.parent.buildDir/../$project.name/build")
150 if ("com.android.build.gradle.LibraryPlugin".equals(plugin.class.name)) {
/frameworks/base/tools/aapt2/process/
DSymbolTable_test.cpp27 test::AttributeBuilder().build()) in TEST()
28 .build(); in TEST()
43 test::AttributeBuilder().build()) in TEST()
44 .build(); in TEST()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java114 .build(); in singleScanSuccess()
127 .build(); in singleScanSuccessWithChannels()
143 .build(); in singleScanSuccessWithFullResults()
162 .build(); in singleScanSuccessWithHiddenNetworkIds()
185 .build(); in singleScanSuccessWithTruncatedHiddenNetworkIds()
203 .build(); in overlappingSingleScanFails()
211 .build(); in overlappingSingleScanFails()
229 .build(); in singleScanFailOnExecute()
259 .build(); in singleScanFailOnTimeout()
293 .build(); in singleScanFailOnFailedEvent()
[all …]

12345678910>>...41