Home
last modified time | relevance | path

Searched refs:mConfig (Results 1 – 25 of 109) sorted by relevance

12345

/frameworks/base/tests/net/java/android/net/shared/
DProvisioningConfigurationTest.java47 private ProvisioningConfiguration mConfig; field in ProvisioningConfigurationTest
51 mConfig = new ProvisioningConfiguration(); in setUp()
52 mConfig.mEnableIPv4 = true; in setUp()
53 mConfig.mEnableIPv6 = true; in setUp()
54 mConfig.mUsingMultinetworkPolicyTracker = true; in setUp()
55 mConfig.mUsingIpReachabilityMonitor = true; in setUp()
56 mConfig.mRequestedPreDhcpActionMs = 42; in setUp()
57 mConfig.mInitialConfig = new InitialConfiguration(); in setUp()
58 mConfig.mInitialConfig.ipAddresses.add( in setUp()
60 mConfig.mStaticIpConfig = new StaticIpConfiguration(); in setUp()
[all …]
DInitialConfigurationTest.java45 private InitialConfiguration mConfig; field in InitialConfigurationTest
49 mConfig = new InitialConfiguration(); in setUp()
50 mConfig.ipAddresses.addAll(Arrays.asList( in setUp()
53 mConfig.directlyConnectedRoutes.addAll(Arrays.asList( in setUp()
56 mConfig.dnsServers.addAll(Arrays.asList( in setUp()
66 InitialConfiguration.fromStableParcelable(mConfig.toStableParcelable()); in testParcelUnparcelInitialConfiguration()
67 assertEquals(mConfig, unparceled); in testParcelUnparcelInitialConfiguration()
72 assertEquals(mConfig, InitialConfiguration.copy(mConfig)); in testEquals()
83 final InitialConfiguration newConfig = InitialConfiguration.copy(mConfig); in assertNotEqualsAfterChange()
85 assertNotEquals(mConfig, newConfig); in assertNotEqualsAfterChange()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBadgeExtractorTest.java50 @Mock RankingConfig mConfig; field in BadgeExtractorTest
67 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); in getNotificationRecord()
89 extractor.setConfig(mConfig); in testAppYesChannelNo()
91 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testAppYesChannelNo()
92 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testAppYesChannelNo()
103 extractor.setConfig(mConfig); in testAppNoChannelYes()
105 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testAppNoChannelYes()
106 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(false); in testAppNoChannelYes()
117 extractor.setConfig(mConfig); in testAppYesChannelYes()
119 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testAppYesChannelYes()
[all …]
DBubbleExtractorTest.java48 @Mock RankingConfig mConfig; field in BubbleExtractorTest
65 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); in getNotificationRecord()
87 extractor.setConfig(mConfig); in testAppYesChannelNo()
89 when(mConfig.bubblesEnabled(mUser)).thenReturn(true); in testAppYesChannelNo()
90 when(mConfig.areBubblesAllowed(mPkg, mUid)).thenReturn(true); in testAppYesChannelNo()
101 extractor.setConfig(mConfig); in testAppNoChannelYes()
103 when(mConfig.bubblesEnabled(mUser)).thenReturn(true); in testAppNoChannelYes()
104 when(mConfig.areBubblesAllowed(mPkg, mUid)).thenReturn(false); in testAppNoChannelYes()
115 extractor.setConfig(mConfig); in testAppYesChannelYes()
117 when(mConfig.bubblesEnabled(mUser)).thenReturn(true); in testAppYesChannelYes()
[all …]
DZenModeHelperTest.java451 mZenModeHelperSpy.mConfig.allowReminders = false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
452 mZenModeHelperSpy.mConfig.allowCalls = false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
453 mZenModeHelperSpy.mConfig.allowMessages = false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
454 mZenModeHelperSpy.mConfig.allowEvents = false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
455 mZenModeHelperSpy.mConfig.allowRepeatCallers= false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
491 mZenModeHelperSpy.mConfig.allowAlarms = true; in testRingerAffectedStreamsPriorityOnly()
492 mZenModeHelperSpy.mConfig.allowReminders = true; in testRingerAffectedStreamsPriorityOnly()
508 mZenModeHelperSpy.mConfig.allowReminders = false; in testRingerAffectedStreamsPriorityOnly()
509 mZenModeHelperSpy.mConfig.allowCalls = false; in testRingerAffectedStreamsPriorityOnly()
510 mZenModeHelperSpy.mConfig.allowMessages = false; in testRingerAffectedStreamsPriorityOnly()
[all …]
/frameworks/base/core/java/android/net/
DVpnService.java482 private final VpnConfig mConfig = new VpnConfig(); field in VpnService.Builder
489 mConfig.user = VpnService.this.getClass().getName(); in Builder()
499 mConfig.session = session; in setSession()
510 mConfig.configureIntent = intent; in setConfigureIntent()
526 mConfig.mtu = mtu; in setMtu()
536 mConfig.proxyInfo = proxyInfo; in setHttpProxy()
558 mConfig.updateAllowedFamilies(address); in addAddress()
601 mConfig.updateAllowedFamilies(address); in addRoute()
636 if (mConfig.dnsServers == null) { in addDnsServer()
637 mConfig.dnsServers = new ArrayList<String>(); in addDnsServer()
[all …]
DIpSecTransform.java94 mConfig = new IpSecConfig(config); in IpSecTransform()
137 mConfig, new Binder(), mContext.getOpPackageName()); in activate()
210 return mConfig; in getConfig()
213 private final IpSecConfig mConfig; field in IpSecTransform
317 mConfig.getNetwork(), intervalSeconds, mKeepaliveCallback, in startNattKeepalive()
318 NetworkUtils.numericToInetAddress(mConfig.getSourceAddress()), in startNattKeepalive()
320 NetworkUtils.numericToInetAddress(mConfig.getDestinationAddress())); in startNattKeepalive()
351 private IpSecConfig mConfig; field in IpSecTransform.Builder
364 mConfig.setEncryption(algo); in setEncryption()
379 mConfig.setAuthentication(algo); in setAuthentication()
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp45 mConfig(new tPVMP3DecoderExternal), in SoftMP3()
65 delete mConfig; in ~SoftMP3()
66 mConfig = NULL; in ~SoftMP3()
113 mConfig->equalizerType = flat; in initDecoder()
114 mConfig->crcEnabled = false; in initDecoder()
119 pvmp3_InitDecoder(mConfig, mDecoderBuf); in initDecoder()
312 mConfig->pInputBuffer = in onQueueFilled()
315 mConfig->inputBufferCurrentLength = inHeader->nFilledLen; in onQueueFilled()
317 mConfig->pInputBuffer = NULL; in onQueueFilled()
318 mConfig->inputBufferCurrentLength = 0; in onQueueFilled()
[all …]
/frameworks/layoutlib/bridge/src/android/view/shadow/
DAmbientShadowVertexCalculator.java31 private final AmbientShadowConfig mConfig; field in AmbientShadowVertexCalculator
34 mConfig = config; in AmbientShadowVertexCalculator()
36 int rings = mConfig.getLayers() + 1; in AmbientShadowVertexCalculator()
37 int size = mConfig.getRays() * rings; in AmbientShadowVertexCalculator()
41 mIndex = new int[(size * 2 + (mConfig.getRays() - 2)) * 3]; in AmbientShadowVertexCalculator()
60 Rays rays = new Rays(mConfig.getRays()); in generateVertex()
62 float rayDist[] = new float[mConfig.getRays()]; in generateVertex()
64 float[] rayHeights = new float[mConfig.getRays()]; in generateVertex()
78 float h1 = polygon[index + 2] * mConfig.getShadowBoundRatio(); in generateVertex()
79 float h2 = polygon[index2 + 2] * mConfig.getShadowBoundRatio(); in generateVertex()
[all …]
/frameworks/base/core/java/android/security/net/config/
DRootTrustManager.java42 private final ApplicationConfig mConfig; field in RootTrustManager
48 mConfig = config; in RootTrustManager()
56 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted()
65 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted()
74 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted()
88 NetworkSecurityConfig config = mConfig.getConfigForHostname(host); in checkServerTrusted()
104 NetworkSecurityConfig config = mConfig.getConfigForHostname(host); in checkServerTrusted()
111 if (mConfig.hasPerDomainConfigs()) { in checkServerTrusted()
116 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkServerTrusted()
128 if (hostname == null && mConfig.hasPerDomainConfigs()) { in checkServerTrusted()
[all …]
DConfigNetworkSecurityPolicy.java25 private final ApplicationConfig mConfig; field in ConfigNetworkSecurityPolicy
28 mConfig = config; in ConfigNetworkSecurityPolicy()
33 return mConfig.isCleartextTrafficPermitted(); in isCleartextTrafficPermitted()
38 return mConfig.isCleartextTrafficPermitted(hostname); in isCleartextTrafficPermitted()
DTrustedCertificateStoreAdapter.java29 private final NetworkSecurityConfig mConfig; field in TrustedCertificateStoreAdapter
32 mConfig = config; in TrustedCertificateStoreAdapter()
37 TrustAnchor anchor = mConfig.findTrustAnchorByIssuerAndSignature(cert); in findIssuer()
46 return mConfig.findAllCertificatesByIssuerAndSignature(cert); in findAllIssuers()
51 TrustAnchor anchor = mConfig.findTrustAnchorBySubjectAndPublicKey(cert); in getTrustAnchor()
61 TrustAnchor anchor = mConfig.findTrustAnchorBySubjectAndPublicKey(cert); in isUserAddedCertificate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java72 private final PasspointConfiguration mConfig; field in PasspointProvider
118 mConfig = new PasspointConfiguration(config); in PasspointProvider()
131 if (mConfig.getCredential().getUserCredential() != null) { in PasspointProvider()
134 mConfig.getCredential().getUserCredential().getNonEapInnerMethod())); in PasspointProvider()
137 } else if (mConfig.getCredential().getCertCredential() != null) { in PasspointProvider()
143 mEAPMethodID = mConfig.getCredential().getSimCredential().getEapType(); in PasspointProvider()
146 mConfig.getCredential().getSimCredential().getImsi()); in PasspointProvider()
153 return new PasspointConfiguration(mConfig); in getConfig()
214 X509Certificate[] x509Certificates = mConfig.getCredential().getCaCertificates(); in installCertsAndKeys()
231 if (mConfig.getCredential().getClientPrivateKey() != null) { in installCertsAndKeys()
[all …]
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp100 mConfig(nullptr), in C2SoftMP3()
116 pvmp3_InitDecoder(mConfig, mDecoderBuf); in onStop()
137 if (mConfig) { in onRelease()
138 delete mConfig; in onRelease()
139 mConfig = nullptr; in onRelease()
144 mConfig = new tPVMP3DecoderExternal{}; in initDecoder()
145 if (!mConfig) return NO_MEMORY; in initDecoder()
146 mConfig->equalizerType = flat; in initDecoder()
147 mConfig->crcEnabled = false; in initDecoder()
153 pvmp3_InitDecoder(mConfig, mDecoderBuf); in initDecoder()
[all …]
/frameworks/base/services/net/java/android/net/shared/
DProvisioningConfiguration.java67 protected ProvisioningConfiguration mConfig = new ProvisioningConfiguration(); field in ProvisioningConfiguration.Builder
73 mConfig.mEnableIPv4 = false; in withoutIPv4()
81 mConfig.mEnableIPv6 = false; in withoutIPv6()
90 mConfig.mUsingMultinetworkPolicyTracker = false; in withoutMultinetworkPolicyTracker()
99 mConfig.mUsingIpReachabilityMonitor = false; in withoutIpReachabilityMonitor()
108 mConfig.mRequestedPreDhcpActionMs = DEFAULT_TIMEOUT_MS; in withPreDhcpAction()
119 mConfig.mRequestedPreDhcpActionMs = dhcpActionTimeoutMs; in withPreDhcpAction()
127 mConfig.mInitialConfig = initialConfig; in withInitialConfiguration()
135 mConfig.mStaticIpConfig = staticConfig; in withStaticConfiguration()
143 mConfig.mApfCapabilities = apfCapabilities; in withApfCapabilities()
[all …]
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DManageDialog.java42 private VpnConfig mConfig; field in ManageDialog
62 mConfig = mService.getVpnConfig(UserHandle.myUserId()); in onCreate()
65 if (mConfig == null) { in onCreate()
71 if (mConfig.session != null) { in onCreate()
72 ((TextView) view.findViewById(R.id.session)).setText(mConfig.session); in onCreate()
79 if (mConfig.legacy) { in onCreate()
82 mAlertParams.mTitle = VpnConfig.getVpnLabel(this, mConfig.user); in onCreate()
84 if (mConfig.configureIntent != null) { in onCreate()
117 mConfig.configureIntent.send(); in onClick()
120 if (mConfig.legacy) { in onClick()
[all …]
/frameworks/av/services/audioflinger/
DEffects.cpp76 mConfig{{}, {}}, in EffectModule()
317 memset(mConfig.inputCfg.buffer.raw, in updateState()
319 mConfig.inputCfg.buffer.frameCount*sizeof(int32_t)); in updateState()
362 audio_channel_count_from_out_mask(mConfig.inputCfg.channels); in process()
364 audio_channel_count_from_out_mask(mConfig.outputCfg.channels); in process()
375 mConfig.inputCfg.buffer.frameCount, in process()
376 mConfig.outputCfg.buffer.frameCount); in process()
380 mConfig.outputCfg.buffer.f32, in process()
381 mConfig.inputCfg.buffer.f32, in process()
385 mConfig.outputCfg.buffer.s16, in process()
[all …]
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp78 effect_config_t mConfig; member
97 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_reset()
129 pContext->mConfig = *pConfig; in LE_setConfig()
153 *pConfig = pContext->mConfig; in LE_getConfig()
173 pContext->mConfig.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in LE_init()
174 pContext->mConfig.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in LE_init()
175 pContext->mConfig.inputCfg.format = kProcessFormat; in LE_init()
176 pContext->mConfig.inputCfg.samplingRate = 44100; in LE_init()
177 pContext->mConfig.inputCfg.bufferProvider.getBuffer = NULL; in LE_init()
178 pContext->mConfig.inputCfg.bufferProvider.releaseBuffer = NULL; in LE_init()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java114 @VisibleForTesting protected ZenModeConfig mConfig; field in ZenModeHelper
137 mConfig = mDefaultConfig.copy(); in ZenModeHelper()
138 mConfigs.put(UserHandle.USER_SYSTEM, mConfig); in ZenModeHelper()
158 synchronized (mConfig) { in matchesCallFilter()
173 synchronized (mConfig) { in shouldIntercept()
233 synchronized (mConfig) { in loadConfigForUser()
267 synchronized (mConfig) { in getZenRules()
268 if (mConfig == null) return rules; in getZenRules()
269 for (ZenRule rule : mConfig.automaticRules.values()) { in getZenRules()
280 synchronized (mConfig) { in getAutomaticZenRule()
[all …]
DBubbleExtractor.java28 private RankingConfig mConfig; field in BubbleExtractor
40 if (mConfig == null) { in process()
44 boolean userWantsBubbles = mConfig.bubblesEnabled(record.sbn.getUser()); in process()
46 mConfig.areBubblesAllowed(record.sbn.getPackageName(), record.sbn.getUid()); in process()
62 mConfig = config; in setConfig()
DBadgeExtractor.java30 private RankingConfig mConfig; field in BadgeExtractor
42 if (mConfig == null) { in process()
46 boolean userWantsBadges = mConfig.badgingEnabled(record.sbn.getUser()); in process()
48 mConfig.canShowBadge(record.sbn.getPackageName(), record.sbn.getUid()); in process()
69 mConfig = config; in setConfig()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java72 private final Configurator mConfig = Configurator.getInstance(); field in UiObject
151 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in getChildCount()
397 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in click()
403 mConfig.getActionAcknowledgmentTimeout()); in click()
437 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in clickAndWaitForNewWindow()
443 mConfig.getActionAcknowledgmentTimeout()); in clickAndWaitForNewWindow()
455 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in clickTopLeft()
472 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in longClickBottomRight()
489 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in clickBottomRight()
506 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in longClick()
[all …]
/frameworks/base/core/java/android/app/servertransaction/
DActivityRelaunchItem.java46 private MergedConfiguration mConfig; field in ActivityRelaunchItem
58 mPendingNewIntents, mConfigChanges, mConfig, mPreserveWindow); in preExecute()
94 instance.mConfig = config; in obtain()
105 mConfig = null; in recycle()
120 dest.writeTypedObject(mConfig, flags); in writeToParcel()
129 mConfig = in.readTypedObject(MergedConfiguration.CREATOR); in ActivityRelaunchItem()
155 && mConfigChanges == other.mConfigChanges && Objects.equals(mConfig, other.mConfig) in equals()
165 result = 31 * result + Objects.hashCode(mConfig); in hashCode()
174 + ",config=" + mConfig + ",preserveWindow" + mPreserveWindow + "}"; in toString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierConfigEfData.java36 private final PersistableBundle mConfig; field in CarrierConfigEfData
39 mConfig = config; in CarrierConfigEfData()
44 String spn = mConfig.getString(CarrierConfigManager.KEY_CARRIER_NAME_STRING); in getServiceProviderName()
51 int condition = mConfig.getInt( in getServiceProviderNameDisplayCondition()
59 String[] spdi = mConfig.getStringArray( in getServiceProviderDisplayInformation()
66 String[] ehplmn = mConfig.getStringArray( in getEhplmnList()
73 String[] pnn = mConfig.getStringArray( in getPlmnNetworkNameList()
95 String[] opl = mConfig.getStringArray( in getOperatorPlmnList()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java233 private WifiConfiguration mConfig; field in AccessPoint
272 mConfig = savedState.getParcelable(KEY_CONFIG); in AccessPoint()
274 if (mConfig != null) { in AccessPoint()
275 loadConfig(mConfig); in AccessPoint()
325 update(mConfig, mInfo, mNetworkInfo); in AccessPoint()
361 mConfig = config; in AccessPoint()
389 mConfig = config; in loadConfig()
396 mKey = getKey(mConfig); in updateKey()
714 return (isPasspoint() && config.FQDN.equals(mConfig.FQDN)); in matches()
718 || (mConfig != null && mConfig.shared != config.shared)) { in matches()
[all …]

12345