/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 __anon12b2102d0602()
|
/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/security/keystore2/legacykeystore/ |
D | lib.rs | 125 fn put(&mut self, caller_uid: u32, alias: &str, entry: &[u8]) -> Result<()> { in put() method 336 fn put(&self, alias: &str, uid: i32, entry: &[u8]) -> Result<()> { in put() method 339 db.put(uid, alias, entry).context("In put: Trying to insert entry into DB.")?; in put() 408 shelf.put(AsyncState { legacy_loader, db_path, recently_imported: Default::default() }); in init_shelf() 515 db.put(uid, alias, &entry) in import_one_legacy_entry() 538 fn put(&self, alias: &str, uid: i32, entry: &[u8]) -> BinderResult<()> { in put() method 540 map_or_log_err(self.legacy_keystore.put(alias, uid, entry), Ok) in put() 574 db.put(2, "test1", TEST_BLOB1).expect("Failed to insert test1."); in test_entry_db() 575 db.put(2, "test2", TEST_BLOB2).expect("Failed to insert test2."); in test_entry_db() 576 db.put(2, "test3", TEST_BLOB3).expect("Failed to insert test3."); in test_entry_db() [all …]
|
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/ |
D | ChreCrossValidatorSensor.java | 394 map.put(Sensor.TYPE_ACCELEROMETER, new CrossValidatorSensorConfig(3, 0.01f)); in makeSensorTypeToInfoMap() 395 map.put(Sensor.TYPE_GYROSCOPE, new CrossValidatorSensorConfig(3, 0.01f)); in makeSensorTypeToInfoMap() 396 map.put(Sensor.TYPE_MAGNETIC_FIELD, new CrossValidatorSensorConfig(3, 0.05f)); in makeSensorTypeToInfoMap() 397 map.put(Sensor.TYPE_PRESSURE, new CrossValidatorSensorConfig(1, 0.05f)); in makeSensorTypeToInfoMap() 398 map.put(Sensor.TYPE_LIGHT, new CrossValidatorSensorConfig(1, 0.07f)); in makeSensorTypeToInfoMap() 399 map.put(Sensor.TYPE_PROXIMITY, new CrossValidatorSensorConfig(1, 0.01f)); in makeSensorTypeToInfoMap() 400 map.put(Sensor.TYPE_STEP_COUNTER, new CrossValidatorSensorConfig(1, 0f)); in makeSensorTypeToInfoMap() 412 map.put(Sensor.TYPE_ACCELEROMETER, 1 /* CHRE_SENSOR_TYPE_ACCELEROMETER */); in makeApToChreSensorTypeMap() 413 map.put(Sensor.TYPE_GYROSCOPE, 6 /* CHRE_SENSOR_TYPE_GYROSCOPE */); in makeApToChreSensorTypeMap() 414 map.put(Sensor.TYPE_MAGNETIC_FIELD, 8 /* CHRE_SENSOR_TYPE_MAGNETIC_FIELD */); in makeApToChreSensorTypeMap() [all …]
|
/system/timezone/input_tools/android/zone_compactor/main/java/ |
D | ZoneCompactor.java | 81 links.put(from, to); in ZoneCompactor() 99 offsets.put(zoneId, offset); in ZoneCompactor() 100 lengths.put(zoneId, (int) length); in ZoneCompactor() 111 offsets.put(from, offsets.get(to)); in ZoneCompactor() 112 lengths.put(from, lengths.get(to)); in ZoneCompactor()
|
/system/security/identity/util/test/java/com/android/security/identity/internal/ |
D | UtilUnitTests.java | 241 .put("Foo", 42) in prettyPrintMap() 242 .put("Bar", "baz") in prettyPrintMap() 243 .put(43, 44) in prettyPrintMap() 244 .put(new UnicodeString("bstr"), new ByteString(new byte[]{1, 2, 3})) in prettyPrintMap() 245 .put(new ByteString(new byte[]{1, 2, 3}), new UnicodeString("other way")) in prettyPrintMap() 273 .addMap().put(1,"one").put("one", 1).end() in cborEncodeDecodeSingle()
|
/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/main/java/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/32.0/private/ |
D | auditctl.te | 11 # Uncomment the line below to put this domain into permissive
|
/system/sepolicy/prebuilts/api/34.0/private/ |
D | auditctl.te | 11 # Uncomment the line below to put this domain into permissive
|
/system/sepolicy/prebuilts/api/33.0/private/ |
D | auditctl.te | 11 # Uncomment the line below to put this domain into permissive
|
/system/sepolicy/prebuilts/api/29.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/31.0/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/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/extras/perf_tools/bats/ |
D | lcan.py | 275 def put(self, newItem): member in LCItemMap 308 def put(self, itemSet): member in LCItemSetMap 505 lCItemMap.put(lCItem) 583 lCItemSetMap.put(lcItemSet) 591 lCItemSetMap.put(lcItemSet) 613 lCItemSetMap.put(lcItemSet) 621 lCItemSetMap.put(lcItemSet)
|
/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/chre/java/test/utils/src/com/google/android/utils/chre/ |
D | ContextHubServiceTestHelper.java | 201 foundNanoApps.put(nanoAppId, false); in findNanoApps() 210 foundNanoApps.put(nanoAppId, true); in findNanoApps()
|
/system/security/identity/util/src/java/com/android/security/identity/internal/ |
D | Iso18013.java | 233 mapBuilder.put("docType", docType); in createItemsRequest() 242 entryNameMapBuilder.put(entryName, false); in createItemsRequest()
|