Home
last modified time | relevance | path

Searched refs:configuration (Results 1 – 25 of 368) sorted by relevance

12345678910>>...15

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java50 final WifiConfiguration configuration = new WifiConfiguration(); in isVisibleToAnyProfile() local
51 configuration.creatorUid = UserHandle.getUid(OTHER_USER_ID, 0); in isVisibleToAnyProfile()
52 assertTrue(WifiConfigurationUtil.isVisibleToAnyProfile(configuration, PROFILES)); in isVisibleToAnyProfile()
55 configuration.shared = false; in isVisibleToAnyProfile()
56 assertFalse(WifiConfigurationUtil.isVisibleToAnyProfile(configuration, PROFILES)); in isVisibleToAnyProfile()
59 configuration.creatorUid = UserHandle.getUid(CURRENT_USER_ID, 0); in isVisibleToAnyProfile()
60 assertTrue(WifiConfigurationUtil.isVisibleToAnyProfile(configuration, PROFILES)); in isVisibleToAnyProfile()
63 configuration.creatorUid = UserHandle.getUid(CURRENT_USER_MANAGED_PROFILE_USER_ID, 0); in isVisibleToAnyProfile()
64 assertTrue(WifiConfigurationUtil.isVisibleToAnyProfile(configuration, PROFILES)); in isVisibleToAnyProfile()
/frameworks/base/docs/html/training/wearables/watch-faces/
Dconfiguration.jd32 <p>Some watch faces support configuration parameters to let users customize how the watch face
37 <p>Watch faces that support configuration parameters can let users customize a watch face using
39 wearable configuration activity on the wearable device, and they can start the companion
40 configuration activity from the Android Wear companion app.</p>
44 implement handheld and wearable configuration activities and how to update a watch face in
45 response to configuration changes.</p>
51 <p>If your watch face includes configuration activities, add the following metadata entries to
57 &lt;!-- companion configuration activity -->
63 &lt;!-- wearable configuration activity -->
77 <p>If your watch face only includes a companion or a wearable configuration activity, you only
[all …]
/frameworks/base/docs/html/work/
Dmanaged-configurations.jd11 <li><a href="#define-configuration">Define Managed Configurations</a></li>
12 <li><a href="#check-configuration">Check Managed Configurations</a></li>
13 <li><a href="#listen-configuration">Listen for Managed Configuration Changes</a></li>
38 This guide shows how to implement managed configuration settings in
45 <strong>Note:</strong> For historical reasons, these configuration settings are known as
48 restrictions can actually implement a wide range of configuration options,
57 Apps define the managed configuration options that can be remotely
59 changed by a managed configuration provider. If your app is running on an
61 can change your app's managed configuration.
67 enterprise administrator communicates configuration changes to the managed
[all …]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
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.ScreenDimensionQualifier;
[all …]
/frameworks/base/core/java/android/view/
DDisplayAdjustments.java34 public DisplayAdjustments(Configuration configuration) { in DisplayAdjustments() argument
35 mConfiguration = configuration; in DisplayAdjustments()
60 public void setConfiguration(Configuration configuration) { in setConfiguration() argument
65 mConfiguration = configuration != null ? configuration : Configuration.EMPTY; in setConfiguration()
DDisplayInfo.java503 Configuration configuration) { in getAppMetrics() argument
504 getMetricsWithSize(outMetrics, ci, configuration, appWidth, appHeight); in getAppMetrics()
508 Configuration configuration) { in getLogicalMetrics() argument
509 getMetricsWithSize(outMetrics, compatInfo, configuration, logicalWidth, logicalHeight); in getLogicalMetrics()
530 Configuration configuration, int width, int height) { in getMetricsWithSize() argument
538 width = (configuration != null in getMetricsWithSize()
539 && configuration.screenWidthDp != Configuration.SCREEN_WIDTH_DP_UNDEFINED) in getMetricsWithSize()
540 ? (int)((configuration.screenWidthDp * outMetrics.density) + 0.5f) : width; in getMetricsWithSize()
541 height = (configuration != null in getMetricsWithSize()
542 && configuration.screenHeightDp != Configuration.SCREEN_HEIGHT_DP_UNDEFINED) in getMetricsWithSize()
[all …]
DViewConfiguration.java384 ViewConfiguration configuration = sConfigurations.get(density); in get() local
385 if (configuration == null) { in get()
386 configuration = new ViewConfiguration(context); in get()
387 sConfigurations.put(density, configuration); in get()
390 return configuration; in get()
DGestureDetector.java429 final ViewConfiguration configuration = ViewConfiguration.get(context); in init() local
430 touchSlop = configuration.getScaledTouchSlop(); in init()
431 doubleTapTouchSlop = configuration.getScaledDoubleTapTouchSlop(); in init()
432 doubleTapSlop = configuration.getScaledDoubleTapSlop(); in init()
433 mMinimumFlingVelocity = configuration.getScaledMinimumFlingVelocity(); in init()
434 mMaximumFlingVelocity = configuration.getScaledMaximumFlingVelocity(); in init()
/frameworks/base/docs/html/guide/topics/resources/
Druntime-changes.jd32 alternative resources that match the new device configuration.</p>
44 invoke configuration changes (such as changing the screen orientation) while performing various
46 user data or state in order to handle events such as configuration changes or when the user receives
56 <li><a href="#RetainingAnObject">Retain an object during a configuration change</a>
57 <p>Allow your activity to restart when a configuration changes, but carry a stateful
61 <li><a href="#HandlingTheChange">Handle the configuration change yourself</a>
62 <p>Prevent the system from restarting your activity during certain configuration
72 connection, or perform other intensive operations, then a full restart due to a configuration change
77 deserialized, which can consume a lot of memory and make the configuration change slow. In such a
79 android.app.Fragment} when your activity is restarted due to a configuration change. This fragment
[all …]
Doverview.jd30 configuration.</p>
50 the device configuration or when there are no alternative resources that match the current
51 configuration.</li>
53 configuration. To specify that a group of resources are for a specific configuration,
54 append an appropriate configuration qualifier to the directory name.</li>
61 device's current configuration to your resource directory names.</p>
78 <dd>How to manage configuration changes that occur while your Activity is running.</dd>
Dproviding-resources.jd11 <li>Alternative resources provide configuration-specific resource files</li>
41 runtime, Android uses the appropriate resource based on the current configuration. For
191 android.content.res.Resources#getXml(int) Resources.getXML()}. Various XML configuration files
193 href="{@docRoot}guide/topics/search/searchable-config.html">searchable configuration</a>.
194 <!-- or preferences configuration. --></td>
227 detects the current device configuration and loads the appropriate
230 <p>To specify configuration-specific alternatives for a set of resources:</p>
237 <li><em>{@code <qualifier>}</em> is a name that specifies an individual configuration
268 configuration information with the qualifiers in the resource directory name.</p>
270 <p>Android supports several configuration qualifiers and you can
[all …]
/frameworks/base/core/java/android/hardware/usb/
DUsbDevice.java207 UsbConfiguration configuration = (UsbConfiguration)mConfigurations[i]; in getInterfaceList() local
208 interfaceCount += configuration.getInterfaceCount(); in getInterfaceList()
214 UsbConfiguration configuration = (UsbConfiguration)mConfigurations[i]; in getInterfaceList() local
215 interfaceCount = configuration.getInterfaceCount(); in getInterfaceList()
217 mInterfaces[offset++] = configuration.getInterface(j); in getInterfaceList()
251 public void setConfigurations(Parcelable[] configuration) { in setConfigurations() argument
252 mConfigurations = configuration; in setConfigurations()
DUsbConfiguration.java161 UsbConfiguration configuration = new UsbConfiguration(id, name, attributes, maxPower);
162 configuration.setInterfaces(interfaces);
163 return configuration;
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java81 final Configuration configuration = mContext.getResources().getConfiguration(); in hasEmbeddedTabs() local
82 final int width = configuration.screenWidthDp; in hasEmbeddedTabs()
83 final int height = configuration.screenHeightDp; in hasEmbeddedTabs()
84 return configuration.orientation == Configuration.ORIENTATION_LANDSCAPE || in hasEmbeddedTabs()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/
DREADME.md4 This folder exposes a generic functional configurable policy engine configuration files
7 A vendor wishing to customize the behavior shall provides its own set of configuration files
10 For any question about the parameter framework and configuration files,
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java148 private SQLiteConnectionPool(SQLiteDatabaseConfiguration configuration) { in SQLiteConnectionPool() argument
149 mConfiguration = new SQLiteDatabaseConfiguration(configuration); in SQLiteConnectionPool()
170 public static SQLiteConnectionPool open(SQLiteDatabaseConfiguration configuration) { in open() argument
171 if (configuration == null) { in open()
176 SQLiteConnectionPool pool = new SQLiteConnectionPool(configuration); in open()
254 public void reconfigure(SQLiteDatabaseConfiguration configuration) { in reconfigure() argument
255 if (configuration == null) { in reconfigure()
262 boolean walModeChanged = ((configuration.openFlags ^ mConfiguration.openFlags) in reconfigure()
280 boolean foreignKeyModeChanged = configuration.foreignKeyConstraintsEnabled in reconfigure()
294 if (mConfiguration.openFlags != configuration.openFlags) { in reconfigure()
[all …]
DSQLiteConnection.java161 SQLiteDatabaseConfiguration configuration, in SQLiteConnection() argument
164 mConfiguration = new SQLiteDatabaseConfiguration(configuration); in SQLiteConnection()
167 mIsReadOnlyConnection = (configuration.openFlags & SQLiteDatabase.OPEN_READONLY) != 0; in SQLiteConnection()
188 SQLiteDatabaseConfiguration configuration, in open() argument
190 SQLiteConnection connection = new SQLiteConnection(pool, configuration, in open()
399 void reconfigure(SQLiteDatabaseConfiguration configuration) { in reconfigure() argument
403 final int functionCount = configuration.customFunctions.size(); in reconfigure()
405 SQLiteCustomFunction function = configuration.customFunctions.get(i); in reconfigure()
412 boolean foreignKeyModeChanged = configuration.foreignKeyConstraintsEnabled in reconfigure()
414 boolean walModeChanged = ((configuration.openFlags ^ mConfiguration.openFlags) in reconfigure()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
DAppCompatResources.java131 if (entry.configuration.equals(context.getResources().getConfiguration())) { in getCachedColorStateList()
179 final Configuration configuration; field in AppCompatResources.ColorStateListCacheEntry
182 @NonNull Configuration configuration) { in ColorStateListCacheEntry() argument
184 this.configuration = configuration; in ColorStateListCacheEntry()
/frameworks/base/docs/html/training/multiple-apks/
Dindex.jd38 configuration variables. Each lesson covers basics about how to organize your codebase and target
53 configuration using the <code>aapt</code> tool before pushing live.</dd>
57 organize your codebase, what to do with your manifest, and how to investigate your APK configuration
63 configuration using the <code>aapt</code> tool before pushing live.</dd>
66 <dd>Learn how to target different Android devices based on more than one configuration
69 manifest, and how to investigate your APK configuration using the <code>aapt</code> tool before
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDivider.java70 private void addDivider(Configuration configuration) { in addDivider() argument
76 final boolean landscape = configuration.orientation == ORIENTATION_LANDSCAPE; in addDivider()
87 private void update(Configuration configuration) { in update() argument
89 addDivider(configuration); in update()
/frameworks/base/docs/html/guide/topics/manifest/
Dcompatible-screens-element.jd24 <dd itemprop="description">Specifies each screen configuration with which the application is compat…
32 with specific screen configurations and enable filtering for users. Any screen configuration that is
40 configuration that you have not listed. You should use it only as a last resort, when the
70 <dd>Specifies a single screen configuration with which the application is compatible.
79 <dd><b>Required.</b> Specifies the screen size for this screen configuration.
91 <dd><b>Required.</b> Specifies the screen density for this screen configuration.
118 configuration with which your application is <em>not</em> compatible. Here's what the manifest
/frameworks/base/docs/html/wear/preview/features/
Dbridger.jd17 …"#specifying-a-bridging-configuration-at-runtime">Specifying a Bridging Configuration at Runtime</…
47 <li>Specifying a bridging configuration in the manifest file
50 <li>Specifying a bridging configuration at runtime
102 The bridging configuration that is set in the manifest takes effect as
106 <h2 id="specifying-a-bridging-configuration-at-runtime">
111 This section describes how to specify a bridging configuration at runtime
122 specify a bridging configuration at runtime, then if the
128 Specifying a bridging configuration at runtime overrides a
/frameworks/support/compat/java/android/support/v4/view/
DGestureDetectorCompat.java174 final ViewConfiguration configuration = ViewConfiguration.get(context); in init() local
175 final int touchSlop = configuration.getScaledTouchSlop(); in init()
176 final int doubleTapSlop = configuration.getScaledDoubleTapSlop(); in init()
177 mMinimumFlingVelocity = configuration.getScaledMinimumFlingVelocity(); in init()
178 mMaximumFlingVelocity = configuration.getScaledMaximumFlingVelocity(); in init()
/frameworks/av/include/drm/
Ddrm_framework_common.h89 configuration(_configuration) { in ActionDescription()
94 int configuration; /* RESOLUTION_720_480 , RECORDABLE etc.*/ variable
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java105 final Configuration configuration = getContext().getResources().getConfiguration(); in shouldAllowTextWithIcon() local
106 final int width = configuration.screenWidthDp; in shouldAllowTextWithIcon()
107 final int height = configuration.screenHeightDp; in shouldAllowTextWithIcon()
109 || configuration.orientation == Configuration.ORIENTATION_LANDSCAPE; in shouldAllowTextWithIcon()

12345678910>>...15