Home
last modified time | relevance | path

Searched refs:stringKey (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/
DEntryEnum.java82 public static int getMetricCodeFromString(String stringKey) { in getMetricCodeFromString() argument
83 if (!sKeyToEntryCode.containsKey(stringKey)) { in getMetricCodeFromString()
87 return sKeyToEntryCode.get(stringKey); in getMetricCodeFromString()
DApiName.java104 public static int getMetricCodeFromRequestInfo(String stringKey) { in getMetricCodeFromRequestInfo() argument
105 if (!sRequestInfoToMetric.containsKey(stringKey)) { in getMetricCodeFromRequestInfo()
109 return sRequestInfoToMetric.get(stringKey); in getMetricCodeFromRequestInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java1718 String stringKey = "StringKey"; in testAddUserAccountData_validStringValuesAreSaved_validBundleIsSaved() local
1732 nested.putString(stringKey, value3); in testAddUserAccountData_validStringValuesAreSaved_validBundleIsSaved()
1748 .getString(stringKey)).isEqualTo(value3); in testAddUserAccountData_validStringValuesAreSaved_validBundleIsSaved()
1764 String stringKey = "StringKey"; in testAddUserAccountData_invalidStringValuesAreTruncated_invalidBundleIsDropped() local
1777 nested.putString(stringKey, tooLongString); in testAddUserAccountData_invalidStringValuesAreTruncated_invalidBundleIsDropped()