Searched refs:configuration (Results 1 - 25 of 149) sorted by relevance

123456

/frameworks/support/compat/java/android/support/v4/os/
H A DConfigurationCompat.java36 public static LocaleListCompat getLocales(Configuration configuration) { argument
38 return LocaleListCompat.wrap(configuration.getLocales());
40 return LocaleListCompat.create(configuration.locale);
/frameworks/base/core/jni/include/android_runtime/
H A Dandroid_content_res_Configuration.h21 #include <android/configuration.h>
/frameworks/base/media/java/android/media/
H A DVolumeAutomation.java31 * @param configuration the {@link VolumeShaper.Configuration configuration}
34 * @throws IllegalArgumentException if the {@code configuration} is not allowed by the player.
39 @NonNull VolumeShaper.Configuration configuration);
38 createVolumeShaper( @onNull VolumeShaper.Configuration configuration) argument
H A DIPlayer.aidl31 oneway void applyVolumeShaper(in VolumeShaper.Configuration configuration,
H A DPlayerProxy.java43 * @param conf the configuration being proxied.
138 * @param configuration
143 @NonNull VolumeShaper.Configuration configuration,
146 mConf.getIPlayer().applyVolumeShaper(configuration, operation);
142 applyVolumeShaper( @onNull VolumeShaper.Configuration configuration, @NonNull VolumeShaper.Operation operation) argument
/frameworks/base/core/java/android/view/
H A DDisplayAdjustments.java34 public DisplayAdjustments(Configuration configuration) { argument
35 mConfiguration = new Configuration(configuration != null
36 ? configuration : Configuration.EMPTY);
62 public void setConfiguration(Configuration configuration) { argument
67 mConfiguration.setTo(configuration != null ? configuration : Configuration.EMPTY);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DXmlUtil.java378 * @param configuration WifiConfiguration object to be serialized.
381 XmlSerializer out, WifiConfiguration configuration)
383 XmlUtil.writeNextValue(out, XML_TAG_CONFIG_KEY, configuration.configKey());
384 XmlUtil.writeNextValue(out, XML_TAG_SSID, configuration.SSID);
385 XmlUtil.writeNextValue(out, XML_TAG_BSSID, configuration.BSSID);
386 XmlUtil.writeNextValue(out, XML_TAG_PRE_SHARED_KEY, configuration.preSharedKey);
387 writeWepKeysToXml(out, configuration.wepKeys);
388 XmlUtil.writeNextValue(out, XML_TAG_WEP_TX_KEY_INDEX, configuration.wepTxKeyIndex);
389 XmlUtil.writeNextValue(out, XML_TAG_HIDDEN_SSID, configuration.hiddenSSID);
390 XmlUtil.writeNextValue(out, XML_TAG_REQUIRE_PMF, configuration
380 writeCommonElementsToXml( XmlSerializer out, WifiConfiguration configuration) argument
417 writeToXmlForBackup(XmlSerializer out, WifiConfiguration configuration) argument
429 writeToXmlForConfigStore( XmlSerializer out, WifiConfiguration configuration) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiBackupRestore.java56 * 1. retrieveBackupDataFromConfigurations: Retrieve the configuration data to be backed up.
57 * 2. retrieveConfigurationsFromBackupData: Restore the configuration using the provided data.
127 Log.e(TAG, "Invalid configuration list received");
167 for (WifiConfiguration configuration : configurations) {
169 if (configuration.isEnterprise() || configuration.isPasspoint()) {
172 if (!mWifiPermissionsUtil.checkConfigOverridePermission(configuration.creatorUid)) {
174 + configuration.configKey());
177 // Write this configuration data now.
179 writeNetworkConfigurationToXml(out, configuration);
189 writeNetworkConfigurationToXml(XmlSerializer out, WifiConfiguration configuration) argument
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
H A DXmlUtilTest.java191 WifiConfiguration configuration = WifiConfigurationTestUtil.createEapNetwork();
192 configuration.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP104);
193 configuration.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP40);
194 configuration.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP);
195 configuration.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP);
196 configuration.status = WifiConfiguration.Status.DISABLED;
197 configuration.linkedConfigurations = new HashMap<>();
198 configuration.linkedConfigurations.put(TEST_DUMMY_CONFIG_KEY, Integer.valueOf(1));
199 configuration.defaultGwMacAddress = TEST_STATIC_IP_GATEWAY_ADDRESS;
200 configuration
430 serializeWifiConfigurationForBackup(WifiConfiguration configuration) argument
441 serializeWifiConfigurationForConfigStore( WifiConfiguration configuration) argument
466 serializeDeserializeWifiConfigurationForBackupRestore( WifiConfiguration configuration) argument
482 serializeDeserializeWifiConfigurationForConfigStore( WifiConfiguration configuration) argument
500 serializeDeserializeWifiConfiguration(WifiConfiguration configuration) argument
510 serializeDeserializeIpConfiguration(IpConfiguration configuration) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_VolumeShaper.h106 sp<VolumeShaper::Configuration> configuration = new VolumeShaper::Configuration(); local
108 configuration->setType(
110 configuration->setId(
112 if (configuration->getType() == VolumeShaper::Configuration::TYPE_SCALE) {
113 configuration->setOptionFlags(
116 configuration->setDurationMs(
118 configuration->setInterpolatorType(
138 configuration->emplace(x[i], y[i]);
143 return configuration;
148 const sp<VolumeShaper::Configuration> &configuration) {
146 convertVolumeShaperToJobject( JNIEnv *env, const fields_t &fields, const sp<VolumeShaper::Configuration> &configuration) argument
[all...]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
H A DAccessPointTest.java83 WifiConfiguration configuration = createWifiConfiguration();
84 configuration.meteredHint = true;
88 AccessPoint originalAccessPoint = new AccessPoint(mContext, configuration);
90 wifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(configuration.SSID));
91 wifiInfo.setBSSID(configuration.BSSID);
92 originalAccessPoint.update(configuration, wifiInfo, networkInfo);
244 WifiConfiguration configuration = createWifiConfiguration();
245 configuration.meteredHint = true;
249 AccessPoint accessPoint = new AccessPoint(mContext, configuration);
251 wifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(configuration
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DActionBarPolicy.java28 * Allows components to query for various configuration policy decisions
81 final Configuration configuration = mContext.getResources().getConfiguration();
82 final int width = configuration.screenWidthDp;
83 final int height = configuration.screenHeightDp;
84 return configuration.orientation == Configuration.ORIENTATION_LANDSCAPE ||
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DActionBarPolicy.java31 * Allows components to query for various configuration policy decisions about how the action bar
55 final Configuration configuration = mContext.getResources().getConfiguration();
56 final int widthDp = configuration.screenWidthDp;
57 final int heightDp = configuration.screenHeightDp;
58 final int smallest = configuration.smallestScreenWidthDp;
/frameworks/support/design/tests/src/android/support/design/widget/
H A DTextInputLayoutPseudoLocaleTest.java56 Configuration configuration = resources.getConfiguration();
57 configuration.setLocale(new Locale(language, country));
58 resources.updateConfiguration(configuration, resources.getDisplayMetrics());
/frameworks/native/services/audiomanager/
H A DIPlayer.cpp94 const sp<VolumeShaper::Configuration>& configuration,
99 status_t status = configuration.get() == nullptr
102 ?: configuration->writeToParcel(&data);
104 ALOGW("applyVolumeShaper failed configuration parceling: %d", status);
164 sp<VolumeShaper::Configuration> configuration; local
170 configuration = new VolumeShaper::Configuration();
171 status = configuration->readFromParcel(data);
180 applyVolumeShaper(configuration, operation);
93 applyVolumeShaper( const sp<VolumeShaper::Configuration>& configuration, const sp<VolumeShaper::Operation>& operation) argument
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java20 import com.android.ide.common.resources.configuration.CountryCodeQualifier;
21 import com.android.ide.common.resources.configuration.DensityQualifier;
22 import com.android.ide.common.resources.configuration.FolderConfiguration;
23 import com.android.ide.common.resources.configuration.KeyboardStateQualifier;
24 import com.android.ide.common.resources.configuration.LayoutDirectionQualifier;
25 import com.android.ide.common.resources.configuration.LocaleQualifier;
26 import com.android.ide.common.resources.configuration.NavigationMethodQualifier;
27 import com.android.ide.common.resources.configuration.NetworkCodeQualifier;
28 import com.android.ide.common.resources.configuration.NightModeQualifier;
29 import com.android.ide.common.resources.configuration
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigurationTestUtil.java50 * These values are used to describe ip configuration parameters for a network.
92 * @param networkId the configuration's networkId
93 * @param uid the configuration's creator uid
94 * @param ssid the configuration's ssid
95 * @param shared whether the configuration is shared with other users on the device
96 * @param enabled whether the configuration is enabled
97 * @param fqdn the configuration's FQDN (Hotspot 2.0 only)
98 * @param providerFriendlyName the configuration's provider's friendly name (Hotspot 2.0 only)
117 * @param networkId the configuration's networkId
118 * @param uid the configuration'
[all...]
H A DWifiConfigManagerTest.java292 * the ephemeral network configuration is not persisted in config store.
331 // Update the same configuration and ensure that the operation failed.
352 // Update the same configuration using the creator UID.
427 // Update the same configuration and ensure that the IP configuration change flags
432 // proxy settings on a configuration
436 // Change the IpConfiguration now and ensure that the IP configuration flags are set now.
567 // proxy settings on a configuration
670 // First retrieve the configuration and check this it does not have this bit set
826 * Verifies that any configuration updat
3287 setDefaults(WifiConfiguration configuration) argument
3324 setCreationDebugParams(WifiConfiguration configuration) argument
3336 setUpdateDebugParams(WifiConfiguration configuration) argument
3355 assertAndSetNetworkBSSID(WifiConfiguration configuration, String bssid) argument
3364 assertAndSetNetworkIpConfiguration( WifiConfiguration configuration, IpConfiguration ipConfiguration) argument
3374 assertAndSetNetworkWepKeysAndTxIndex( WifiConfiguration configuration, String[] wepKeys, int wepTxKeyIdx) argument
3385 assertAndSetNetworkPreSharedKey( WifiConfiguration configuration, String preSharedKey) argument
3394 assertAndSetNetworkEnterprisePassword( WifiConfiguration configuration, String password) argument
3426 isNetworkInConfigStoreData(WifiConfiguration configuration) argument
3441 isNetworkInConfigStoreData( WifiConfiguration configuration, List<WifiConfiguration> networkList) argument
3478 verifyNetworkNotInConfigStoreData(WifiConfiguration configuration) argument
3485 verifyNetworkInConfigStoreData(WifiConfiguration configuration) argument
3489 assertPasswordsMaskedInWifiConfiguration(WifiConfiguration configuration) argument
3511 verifyNetworkInBroadcastAndReturnReason(WifiConfiguration configuration) argument
3534 verifyNetworkAddBroadcast(WifiConfiguration configuration) argument
3543 verifyNetworkUpdateBroadcast(WifiConfiguration configuration) argument
3552 verifyNetworkRemoveBroadcast(WifiConfiguration configuration) argument
3575 addNetworkToWifiConfigManager(WifiConfiguration configuration) argument
3587 addNetworkToWifiConfigManager(WifiConfiguration configuration, int uid) argument
3602 verifyAddNetworkToWifiConfigManager( WifiConfiguration configuration) argument
3619 verifyAddEphemeralNetworkToWifiConfigManager( WifiConfiguration configuration) argument
3636 verifyAddPasspointNetworkToWifiConfigManager( WifiConfiguration configuration) argument
3659 updateNetworkToWifiConfigManager(WifiConfiguration configuration) argument
3670 verifyUpdateNetworkToWifiConfigManager( WifiConfiguration configuration) argument
3686 verifyUpdateNetworkToWifiConfigManagerWithoutIpChange( WifiConfiguration configuration) argument
3698 verifyUpdateNetworkToWifiConfigManagerWithIpChange( WifiConfiguration configuration) argument
3709 verifyRemoveNetworkFromWifiConfigManager( WifiConfiguration configuration) argument
3721 verifyRemoveEphemeralNetworkFromWifiConfigManager( WifiConfiguration configuration) argument
3733 verifyRemovePasspointNetworkFromWifiConfigManager( WifiConfiguration configuration) argument
3748 verifyUpdateNetworkStatus(WifiConfiguration configuration, int status) argument
3821 createScanDetailForNetwork( WifiConfiguration configuration, String bssid, int level, int frequency) argument
3845 createScanDetailForNetwork(WifiConfiguration configuration, String bssid) argument
3852 createScanDetailForNetwork(WifiConfiguration configuration) argument
[all...]
H A DWifiBackupRestoreTest.java104 * Verify that a single open network configuration is serialized & deserialized correctly.
119 * Verify that a single open hidden network configuration is serialized & deserialized
135 * Verify that a single PSK network configuration is serialized & deserialized correctly.
150 * Verify that a single PSK hidden network configuration is serialized & deserialized correctly.
165 * Verify that a single WEP network configuration is serialized & deserialized correctly.
180 * Verify that a single WEP network configuration with only 1 key is serialized & deserialized
196 * Verify that a single enterprise network configuration is not serialized.
212 * Verify that a single PSK network configuration with static ip/proxy settings is serialized &
231 * Verify that a single PSK network configuration with static ip & PAC proxy settings is
250 * Verify that a single PSK network configuration wit
719 writeConfigurationToWpaSupplicantConf( OutputStreamWriter out, WifiConfiguration configuration) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
H A DAppCompatResources.java131 if (entry.configuration.equals(context.getResources().getConfiguration())) {
132 // If the current configuration matches the entry's, we can use it
179 final Configuration configuration; field in class:AppCompatResources.ColorStateListCacheEntry
182 @NonNull Configuration configuration) {
184 this.configuration = configuration;
181 ColorStateListCacheEntry(@onNull ColorStateList value, @NonNull Configuration configuration) argument
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDevice.java201 * @return the configuration
212 UsbConfiguration configuration = (UsbConfiguration)mConfigurations[i];
213 interfaceCount += configuration.getInterfaceCount();
219 UsbConfiguration configuration = (UsbConfiguration)mConfigurations[i];
220 interfaceCount = configuration.getInterfaceCount();
222 mInterfaces[offset++] = configuration.getInterface(j);
256 public void setConfigurations(@NonNull Parcelable[] configuration) { argument
257 mConfigurations = Preconditions.checkArrayElementsNotNull(configuration, "configuration");
H A DUsbConfiguration.java26 * A class representing a configuration on a {@link UsbDevice}.
27 * A USB configuration can have one or more interfaces, each one providing a different
49 * Mask for "self-powered" bit in the configuration's attributes.
54 * Mask for "remote wakeup" bit in the configuration's attributes.
70 * Returns the configuration's ID field.
71 * This is an integer that uniquely identifies the configuration on the device.
73 * @return the configuration's ID
80 * Returns the configuration's name.
82 * @return the configuration's name, or {@code null} if the property could not be read
89 * Returns the self-powered attribute value configuration'
[all...]
/frameworks/av/media/libaaudio/src/binding/
H A DAAudioServiceInterface.h41 * @param configuration contains information about the created stream
45 AAudioStreamConfiguration &configuration) = 0;
/frameworks/av/media/libaudioclient/include/media/
H A DTrackPlayerBase.h36 const sp<VolumeShaper::Configuration>& configuration,
/frameworks/av/services/radio/
H A DAndroid.mk34 # libhardware configuration
38 # Treble configuration

Completed in 488 milliseconds

123456