/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 87 private final PasspointConfiguration mConfig; field in PasspointProvider 137 mConfig = new PasspointConfiguration(config); in PasspointProvider() 153 if (mConfig.getCredential().getUserCredential() != null) { in PasspointProvider() 156 mConfig.getCredential().getUserCredential().getNonEapInnerMethod())); in PasspointProvider() 158 } else if (mConfig.getCredential().getCertCredential() != null) { in PasspointProvider() 163 mEAPMethodID = mConfig.getCredential().getSimCredential().getEapType(); in PasspointProvider() 166 mConfig.getCredential().getSimCredential().getImsi()); in PasspointProvider() 199 return new PasspointConfiguration(mConfig); in getConfig() 245 boolean changed = mConfig.isAutojoinEnabled() != autoJoinEnabled; in setAutojoinEnabled() 246 mConfig.setAutojoinEnabled(autoJoinEnabled); in setAutojoinEnabled() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/ |
D | ProvisioningConfigurationTest.java | 55 private ProvisioningConfiguration mConfig; field in ProvisioningConfigurationTest 81 mConfig = new ProvisioningConfiguration(); in setUp() 82 mConfig.mEnableIPv4 = true; in setUp() 83 mConfig.mEnableIPv6 = true; in setUp() 84 mConfig.mUsingMultinetworkPolicyTracker = true; in setUp() 85 mConfig.mUsingIpReachabilityMonitor = true; in setUp() 86 mConfig.mRequestedPreDhcpActionMs = 42; in setUp() 87 mConfig.mInitialConfig = new InitialConfiguration(); in setUp() 88 mConfig.mInitialConfig.ipAddresses.add( in setUp() 90 mConfig.mStaticIpConfig = new StaticIpConfiguration(); in setUp() [all …]
|
D | InitialConfigurationTest.java | 45 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()
|
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/ |
D | StateManager.java | 48 private final AnimationState mConfig = new AnimationState(); field in StateManager 87 + ", isInTransition:" + (mConfig.currentAnimation != null) + ")"; in toString() 96 writer.println(prefix + "\tisInTransition:" + (mConfig.currentAnimation != null)); in dump() 129 && (mConfig.targetState == null || mConfig.targetState == state); in isInStableState() 176 boolean wasInAnimation = mConfig.currentAnimation != null; in reapplyState() 181 if (mConfig.currentAnimation == null) { in reapplyState() 195 if (mConfig.currentAnimation == null) { in goToState() 201 } else if (!mConfig.userControlled && animated && mConfig.targetState == state) { in goToState() 204 mConfig.currentAnimation.addListener(listener); in goToState() 233 int startChangeId = mConfig.changeId; in goToState() [all …]
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/ |
D | WifiConfigHelperTest.java | 37 private WifiConfiguration mConfig; field in WifiConfigHelperTest 46 WifiConfigHelper.setConfigSsid(mConfig, "0000aaaaFFFF"); in testSetConfigSsid() 47 assertThat(isDoubleQuoted(mConfig.SSID)).isTrue(); in testSetConfigSsid() 48 WifiConfigHelper.setConfigSsid(mConfig, "atvtest"); in testSetConfigSsid() 49 assertThat(isDoubleQuoted(mConfig.SSID)).isTrue(); in testSetConfigSsid() 50 WifiConfigHelper.setConfigSsid(mConfig, "0000aaaaFFFF1"); in testSetConfigSsid() 51 assertThat(isDoubleQuoted(mConfig.SSID)).isTrue(); in testSetConfigSsid() 52 WifiConfigHelper.setConfigSsid(mConfig, "1234abcdEFFF"); in testSetConfigSsid() 53 assertThat(isDoubleQuoted(mConfig.SSID)).isTrue(); in testSetConfigSsid() 54 WifiConfigHelper.setConfigSsid(mConfig, "1234abcdEFFG"); in testSetConfigSsid() [all …]
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
D | VehiclePropConfigBuilder.java | 32 private final VehiclePropConfig mConfig; field in VehiclePropConfigBuilder 40 mConfig = new VehiclePropConfig(); in VehiclePropConfigBuilder() 41 mConfig.prop = propId; in VehiclePropConfigBuilder() 42 mConfig.access = VehiclePropertyAccess.READ_WRITE; in VehiclePropConfigBuilder() 43 mConfig.changeMode = VehiclePropertyChangeMode.ON_CHANGE; in VehiclePropConfigBuilder() 73 mConfig.access = access; in setAccess() 79 mConfig.changeMode = changeMode; in setChangeMode() 85 mConfig.configString = configString; in setConfigString() 92 mConfig.configArray.clear(); in setConfigArray() 93 mConfig.configArray.addAll(configArray); in setConfigArray() [all …]
|
/packages/services/Car/cpp/evs/apps/default/ |
D | RenderTopView.cpp | 99 const ConfigManager& mConfig) : in RenderTopView() argument 101 mConfig(mConfig) { in RenderTopView() 191 const float top = mConfig.getDisplayTopLocation(); in drawFrame() 192 const float bottom = mConfig.getDisplayBottomLocation(); in drawFrame() 193 const float right = mConfig.getDisplayRightLocation(sAspectRatio); in drawFrame() 194 const float left = mConfig.getDisplayLeftLocation(sAspectRatio); in drawFrame() 239 const float carLengthInTexels = mConfig.carGraphicRearPixel() - mConfig.carGraphicFrontPixel(); in renderCarTopView() 240 const float carSpaceUnitsPerTexel = mConfig.getCarLength() / carLengthInTexels; in renderCarTopView() 245 mConfig.carGraphicRearPixel(); in renderCarTopView() 248 const float btCS = mConfig.getRearLocation() - textureExtentBehindCarInCarSpace; in renderCarTopView() [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkAgentConfig.java | 261 private final NetworkAgentConfig mConfig = new NetworkAgentConfig(); field in NetworkAgentConfig.Builder 270 mConfig.explicitlySelected = explicitlySelected; in setExplicitlySelected() 283 mConfig.acceptUnvalidated = unvalidatedConnectivityAcceptable; in setUnvalidatedConnectivityAcceptable() 296 mConfig.acceptPartialConnectivity = partialConnectivityAcceptable; in setPartialConnectivityAcceptable() 309 mConfig.subscriberId = subscriberId; in setSubscriberId() 322 mConfig.skip464xlat = !enabled; in setNat64DetectionEnabled() 335 mConfig.provisioningNotificationDisabled = !enabled; in setProvisioningNotificationEnabled() 347 mConfig.legacyType = legacyType; in setLegacyType() 359 mConfig.legacySubType = legacySubType; in setLegacySubType() 370 mConfig.legacyTypeName = legacyTypeName; in setLegacyTypeName() [all …]
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/ |
D | ProvisioningConfiguration.java | 89 protected ProvisioningConfiguration mConfig = new ProvisioningConfiguration(); field in ProvisioningConfiguration.Builder 95 mConfig.mEnableIPv4 = false; in withoutIPv4() 103 mConfig.mEnableIPv6 = false; in withoutIPv6() 112 mConfig.mUsingMultinetworkPolicyTracker = false; in withoutMultinetworkPolicyTracker() 121 mConfig.mUsingIpReachabilityMonitor = false; in withoutIpReachabilityMonitor() 130 mConfig.mRequestedPreDhcpActionMs = DEFAULT_TIMEOUT_MS; in withPreDhcpAction() 141 mConfig.mRequestedPreDhcpActionMs = dhcpActionTimeoutMs; in withPreDhcpAction() 149 mConfig.mEnablePreconnection = true; in withPreconnection() 157 mConfig.mInitialConfig = initialConfig; in withInitialConfiguration() 165 mConfig.mStaticIpConfig = staticConfig; in withStaticConfiguration() [all …]
|
/packages/services/Car/experimental/service/src/com/android/experimentalcar/ |
D | TouchDriverAwarenessSupplier.java | 78 private Config mConfig; field in TouchDriverAwarenessSupplier 131 mConfig = loadConfig(); in onReady() 132 logd("Config loaded: " + mConfig); in onReady() 133 mCurrentPermits.set(mConfig.getMaxPermits()); in onReady() 185 + mConfig.getPermitRefreshIntervalMillis()); in schedulePermitRefreshLocked() 188 mConfig.getPermitRefreshIntervalMillis(), in schedulePermitRefreshLocked() 189 mConfig.getPermitRefreshIntervalMillis(), in schedulePermitRefreshLocked() 212 boolean isEventAccepted = timeSinceLastEvent >= mConfig.getThrottleDurationMillis(); in consumePermitLocked() 228 (float) curPermits / mConfig.getMaxPermits())); in consumePermitLocked() 238 cur -> Math.min(cur + 1, mConfig.getMaxPermits())); in handlePermitRefreshLocked() [all …]
|
D | GazeAttentionProcessor.java | 29 private final Configuration mConfig; field in GazeAttentionProcessor 39 mConfig = configuration; in GazeAttentionProcessor() 40 mAttention = mConfig.initialValue; in GazeAttentionProcessor() 61 logd("First pass, returning 'initialValue=" + mConfig.initialValue); in updateAttention() 63 return mConfig.initialValue; in updateAttention() 73 mAttention += dtSeconds * mConfig.growthRate; in updateAttention() 77 mAttention -= dtSeconds * mConfig.decayRate; in updateAttention()
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarSensorConfig.java | 46 private final Bundle mConfig; field in CarSensorConfig 52 mConfig = in.readBundle(); in CarSensorConfig() 65 dest.writeBundle(mConfig); in writeToParcel() 86 mConfig = b.deepCopy(); in CarSensorConfig() 99 return mConfig; in getBundle() 104 if (mConfig.containsKey(key)) { in getInt() 105 return mConfig.getInt(key); in getInt() 122 sb.append("mConfig: " + mConfig.toString()); in toString()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AmbientDisplayNotificationsPreferenceControllerTest.java | 56 private AmbientDisplayConfiguration mConfig; field in AmbientDisplayNotificationsPreferenceControllerTest 75 mController.setConfig(mConfig); in setUp() 81 when(mConfig.pulseOnNotificationEnabled(anyInt())).thenReturn(true); in updateState_enabled() 90 when(mConfig.pulseOnNotificationEnabled(anyInt())).thenReturn(false); in updateState_disabled() 115 when(mConfig.pulseOnNotificationAvailable()).thenReturn(true); in isAvailable_available() 122 when(mConfig.pulseOnNotificationAvailable()).thenReturn(false); in isAvailable_unavailable() 129 when(mConfig.pulseOnNotificationEnabled(UserHandle.myUserId())).thenReturn(true); in isChecked_checked_shouldReturnTrue() 136 when(mConfig.pulseOnNotificationEnabled(UserHandle.myUserId())).thenReturn(false); in isChecked_checked_shouldReturnFalse()
|
D | AmbientDisplayAlwaysOnPreferenceControllerTest.java | 54 private AmbientDisplayConfiguration mConfig; field in AmbientDisplayAlwaysOnPreferenceControllerTest 74 mController.setConfig(mConfig); in setUp() 90 when(mConfig.alwaysOnAvailableForUser(anyInt())).thenReturn(true); in getAvailabilityStatus_available() 98 when(mConfig.alwaysOnAvailableForUser(anyInt())).thenReturn(false); in getAvailabilityStatus_disabled_unsupported() 106 when(mConfig.alwaysOnEnabled(anyInt())).thenReturn(true); in isChecked_enabled() 113 when(mConfig.alwaysOnEnabled(anyInt())).thenReturn(false); in isChecked_disabled()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/ |
D | WifiTetherSecurityPreferenceControllerTest.java | 64 private SoftApConfiguration mConfig; field in WifiTetherSecurityPreferenceControllerTest 69 mConfig = new SoftApConfiguration.Builder().setSsid("test_1234") in setUp() 72 when(mWifiManager.getSoftApConfiguration()).thenReturn(mConfig); in setUp() 124 SoftApConfiguration config = new SoftApConfiguration.Builder(mConfig) in updateDisplay_toWpa3Sae_shouldUpdateSecurityValue() 138 SoftApConfiguration config = new SoftApConfiguration.Builder(mConfig) in updateDisplay_toWpa3SaeTransition_shouldUpdateSecurityValue() 152 SoftApConfiguration config = new SoftApConfiguration.Builder(mConfig) in updateDisplay_toWpa2Psk_shouldUpdateSecurityValue() 166 SoftApConfiguration config = new SoftApConfiguration.Builder(mConfig) in updateDisplay_toNone_shouldUpdateSecurityValue() 180 SoftApConfiguration config = new SoftApConfiguration.Builder(mConfig) in updateDisplay_toWpa3SaeButNotSupportWpa3_shouldBeDefaultToWpa2() 195 SoftApConfiguration config = new SoftApConfiguration.Builder(mConfig) in updateDisplay_toWpa3SaeTransitionButNotSupportWpa3_shouldBeDefaultToWpa2()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | ManagedServiceSettings.java | 51 private final Config mConfig; field in ManagedServiceSettings 62 mConfig = getConfig(); in ManagedServiceSettings() 74 .setPermission(mConfig.permission) in onCreate() 75 .setIntentAction(mConfig.intentAction) in onCreate() 76 .setNoun(mConfig.noun) in onCreate() 77 .setSetting(mConfig.setting) in onCreate() 78 .setTag(mConfig.tag) in onCreate() 87 setEmptyText(mConfig.emptyText); in onViewCreated() 212 final String title = getResources().getString(parent.mConfig.warningDialogTitle, label); in onCreateDialog() 213 final String summary = getResources().getString(parent.mConfig.warningDialogSummary, in onCreateDialog()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | EntitlementManagerTest.java | 110 private TetheringConfiguration mConfig; field in EntitlementManagerTest 229 mConfig = new FakeTetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in setUp() 231 return mConfig; in setUp() 254 mConfig = new FakeTetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in setupForRequiredProvisioning() 260 assertTrue(mEnMgr.isTetherProvisioningRequired(mConfig)); in canRequireProvisioning() 268 mConfig = new FakeTetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in toleratesCarrierConfigManagerMissing() 271 assertTrue(mEnMgr.isTetherProvisioningRequired(mConfig)); in toleratesCarrierConfigManagerMissing() 278 mConfig = new FakeTetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in toleratesCarrierConfigMissing() 280 assertTrue(mEnMgr.isTetherProvisioningRequired(mConfig)); in toleratesCarrierConfigMissing() 288 assertTrue(mEnMgr.isTetherProvisioningRequired(mConfig)); in toleratesCarrierConfigNotLoaded() [all …]
|
/packages/services/Car/vehicle-hal-support-lib/test/com/android/car/vehiclehal/test/ |
D | MockedVehicleHal.java | 266 private final VehiclePropConfig mConfig; field in MockedVehicleHal.DefaultPropertyHandler 271 mConfig = config; in DefaultPropertyHandler() 277 assertEquals(mConfig.prop, value.prop); in onPropertySet() 278 assertEquals(VehiclePropertyAccess.WRITE, mConfig.access & VehiclePropertyAccess.WRITE); in onPropertySet() 284 assertEquals(mConfig.prop, value.prop); in onPropertyGet() 285 assertEquals(VehiclePropertyAccess.READ, mConfig.access & VehiclePropertyAccess.READ); in onPropertyGet() 291 assertEquals(mConfig.prop, property); in onPropertySubscribe() 297 assertEquals(mConfig.prop, property); in onPropertyUnsubscribe()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | AmbientDisplayNotificationsPreferenceController.java | 43 private AmbientDisplayConfiguration mConfig; field in AmbientDisplayNotificationsPreferenceController 57 mConfig = config; in setConfig() 97 if (mConfig == null) { in getAmbientConfig() 98 mConfig = new AmbientDisplayConfiguration(mContext); in getAmbientConfig() 101 return mConfig; in getAmbientConfig()
|
D | AmbientDisplayAlwaysOnPreferenceController.java | 41 private AmbientDisplayConfiguration mConfig; field in AmbientDisplayAlwaysOnPreferenceController 92 mConfig = config; in setConfig() 101 if (mConfig == null) { in getConfig() 102 mConfig = new AmbientDisplayConfiguration(mContext); in getConfig() 104 return mConfig; in getConfig()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 253 private volatile TetheringConfiguration mConfig; field in Tethering 291 return mConfig; in Tethering() 310 return mConfig; in Tethering() 318 mEntitlementMgr.reevaluateSimCardProvisioning(mConfig); in Tethering() 339 mPrivateAddressCoordinator = mDeps.getPrivateAddressCoordinator(mContext, mConfig); in Tethering() 367 return mConfig; in Tethering() 382 final boolean isUsingNcm = mConfig.isUsingNcm(); in onChange() 384 if (isUsingNcm != mConfig.isUsingNcm()) { in onChange() 463 if (mEntitlementMgr.getCarrierConfig(mConfig) != null) { in onActiveDataSubscriptionIdChanged() 464 mEntitlementMgr.reevaluateSimCardProvisioning(mConfig); in onActiveDataSubscriptionIdChanged() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | QsbApplication.java | 51 private Config mConfig; field in QsbApplication 111 if (mConfig != null) { in close() 112 mConfig.close(); in close() 113 mConfig = null; in close() 156 if (mConfig == null) { in getConfig() 157 mConfig = createConfig(); in getConfig() 159 return mConfig; in getConfig()
|
D | SuggestionsProviderImpl.java | 38 private final Config mConfig; field in SuggestionsProviderImpl 50 mConfig = config; in SuggestionsProviderImpl() 74 int maxResults = mConfig.getMaxResultsPerSource(); in getSuggestions() 82 if (query.length() == 0 && !mConfig.showSuggestionsForZeroQuery()) { in shouldDisplayResults()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ConnectionFailureNotifier.java | 104 private WifiConfiguration mConfig; field in ConnectionFailureNotifier.DisableMacRandomizationListener 107 mConfig = config; in DisableMacRandomizationListener() 113 mConfig.macRandomizationSetting = in onClick() 115 mWifiConfigManager.addOrUpdateNetwork(mConfig, Process.SYSTEM_UID); in onClick() 117 mWifiConfigManager.getConfiguredNetwork(mConfig.networkId); in onClick()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/ |
D | WifiTetherPasswordPreferenceControllerTest.java | 69 private SoftApConfiguration mConfig; field in WifiTetherPasswordPreferenceControllerTest 75 mConfig = new SoftApConfiguration.Builder().setSsid("test_1234") in setUp() 80 when(mWifiManager.getSoftApConfiguration()).thenReturn(mConfig); in setUp() 94 assertThat(mPreference.getText()).isEqualTo(mConfig.getPassphrase()); in displayPreference_shouldStylePreference() 95 assertThat(mPreference.getSummary()).isEqualTo(mConfig.getPassphrase()); in displayPreference_shouldStylePreference()
|