Home
last modified time | relevance | path

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

12345678910>>...30

/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/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java123 AudioAttributes.USAGE_NOTIFICATION_RINGTONE).build());
128 .build();
139 .build();
145 .build();
153 .build();
160 .build();
171 .build();
177 .build();
183 .build();
195 .build();
[all …]
/frameworks/support/compat/tests/java/android/support/v4/app/
DNotificationCompatTest.java76 .build(); in testBadgeIcon()
90 .build(); in testTimeout()
103 .build(); in testShortcutId()
116 .build(); in testNotificationChannel()
128 .build(); in testNotificationChannel_assignedFromBuilder()
138 Notification n = newNotificationBuilder().setColorized(true).build(); in testNotificationActionBuilder_assignsColorized()
147 Notification n = newNotificationBuilder().setColorized(false).build(); in testNotificationActionBuilder_unassignesColorized()
156 Notification n = newNotificationBuilder().build(); in testNotificationActionBuilder_doesntAssignColorized()
166 .addRemoteInput(new RemoteInput("a", "b", null, false, null, null)).build(); in testNotificationActionBuilder_copiesRemoteInputs()
168 NotificationCompat.Action aCopy = new NotificationCompat.Action.Builder(a).build(); in testNotificationActionBuilder_copiesRemoteInputs()
[all …]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java115 AccessPoint activeAp = new TestAccessPointBuilder(mContext).setActive(true).build(); in testCompareTo_GivesActiveBeforeInactive()
116 AccessPoint inactiveAp = new TestAccessPointBuilder(mContext).setActive(false).build(); in testCompareTo_GivesActiveBeforeInactive()
123 AccessPoint nearAp = new TestAccessPointBuilder(mContext).setReachable(true).build(); in testCompareTo_GivesReachableBeforeUnreachable()
124 AccessPoint farAp = new TestAccessPointBuilder(mContext).setReachable(false).build(); in testCompareTo_GivesReachableBeforeUnreachable()
131 AccessPoint savedAp = new TestAccessPointBuilder(mContext).setSaved(true).build(); in testCompareTo_GivesSavedBeforeUnsaved()
132 AccessPoint notSavedAp = new TestAccessPointBuilder(mContext).setSaved(false).build(); in testCompareTo_GivesSavedBeforeUnsaved()
145 AccessPoint strongAp = new TestAccessPointBuilder(mContext).setLevel(highLevel).build(); in testCompareTo_GivesHighLevelBeforeLowLevel()
146 AccessPoint weakAp = new TestAccessPointBuilder(mContext).setLevel(lowLevel).build(); in testCompareTo_GivesHighLevelBeforeLowLevel()
157 AccessPoint firstAp = new TestAccessPointBuilder(mContext).setSsid(firstName).build(); in testCompareTo_GivesSsidAlphabetically()
158 AccessPoint secondAp = new TestAccessPointBuilder(mContext).setSsid(secondName).build(); in testCompareTo_GivesSsidAlphabetically()
[all …]
/frameworks/support/media-compat/tests/src/android/support/v4/media/
DAudioAttributesCompatTest.java65 .build(); in setUpApi21()
73 AudioAttributesCompat.USAGE_MEDIA).build(); in setUp()
74 mMediaLegacyAAC = mkBuilder(AudioManager.STREAM_MUSIC).build(); in setUp()
78 .build(); in setUp()
79 mNotificationLegacyAAC = mkBuilder(AudioManager.STREAM_NOTIFICATION).build(); in setUp()
89 equalTo(new AudioAttributes.Builder((AudioAttributes) mMediaAA).build())); in testCreateWithAudioAttributesApi21()
105 equalTo(new AudioAttributesCompat.Builder(mMediaAAC).build())); in testEquality()
111 equalTo(new AudioAttributesCompat.Builder(mNotificationAAC).build())); in testEquality()
146 AudioAttributesCompat.USAGE_MEDIA).build(); in testLegacyStreamTypeInferenceInLegacyMode()
147 AudioAttributesCompat mediaLegacyAAC = mkBuilder(AudioManager.STREAM_MUSIC).build(); in testLegacyStreamTypeInferenceInLegacyMode()
[all …]
/frameworks/support/samples/SupportLeanbackShowcase/
Dbuild.gradle1 // Top-level build file where you can add configuration options common to all sub-projects/modules.
5 // python build-local.py to build the local verison. That script will
7 // library and update local.properties file. Gradle build file in turn
21 classpath 'com.android.tools.build:gradle:2.2.1'
24 // in the individual module build.gradle files
30 maven { url "${localRepo}/out/host/gradle/frameworks/support/build/support_repo/"}
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DVisualVoicemailSmsFilterTest.java103 setSettings(new VisualVoicemailSmsFilterSettings.Builder().build()); in testUnsupportedPdu()
113 setSettings(new VisualVoicemailSmsFilterSettings.Builder().build()); in testOriginatingNumber_unspecified_filtered()
122 ).build()); in testOriginatingNumber_match_filtered()
131 ).build()); in testOriginatingNumber_mismatch_notFiltered()
138 .setDestinationPort(123).build()); in testDestinationPort_anyMatch_filtered()
146 .build()); in testDestinationPort_anyData_filtered()
154 .build()); in testDestinationPort_anyData_textReceived_notFiltered()
162 .setDestinationPort(123).build()); in testDestinationPort_mismatch_notFiltered()
/frameworks/base/services/core/java/com/android/server/power/
DBatterySaverPolicy.java229 .build(); in getBatterySaverPolicy()
235 .build(); in getBatterySaverPolicy()
238 .build(); in getBatterySaverPolicy()
241 .build(); in getBatterySaverPolicy()
244 .build(); in getBatterySaverPolicy()
247 .build(); in getBatterySaverPolicy()
251 .build(); in getBatterySaverPolicy()
254 .build(); in getBatterySaverPolicy()
257 .build(); in getBatterySaverPolicy()
260 .build(); in getBatterySaverPolicy()
[all …]
/frameworks/native/libs/vr/
DCPPLINT.cfg2 filter=-build/include_order,-legal/copyright,-build/include,-build/c++11,+build/include_alpha
/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/tools/layoutlib/bridge/tests/res/testApp/MyApplication/
D.gitignore10 /build/*
11 !/build/intermediates/
13 /build/intermediates/*
14 !/build/intermediates/classes/
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTouchAnimatorTest.java46 .build(); in testSetValueFloat()
62 .build(); in testSetValueInt()
79 .build(); in testStartDelay()
99 .build(); in testEndDelay()
118 .build(); in testOnAnimationAtStartCallback()
143 .build(); in testOnAnimationAtEndCallback()
168 .build(); in testOnAnimationStartedCallback()
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/
DPlaybackStateCompatTest.java65 PlaybackStateCompat state = new PlaybackStateCompat.Builder().build(); in testBuilder()
102 .build(); in testBuilder_setterMethods()
127 .build(); in testBuilder_setStateWithUpdateTime()
146 .build()); in testBuilder_addCustomAction()
151 PlaybackStateCompat state = builder.build(); in testBuilder_addCustomAction()
174 .build()); in testBuilder_addCustomActionWithCustomActionObject()
178 .build()); in testBuilder_addCustomActionWithCustomActionObject()
181 PlaybackStateCompat state = builder.build(); in testBuilder_addCustomActionWithCustomActionObject()
214 .build()); in testWriteToParcel()
216 PlaybackStateCompat state = builder.build(); in testWriteToParcel()
[all …]
/frameworks/multidex/
Dbuild.gradle26 classpath 'com.android.tools.build:gradle:2.3.0'
51 * With the build server you are given two env variables.
52 * The OUT_DIR is a temporary directory you can use to put things during the build.
53 * The DIST_DIR is where you want to save things from the build.
55 * The build server will copy the contents of DIST_DIR to somewhere and make it available.
58 buildDir = new File(System.env.OUT_DIR + '/gradle/frameworks/support/build').getCanonicalFile()
61 buildDir = file('../../out/host/gradle/frameworks/support/build')
76 project.buildDir = project.file("${project.parent.buildDir}/../${project.name}/build")
106 if ("com.android.build.gradle.LibraryPlugin".equals(plugin.class.name)) {
/frameworks/base/services/tests/notification/src/com/android/server/notification/
DNotificationComparatorTest.java105 .build(); in setUp()
115 .build(); in setUp()
124 .build(); in setUp()
131 .setStyle(new Notification.MessagingStyle("sender!")).build(); in setUp()
139 .setCategory(Notification.CATEGORY_MESSAGE).build(); in setUp()
145 Notification n6 = new Notification.Builder(mContext, TEST_CHANNEL_ID).build(); in setUp()
152 Notification n7 = new Notification.Builder(mContext, TEST_CHANNEL_ID).build(); in setUp()
159 Notification n8 = new Notification.Builder(mContext, TEST_CHANNEL_ID).build(); in setUp()
169 .build(); in setUp()
177 .setStyle(new Notification.InboxStyle().setSummaryText("message!")).build(); in setUp()
[all …]
/frameworks/support/tv-provider/tests/src/android/support/media/tv/
DProgramTest.java58 .build(); in testEmptyProgram()
76 .build(); in testSampleProgram()
81 Program clonedSampleProgram = new Program.Builder(sampleProgram).build(); in testSampleProgram()
93 Program clonedFullyPopulatedProgram = new Program.Builder(fullyPopulatedProgram).build(); in testFullyPopulatedProgram()
105 .build(); in testChannelWithSystemContentProvider()
127 .build(); in testProgramUpdateWithContentProvider()
142 .setDescription("description1").build(); in testProgramUpdateWithContentProvider()
150 .setLongDescription(null).build(); in testProgramUpdateWithContentProvider()
157 ContentValues values = new Program.Builder().setDescription("description2").build() in testProgramUpdateWithContentProvider()
163 .setDescription("description2").build(); in testProgramUpdateWithContentProvider()
[all …]
/frameworks/base/tests/TouchLatency/
Dbuild.gradle1 // Top-level build file where you can add configuration options common to all sub-projects/modules.
8 classpath 'com.android.tools.build:gradle:1.1.0'
11 // in the individual module build.gradle files
/frameworks/data-binding/
DsupportBundle.gradle21 * With the build server you are given two env variables.
22 * The OUT_DIR is a temporary directory you can use to put things during the build.
23 * The DIST_DIR is where you want to save things from the build.
25 * The build server will copy the contents of DIST_DIR to somewhere and make it available.
28 buildDir = new File(System.env.OUT_DIR + '/gradle/frameworks/support/build').getCanonicalFile()
31 …// the build server does not pass the build number so we infer it from the last folder of the dist…
34 buildDir = file('../../out/host/gradle/frameworks/support/build')
40 // Main task called by the build server.
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java120 .build(); in singleScanSuccess()
134 .build(); in singleScanSuccessWithChannels()
150 .build(); in singleScanSuccessWithFullResults()
170 .build(); in singleScanSuccessWithHiddenNetworkIds()
198 .build(); in singleScanSuccessWithTruncatedHiddenNetworkIds()
216 .build(); in overlappingSingleScanFails()
224 .build(); in overlappingSingleScanFails()
242 .build(); in singleScanFailOnExecute()
272 .build(); in singleScanFailOnTimeout()
306 .build(); in singleScanFailOnFailedEvent()
[all …]

12345678910>>...30