Home
last modified time | relevance | path

Searched refs:features (Results 1 – 25 of 37) sorted by relevance

12

/development/tools/cargo_embargo/src/cargo/
Dmetadata.rs49 pub features: BTreeMap<String, Vec<String>>, field
65 fn enabled(&self, features: &[String], cfgs: &[String]) -> bool { in enabled()
75 !self.optional || features.contains(&format!("dep:{}", name)) in enabled()
110 parse_cargo_metadata(&metadata, &cfg.features, &cfg.extra_cfg, cfg.tests) in parse_cargo_metadata_str()
115 features: &Option<Vec<String>>, in parse_cargo_metadata()
125 let features = resolve_features(features, &package.features, &package.dependencies); in parse_cargo_metadata() localVariable
127 features.clone().into_iter().filter(|feature| !feature.starts_with("dep:")).collect(); in parse_cargo_metadata()
170 features: features_without_deps.clone(), in parse_cargo_metadata()
178 &features, in parse_cargo_metadata()
194 features: features_without_deps.clone(), in parse_cargo_metadata()
[all …]
/development/tools/cargo_embargo/testdata/either/
Dcargo.metadata15 "features": [
29 "features": [],
44 "features": {
66 "features": [
112 "features": [],
127 "features": {
216 "features": [],
228 "features": [],
240 "features": [],
252 "features": [],
[all …]
Dexpected_Android.bp14 features: ["default", "use_std"],
26 features: ["default", "use_std"],
/development/tools/cargo_embargo/testdata/plotters/
Dcargo.metadata14 "features": [],
26 "features": [],
38 "features": [],
53 "features": {
161 "features": [],
173 "features": [],
185 "features": [],
200 "features": {
231 "all-features": true,
274 "features": [],
[all …]
Dexpected_Android.bp9 features: ["area_series", "line_series", "plotters-svg", "svg_backend"],
/development/tools/cargo_embargo/testdata/async-trait/
Dcargo.metadata15 "features": [],
27 "features": [],
39 "features": [
54 "features": [],
66 "features": [],
78 "features": [],
90 "features": [],
102 "features": [
119 "features": {},
216 "description": "Automatic cfg for Rust compiler features",
[all …]
/development/tools/cargo_embargo/testdata/aho-corasick/
Dcargo.metadata14 "features": [],
29 "features": {
84 "features": [],
96 "features": [],
108 "features": [],
120 "features": [],
135 "features": {
226 "features": [
235 "features": [
Dexpected_Android.bp14 features: ["default", "std"],
26 features: ["default", "std"],
/development/tools/cargo_embargo/testdata/rustc-demangle-capi/
Dcargo.metadata12 "features": [],
24 "features": [],
39 "features": {
62 "features": [
104 "features": [],
119 "features": {},
158 "features": [],
177 "features": [],
/development/samples/DeviceAdminWhitelistedAccount/src/com/example/android/app/admin/whitelistedaccount/
DMyAuthenticator.java108 String[] features) throws NetworkErrorException { in hasFeatures() argument
112 if ((features != null) && (features.length == 1) in hasFeatures()
113 && ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_ALLOWED.equals(features[0])) { in hasFeatures()
/development/tools/external_crates/crate_health/
DCargo.toml11 clap = { version = "4.4.6", features = ["derive"] } qkey
16 serde = { version = "1", features = ["derive"] } qkey
/development/apps/Development/src/com/android/development/
DAccountsTester.java330 String[] features = TextUtils.split(authTokenType, ","); in onCreateDialog()
331 mAccountManager.hasFeatures(account, features, in onCreateDialog()
362 String features = value.getText().toString(); in onCreateDialog()
368 TextUtils.isEmpty(features) ? null : features.split(" "), in onCreateDialog()
391 AccountManagerCallback<Bundle> newAccountsCallback(String type, String[] features) { in newAccountsCallback() argument
392 return new GetAccountsCallback(type, features); in newAccountsCallback()
399 public GetAccountsCallback(String type, String[] features) { in GetAccountsCallback() argument
400 mFeatures = features; in GetAccountsCallback()
426 String[] features) { in newAuthTokensCallback() argument
427 return new GetAuthTokenCallback(type, authTokenType, features); in newAuthTokensCallback()
[all …]
/development/scripts/
Dcargo2rulesmk.py200 self.features = [] # follows --cfg, name in 'feature="..."'
317 self.features.append(
429 self.features = sorted(set(self.features))
447 if not self.features:
449 return pkg + ' "' + ",".join(self.features) + '"'
508 dump_list("// cfg = 'feature \"%s\"'", self.features)
606 for f in self.features
624 if self.features or self.cfgs:
626 for feature in self.features:
862 features = ""
[all …]
/development/tools/cargo_embargo/src/
Dconfig.rs268 pub features: Option<Vec<String>>, field
340 features: Default::default(), in default()
510 features: None, in variant_config()
532 features: Some(vec!["feature".to_string()]), in variant_config()
594 features: Some(vec![]), in factor_variants()
609 features: Some(vec![]), in factor_variants()
Dcargo.rs86 pub features: Vec<String>, // --cfg feature= field
/development/samples/browseable/LNotifications/
D_index.jd8 This sample demonstrates how new features for notifications introduced in Android L
/development/samples/browseable/RuntimePermissionsBasic/
D_index.jd9 …rmissions" sample provides a more complete overview over the runtime permission features available.
/development/samples/browseable/ImmersiveMode/
D_index.jd8 One of the features introduced in KitKat is "immersive mode". Immersive mode gives the
/development/samples/browseable/Notifications/
D_index.jd9 demonstrates various features of the Android Wear notifications API. Running the sample on your
/development/samples/browseable/DeviceOwner/
D_index.jd8 This app demonstrates how to use device owner features. Use the NfcProvisioning sample to set up
/development/samples/USB/AdbTest/
DREADME.txt7 This program serves as an example of the following USB host features:
/development/samples/USB/MissileLauncher/
DREADME.txt6 This program serves as an example of the following USB host features:
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/
DMyAccountAuthenticator.java61 String[] features) { in hasFeatures() argument
/development/tools/cargo_embargo/testdata/
DREADME.md31 - `cargo_embargo.json`: Adjust the list of Cargo features if this has changed
/development/tools/cargo_embargo/
DREADME.md70features` | list of strings | - …

12