Home
last modified time | relevance | path

Searched refs:configBuilder (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DViewerConfigProtoBuilder.kt32 val configBuilder = ProtoLogViewerConfig.newBuilder() in <lambda>() constant
41 configBuilder.addGroups(ProtoLogViewerConfig.Group.newBuilder() in <lambda>()
51 configBuilder.addMessages( in <lambda>()
61 return configBuilder.build().toByteArray() in <lambda>()
DProtoLogTool.kt362 val configBuilder: ProtologViewerConfigBuilder = when (outputType.lowercase()) { in <lambda>() constant
399 outFile.write(configBuilder.build(logCallRegistry.getStatements())) in <lambda>()
/frameworks/base/wifi/tests/src/android/net/wifi/
DSoftApConfToXmlMigrationUtilTest.java88 SoftApConfiguration.Builder configBuilder = new SoftApConfiguration.Builder(); in setupApConfig() local
89 configBuilder.setSsid(ssid); in setupApConfig()
90 configBuilder.setPassphrase(preSharedKey, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK); in setupApConfig()
92 configBuilder.setBand(band); in setupApConfig()
94 configBuilder.setChannel(channel, band); in setupApConfig()
96 configBuilder.setHiddenSsid(hiddenSSID); in setupApConfig()
97 return configBuilder.build(); in setupApConfig()
/frameworks/base/wifi/java/src/android/net/wifi/
DSoftApConfToXmlMigrationUtil.java115 SoftApConfiguration.Builder configBuilder = new SoftApConfiguration.Builder(); in loadFromLegacyFile() local
123 configBuilder.setSsid(in.readUTF()); in loadFromLegacyFile()
129 configBuilder.setBand( in loadFromLegacyFile()
132 configBuilder.setChannel(channel, in loadFromLegacyFile()
137 configBuilder.setHiddenSsid(in.readBoolean()); in loadFromLegacyFile()
141 configBuilder.setPassphrase(in.readUTF(), in loadFromLegacyFile()
144 config = configBuilder.build(); in loadFromLegacyFile()
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DViewerConfigJsonBuilderTest.kt41 private val configBuilder = ViewerConfigJsonBuilder() constant in com.android.protolog.tool.ViewerConfigJsonBuilderTest
56 configBuilder.build(logCallRegistry.getStatements()).toString(Charsets.UTF_8)) in processClass()
75 configBuilder.build(logCallRegistry.getStatements()).toString(Charsets.UTF_8)) in processClass_nonUnique()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DTs43Operation.java682 AcquireConfigurationResponse.Configuration.Builder configBuilder = in acquireConfiguration() local
704 configBuilder.setServiceStatus(getServiceStatusFromString(serviceStatusString)); in acquireConfiguration()
716 configBuilder.setIccid(iccIdString); in acquireConfiguration()
729 configBuilder.setPollingInterval(Integer.parseInt(pollingIntervalString)); in acquireConfiguration()
746 configBuilder.setDownloadInfo(downloadInfo); in acquireConfiguration()
758 configBuilder.setMessageInfo(messageInfo); in acquireConfiguration()
762 configBuilder.setType( in acquireConfiguration()
766 return responseBuilder.setConfigurations(ImmutableList.of(configBuilder.build())).build(); in acquireConfiguration()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnTest.java136 final VcnConfig.Builder configBuilder = new VcnConfig.Builder(mContext); in setUp() local
138 configBuilder.addGatewayConnectionConfig( in setUp()
142 mConfig = configBuilder.build(); in setUp()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationController.java942 MagnificationConfig.Builder configBuilder = in onResult() local
945 configBuilder.setMode(MAGNIFICATION_MODE_FULLSCREEN) in onResult()
952 mAms.notifyMagnificationChanged(mDisplayId, region, configBuilder.build()); in onResult()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataNetwork.java1128 final NetworkAgentConfig.Builder configBuilder = new NetworkAgentConfig.Builder(); in createNetworkAgent() local
1129 configBuilder.setLegacyType(ConnectivityManager.TYPE_MOBILE); in createNetworkAgent()
1130 configBuilder.setLegacyTypeName("MOBILE"); in createNetworkAgent()
1132 configBuilder.setLegacySubType(networkType); in createNetworkAgent()
1133 configBuilder.setLegacySubTypeName(TelephonyManager.getNetworkTypeName(networkType)); in createNetworkAgent()
1135 configBuilder.setLegacyExtraInfo(mDataProfile.getApnSetting().getApnName()); in createNetworkAgent()
1142 configBuilder.setProvisioningNotificationEnabled(false); in createNetworkAgent()
1148 configBuilder.setSubscriberId(subscriberId); in createNetworkAgent()
1153 configBuilder.setNat64DetectionEnabled(false); in createNetworkAgent()
1166 mNetworkScore, configBuilder.build(), provider, in createNetworkAgent()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DActiveAdmin.java945 PreferentialNetworkServiceConfig.Builder configBuilder = in readFromXml() local
947 configBuilder.setEnabled(preferentialNetworkServiceEnabled); in readFromXml()
948 configBuilder.setNetworkId(NET_ENTERPRISE_ID_1); in readFromXml()
949 mPreferentialNetworkServiceConfigs = List.of(configBuilder.build()); in readFromXml()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java12747 PreferentialNetworkServiceConfig.Builder configBuilder = in setPreferentialNetworkServiceEnabled() local
12749 configBuilder.setEnabled(enabled); in setPreferentialNetworkServiceEnabled()
12751 configBuilder.setNetworkId(NET_ENTERPRISE_ID_1); in setPreferentialNetworkServiceEnabled()
12753 setPreferentialNetworkServiceConfigs(List.of(configBuilder.build())); in setPreferentialNetworkServiceEnabled()