Home
last modified time | relevance | path

Searched refs:TEST_KEY (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
DSharedPreferenceLoggerTest.java41 private static final String TEST_KEY = "key"; field in SharedPreferenceLoggerTest
42 private static final String TEST_TAGGED_KEY = TEST_TAG + "/" + TEST_KEY;
60 editor.putInt(TEST_KEY, 1); in putInt_shouldNotLogInitialPut()
61 editor.putInt(TEST_KEY, 1); in putInt_shouldNotLogInitialPut()
62 editor.putInt(TEST_KEY, 1); in putInt_shouldNotLogInitialPut()
63 editor.putInt(TEST_KEY, 2); in putInt_shouldNotLogInitialPut()
64 editor.putInt(TEST_KEY, 2); in putInt_shouldNotLogInitialPut()
65 editor.putInt(TEST_KEY, 2); in putInt_shouldNotLogInitialPut()
66 editor.putInt(TEST_KEY, 2); in putInt_shouldNotLogInitialPut()
78 editor.putBoolean(TEST_KEY, true); in putBoolean_shouldNotLogInitialPut()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DDeveloperOptionsPreferenceControllerTest.java36 private static final String TEST_KEY = "Test_pref_key"; field in DeveloperOptionsPreferenceControllerTest
49 doReturn(mPreference).when(mPreferenceScreen).findPreference(TEST_KEY); in setUp()
75 return TEST_KEY; in getPreferenceKey()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/
DChunkHasherTest.java40 private static final byte[] TEST_KEY = {100, 120}; field in ChunkHasherTest
48 mSecretKey = new SecretKeySpec(TEST_KEY, KEY_ALGORITHM); in setUp()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java302 final String TEST_KEY = "test_setting"; in testPerUserSettings() local
306 Settings.Secure.putInt(r, TEST_KEY, SELF_VALUE); in testPerUserSettings()
307 Settings.Secure.putIntForUser(r, TEST_KEY, OTHER_VALUE, user.id); in testPerUserSettings()
310 int myValue = Settings.Secure.getInt(r, TEST_KEY, 0); in testPerUserSettings()
311 int otherValue = Settings.Secure.getIntForUser(r, TEST_KEY, 0, user.id); in testPerUserSettings()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java90 public static final String TEST_KEY = "" + field in CertPinInstallReceiverTest
142 byte[] derKey = Base64.decode(TEST_KEY.getBytes(), Base64.DEFAULT); in createKey()