Home
last modified time | relevance | path

Searched refs:Config (Results 1 – 25 of 980) sorted by relevance

12345678910>>...40

/packages/modules/ConfigInfrastructure/framework/java/android/provider/
DSettingsConfigDataStore.java41 return Settings.Config.getAllStrings(); in getAllProperties()
48 Settings.Config.getStrings(namespace, Arrays.asList(names))); in getProperties()
54 return Settings.Config.setStrings(properties.getNamespace(), in setProperties()
61 return Settings.Config.putString(namespace, name, value, makeDefault); in setProperty()
66 return Settings.Config.deleteString(namespace, name); in deleteProperty()
71 Settings.Config.resetToDefaults(resetMode, namespace); in resetToDefaults()
76 Settings.Config.setSyncDisabledMode(syncDisabledMode); in setSyncDisabledMode()
81 return Settings.Config.getSyncDisabledMode(); in getSyncDisabledMode()
87 Settings.Config.setMonitorCallback(resolver, executor, callback); in setMonitorCallback()
92 Settings.Config.clearMonitorCallback(resolver); in clearMonitorCallback()
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/service/
Dbuild.rs1 use pkg_config::Config;
16 Config::new().probe("flatbuffers").unwrap(); in main()
17 Config::new().probe("protobuf").unwrap(); in main()
25 Config::new().probe("libchrome").unwrap(); in main()
26 Config::new().probe("libmodp_b64").unwrap(); in main()
27 Config::new().probe("tinyxml2").unwrap(); in main()
28 Config::new().probe("lc3").unwrap(); in main()
29 Config::new().probe("fmt").unwrap(); in main()
33 Config::new().probe("libstructuredmetrics").unwrap(); in main()
/packages/modules/DnsResolver/doh/
Dconfig.rs33 type WeakConfig = Weak<Mutex<quiche::Config>>;
37 pub struct Config(Arc<Mutex<quiche::Config>>); struct
45 impl Config { implementation
57 let mut config = quiche::Config::new(quiche::PROTOCOL_VERSION)?; in from_key()
85 pub async fn take(&mut self) -> impl DerefMut<Target = quiche::Config> + '_ { in take()
96 latest: Option<Config>,
100 fn get_config(&self, key: &Key) -> Option<Config> { in get_config() argument
101 self.key_to_config.get(key).and_then(Config::from_weak) in get_config()
104 fn keep_alive(&mut self, config: Config) { in keep_alive() argument
144 pub fn get(&self, key: &Key) -> Result<Config> { in get() argument
[all …]
/packages/apps/Stk/src/com/android/stk/
DStkMenuConfig.java54 private static final Config NO_CONFIG = new Config(0, 0, null, null);
60 private ArrayList<Config> mArray;
61 private Config mConfigs[] = null;
63 private static class Config { class in StkMenuConfig
69 public Config(int mcc, int mnc, String label, String icon) { in Config() method in StkMenuConfig.Config
142 for (Config config : mArray) { in findConfig()
149 mConfigs[slotId] = new Config(mcc, mnc, null, null); in findConfig()
154 mArray = new ArrayList<Config>(); in initialize()
155 mConfigs = new Config[TelephonyManager.from(mContext).getSupportedModemCount()]; in initialize()
179 Config config = new Config(mcc, mnc, label, icon); in initialize()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DPreferenceXmlParserUtilsTest.java40 import org.robolectric.annotation.Config;
79 @Config(qualifiers = "mcc999")
97 @Config(qualifiers = "mcc999")
108 @Config(qualifiers = "mcc999")
119 @Config(qualifiers = "mcc999")
130 @Config(qualifiers = "mcc999")
141 @Config(qualifiers = "mcc999")
161 @Config(qualifiers = "mcc999")
175 @Config(qualifiers = "mcc998")
185 @Config(qualifiers = "mcc999")
[all …]
DPreferenceControllerListHelperTest.java34 import org.robolectric.annotation.Config;
52 @Config(qualifiers = "mcc999")
65 @Config(qualifiers = "mcc998")
76 @Config(qualifiers = "mcc999")
84 @Config(qualifiers = "mcc997")
92 @Config(qualifiers = "mcc999")
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DConfigTest.java34 Arrays.stream(Config.getSupportedProfiles()) in setProfileEnabled()
37 Config.setProfileEnabled(BluetoothProfile.CSIP_SET_COORDINATOR, false); in setProfileEnabled()
39 Arrays.stream(Config.getSupportedProfiles()) in setProfileEnabled()
45 Config.setProfileEnabled(BluetoothProfile.CSIP_SET_COORDINATOR, true); in setProfileEnabled()
47 Arrays.stream(Config.getSupportedProfiles()) in setProfileEnabled()
53 Config.setProfileEnabled(BluetoothProfile.CSIP_SET_COORDINATOR, enabled); in setProfileEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DMemtagHelperTest.java29 import org.robolectric.annotation.Config;
111 @Config(shadows = {ZygoteShadow.class})
118 @Config(shadows = {ZygoteShadow.class})
125 @Config(shadows = {ZygoteShadow.class})
134 @Config(shadows = {ZygoteShadow.class})
143 @Config(shadows = {ZygoteShadow.class})
152 @Config(shadows = {ZygoteShadow.class})
161 @Config(shadows = {ZygoteShadow.class})
170 @Config(shadows = {ZygoteShadow.class})
DEncryptionStatusPreferenceControllerTest.java39 import org.robolectric.annotation.Config;
42 @Config(shadows = {ShadowLockPatternUtils.class, ShadowUserManager.class})
60 @Config(qualifiers = "mcc999")
66 @Config(qualifiers = "mcc999")
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DLockScreenRotationPreferenceControllerTest.java37 import org.robolectric.annotation.Config;
40 @Config(shadows = {
57 @Config(shadows = {
69 @Config(shadows = {
82 @Config(shadows = {
93 @Config(shadows = {ShadowRotationPolicy.class})
102 @Config(shadows = {ShadowRotationPolicy.class})
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/support/tis/
DWrappedSessionTest.java22 import org.robolectric.annotation.Config;
26 @Config(minSdk = Build.VERSION_CODES.M, maxSdk = Build.VERSION_CODES.P)
98 @Config(minSdk = Build.VERSION_CODES.M)
107 @Config(minSdk = Build.VERSION_CODES.M)
116 @Config(minSdk = Build.VERSION_CODES.M)
124 @Config(minSdk = Build.VERSION_CODES.M)
132 @Config(minSdk = Build.VERSION_CODES.M)
140 @Config(minSdk = Build.VERSION_CODES.M)
149 @Config(minSdk = Build.VERSION_CODES.M)
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DConfig.java43 final class Config { class
44 private static final String TAG = Config.class.getSimpleName();
87 static Config create(@NonNull Context context) { in create()
88 Config config = new Config(); in create()
93 private Config() {} in Config() method in Config
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DShowHdrSdrRatioPreferenceControllerTest.java47 import org.robolectric.annotation.Config;
76 @Config(shadows = ShadowParcel.class)
88 @Config(shadows = ShadowParcel.class)
100 @Config(shadows = ShadowParcel.class)
112 @Config(shadows = ShadowParcel.class)
138 @Config(shadows = ShadowParcel.class)
155 @Config(shadows = ShadowParcel.class)
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DLowStorageSliceTest.java40 import org.robolectric.annotation.Config;
64 @Config(shadows = ShadowPrivateStorageInfo.class)
75 @Config(shadows = ShadowPrivateStorageInfo.class)
85 @Config(shadows = ShadowPrivateStorageInfo.class)
96 @Config(shadows = ShadowPrivateStorageInfo.class)
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DPoliteNotificationGlobalPreferenceControllerTest.java39 import org.robolectric.annotation.Config;
79 @Config(shadows = ShadowSystemSettings.class)
85 @Config(shadows = ShadowSystemSettings.class)
93 @Config(shadows = ShadowSystemSettings.class)
103 @Config(shadows = ShadowSystemSettings.class)
DPoliteNotifWorkProfileToggleControllerTest.java46 import org.robolectric.annotation.Config;
116 @Config(shadows = ShadowSystemSettings.class)
125 @Config(shadows = ShadowSystemSettings.class)
136 @Config(shadows = ShadowSystemSettings.class)
145 @Config(shadows = ShadowSystemSettings.class)
157 @Config(shadows = ShadowSystemSettings.class)
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DConfigureWifiSettingsTest.java41 import org.robolectric.annotation.Config;
48 @Config(shadows = {
107 @Config(shadows = ShadowDashboardFragment.class)
117 @Config(shadows = ShadowDashboardFragment.class)
127 @Config(shadows = ShadowDashboardFragment.class)
140 @Config(shadows = ShadowDashboardFragment.class)
153 @Config(qualifiers = "mcc999")
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningViewModel.java78 private final Config mConfig;
85 Config config) { in PreProvisioningViewModel()
262 interface Config { interface in PreProvisioningViewModel
266 static class DefaultConfig implements Config {
275 private final Config mConfig;
280 Config config, in PreProvisioningViewModelFactory()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DRetryLaunchActivity.java30 import com.android.managedprovisioning.common.RetryLaunchViewModel.Config;
93 Config config = createConfigFromIntent(getIntent()); in onCreate()
102 private Config createConfigFromIntent(Intent intent) { in createConfigFromIntent()
105 return new Config() { in createConfigFromIntent()
157 private RetryLaunchViewModel createViewModelWithIntent(Intent activityIntent, Config config) {
DRetryLaunchViewModel.java47 private final Config mConfig;
58 Config config) { in RetryLaunchViewModel()
227 private final Config mConfig;
233 Config config, in RetryLaunchViewModelFactory()
256 interface Config { interface in RetryLaunchViewModel
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetNewPasswordActivityTest.java62 import org.robolectric.annotation.Config;
124 @Config(shadows = {ShadowPasswordUtils.class})
147 @Config(shadows = {ShadowPasswordUtils.class})
177 @Config(shadows = {ShadowPasswordUtils.class})
205 @Config(shadows = {ShadowPasswordUtils.class})
233 @Config(shadows = {ShadowPasswordUtils.class})
260 @Config(shadows = {ShadowPasswordUtils.class})
288 @Config(shadows = {ShadowPasswordUtils.class})
316 @Config(shadows = {ShadowPasswordUtils.class})
341 @Config(shadows = {ShadowPasswordUtils.class})
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/tts/
DTtsEnginePreferenceFragmentTest.java47 import org.robolectric.annotation.Config;
85 @Config(shadows = {NoOpShadowTextToSpeech.class})
97 @Config(shadows = {ShadowTtsEngines.class, NoOpShadowTextToSpeech.class})
113 @Config(shadows = {ShadowTtsEngines.class, NoOpShadowTextToSpeech.class})
129 @Config(shadows = {NoOpShadowTextToSpeech.class})
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DImageUtils.java101 final Bitmap.Config c = in createIconThumbnail()
103 ? Bitmap.Config.ARGB_8888 in createIconThumbnail()
104 : Bitmap.Config.RGB_565; in createIconThumbnail()
124 final Bitmap.Config c = Bitmap.Config.ARGB_8888; in createIconThumbnail()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DCanvasTexture.java20 import android.graphics.Bitmap.Config;
28 private final Config mConfig;
31 mConfig = Config.ARGB_8888; in CanvasTexture()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageViewAdapter.java21 import android.graphics.Bitmap.Config;
113 bitmap = Bitmap.createBitmap(tileSize, tileSize, Config.ARGB_8888); in getTile()
117 options.inPreferredConfig = Config.ARGB_8888; in getTile()
156 options.inPreferredConfig = Config.ARGB_8888; in getTileWithoutReusingBitmap()
172 Bitmap result = Bitmap.createBitmap(tileSize, tileSize, Config.ARGB_8888); in getTileWithoutReusingBitmap()

12345678910>>...40