Home
last modified time | relevance | path

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

/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/entitlement/
DEntitlementConfigurationTest.java94 private EntitlementConfiguration mConfiguration; field in EntitlementConfigurationTest
99 mConfiguration = new EntitlementConfiguration(mContext, SUB_ID); in setUp()
100 mConfiguration.reset(); in setUp()
105 mConfiguration.update(ENTITLEMENT_VERSION, RAW_XML); in updateConfigurations_verifyConfigs()
107 assertThat(mConfiguration.getEntitlementVersion()).isEqualTo(ENTITLEMENT_VERSION); in updateConfigurations_verifyConfigs()
108 assertThat(mConfiguration.getRawXml()).isEqualTo(RAW_XML); in updateConfigurations_verifyConfigs()
109 assertThat(mConfiguration.getToken().get()).isEqualTo("kZYfCEpSsMr88KZVmab5UsZVzl+nWSsX"); in updateConfigurations_verifyConfigs()
110 assertThat(mConfiguration.getTokenValidity()).isEqualTo(3600); in updateConfigurations_verifyConfigs()
111 assertThat(mConfiguration.getVersion()).isEqualTo("1"); in updateConfigurations_verifyConfigs()
112 assertThat(mConfiguration.entitlementValidation()).isEqualTo( in updateConfigurations_verifyConfigs()
[all …]
/packages/modules/StatsD/statsd/tools/localtools/test/com/android/statsd/shelltools/testdrive/
DConfigurationTest.java58 private final TestDrive.Configuration mConfiguration = new TestDrive.Configuration(); field in ConfigurationTest
66 mConfiguration.addAtom(atom, null); in testOnePushed()
67 StatsdConfig config = mConfiguration.createConfig(); in testOnePushed()
83 assertTrue(mConfiguration.isTrackedMetric(config.getEventMetric(0).getId())); in testOnePushed()
102 mConfiguration.addAtom(atom, mProtoIncludes); in testOnePushedFromExternalAtomsProto()
103 StatsdConfig config = mConfiguration.createConfig(); in testOnePushedFromExternalAtomsProto()
119 assertTrue(mConfiguration.isTrackedMetric(config.getEventMetric(0).getId())); in testOnePushedFromExternalAtomsProto()
138 mConfiguration.addAtom(atom, mProtoIncludes); in testOnePushedFromExternalAtomsProtoWithImportedAtom()
139 StatsdConfig config = mConfiguration.createConfig(); in testOnePushedFromExternalAtomsProtoWithImportedAtom()
155 assertTrue(mConfiguration.isTrackedMetric(config.getEventMetric(0).getId())); in testOnePushedFromExternalAtomsProtoWithImportedAtom()
[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/apps/Settings/tests/robotests/src/com/android/settings/development/
DGrammaticalGenderPreferenceControllerTest.java53 private Configuration mConfiguration; field in GrammaticalGenderPreferenceControllerTest
68 mConfiguration = new Configuration(); in setUp()
73 doReturn(mConfiguration).when(mActivityManager).getConfiguration(); in setUp()
81 verify(mActivityManager).updatePersistentConfiguration(mConfiguration); in onPreferenceChange_setNeuter_shouldEnableNeuter()
82 assertThat(mConfiguration.getGrammaticalGender()) in onPreferenceChange_setNeuter_shouldEnableNeuter()
101 verify(mActivityManager).updatePersistentConfiguration(mConfiguration); in onPreferenceChange_setFeminine_shouldEnableFeminine()
102 assertThat(mConfiguration.getGrammaticalGender()) in onPreferenceChange_setFeminine_shouldEnableFeminine()
121 verify(mActivityManager).updatePersistentConfiguration(mConfiguration); in onPreferenceChange_setMasculine_shouldEnableMasculine()
122 assertThat(mConfiguration.getGrammaticalGender()) in onPreferenceChange_setMasculine_shouldEnableMasculine()
/packages/modules/AdServices/adservices/libraries/health/runners/concurrent-longevity/adservices/src/android/adservices/test/longevity/concurrent/
DConcurrentProfile.java89 private final Configuration mConfiguration; field in ConcurrentProfile
100 mConfiguration = getConfigurationArgument(args); in ConcurrentProfile()
102 if (mConfiguration == null) { in ConcurrentProfile()
105 List<Scenario> orderedScenarios = new ArrayList<>(mConfiguration.getScenariosList()); in ConcurrentProfile()
109 if (mConfiguration.getSchedule().equals(Schedule.TIMESTAMPED)) { in ConcurrentProfile()
110 if (mConfiguration.getRepetitions() != 1) { in ConcurrentProfile()
125 } else if (mConfiguration.getSchedule().equals(Schedule.INDEXED)) { in ConcurrentProfile()
127 } else if (mConfiguration.getSchedule().equals(Schedule.SEQUENTIAL)) { in ConcurrentProfile()
135 new ArrayList<>(orderedScenarios.size() * mConfiguration.getRepetitions()); in ConcurrentProfile()
138 for (int i = 0; i < mConfiguration.getRepetitions(); i++) { in ConcurrentProfile()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java118 private final Configuration mConfiguration; field in CarStorageMonitoringService
148 mConfiguration = new Configuration(resources); in CarStorageMonitoringService()
151 Slogf.d(TAG, "service configuration: " + mConfiguration); in CarStorageMonitoringService()
161 mConfiguration.eMmcLifetimeFilePath, in CarStorageMonitoringService()
162 mConfiguration.eMmcEolFilePath); in CarStorageMonitoringService()
166 mIoStatsSamples = new SlidingWindow<>(mConfiguration.ioStatsNumSamplesToStore); in CarStorageMonitoringService()
242 mConfiguration.uptimeIntervalBetweenUptimeDataWriteMs, in init()
248 final String activityPath = mConfiguration.activityHandlerForFlashWearChanges; in launchWearChangeActivity()
311 final String receiverPath = mConfiguration.intentReceiverForUnacceptableIoMetrics; in sendExcessiveIoBroadcast()
335 (total.bytesWrittenToStorage > mConfiguration.acceptableBytesWrittenPerSample); 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/modules/NetworkStack/src/android/net/ip/
DIpClient.java745 private android.net.shared.ProvisioningConfiguration mConfiguration; field in IpClient
1386 final android.net.shared.ProvisioningConfiguration provisioningConfig = mConfiguration; in dump()
1584 mConfiguration = null; in resetLinkProperties()
1643 if (mConfiguration == null in isIpv6LinkLocalProvisioned()
1644 || mConfiguration.mIPv6ProvisioningMode != PROV_IPV6_LINKLOCAL) return false; in isIpv6LinkLocalProvisioned()
1697 InitialConfiguration config = mConfiguration != null ? mConfiguration.mInitialConfig : null; in compareProvisioning()
1739 || (mConfiguration != null && mConfiguration.mUsingMultinetworkPolicyTracker in compareProvisioning()
1957 if (mConfiguration != null && mConfiguration.mInitialConfig != null) { in assembleLinkProperties()
1958 InitialConfiguration config = mConfiguration.mInitialConfig; in assembleLinkProperties()
2277 final ScanResultInfo scanResultInfo = mConfiguration.mScanResultInfo; in detectUpstreamHotspotFromVendorIe()
[all …]
/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/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java302 if (mConfiguration.isWifiManagedProfile) { in getRequestedParams()
303 numOptionalParams = 3 + mConfiguration.options.size(); in getRequestedParams()
305 numOptionalParams = 2 + mConfiguration.options.size(); in getRequestedParams()
316 for (DhcpOption option : mConfiguration.options) { in getRequestedParams()
320 if (mConfiguration.isWifiManagedProfile) { in getRequestedParams()
364 private Configuration mConfiguration; field in DhcpClient
555 if (mConfiguration != null in maybeGetHostnameForSending()
556 && mConfiguration.hostnameSetting != IIpClient.HOSTNAME_SETTING_UNSET) { in maybeGetHostnameForSending()
557 sendHostname = mConfiguration.hostnameSetting == IIpClient.HOSTNAME_SETTING_SEND; in maybeGetHostnameForSending()
601 if (mConfiguration.isPreconnectionEnabled) { in recordMetricEnabledFeatures()
[all …]
/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/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastServiceTestCase.java84 protected Configuration mConfiguration; field in CellBroadcastServiceTestCase
248 mConfiguration = new Configuration(); in setUp()
249 doReturn(mConfiguration).when(mResources).getConfiguration(); in setUp()
DCellBroadcastInternalReceiverTest.java49 private Configuration mConfiguration = new Configuration(); field in CellBroadcastInternalReceiverTest
58 doReturn(mConfiguration).when(mResources).getConfiguration(); in setUp()
DCellBroadcastAlertAudioTest.java71 private Configuration mConfiguration = new Configuration(); field in CellBroadcastAlertAudioTest
128 doReturn(mConfiguration).when(mResources).getConfiguration(); in setUp()
DCellBroadcastReceiverTest.java101 private Configuration mConfiguration = new Configuration(); field in CellBroadcastReceiverTest
131 doReturn(mConfiguration).when(mResources).getConfiguration(); in setUp()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastHandlerTest.java115 private Configuration mConfiguration; field in CellBroadcastHandlerTest
203 mConfiguration = new Configuration(); in setUp()
204 doReturn(mConfiguration).when(mMockedResources).getConfiguration(); in setUp()
DGsmCellBroadcastHandlerTest.java101 private Configuration mConfiguration; field in GsmCellBroadcastHandlerTest
198 mConfiguration = new Configuration(); in setUp()
199 doReturn(mConfiguration).when(mMockedResources).getConfiguration(); in setUp()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSsidTranslatorTest.java58 private @Mock Configuration mConfiguration; field in SsidTranslatorTest
67 when(mResources.getConfiguration()).thenReturn(mConfiguration); in setUp()
68 when(mConfiguration.getLocales()).thenReturn(mLocaleList); in setUp()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DCarUiPortraitHomeScreen.java165 private final Configuration mConfiguration = new Configuration(); field in CarUiPortraitHomeScreen
638 int diff = mConfiguration.updateFrom(newConfig); in onConfigurationChanged()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java251 private @Mock Configuration mConfiguration; field in NetworkMonitorTest
627 doReturn(mConfiguration).when(mResources).getConfiguration(); in setUp()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java266 @Mock Configuration mConfiguration; field in WifiP2pServiceImplTest
1433 when(mResources.getConfiguration()).thenReturn(mConfiguration); in setUpWifiP2pServiceImpl()