Home
last modified time | relevance | path

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

12345

/frameworks/av/media/libstagefright/codecs/mp3dec/test/
DMp3DecoderTest.cpp41 Mp3DecoderTest() : mConfig(nullptr) {} in Mp3DecoderTest()
44 if (mConfig) { in ~Mp3DecoderTest()
45 delete mConfig; in ~Mp3DecoderTest()
46 mConfig = nullptr; in ~Mp3DecoderTest()
51 mConfig = new tPVMP3DecoderExternal{}; in SetUp()
52 ASSERT_NE(mConfig, nullptr) << "Failed to initialize config. No Memory available"; in SetUp()
53 mConfig->equalizerType = flat; in SetUp()
54 mConfig->crcEnabled = false; in SetUp()
57 tPVMP3DecoderExternal *mConfig; member in Mp3DecoderTest
76 mConfig->inputBufferCurrentLength = bytesRead; in DecodeFrames()
[all …]
/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()).thenReturn(true); in testAppYesChannelNo()
90 when(mConfig.areBubblesAllowed(mPkg, mUid)).thenReturn(true); in testAppYesChannelNo()
101 extractor.setConfig(mConfig); in testAppNoChannelYes()
103 when(mConfig.bubblesEnabled()).thenReturn(true); in testAppNoChannelYes()
104 when(mConfig.areBubblesAllowed(mPkg, mUid)).thenReturn(false); in testAppNoChannelYes()
115 extractor.setConfig(mConfig); in testAppYesChannelYes()
117 when(mConfig.bubblesEnabled()).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()
208 return mConfig; in getConfig()
211 private final IpSecConfig mConfig; field in IpSecTransform
315 mConfig.getNetwork(), intervalSeconds, mKeepaliveCallback, in startNattKeepalive()
316 NetworkUtils.numericToInetAddress(mConfig.getSourceAddress()), in startNattKeepalive()
318 NetworkUtils.numericToInetAddress(mConfig.getDestinationAddress())); in startNattKeepalive()
349 private IpSecConfig mConfig; field in IpSecTransform.Builder
362 mConfig.setEncryption(algo); in setEncryption()
377 mConfig.setAuthentication(algo); in setAuthentication()
[all …]
DNetworkAgentConfig.java232 private final NetworkAgentConfig mConfig = new NetworkAgentConfig(); field in NetworkAgentConfig.Builder
241 mConfig.explicitlySelected = explicitlySelected; in setExplicitlySelected()
254 mConfig.acceptUnvalidated = unvalidatedConnectivityAcceptable; in setUnvalidatedConnectivityAcceptable()
267 mConfig.acceptPartialConnectivity = partialConnectivityAcceptable; in setPartialConnectivityAcceptable()
279 mConfig.subscriberId = subscriberId; in setSubscriberId()
292 mConfig.skip464xlat = true; in disableNat64Detection()
305 mConfig.provisioningNotificationDisabled = true; in disableProvisioningNotification()
317 mConfig.legacyType = legacyType; in setLegacyType()
328 mConfig.legacyTypeName = legacyTypeName; in setLegacyTypeName()
340 mConfig.mLegacyExtraInfo = legacyExtraInfo; in setLegacyExtraInfo()
[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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java72 private final PasspointConfiguration mConfig; field in PasspointProvider
119 mConfig = new PasspointConfiguration(config); in PasspointProvider()
132 if (mConfig.getCredential().getUserCredential() != null) { in PasspointProvider()
135 mConfig.getCredential().getUserCredential().getNonEapInnerMethod())); in PasspointProvider()
138 } else if (mConfig.getCredential().getCertCredential() != null) { in PasspointProvider()
144 mEAPMethodID = mConfig.getCredential().getSimCredential().getEapType(); in PasspointProvider()
147 mConfig.getCredential().getSimCredential().getImsi()); in PasspointProvider()
154 return new PasspointConfiguration(mConfig); in getConfig()
215 X509Certificate[] x509Certificates = mConfig.getCredential().getCaCertificates(); in installCertsAndKeys()
232 if (mConfig.getCredential().getClientPrivateKey() != null) { in installCertsAndKeys()
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/fuzzer/
Dmp3_dec_fuzzer.cpp161 tPVMP3DecoderExternal *mConfig = nullptr; member in Codec
166 mConfig = new tPVMP3DecoderExternal{}; in initDecoder()
167 if (!mConfig) { in initDecoder()
176 pvmp3_InitDecoder(mConfig, mDecoderBuf); in initDecoder()
182 mConfig->equalizerType = kEqualizerTypes[equalizerTypeValue]; in decodeFrames()
183 mConfig->crcEnabled = data[1] & 0x1; in decodeFrames()
195 mConfig->inputBufferCurrentLength = size; in decodeFrames()
196 mConfig->inputBufferUsedLength = 0; in decodeFrames()
197 mConfig->inputBufferMaxLength = 0; in decodeFrames()
198 mConfig->pInputBuffer = data; in decodeFrames()
[all …]
/frameworks/base/core/java/android/security/net/config/
DRootTrustManager.java43 private final ApplicationConfig mConfig; field in RootTrustManager
49 mConfig = config; in RootTrustManager()
57 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted()
66 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted()
75 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted()
89 NetworkSecurityConfig config = mConfig.getConfigForHostname(host); in checkServerTrusted()
105 NetworkSecurityConfig config = mConfig.getConfigForHostname(host); in checkServerTrusted()
112 if (mConfig.hasPerDomainConfigs()) { in checkServerTrusted()
117 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkServerTrusted()
129 if (hostname == null && mConfig.hasPerDomainConfigs()) { in checkServerTrusted()
[all …]
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/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/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/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/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()
45 mConfig.areBubblesAllowed(record.sbn.getPackageName(), record.sbn.getUid()); in process()
46 if (!mConfig.bubblesEnabled() || !appCanShowBubble) { in process()
61 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/av/services/audioflinger/
DEffects.cpp521 mConfig{{}, {}}, in EffectModule()
593 memset(mConfig.inputCfg.buffer.raw, in updateState()
595 mConfig.inputCfg.buffer.frameCount*sizeof(int32_t)); in updateState()
638 audio_channel_count_from_out_mask(mConfig.inputCfg.channels); in process()
640 audio_channel_count_from_out_mask(mConfig.outputCfg.channels); in process()
651 mConfig.inputCfg.buffer.frameCount, in process()
652 mConfig.outputCfg.buffer.frameCount); in process()
656 mConfig.outputCfg.buffer.f32, in process()
657 mConfig.inputCfg.buffer.f32, in process()
661 mConfig.outputCfg.buffer.s16, in process()
[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/services/core/java/com/android/server/connectivity/
DVpn.java207 protected VpnConfig mConfig; field in Vpn
323 if (mConfig == null) { in updateCapabilities()
328 Network[] underlyingNetworks = mConfig.underlyingNetworks; in updateCapabilities()
334 final boolean isAlwaysMetered = mIsPackageTargetingAtLeastQ && mConfig.isMetered; in updateCapabilities()
875 mConfig = null; in prepareInternal()
1007 boolean allowIPv4 = mConfig.allowIPv4;
1008 boolean allowIPv6 = mConfig.allowIPv6;
1014 if (mConfig.addresses != null) {
1015 for (LinkAddress address : mConfig.addresses) {
1022 if (mConfig.routes != null) {
[all …]
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp193 device->configure(when, &mConfig, 0); in addDeviceLocked()
352 mPolicy->getReaderConfiguration(&mConfig); in refreshConfigurationLocked()
353 mEventHub->setExcludedDevices(mConfig.excludedDeviceNames); in refreshConfigurationLocked()
364 device->configure(now, &mConfig, changes); in refreshConfigurationLocked()
638 for (size_t i = 0; i < mConfig.excludedDeviceNames.size(); i++) { in dump()
642 dump += mConfig.excludedDeviceNames[i]; in dump()
646 mConfig.virtualKeyQuietTime * 0.000001f); in dump()
651 mConfig.pointerVelocityControlParameters.scale, in dump()
652 mConfig.pointerVelocityControlParameters.lowThreshold, in dump()
653 mConfig.pointerVelocityControlParameters.highThreshold, in dump()
[all …]
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp90 effect_config_t mConfig; member
168 pContext->mConfig = *pConfig; in Visualizer_setConfig()
192 *pConfig = pContext->mConfig; in Visualizer_getConfig()
210 pContext->mConfig.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in Visualizer_init()
211 pContext->mConfig.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in Visualizer_init()
212 pContext->mConfig.inputCfg.format = kProcessFormat; in Visualizer_init()
213 pContext->mConfig.inputCfg.samplingRate = 44100; in Visualizer_init()
214 pContext->mConfig.inputCfg.bufferProvider.getBuffer = NULL; in Visualizer_init()
215 pContext->mConfig.inputCfg.bufferProvider.releaseBuffer = NULL; in Visualizer_init()
216 pContext->mConfig.inputCfg.bufferProvider.cookie = NULL; in Visualizer_init()
[all …]

12345