/development/tools/cargo_embargo/src/cargo/ |
D | metadata.rs | 49 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/ |
D | cargo.metadata | 15 "features": [ 29 "features": [], 44 "features": { 66 "features": [ 112 "features": [], 127 "features": { 216 "features": [], 228 "features": [], 240 "features": [], 252 "features": [], [all …]
|
D | expected_Android.bp | 14 features: ["default", "use_std"], 26 features: ["default", "use_std"],
|
/development/tools/cargo_embargo/testdata/plotters/ |
D | cargo.metadata | 14 "features": [], 26 "features": [], 38 "features": [], 53 "features": { 161 "features": [], 173 "features": [], 185 "features": [], 200 "features": { 231 "all-features": true, 274 "features": [], [all …]
|
D | expected_Android.bp | 9 features: ["area_series", "line_series", "plotters-svg", "svg_backend"],
|
/development/tools/cargo_embargo/testdata/async-trait/ |
D | cargo.metadata | 15 "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/ |
D | cargo.metadata | 14 "features": [], 29 "features": { 84 "features": [], 96 "features": [], 108 "features": [], 120 "features": [], 135 "features": { 226 "features": [ 235 "features": [
|
D | expected_Android.bp | 14 features: ["default", "std"], 26 features: ["default", "std"],
|
/development/tools/cargo_embargo/testdata/rustc-demangle-capi/ |
D | cargo.metadata | 12 "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/ |
D | MyAuthenticator.java | 108 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/ |
D | Cargo.toml | 11 clap = { version = "4.4.6", features = ["derive"] } qkey 16 serde = { version = "1", features = ["derive"] } qkey
|
/development/apps/Development/src/com/android/development/ |
D | AccountsTester.java | 330 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/ |
D | cargo2rulesmk.py | 200 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/ |
D | config.rs | 268 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()
|
D | cargo.rs | 86 pub features: Vec<String>, // --cfg feature= field
|
/development/samples/browseable/LNotifications/ |
D | _index.jd | 8 This sample demonstrates how new features for notifications introduced in Android L
|
/development/samples/browseable/RuntimePermissionsBasic/ |
D | _index.jd | 9 …rmissions" sample provides a more complete overview over the runtime permission features available.
|
/development/samples/browseable/ImmersiveMode/ |
D | _index.jd | 8 One of the features introduced in KitKat is "immersive mode". Immersive mode gives the
|
/development/samples/browseable/Notifications/ |
D | _index.jd | 9 demonstrates various features of the Android Wear notifications API. Running the sample on your
|
/development/samples/browseable/DeviceOwner/ |
D | _index.jd | 8 This app demonstrates how to use device owner features. Use the NfcProvisioning sample to set up
|
/development/samples/USB/AdbTest/ |
D | README.txt | 7 This program serves as an example of the following USB host features:
|
/development/samples/USB/MissileLauncher/ |
D | README.txt | 6 This program serves as an example of the following USB host features:
|
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/ |
D | MyAccountAuthenticator.java | 61 String[] features) { in hasFeatures() argument
|
/development/tools/cargo_embargo/testdata/ |
D | README.md | 31 - `cargo_embargo.json`: Adjust the list of Cargo features if this has changed
|
/development/tools/cargo_embargo/ |
D | README.md | 70 …features` | list of strings | - …
|