Home
last modified time | relevance | path

Searched refs:Builder (Results 1 – 25 of 2751) sorted by relevance

12345678910>>...111

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendDialogInfoTest.java42 private static SuspendDialogInfo.Builder createDefaultDialogBuilder() { in createDefaultDialogBuilder()
43 return new SuspendDialogInfo.Builder() in createDefaultDialogBuilder()
53 final SuspendDialogInfo.Builder dialogBuilder1 = createDefaultDialogBuilder(); in equalsComparesIcons()
54 final SuspendDialogInfo.Builder dialogBuilder2 = createDefaultDialogBuilder(); in equalsComparesIcons()
63 final SuspendDialogInfo.Builder dialogBuilder1 = createDefaultDialogBuilder(); in equalsComparesTitleIds()
64 final SuspendDialogInfo.Builder dialogBuilder2 = createDefaultDialogBuilder(); in equalsComparesTitleIds()
73 final SuspendDialogInfo.Builder dialogBuilder1 = new SuspendDialogInfo.Builder() in equalsIgnoresTitleStringsWhenIdsSet()
76 final SuspendDialogInfo.Builder dialogBuilder2 = new SuspendDialogInfo.Builder() in equalsIgnoresTitleStringsWhenIdsSet()
85 final SuspendDialogInfo.Builder dialogBuilder1 = new SuspendDialogInfo.Builder() in equalsComparesTitleStringsWhenNoIdsSet()
87 final SuspendDialogInfo.Builder dialogBuilder2 = new SuspendDialogInfo.Builder() in equalsComparesTitleStringsWhenNoIdsSet()
[all …]
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/odsa/
DAcquireConfigurationOperation.java129 public static Builder builder() { in builder()
131 .Builder() in builder()
145 @AutoValue.Builder
146 public abstract static class Builder { class in AcquireConfigurationOperation.AcquireConfigurationRequest
157 public abstract Builder setAppId(@NonNull @AppId String appId); in setAppId()
169 public abstract Builder setCompanionTerminalId(@NonNull String companionTerminalId); in setCompanionTerminalId()
181 public abstract Builder setCompanionTerminalIccid( in setCompanionTerminalIccid()
194 public abstract Builder setCompanionTerminalEid(@NonNull String companionTerminalEid); in setCompanionTerminalEid()
207 public abstract Builder setTerminalIccid(@NonNull String terminalIccid); in setTerminalIccid()
220 public abstract Builder setTerminalEid(@NonNull String terminalEid); in setTerminalEid()
[all …]
DManageSubscriptionOperation.java236 public static Builder builder() { in builder()
237 return new AutoValue_ManageSubscriptionOperation_ManageSubscriptionRequest.Builder() in builder()
266 @AutoValue.Builder
267 public abstract static class Builder { class in ManageSubscriptionOperation.ManageSubscriptionRequest
278 public abstract Builder setAppId(@NonNull @AppId String appId); in setAppId()
288 public abstract Builder setOperationType(@OdsaOperationType int operationType); in setOperationType()
300 public abstract Builder setCompanionTerminalId(String companionTerminalId); in setCompanionTerminalId()
312 public abstract Builder setCompanionTerminalVendor( in setCompanionTerminalVendor()
325 public abstract Builder setCompanionTerminalModel( in setCompanionTerminalModel()
338 public abstract Builder setCompanionTerminalSoftwareVersion( in setCompanionTerminalSoftwareVersion()
[all …]
DManageServiceOperation.java105 public static Builder builder() { in builder()
106 return new AutoValue_ManageServiceOperation_ManageServiceRequest.Builder() in builder()
119 @AutoValue.Builder
120 public abstract static class Builder { class in ManageServiceOperation.ManageServiceRequest
131 public abstract Builder setAppId(@NonNull @AppId String appId); in setAppId()
143 public abstract Builder setOperationType(@OdsaOperationType int operationType); in setOperationType()
153 public abstract Builder setCompanionTerminalId(String companionTerminalId); in setCompanionTerminalId()
163 public abstract Builder setCompanionTerminalVendor(String companionTerminalVendor); in setCompanionTerminalVendor()
173 public abstract Builder setCompanionTerminalModel( in setCompanionTerminalModel()
184 public abstract Builder setCompanionTerminalSoftwareVersion( in setCompanionTerminalSoftwareVersion()
[all …]
DCheckEligibilityOperation.java126 public static Builder builder() { in builder()
127 return new AutoValue_CheckEligibilityOperation_CheckEligibilityRequest.Builder() in builder()
139 @AutoValue.Builder
140 public abstract static class Builder { class in CheckEligibilityOperation.CheckEligibilityRequest
151 public abstract Builder setAppId(@NonNull @AppId String appId); in setAppId()
163 public abstract Builder setCompanionTerminalId(@NonNull String companionTerminalId); in setCompanionTerminalId()
175 public abstract Builder setCompanionTerminalVendor( in setCompanionTerminalVendor()
188 public abstract Builder setCompanionTerminalModel( in setCompanionTerminalModel()
201 public abstract Builder setCompanionTerminalSoftwareVersion( in setCompanionTerminalSoftwareVersion()
215 public abstract Builder setCompanionTerminalFriendlyName( in setCompanionTerminalFriendlyName()
[all …]
DGetPhoneNumberOperation.java40 public static Builder builder() { in builder()
42 .Builder() in builder()
47 @AutoValue.Builder
48 public abstract static class Builder { class in GetPhoneNumberOperation.GetPhoneNumberRequest
56 public abstract Builder setTerminalId(@NonNull String terminalId); in setTerminalId()
76 public static Builder builder() { in builder()
78 .Builder() in builder()
83 @AutoValue.Builder
84 public abstract static class Builder extends OdsaResponse.Builder { class in GetPhoneNumberOperation.GetPhoneNumberResponse
92 public abstract Builder setMsisdn(@NonNull String msisdn); in setMsisdn()
DAcquireTemporaryTokenOperation.java68 public static Builder builder() { in builder()
70 .Builder() in builder()
77 @AutoValue.Builder
78 public abstract static class Builder { class in AcquireTemporaryTokenOperation.AcquireTemporaryTokenRequest
89 public abstract Builder setAppId(@NonNull @AppId String appId); in setAppId()
101 public abstract Builder setOperationTargets( in setOperationTargets()
114 public abstract Builder setCompanionTerminalId(@NonNull String companionTerminalId); in setCompanionTerminalId()
148 public static Builder builder() { in builder()
150 .Builder() in builder()
157 @AutoValue.Builder
[all …]
DMessageInfo.java83 public static Builder builder() { in builder()
84 return new AutoValue_MessageInfo.Builder() in builder()
94 @AutoValue.Builder
95 public abstract static class Builder { class in MessageInfo
103 public abstract Builder setMessage(@NonNull String message); in setMessage()
113 public abstract Builder setAcceptButton(@NonNull String button); in setAcceptButton()
122 public abstract Builder setAcceptButtonLabel(@NonNull String label); in setAcceptButtonLabel()
132 public abstract Builder setRejectButton(@NonNull String button); in setRejectButton()
141 public abstract Builder setRejectButtonLabel(@NonNull String label); in setRejectButtonLabel()
151 public abstract Builder setAcceptFreetext(@NonNull String accept); in setAcceptFreetext()
/frameworks/base/core/tests/coretests/src/android/app/people/
DPeopleSpaceTileTest.java79 PeopleSpaceTile tile = new PeopleSpaceTile.Builder( in testId()
80 new ShortcutInfo.Builder(mContext, "123").build(), mLauncherApps).build(); in testId()
84 .Builder(new ShortcutInfo.Builder(mContext, "123").build(), mLauncherApps) in testId()
89 tile = new PeopleSpaceTile.Builder("12", null, null, null).build(); in testId()
95 PeopleSpaceTile tile = new PeopleSpaceTile.Builder( in testUserName()
96 new ShortcutInfo.Builder(mContext, "123").build(), mLauncherApps).build(); in testUserName()
100 .Builder(new ShortcutInfo.Builder(mContext, "123").build(), mLauncherApps) in testUserName()
105 tile = new PeopleSpaceTile.Builder(null, "Name 2", null, null).build(); in testUserName()
111 PeopleSpaceTile tile = new PeopleSpaceTile.Builder( in testUserIcon()
112 new ShortcutInfo.Builder(mContext, "123").build(), mLauncherApps).setUserIcon( in testUserIcon()
[all …]
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DServiceEntitlementRequest.java125 public static Builder builder() { in builder()
126 return new AutoValue_ServiceEntitlementRequest.Builder() in builder()
146 @AutoValue.Builder
147 public abstract static class Builder { class in ServiceEntitlementRequest
155 public abstract Builder setConfigurationVersion(int value); in setConfigurationVersion()
164 public abstract Builder setEntitlementVersion(String value); in setEntitlementVersion()
172 public abstract Builder setAuthenticationToken(String value); in setAuthenticationToken()
179 public abstract Builder setTemporaryToken(String value); in setTemporaryToken()
187 public abstract Builder setTerminalId(String value); in setTerminalId()
194 public abstract Builder setTerminalVendor(String value); in setTerminalVendor()
[all …]
DEsimOdsaOperation.java352 public static Builder builder() { in builder()
353 return new AutoValue_EsimOdsaOperation.Builder() in builder()
388 @AutoValue.Builder
389 public abstract static class Builder { class in EsimOdsaOperation
404 public abstract Builder setOperation(@NonNull @OdsaOperation String operation); in setOperation()
422 public abstract Builder setOperationType(@OdsaOperationType int operationType); in setOperationType()
429 public abstract Builder setOperationTargets( in setOperationTargets()
443 public abstract Builder setCompanionTerminalId(@NonNull String companionTerminalId); in setCompanionTerminalId()
455 public abstract Builder setCompanionTerminalVendor(@NonNull String companionTerminalVendor); in setCompanionTerminalVendor()
467 public abstract Builder setCompanionTerminalModel(@NonNull String companionTerminalModel); in setCompanionTerminalModel()
[all …]
DCarrierConfig.java60 public static Builder builder() { in builder()
61 return new AutoValue_CarrierConfig.Builder() in builder()
69 @AutoValue.Builder
70 public abstract static class Builder { class in CarrierConfig
77 public abstract Builder setServerUrl(String url); in setServerUrl()
80 public abstract Builder setClientTs43(String clientTs43); in setClientTs43()
83 public abstract Builder setUseHttpPost(boolean useHttpPost); in setUseHttpPost()
92 public abstract Builder setTimeoutInSec(int timeoutInSec); in setTimeoutInSec()
98 public abstract Builder setNetwork(Network network); in setNetwork()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSatelliteStats.java95 private SatelliteControllerParams(Builder builder) { in SatelliteControllerParams()
256 public static class Builder { class in SatelliteStats.SatelliteControllerParams
290 public Builder setCountOfSatelliteServiceEnablementsSuccess( in setCountOfSatelliteServiceEnablementsSuccess()
301 public Builder setCountOfSatelliteServiceEnablementsFail( in setCountOfSatelliteServiceEnablementsFail()
312 public Builder setCountOfOutgoingDatagramSuccess(int countOfOutgoingDatagramSuccess) { in setCountOfOutgoingDatagramSuccess()
321 public Builder setCountOfOutgoingDatagramFail(int countOfOutgoingDatagramFail) { in setCountOfOutgoingDatagramFail()
330 public Builder setCountOfIncomingDatagramSuccess(int countOfIncomingDatagramSuccess) { in setCountOfIncomingDatagramSuccess()
339 public Builder setCountOfIncomingDatagramFail(int countOfIncomingDatagramFail) { in setCountOfIncomingDatagramFail()
348 public Builder setCountOfDatagramTypeSosSmsSuccess( in setCountOfDatagramTypeSosSmsSuccess()
358 public Builder setCountOfDatagramTypeSosSmsFail(int countOfDatagramTypeSosSmsFail) { in setCountOfDatagramTypeSosSmsFail()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java138 Notification n = new Notification.Builder(mContext, "test") in testColorizedByPermission()
144 n = new Notification.Builder(mContext, "test") in testColorizedByPermission()
149 n = new Notification.Builder(mContext, "test") in testColorizedByPermission()
158 Notification n = new Notification.Builder(mContext, "test") in testColorizedByForeground()
164 n = new Notification.Builder(mContext, "test") in testColorizedByForeground()
169 n = new Notification.Builder(mContext, "test") in testColorizedByForeground()
178 Notification n = new Notification.Builder(mContext).build(); in testHasCompletedProgress_noProgress()
185 Notification n = new Notification.Builder(mContext) in testHasCompletedProgress_complete()
188 Notification n2 = new Notification.Builder(mContext) in testHasCompletedProgress_complete()
197 Notification n = new Notification.Builder(mContext) in testHasCompletedProgress_notComplete()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DSysUiStatsEvent.java26 static class Builder { class in SysUiStatsEvent
27 private final StatsEvent.Builder mBuilder;
29 protected Builder(StatsEvent.Builder builder) { in Builder() method in SysUiStatsEvent.Builder
37 public Builder setAtomId(int atomId) { in setAtomId()
42 public Builder writeInt(int value) { in writeInt()
47 public Builder addBooleanAnnotation(byte annotation, boolean value) { in addBooleanAnnotation()
52 public Builder writeString(String value) { in writeString()
57 public Builder writeBoolean(boolean value) { in writeBoolean()
62 public Builder writeByteArray(byte[] value) { in writeByteArray()
69 Builder newBuilder() { in newBuilder()
[all …]
/frameworks/base/core/tests/timetests/src/android/app/time/
DTimeCapabilitiesTest.java52 TimeCapabilities.Builder builder1 = new TimeCapabilities.Builder(TEST_USER_HANDLE) in testEquals()
55 TimeCapabilities.Builder builder2 = new TimeCapabilities.Builder(TEST_USER_HANDLE) in testEquals()
95 TimeCapabilities firstUserCapabilities = new TimeCapabilities.Builder(UserHandle.of(1)) in userHandle_notIgnoredInEquals()
100 TimeCapabilities secondUserCapabilities = new TimeCapabilities.Builder(UserHandle.of(2)) in userHandle_notIgnoredInEquals()
110 TimeCapabilities capabilities = new TimeCapabilities.Builder(TEST_USER_HANDLE) in testBuilder()
121 new TimeCapabilities.Builder(TEST_USER_HANDLE) in testBuilder()
129 new TimeCapabilities.Builder(TEST_USER_HANDLE) in testBuilder()
138 new TimeCapabilities.Builder(TEST_USER_HANDLE) in testBuilder()
149 TimeCapabilities.Builder builder = new TimeCapabilities.Builder(TEST_USER_HANDLE) in testParcelable()
165 new TimeConfiguration.Builder() in testTryApplyConfigChanges_permitted()
[all …]
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DFabricatedOverlaysTest.java73 final OverlayManagerTransaction.Builder cleanUp = new OverlayManagerTransaction.Builder(); in tearDown()
85 final FabricatedOverlay overlay = new FabricatedOverlay.Builder( in testFabricatedOverlay()
91 mOverlayManager.commit(new OverlayManagerTransaction.Builder() in testFabricatedOverlay()
99 mOverlayManager.commit(new OverlayManagerTransaction.Builder() in testFabricatedOverlay()
108 mOverlayManager.commit(new OverlayManagerTransaction.Builder() in testFabricatedOverlay()
117 final FabricatedOverlay overlay = new FabricatedOverlay.Builder( in testRegisterEnableAtomic()
123 mOverlayManager.commit(new OverlayManagerTransaction.Builder() in testRegisterEnableAtomic()
133 FabricatedOverlay overlay = new FabricatedOverlay.Builder( in testRegisterTwice()
139 mOverlayManager.commit(new OverlayManagerTransaction.Builder() in testRegisterTwice()
145 overlay = new FabricatedOverlay.Builder( in testRegisterTwice()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DTelephonyNetworkRequestTest.java40 private static final ApnSetting INTERNET_APN_SETTING = new ApnSetting.Builder()
58 private static final ApnSetting MMS_APN_SETTING = new ApnSetting.Builder()
75 private static final ApnSetting ENTERPRISE_APN_SETTING = new ApnSetting.Builder()
93 private static final ApnSetting RCS_APN_SETTING = new ApnSetting.Builder()
125 NetworkRequest nativeRequest = new NetworkRequest.Builder() in testGetNativeRequest()
136 new NetworkRequest.Builder() in testPriority()
140 new NetworkRequest.Builder() in testPriority()
151 new TelephonyNetworkSpecifier.Builder().setSubscriptionId(5).build(); in testGetNetworkSpecifier()
154 new NetworkRequest.Builder() in testGetNetworkSpecifier()
165 new NetworkRequest.Builder() in testGetCapabilities()
[all …]
/frameworks/base/packages/SettingsLib/tests/unit/src/com/android/settingslib/bluetooth/
DBluetoothLeBroadcastMetadataExtTest.kt36 val subgroup = BluetoothLeBroadcastSubgroup.Builder().apply { in toQrCodeString_encrypted()
38 val audioCodecConfigMetadata = BluetoothLeAudioCodecConfigMetadata.Builder().build() in toQrCodeString_encrypted()
40 setContentMetadata(BluetoothLeAudioContentMetadata.Builder() in toQrCodeString_encrypted()
42 addChannel(BluetoothLeBroadcastChannel.Builder().apply { in toQrCodeString_encrypted()
47 addChannel(BluetoothLeBroadcastChannel.Builder().apply { in toQrCodeString_encrypted()
54 val metadata = BluetoothLeBroadcastMetadata.Builder().apply { in toQrCodeString_encrypted()
59 setPublicBroadcastMetadata(BluetoothLeAudioContentMetadata.Builder() in toQrCodeString_encrypted()
74 val subgroup = BluetoothLeBroadcastSubgroup.Builder().apply { in toQrCodeString_non_encrypted()
76 val audioCodecConfigMetadata = BluetoothLeAudioCodecConfigMetadata.Builder().build() in toQrCodeString_non_encrypted()
77 setContentMetadata(BluetoothLeAudioContentMetadata.Builder() in toQrCodeString_non_encrypted()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpObjectInfo.java355 public static class Builder { class in MtpObjectInfo
358 public Builder() { in Builder() method in MtpObjectInfo.Builder
369 public Builder(MtpObjectInfo objectInfo) { in Builder() method in MtpObjectInfo.Builder
393 public Builder setObjectHandle(int value) { in setObjectHandle()
398 public Builder setAssociationDesc(int value) { in setAssociationDesc()
403 public Builder setAssociationType(int value) { in setAssociationType()
408 public Builder setCompressedSize(long value) { in setCompressedSize()
413 public Builder setDateCreated(long value) { in setDateCreated()
418 public Builder setDateModified(long value) { in setDateModified()
423 public Builder setFormat(int value) { in setFormat()
[all …]
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/
DHttpRequest.java58 @AutoValue.Builder
59 public abstract static class Builder { class in HttpRequest
63 public abstract Builder setUrl(String url); in setUrl()
70 public abstract Builder setRequestMethod(String requestMethod); in setRequestMethod()
73 public abstract Builder setPostData(JSONObject postData); in setPostData()
75 abstract ImmutableListMultimap.Builder<String, String> requestPropertiesBuilder(); in requestPropertiesBuilder()
79 public Builder addRequestProperty(String key, String value) { in addRequestProperty()
90 public Builder addRequestProperty(String key, List<String> value) { in addRequestProperty()
102 public abstract Builder setTimeoutInSec(int timeoutInSec); in setTimeoutInSec()
108 public abstract Builder setNetwork(@Nullable Network network); in setNetwork()
[all …]
/frameworks/compile/libbcc/lib/
DRSKernelExpand.cpp354 llvm::IRBuilder<> Builder(Begin); in createEmptyExpandedForEachKernel() local
355 Builder.CreateRetVoid(); in createEmptyExpandedForEachKernel()
402 llvm::IRBuilder<> Builder(Begin); in createEmptyExpandedReduceAccumulator() local
403 Builder.CreateRetVoid(); in createEmptyExpandedReduceAccumulator()
425 llvm::BasicBlock *createLoop(llvm::IRBuilder<> &Builder, in createLoop() argument
434 CondBB = Builder.GetInsertBlock(); in createLoop()
435 AfterBB = llvm::SplitBlock(CondBB, &*Builder.GetInsertPoint(), nullptr, nullptr); in createLoop()
439 Builder.SetInsertPoint(CondBB); in createLoop()
443 IVVar = Builder.CreateAlloca(LowerBound->getType(), nullptr, BCC_INDEX_VAR_NAME); in createLoop()
444 Builder.CreateStore(LowerBound, IVVar); in createLoop()
[all …]
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/
DMultiVibratorInfoTest.java38 VibratorInfo firstInfo = new VibratorInfo.Builder(/* id= */ 1) in testGetId()
41 VibratorInfo secondInfo = new VibratorInfo.Builder(/* id= */ 2) in testGetId()
53 VibratorInfo firstInfo = new VibratorInfo.Builder(/* id= */ 2) in testIsEffectSupported_supportedInAllVibrators_returnsYes()
57 VibratorInfo secondInfo = new VibratorInfo.Builder(/* id= */ 2) in testIsEffectSupported_supportedInAllVibrators_returnsYes()
70 VibratorInfo supportedVibrator = new VibratorInfo.Builder(/* id= */ 1) in testIsEffectSupported_unsupportedInOneVibrator_returnsNo()
73 VibratorInfo unsupportedVibrator = new VibratorInfo.Builder(/* id= */ 2) in testIsEffectSupported_unsupportedInOneVibrator_returnsNo()
86 VibratorInfo supportedVibrator = new VibratorInfo.Builder(/* id= */ 1) in testIsEffectSupported_unknownInOneVibrator_returnsUnknown()
99 VibratorInfo supportedVibrator = new VibratorInfo.Builder(/* id= */ 1) in testIsPrimitiveSupported_unsupportedInOneVibrator_returnsFalse()
113 VibratorInfo firstInfo = new VibratorInfo.Builder(/* id= */ 1) in testIsPrimitiveSupported_supportedInAllVibrators_returnsTrue()
117 VibratorInfo secondInfo = new VibratorInfo.Builder(/* id= */ 2) in testIsPrimitiveSupported_supportedInAllVibrators_returnsTrue()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DDefaultCrossProfileIntentFiltersUtils.java48 new DefaultCrossProfileIntentFilter.Builder(
66 new DefaultCrossProfileIntentFilter.Builder(
81 new DefaultCrossProfileIntentFilter.Builder(
98 new DefaultCrossProfileIntentFilter.Builder(
115 new DefaultCrossProfileIntentFilter.Builder(
130 new DefaultCrossProfileIntentFilter.Builder(
148 new DefaultCrossProfileIntentFilter.Builder(
161 new DefaultCrossProfileIntentFilter.Builder(
172 new DefaultCrossProfileIntentFilter.Builder(
182 new DefaultCrossProfileIntentFilter.Builder(
[all …]
/frameworks/base/media/java/android/media/tv/tuner/filter/
DSectionSettingsWithSectionBits.java76 public static Builder builder(@Filter.Type int mainType) { in builder()
77 return new Builder(mainType); in builder()
83 public static class Builder extends SectionSettings.Builder<Builder> { class in SectionSettingsWithSectionBits
88 private Builder(int mainType) { in Builder() method in SectionSettingsWithSectionBits.Builder
98 public Builder setFilter(@NonNull byte[] filter) { in setFilter()
108 public Builder setMask(@NonNull byte[] mask) { in setMask()
118 public Builder setMode(@NonNull byte[] mode) { in setMode()
133 Builder self() { in self()

12345678910>>...111