Home
last modified time | relevance | path

Searched refs:mKey (Results 1 – 13 of 13) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDeviceConfigStateManager.java41 private final String mKey; field in DeviceConfigStateManager
56 mKey = Objects.requireNonNull(key); in DeviceConfigStateManager()
68 mKey); in setWithPermissionsGranted()
72 DeviceConfig.setProperty(mNamespace, mKey, value, /* makeDefault= */ false); in setWithPermissionsGranted()
81 -> reference.set(DeviceConfig.getProperty(mNamespace, mKey)), in get()
91 final String prefix = String.format("%s(%s:%s): ", methodName, mNamespace, mKey); in debug()
97 return "DeviceConfigStateManager[namespace=" + mNamespace + ", key=" + mKey + "]"; in toString()
DSettingsStateManager.java34 private final String mKey; field in SettingsStateManager
47 mKey = Objects.requireNonNull(key); in SettingsStateManager()
52 SettingsUtils.syncSet(mContext, mNamespace, mKey, value); in set()
58 return SettingsUtils.get(mNamespace, mKey); in get()
63 return "SettingsStateManager[namespace=" + mNamespace + ", key=" + mKey + "]"; in toString()
DOneTimeDeviceConfigListener.java40 private final String mKey; field in OneTimeDeviceConfigListener
53 mKey = Objects.requireNonNull(key); in OneTimeDeviceConfigListener()
60 || !properties.getKeyset().contains(mKey)) { in onPropertiesChanged()
77 "Settings " + mKey + " not called in " + mTimeoutMs + "ms"); in assertCalled()
80 Log.v(TAG, TestNameUtils.getCurrentTestName() + "/" + mKey + ": " + delta + "ms"); in assertCalled()
85 Log.i(TAG, "Remove OnPropertiesChangedListener for " + mKey); in assertCalled()
DOneTimeSettingsListener.java45 private final String mKey; field in OneTimeSettingsListener
51 mKey = key; in OneTimeSettingsListener()
83 "Settings " + mKey + " not called in " + DEFAULT_TIMEOUT_MS + "ms"); in assertCalled()
88 Log.v(TAG, TestNameUtils.getCurrentTestName() + "/" + mKey + ": " + delta + "ms"); in assertCalled()
DSettingsUtils.java211 private final String mKey; field in SettingsUtils.SettingResetter
216 mKey = key; in SettingResetter()
224 set(mNamespace, mKey, mOldValue); in close()
226 delete(mNamespace, mKey); in close()
/cts/tests/tests/keystore/src/android/keystore/cts/
DEcdsaSignaturePerformanceTest.java101 private KeyPair mKey; field in EcdsaSignaturePerformanceTest.KeystoreEcSignMeasurable
111 mKey = generateKeyPair(); in initialSetUp()
116 mSignature.initSign(mKey.getPrivate()); in setUp()
129 private KeyPair mKey; field in EcdsaSignaturePerformanceTest.KeystoreEcVerifyMeasurable
139 mKey = generateKeyPair(); in initialSetUp()
140 mSignature.initSign(mKey.getPrivate()); in initialSetUp()
147 mSignature.initVerify(mKey.getPublic()); in setUp()
DAesCipherPerformanceTest.java97 private SecretKey mKey; field in AesCipherPerformanceTest.KeystoreAesEncryptMeasurable
107 mKey = generateSecretKey(); in initialSetUp()
112 mCipher.init(Cipher.ENCRYPT_MODE, mKey); in setUp()
125 private SecretKey mKey; field in AesCipherPerformanceTest.KeystoreAesDecryptMeasurable
135 mKey = generateSecretKey(); in initialSetUp()
136 mCipher.init(Cipher.ENCRYPT_MODE, mKey); in initialSetUp()
143 mCipher.init(Cipher.DECRYPT_MODE, mKey, mParameters); in setUp()
DDesCipherPerformanceTest.java99 private SecretKey mKey; field in DesCipherPerformanceTest.KeystoreDesEncryptMeasurable
109 mKey = generateSecretKey(); in initialSetUp()
114 mCipher.init(Cipher.ENCRYPT_MODE, mKey); in setUp()
126 private SecretKey mKey; field in DesCipherPerformanceTest.KeystoreDesDecryptMeasurable
137 mKey = generateSecretKey(); in initialSetUp()
138 mCipher.init(Cipher.ENCRYPT_MODE, mKey); in initialSetUp()
145 mCipher.init(Cipher.DECRYPT_MODE, mKey, mParameters); in setUp()
DRsaCipherPerformanceTest.java105 private KeyPair mKey; field in RsaCipherPerformanceTest.KeystoreRsaEncryptMeasurable
115 mKey = generateKeyPair(); in initialSetUp()
120 mCipher.init(Cipher.ENCRYPT_MODE, mKey.getPublic()); in setUp()
133 private KeyPair mKey; field in RsaCipherPerformanceTest.KeystoreRsaDecryptMeasurable
143 mKey = generateKeyPair(); in initialSetUp()
144 mCipher.init(Cipher.ENCRYPT_MODE, mKey.getPublic()); in initialSetUp()
151 mCipher.init(Cipher.DECRYPT_MODE, mKey.getPrivate(), mAlgorithmParams); in setUp()
DRsaSignaturePerformanceTest.java128 private KeyPair mKey; field in RsaSignaturePerformanceTest.KeystoreRsaSignMeasurable
138 mKey = generateKeyPair(); in initialSetUp()
143 mSignature.initSign(mKey.getPrivate()); in setUp()
156 private KeyPair mKey; field in RsaSignaturePerformanceTest.KeystoreRsaVerifyMeasurable
166 mKey = generateKeyPair(); in initialSetUp()
167 mSignature.initSign(mKey.getPrivate()); in initialSetUp()
174 mSignature.initVerify(mKey.getPublic()); in setUp()
DHmacMacPerformanceTest.java83 private SecretKey mKey; field in HmacMacPerformanceTest.KeystoreHmacMacMeasurable
93 mKey = generateSecretKey(); in initialSetUp()
98 mMac.init(mKey); in setUp()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCliIntentExtra.java32 private final String mKey; field in CliIntentExtra
46 mKey = key; in CliIntentExtra()
66 return mKey; in key()
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp898 ALOGI("AMediaDrm_queryKeyStatus: key=%s, value=%s", keyStatus[i].mKey, keyStatus[i].mValue); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testQueryKeyStatusNative()