/system/core/libutils/ |
D | LruCache_test.cpp | 163 cache.put(1, "one"); in TEST_F() 164 cache.put(2, "two"); in TEST_F() 165 cache.put(3, "three"); in TEST_F() 175 cache.put(1, "one"); in TEST_F() 176 cache.put(2, "two"); in TEST_F() 177 cache.put(3, "three"); in TEST_F() 187 cache.put(1, "one"); in TEST_F() 188 cache.put(2, "two"); in TEST_F() 189 cache.put(3, "three"); in TEST_F() 200 cache.put(1, "one"); in TEST_F() [all …]
|
D | LruCache_fuzz.cpp | 51 cache->put(key, val); in __anon8490bc0f0602()
|
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/ |
D | BackwardFileTest.java | 71 expectedLinks.put("America/Godthab", "America/Nuuk"); in parseIgnoresCommentsAndEmptyLines() 89 expectedLinks.put("America/Godthab", "America/Nuuk"); in parse() 90 expectedLinks.put("Africa/Asmera", "Africa/Nairobi"); in parse() 91 expectedLinks.put("Africa/Timbuktu", "Africa/Abidjan"); in parse() 92 expectedLinks.put("Africa/Timbuktu2", "Africa/Timbuktu"); in parse() 96 expectedDirectLinks.put("America/Godthab", "America/Nuuk"); in parse() 97 expectedDirectLinks.put("Africa/Asmera", "Africa/Nairobi"); in parse() 98 expectedDirectLinks.put("Africa/Timbuktu", "Africa/Abidjan"); in parse() 99 expectedDirectLinks.put("Africa/Timbuktu2", "Africa/Abidjan"); in parse()
|
D | ZoneTabFileTest.java | 117 map.put(iso, Arrays.asList(ids)); in addIds()
|
/system/tools/aidl/tests/java/src/android/aidl/tests/ |
D | MapTests.java | 43 foo.intEnumArrayMap.put("Foo", new int[] {IntEnum.FOO}); in testWriteAndThenReadMaps() 46 foo.intArrayMap.put("Foo", new int[] {42}); in testWriteAndThenReadMaps() 52 foo.barMap.put("Foo", bar); in testWriteAndThenReadMaps() 55 foo.barArrayMap.put("Foo", new Bar[] {bar}); in testWriteAndThenReadMaps() 58 foo.stringMap.put("Foo", "Bar"); in testWriteAndThenReadMaps() 61 foo.stringArrayMap.put("Foo", new String[] {"Bar"}); in testWriteAndThenReadMaps() 65 foo.interfaceMap.put("Foo", intf); in testWriteAndThenReadMaps() 68 foo.ibinderMap.put("Foo", intf.asBinder()); in testWriteAndThenReadMaps()
|
D | JavaOnlyImmutableAnnotationTests.java | 47 map.put("key", new Bar("value")); in testReadWriteJavaOnlyImmutableParcelable() 95 foo.d.put("key", new Bar("value")); in testMapIsUnmodifiable() 112 map.put("key", new Bar("value")); in testBuilder()
|
/system/timezone/input_tools/android/tzids/src/test/java/com/android/timezone/tzids/ |
D | TimeZoneIdsTest.java | 50 expectedMap.put("Europe/London", "Europe/London"); in getCountryIdMap_links() 51 expectedMap.put("GB", "Europe/London"); in getCountryIdMap_links() 84 baseExpectedMap.put("America/Chicago", "America/Chicago"); in getCountryIdMap_replacements() 89 expectedMap.put("America/Indiana/Tell_City", "America/Indiana/Tell_City"); in getCountryIdMap_replacements() 90 expectedMap.put("America/Indiana/Knox", "America/Indiana/Knox"); in getCountryIdMap_replacements() 99 expectedMap.put("America/Indiana/Knox", "America/Indiana/Tell_City"); in getCountryIdMap_replacements() 100 expectedMap.put("America/Indiana/Tell_City", "America/Indiana/Tell_City"); in getCountryIdMap_replacements() 109 expectedMap.put("America/Indiana/Knox", "America/Chicago"); in getCountryIdMap_replacements() 110 expectedMap.put("America/Indiana/Tell_City", "America/Chicago"); in getCountryIdMap_replacements()
|
/system/extras/verity/ |
D | Utils.java | 69 ID_TO_ALG.put(X9ObjectIdentifiers.ecdsa_with_SHA256.getId(), "SHA256withECDSA"); in X9ObjectIdentifiers.ecdsa_with_SHA256.getId() 70 ID_TO_ALG.put(X9ObjectIdentifiers.ecdsa_with_SHA384.getId(), "SHA384withECDSA"); in X9ObjectIdentifiers.ecdsa_with_SHA384.getId() 71 ID_TO_ALG.put(X9ObjectIdentifiers.ecdsa_with_SHA512.getId(), "SHA512withECDSA"); in X9ObjectIdentifiers.ecdsa_with_SHA512.getId() 72 ID_TO_ALG.put(PKCSObjectIdentifiers.sha1WithRSAEncryption.getId(), "SHA1withRSA"); in PKCSObjectIdentifiers.sha1WithRSAEncryption.getId() 73 ID_TO_ALG.put(PKCSObjectIdentifiers.sha256WithRSAEncryption.getId(), "SHA256withRSA"); in PKCSObjectIdentifiers.sha256WithRSAEncryption.getId() 74 ID_TO_ALG.put(PKCSObjectIdentifiers.sha512WithRSAEncryption.getId(), "SHA512withRSA"); in PKCSObjectIdentifiers.sha512WithRSAEncryption.getId() 76 ALG_TO_ID.put("SHA256withECDSA", X9ObjectIdentifiers.ecdsa_with_SHA256.getId()); 77 ALG_TO_ID.put("SHA384withECDSA", X9ObjectIdentifiers.ecdsa_with_SHA384.getId()); 78 ALG_TO_ID.put("SHA512withECDSA", X9ObjectIdentifiers.ecdsa_with_SHA512.getId()); 79 ALG_TO_ID.put("SHA1withRSA", PKCSObjectIdentifiers.sha1WithRSAEncryption.getId()); [all …]
|
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/ |
D | ChreCrossValidatorSensor.java | 326 map.put(Sensor.TYPE_ACCELEROMETER, new CrossValidatorSensorConfig(3, 0.01f)); in makeSensorTypeToInfoMap() 327 map.put(Sensor.TYPE_GYROSCOPE, new CrossValidatorSensorConfig(3, 0.01f)); in makeSensorTypeToInfoMap() 328 map.put(Sensor.TYPE_MAGNETIC_FIELD, new CrossValidatorSensorConfig(3, 0.05f)); in makeSensorTypeToInfoMap() 329 map.put(Sensor.TYPE_PRESSURE, new CrossValidatorSensorConfig(1, 0.01f)); in makeSensorTypeToInfoMap() 330 map.put(Sensor.TYPE_LIGHT, new CrossValidatorSensorConfig(1, 0.07f)); in makeSensorTypeToInfoMap() 331 map.put(Sensor.TYPE_PROXIMITY, new CrossValidatorSensorConfig(1, 0.01f)); in makeSensorTypeToInfoMap() 332 map.put(Sensor.TYPE_STEP_COUNTER, new CrossValidatorSensorConfig(1, 0f)); in makeSensorTypeToInfoMap() 344 map.put(Sensor.TYPE_ACCELEROMETER, 1 /* CHRE_SENSOR_TYPE_ACCELEROMETER */); in makeApToChreSensorTypeMap() 345 map.put(Sensor.TYPE_GYROSCOPE, 6 /* CHRE_SENSOR_TYPE_GYROSCOPE */); in makeApToChreSensorTypeMap() 346 map.put(Sensor.TYPE_MAGNETIC_FIELD, 8 /* CHRE_SENSOR_TYPE_MAGNETIC_FIELD */); in makeApToChreSensorTypeMap() [all …]
|
/system/security/keystore2/legacykeystore/ |
D | lib.rs | 118 fn put(&mut self, caller_uid: u32, alias: &str, entry: &[u8]) -> Result<()> { in put() method 326 fn put(&self, alias: &str, uid: i32, entry: &[u8]) -> Result<()> { in put() method 332 db.put(uid, alias, entry).context("In put: Trying to insert entry into DB.") in put() 397 shelf.put(AsyncState { legacy_loader, db_path, recently_imported: Default::default() }); in init_shelf() 483 db.put(uid, alias, &entry) in migrate_one_legacy_entry() 506 fn put(&self, alias: &str, uid: i32, entry: &[u8]) -> BinderResult<()> { in put() method 508 map_or_log_err(self.legacy_keystore.put(alias, uid, entry), Ok) in put() 542 db.put(2, "test1", TEST_BLOB1).expect("Failed to insert test1."); in test_entry_db() 543 db.put(2, "test2", TEST_BLOB2).expect("Failed to insert test2."); in test_entry_db() 544 db.put(2, "test3", TEST_BLOB3).expect("Failed to insert test3."); in test_entry_db() [all …]
|
/system/timezone/input_tools/android/zone_compactor/main/java/ |
D | ZoneCompactor.java | 89 links.put(from, to); in ZoneCompactor() 96 offsets.put(zoneId, offset); in ZoneCompactor() 97 lengths.put(zoneId, (int) length); in ZoneCompactor() 110 offsets.put(from, offsets.get(to)); in ZoneCompactor() 111 lengths.put(from, lengths.get(to)); in ZoneCompactor()
|
/system/security/keystore2/aidl/android/security/legacykeystore/ |
D | ILegacyKeystore.aidl | 79 void put(in String alias, int uid, in byte[] blob); in put() method
|
/system/tools/xsdc/src/com/android/xsdc/ |
D | FileSystem.java | 42 fileOutputMap.put(fileName, sw.getBuffer()); in getPrintWriter()
|
D | XsdHandler.java | 85 namespaces.put(prefix, uri); in startPrefixMapping() 120 attributeMap.put(attributes.getLocalName(i), attributes.getValue(i)); in startElement() 255 elementMap.put(tag.getName(), (XsdElement) tag); in makeSchema() 257 attrMap.put(tag.getName(), (XsdAttribute) tag); in makeSchema() 259 attrGroupMap.put(tag.getName(), (XsdAttributeGroup) tag); in makeSchema() 261 typeMap.put(tag.getName(), (XsdType) tag); in makeSchema() 263 groupMap.put(tag.getName(), (XsdGroup) tag); in makeSchema()
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | auditctl.te | 11 # Uncomment the line below to put this domain into permissive
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | auditctl.te | 11 # Uncomment the line below to put this domain into permissive
|
/system/sepolicy/private/ |
D | auditctl.te | 11 # Uncomment the line below to put this domain into permissive
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | auditctl.te | 11 # Uncomment the line below to put this domain into permissive
|
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
D | BackwardFile.java | 71 String oldValue = links.put(linkName, target); in addLink() 136 collapsedLinks.put(fromId, lastId); in getDirectLinks()
|
D | ZoneTabFile.java | 80 (k, v) -> countryIsoToOlsonIdsMap.put(k, Collections.unmodifiableList(v))); in createCountryToOlsonIdsMap()
|
/system/security/keystore2/src/ |
D | async_task.rs | 59 pub fn put<T: Any + Send>(&mut self, v: T) -> Option<T> { in put() method 274 assert_eq!(shelf.put(s), None); in test_shelf() 277 assert_eq!(shelf.put(s2), Some("A string".to_string())); in test_shelf() 285 assert_eq!(shelf.put(e1), None); in test_shelf() 329 shelf.put(Vec::<String>::new()); in test_async_task()
|
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/ |
D | CountryZoneUsage.java | 43 zoneIdEntryMap.put(zoneId, new Entry(zoneId, notUsedAfterInstant, notUsedReplacementId)); in addEntry()
|
/system/bt/gd/cert/ |
D | event_stream.py | 49 self.event_queue.put(self.filter_fn(event)) 151 self.event_queue.put(event)
|
/system/bt/ |
D | EventLogTags.logtags | 14 # Optionally, after the tag names can be put a description for the value(s)
|
/system/core/libutils/include/utils/ |
D | LruCache.h | 50 bool put(const TKey& key, const TValue& value); 204 bool LruCache<TKey, TValue>::put(const TKey& key, const TValue& value) { in put() function
|