Searched refs:extraKeys (Results 1 – 3 of 3) sorted by relevance
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | SettingsTest.java | 105 int extraKeys = 12; in testResetDefaults() local 109 Settings.setDeviceConfig(sContext, extraKeys, expiringBy, url)); in testResetDefaults() 125 int extraKeys = 12; in testSetDeviceConfig() local 129 Settings.setDeviceConfig(sContext, extraKeys, expiringBy, url)); in testSetDeviceConfig() 130 assertEquals(extraKeys, Settings.getExtraSignedKeysAvailable(sContext)); in testSetDeviceConfig()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/ |
D | Settings.java | 176 public static boolean setDeviceConfig(Context context, int extraKeys, in setDeviceConfig() argument 181 if (extraKeys != GeekResponse.NO_EXTRA_KEY_UPDATE in setDeviceConfig() 182 && sharedPref.getInt(KEY_EXTRA_KEYS, -5) != extraKeys) { in setDeviceConfig() 183 editor.putInt(KEY_EXTRA_KEYS, extraKeys); in setDeviceConfig()
|
D | CborUtils.java | 155 DataItem extraKeys = in parseDeviceConfig() local 165 if (extraKeys != null) { in parseDeviceConfig() 166 if (!checkType(extraKeys, MajorType.UNSIGNED_INTEGER, "ExtraKeys")) { in parseDeviceConfig() 169 resp.numExtraAttestationKeys = ((UnsignedInteger) extraKeys).getValue().intValue(); in parseDeviceConfig()
|