Home
last modified time | relevance | path

Searched defs:builder (Results 1 – 25 of 501) sorted by relevance

12345678910>>...21

/frameworks/base/core/tests/coretests/src/android/metrics/
DLogMakerTest.java29 LogMaker builder = new LogMaker(0); in testSerialize() local
49 LogMaker builder = new LogMaker(category); in testSerializeDeserialize() local
76 LogMaker builder = new LogMaker(0); in testIntBucket() local
84 LogMaker builder = new LogMaker(0); in testLongBucket() local
91 LogMaker builder = new LogMaker(0); in testInvalidInputThrows() local
103 LogMaker builder = new LogMaker(0); in testValidInputTypes() local
117 LogMaker builder = new LogMaker(10); in testCategoryDefault() local
124 LogMaker builder = new LogMaker(0); in testClearData() local
131 LogMaker builder = new LogMaker(0); in testClearFieldLeavesOtherFieldsIntact() local
140 LogMaker builder = new LogMaker(0); in testSetAndClearCategory() local
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java37 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyAllowedToDisallowed() local
62 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyAllowedToUnset() local
79 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyDisallowedToUnset() local
97 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyDisallowedToAllowed() local
115 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyUnsetToAllowed() local
133 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyMoreSevereCallSenders() local
151 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyLessSevereCallSenders() local
169 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyMoreSevereMessageSenders() local
187 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyMessagesInvalid() local
197 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyCallsInvalid() local
[all …]
DNotificationIntrusivenessExtractorTest.java44 final Notification.Builder builder = new Notification.Builder(getContext()) in testNonIntrusive() local
59 final Notification.Builder builder = new Notification.Builder(getContext()) in testIntrusive_fillScreen() local
77 final Notification.Builder builder = new Notification.Builder(getContext()) in testOldNotificationsNotIntrusive() local
/frameworks/base/tests/net/java/android/net/
DIkev2VpnProfileTest.java86 final Ikev2VpnProfile.Builder builder = in getBuilderWithDefaultOptions() local
99 final Ikev2VpnProfile.Builder builder = getBuilderWithDefaultOptions(); in testBuildValidProfileWithOptions() local
117 final Ikev2VpnProfile.Builder builder = getBuilderWithDefaultOptions(); in testBuildUsernamePasswordProfile() local
134 final Ikev2VpnProfile.Builder builder = getBuilderWithDefaultOptions(); in testBuildDigitalSignatureProfile() local
151 final Ikev2VpnProfile.Builder builder = getBuilderWithDefaultOptions(); in testBuildPresharedKeyProfile() local
168 final Ikev2VpnProfile.Builder builder = getBuilderWithDefaultOptions(); in testBuildWithAllowedAlgorithmsAead() local
180 final Ikev2VpnProfile.Builder builder = getBuilderWithDefaultOptions(); in testBuildWithAllowedAlgorithmsNormal() local
193 final Ikev2VpnProfile.Builder builder = getBuilderWithDefaultOptions(); in testSetAllowedAlgorithmsEmptyList() local
204 final Ikev2VpnProfile.Builder builder = getBuilderWithDefaultOptions(); in testSetAllowedAlgorithmsInvalidList() local
222 final Ikev2VpnProfile.Builder builder = getBuilderWithDefaultOptions(); in testSetAllowedAlgorithmsInsecureAlgorithm() local
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DInProgressCallSessionTest.java54 CallSessionEventBuilder builder = new CallSessionEventBuilder( in testAddEvent() local
69 CallSessionEventBuilder builder = new CallSessionEventBuilder( in testEventDropped() local
87 CallSessionEventBuilder builder = new CallSessionEventBuilder( in testAddCallQualityEvent() local
124 CallSessionEventBuilder builder = new CallSessionEventBuilder( in testAddCallQualitySummaryEvent() local
DInProgressSmsSessionTest.java51 SmsSessionEventBuilder builder = new SmsSessionEventBuilder( in testAddEvent() local
64 SmsSessionEventBuilder builder = new SmsSessionEventBuilder( in testEventDropped() local
/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp62 static AudioStreamBuilder *convertAAudioBuilderToStreamBuilder(AAudioStreamBuilder* builder) in convertAAudioBuilderToStreamBuilder()
67 AAUDIO_API aaudio_result_t AAudio_createStreamBuilder(AAudioStreamBuilder** builder) in AAudio_createStreamBuilder()
77 AAUDIO_API void AAudioStreamBuilder_setPerformanceMode(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setPerformanceMode()
84 AAUDIO_API void AAudioStreamBuilder_setDeviceId(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setDeviceId()
91 AAUDIO_API void AAudioStreamBuilder_setSampleRate(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setSampleRate()
98 AAUDIO_API void AAudioStreamBuilder_setChannelCount(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setChannelCount()
104 AAUDIO_API void AAudioStreamBuilder_setSamplesPerFrame(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setSamplesPerFrame()
111 AAUDIO_API void AAudioStreamBuilder_setDirection(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setDirection()
118 AAUDIO_API void AAudioStreamBuilder_setFormat(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setFormat()
127 AAUDIO_API void AAudioStreamBuilder_setSharingMode(AAudioStreamBuilder* builder, in AAudioStreamBuilder_setSharingMode()
[all …]
/frameworks/minikin/tests/unittest/
DCmapCoverageTest.cpp257 CmapBuilder builder(1); in buildSingleFormat4Cmap() local
264 CmapBuilder builder(1); in buildSingleFormat12Cmap() local
444 CmapBuilder builder(1); in TEST() local
460 CmapBuilder builder(1); in TEST() local
472 CmapBuilder builder(1); in TEST() local
485 CmapBuilder builder(1); in TEST() local
497 CmapBuilder builder(1); in TEST() local
510 CmapBuilder builder(1); in TEST() local
527 CmapBuilder builder(1); in TEST() local
540 CmapBuilder builder(1); in TEST() local
[all …]
DMeasuredTextTest.cpp35 MeasuredTextBuilder builder; in TEST() local
64 MeasuredTextBuilder builder; in TEST() local
83 MeasuredTextBuilder builder; in TEST() local
107 MeasuredTextBuilder builder; in TEST() local
126 MeasuredTextBuilder builder; in TEST() local
151 MeasuredTextBuilder builder; in TEST() local
222 MeasuredTextBuilder builder; in TEST() local
298 MeasuredTextBuilder builder; in TEST() local
369 MeasuredTextBuilder builder; in TEST() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContainerTests.java76 final TestWindowContainerBuilder builder = new TestWindowContainerBuilder(mWm); in testAdd() local
128 final TestWindowContainerBuilder builder = new TestWindowContainerBuilder(mWm); in testAdd_AlreadyHasParent() local
153 final TestWindowContainerBuilder builder = new TestWindowContainerBuilder(mWm); in testHasChild() local
183 final TestWindowContainerBuilder builder = new TestWindowContainerBuilder(mWm); in testRemoveImmediately() local
256 final TestWindowContainerBuilder builder = new TestWindowContainerBuilder(mWm); in testAddChildByIndex() local
283 final TestWindowContainerBuilder builder = new TestWindowContainerBuilder(mWm); in testPositionChildAt() local
307 final TestWindowContainerBuilder builder = new TestWindowContainerBuilder(mWm); in testPositionChildAtIncludeParents() local
349 final TestWindowContainerBuilder builder = new TestWindowContainerBuilder(mWm); in testPositionChildAtInvalid() local
375 final TestWindowContainerBuilder builder = new TestWindowContainerBuilder(mWm); in testIsAnimating() local
401 final TestWindowContainerBuilder builder = new TestWindowContainerBuilder(mWm); in testIsVisible() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNativeDaemonConnectorTest.java35 final StringBuilder builder = new StringBuilder(); in testArgumentNormal() local
55 final StringBuilder builder = new StringBuilder(); in testArgumentWithSpaces() local
67 final StringBuilder builder = new StringBuilder(); in testArgumentWithUtf() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DNetworkCycleChartDataLoader.java38 private NetworkCycleChartDataLoader(Builder builder) { in NetworkCycleChartDataLoader()
50 final NetworkCycleChartData.Builder builder = new NetworkCycleChartData.Builder(); in recordUsage() local
67 public static Builder<?> builder(Context context) { in builder() method in NetworkCycleChartDataLoader
DNetworkCycleDataForUidLoader.java43 private NetworkCycleDataForUidLoader(Builder builder) { in NetworkCycleDataForUidLoader()
67 final NetworkCycleDataForUid.Builder builder = new NetworkCycleDataForUid.Builder(); in recordUsage() local
87 public static Builder<?> builder(Context context) { in builder() method in NetworkCycleDataForUidLoader
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DKMLFormatter.java29 LineBuilder builder = new LineBuilder(); in getHeader() local
37 LineBuilder builder = new LineBuilder(); in getFooter() local
44 LineBuilder builder = new LineBuilder(); in getOutput() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DInProgressSmsSession.java91 public void addEvent(SmsSessionEventBuilder builder) { in addEvent()
92 addEvent(SystemClock.elapsedRealtime(), builder); in addEvent() local
101 public synchronized void addEvent(long timestamp, SmsSessionEventBuilder builder) { in addEvent()
DInProgressCallSession.java75 public void addEvent(CallSessionEventBuilder builder) { in addEvent()
76 addEvent(SystemClock.elapsedRealtime(), builder); in addEvent() local
85 synchronized public void addEvent(long timestamp, CallSessionEventBuilder builder) { in addEvent()
/frameworks/base/core/tests/coretests/src/android/service/notification/
DStatusBarNotificationTest.java109 Notification.Builder builder = getNotificationBuilder(GROUP_ID_1, CHANNEL_ID) in testLogMakerWithCategory() local
168 Notification.Builder builder = getNotificationBuilder(GROUP_ID_1, CHANNEL_ID) in testLogMakerWithPerson() local
177 Notification.Builder builder = getNotificationBuilder(GROUP_ID_1, CHANNEL_ID) in testLogMakerWithStyle() local
189 final Notification.Builder builder = new Notification.Builder(mMockContext, channelId) in getNotificationBuilder() local
199 private StatusBarNotification getNotification(String pkg, Notification.Builder builder) { in getNotification()
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java301 ContentProviderOperation.Builder builder = ContentProviderOperation.newInsert( in testParcelingOperation() local
333 ContentProviderOperation.Builder builder = ContentProviderOperation.newUpdate( in testParcelingOperation() local
357 ContentProviderOperation.Builder builder = ContentProviderOperation.newDelete( in testParcelingOperation() local
378 ContentProviderOperation.Builder builder) in newOperationFromBuilder()
387 ContentProviderOperation.Builder builder, HashMap<Integer, Integer> selArgsBackRef) in builderSetSelectionArgsBackReferences()
396 ContentProviderOperation.Builder builder, ContentValues valuesBackReferences) in builderSetValuesBackReferences()
405 ContentProviderOperation.Builder builder, String selection) in builderSetSelection()
414 ContentProviderOperation.Builder builder, String[] selArgs) in builderSetSelectionArgs()
423 ContentProviderOperation.Builder builder, ContentValues values) in builderSetValues()
432 ContentProviderOperation.Builder builder, Integer expectedCount) in builderSetExpectedCount()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardUtilsTests.java34 StringBuilder builder = new StringBuilder(); in testContainsOnlyPrintableAscii() local
51 StringBuilder builder = new StringBuilder(); in testContainsOnlyNonCrLfPrintableAscii() local
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectionCompanionGenerator.java149 TypeSpec.Builder builder = TypeSpec in generateTypeSpec() local
220 final MethodSpec.Builder builder = MethodSpec.methodBuilder("mapProperties") in generateMapProperties() local
303 final CodeBlock.Builder builder = CodeBlock.builder(); in generateIntEnumPropertyMapperInvocation() local
353 final CodeBlock.Builder builder = CodeBlock.builder(); in generateIntFlagPropertyMapperInvocation() local
429 final MethodSpec.Builder builder = MethodSpec.methodBuilder("readProperties") in generateReadProperties() local
/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutTest.java47 final SpannableStringBuilder builder = new SpannableStringBuilder(); in testGetBlocksAlwaysNeedToBeRedrawn_en() local
73 final SpannableStringBuilder builder = new SpannableStringBuilder(); in testGetBlocksAlwaysNeedToBeRedrawn_replacementSpan() local
102 final SpannableStringBuilder builder = new SpannableStringBuilder(); in testGetBlocksAlwaysNeedToBeRedrawn_thai() local
290 final DynamicLayout.Builder builder = DynamicLayout.Builder in testBuilder_defaultTextDirection() local
298 final DynamicLayout.Builder builder = DynamicLayout.Builder in testBuilder_setTextDirection() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttTestUtils.java62 RangingRequest.Builder builder = new RangingRequest.Builder(); in getDummyRangingRequest() local
85 RangingRequest.Builder builder = new RangingRequest.Builder(); in getDummyRangingRequestMcOnly() local
101 RangingRequest.Builder builder = new RangingRequest.Builder(); in getDummyRangingRequestNo80211mcSupport() local
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java121 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in callIsAppInactive() local
148 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in callSetAppLimit() local
182 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in callSetAppUsageLimit() local
216 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in showInactive() local
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbBinaryParser.java32 private void dumpDescriptor(ByteStream stream, int length, byte type, StringBuilder builder) { in dumpDescriptor()
61 StringBuilder builder) { in parseDescriptors()
/frameworks/base/core/java/android/content/
DContentUris.java100 public static @NonNull Uri.Builder appendId(@NonNull Uri.Builder builder, long id) { in appendId()
134 final Uri.Builder builder = contentUri.buildUpon(); in removeId() local

12345678910>>...21