Home
last modified time | relevance | path

Searched refs:mConfiguration (Results 1 – 16 of 16) sorted by relevance

/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/entitlement/
DEntitlementConfigurationTest.java74 private EntitlementConfiguration mConfiguration; field in EntitlementConfigurationTest
79 mConfiguration = new EntitlementConfiguration(mContext, SUB_ID); in setUp()
80 mConfiguration.reset(); in setUp()
85 mConfiguration.update(RAW_XML); in updateConfigurations_verifyConfigs()
87 assertThat(mConfiguration.getVolteStatus()).isEqualTo(0); in updateConfigurations_verifyConfigs()
88 assertThat(mConfiguration.getVoWifiStatus()).isEqualTo(1); in updateConfigurations_verifyConfigs()
89 assertThat(mConfiguration.getSmsOverIpStatus()).isEqualTo(2); in updateConfigurations_verifyConfigs()
90 assertThat(mConfiguration.getToken().get()).isEqualTo("kZYfCEpSsMr88KZVmab5UsZVzl+nWSsX"); in updateConfigurations_verifyConfigs()
91 assertThat(mConfiguration.getTokenValidity()).isEqualTo(3600); in updateConfigurations_verifyConfigs()
92 assertThat(mConfiguration.entitlementValidation()).isEqualTo( in updateConfigurations_verifyConfigs()
[all …]
/packages/modules/StatsD/statsd/tools/localtools/test/com/android/statsd/shelltools/testdrive/
DConfigurationTest.java57 private final TestDrive.Configuration mConfiguration = new TestDrive.Configuration(); field in ConfigurationTest
63 mConfiguration.addAtom(atom); in testOnePushed()
64 StatsdConfig config = mConfiguration.createConfig(); in testOnePushed()
80 assertTrue(mConfiguration.isTrackedMetric(config.getEventMetric(0).getId())); in testOnePushed()
94 mConfiguration.addAtom(atom); in testOnePulled()
95 StatsdConfig config = mConfiguration.createConfig(); in testOnePulled()
124 assertTrue(mConfiguration.isTrackedMetric(config.getGaugeMetric(0).getId())); in testOnePulled()
144 mConfiguration.addAtom(pulledAtom); in testOnePulledTwoPushed()
149 mConfiguration.addAtom(atom); in testOnePulledTwoPushed()
151 StatsdConfig config = mConfiguration.createConfig(); in testOnePulledTwoPushed()
[all …]
DTestDriveTest.java160 private final TestDrive.Configuration mConfiguration = new TestDrive.Configuration(); field in TestDriveTest
179 boolean result = mTestDrive.processArgs(mConfiguration, mArgs, mConnectedDevices, in testProcessArgs()
183 assertArrayEquals(mExpect.atoms, collectAtoms(mConfiguration)); in testProcessArgs()
184 assertEquals(mExpect.onePushedAtomEvent, mConfiguration.mOnePushedAtomEvent); in testProcessArgs()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/registration/
DRegistrationControllerImpl.java112 private SipDelegateConfiguration mConfiguration; field in RegistrationControllerImpl.RegistrationContext
130 RegistrationContext.this.mConfiguration = registeredSipConfig;
281 return mConfiguration.getVersion(); in getVersion()
286 return mConfiguration.getSipServerAddress().getAddress().getHostAddress(); in getOutboundProxyAddr()
291 return mConfiguration.getSipServerAddress().getPort(); in getOutboundProxyPort()
296 return mConfiguration.getLocalAddress().getAddress().getHostAddress(); in getLocalIpAddress()
301 return mConfiguration.getLocalAddress().getPort(); in getLocalPort()
306 int sipTransport = mConfiguration.getTransportType(); in getSipTransport()
312 return mConfiguration.getPublicUserIdentifier(); in getPublicUserIdentity()
317 return mConfiguration.getHomeDomain(); in getDomain()
[all …]
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java521 private android.net.shared.ProvisioningConfiguration mConfiguration; field in IpClient
1061 final android.net.shared.ProvisioningConfiguration provisioningConfig = mConfiguration; in dump()
1178 mConfiguration = null; in resetLinkProperties()
1242 InitialConfiguration config = mConfiguration != null ? mConfiguration.mInitialConfig : null; in compareProvisioning()
1284 || (mConfiguration != null && mConfiguration.mUsingMultinetworkPolicyTracker in compareProvisioning()
1457 if (mConfiguration != null && mConfiguration.mInitialConfig != null) { in assembleLinkProperties()
1458 InitialConfiguration config = mConfiguration.mInitialConfig; in assembleLinkProperties()
1664 final ScanResultInfo scanResultInfo = mConfiguration.mScanResultInfo; in detectUpstreamHotspotFromVendorIe()
1668 if (mConfiguration.mDisplayName == null in detectUpstreamHotspotFromVendorIe()
1669 || !removeDoubleQuotes(mConfiguration.mDisplayName).equals(ssid)) { in detectUpstreamHotspotFromVendorIe()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java109 private final Configuration mConfiguration; field in CarStorageMonitoringService
139 mConfiguration = new Configuration(resources); in CarStorageMonitoringService()
142 Slog.d(TAG, "service configuration: " + mConfiguration); in CarStorageMonitoringService()
155 mIoStatsSamples = new SlidingWindow<>(mConfiguration.ioStatsNumSamplesToStore); in CarStorageMonitoringService()
230 mConfiguration.uptimeIntervalBetweenUptimeDataWriteMs, in init()
236 final String activityPath = mConfiguration.activityHandlerForFlashWearChanges; in launchWearChangeActivity()
299 final String receiverPath = mConfiguration.intentReceiverForUnacceptableIoMetrics; in sendExcessiveIoBroadcast()
323 (total.bytesWrittenToStorage > mConfiguration.acceptableBytesWrittenPerSample); in needsExcessiveIoBroadcastLocked()
325 (total.fsyncCalls > mConfiguration.acceptableFsyncCallsPerSample); in needsExcessiveIoBroadcastLocked()
327 }) > mConfiguration.maxExcessiveIoSamplesInWindow; in needsExcessiveIoBroadcastLocked()
[all …]
/packages/apps/Camera2/src/com/android/camera/processing/memory/
DLruPool.java99 private final Configuration<TKey, TValue> mConfiguration; field in LruPool
124 mConfiguration = configuration; in LruPool()
156 value = mConfiguration.create(key); in acquire()
241 mConfiguration.entryEvicted(key, value); in unsafeTrimToSize()
251 int result = mConfiguration.sizeOf(key, value); in checkedSizeOf()
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DGazeDriverAwarenessSupplier.java55 private GazeAttentionProcessor.Configuration mConfiguration; field in GazeDriverAwarenessSupplier
118 mConfiguration = loadConfiguration(); in onReady()
119 mProcessor = new GazeAttentionProcessor(mConfiguration); in onReady()
143 mTimeSource.elapsedRealtime(), mConfiguration.initialValue)); in onReady()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConnectionActivity.java79 private WifiConfiguration mConfiguration; field in WifiConnectionActivity
191 mConfiguration = WifiConfigHelper.getConfiguration( in onCreate()
199 userChoiceInfo.setWifiConfiguration(mConfiguration); in onCreate()
203 mConfiguration.getNetworkSelectionStatus(); in onCreate()
207 } else if (WifiConfigHelper.isNetworkSaved(mConfiguration)) { in onCreate()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ui/
DThemeUiTestBase.java45 protected Configuration mConfiguration; field in ThemeUiTestBase
53 mConfiguration = mTargetContext.getResources().getConfiguration(); in setUp()
60 mTargetContext.getResources().updateConfiguration(mConfiguration, mDisplayMetrics, in tearDown()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java309 for (DhcpOption option : mConfiguration.options) { in getRequestedParams()
352 private Configuration mConfiguration; field in DhcpClient
584 if (mConfiguration.isPreconnectionEnabled) { in recordMetricEnabledFeatures()
753 mConfiguration.options); in sendDiscoverPacket()
768 mConfiguration.options); in sendRequestPacket()
810 final String l2Key = mConfiguration.l2Key; in setLeaseExpiredToIpMemoryStore()
823 final String l2Key = mConfiguration.l2Key; in maybeSaveLeaseToIpMemoryStore()
1005 mConfiguration = (Configuration) message.obj; in processMessage()
1006 if (mConfiguration.isPreconnectionEnabled) { in processMessage()
1224 mIpMemoryStore.retrieveNetworkAttributes(mConfiguration.l2Key, listener); in enter()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryChartPreferenceControllerTest.java87 @Mock private Configuration mConfiguration; field in BatteryChartPreferenceControllerTest
132 doReturn(mConfiguration).when(mResources).getConfiguration(); in testOnResume_uiModeIsChanged_clearBatteryDiffEntryCache()
133 mConfiguration.uiMode = Configuration.UI_MODE_NIGHT_UNDEFINED; in testOnResume_uiModeIsChanged_clearBatteryDiffEntryCache()
138 mConfiguration.uiMode = Configuration.UI_MODE_NIGHT_YES; in testOnResume_uiModeIsChanged_clearBatteryDiffEntryCache()
148 doReturn(mConfiguration).when(mResources).getConfiguration(); in testOnResume_uiModeIsNotChanged_notClearBatteryDiffEntryCache()
149 mConfiguration.uiMode = Configuration.UI_MODE_NIGHT_UNDEFINED; in testOnResume_uiModeIsNotChanged_notClearBatteryDiffEntryCache()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastInternalReceiverTest.java42 private Configuration mConfiguration = new Configuration(); field in CellBroadcastInternalReceiverTest
49 doReturn(mConfiguration).when(mResources).getConfiguration(); in setUp()
DCellBroadcastAlertAudioTest.java52 private Configuration mConfiguration = new Configuration(); field in CellBroadcastAlertAudioTest
103 doReturn(mConfiguration).when(mResources).getConfiguration(); in setUp()
DCellBroadcastReceiverTest.java89 private Configuration mConfiguration = new Configuration(); field in CellBroadcastReceiverTest
119 doReturn(mConfiguration).when(mResources).getConfiguration(); in setUp()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java218 private @Mock Configuration mConfiguration; field in NetworkMonitorTest
492 doReturn(mConfiguration).when(mResources).getConfiguration(); in setUp()