Home
last modified time | relevance | path

Searched refs:KEY (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java47 public static final String KEY = "Bruce Lee"; field in BundleTest
67 b1.putBoolean(KEY, true); in testBundle()
71 assertTrue(b2.getBoolean(KEY)); in testBundle()
91 mBundle.putBoolean(KEY, true); in testClear()
111 assertFalse(mBundle.containsKey(KEY)); in testContainsKey()
112 mBundle.putBoolean(KEY, true); in testContainsKey()
113 assertTrue(mBundle.containsKey(KEY)); in testContainsKey()
115 assertTrue(mBundle.containsKey(KEY)); in testContainsKey()
121 assertNull(mBundle.get(KEY)); in testGet()
122 mBundle.putBoolean(KEY, true); in testGet()
[all …]
DMessageTest.java31 public static final String KEY = "android"; field in MessageTest
160 bundle.putInt(KEY, VALUE); in testCopyFrom()
168 assertEquals(VALUE, mMessage.getData().getInt(KEY)); in testCopyFrom()
188 bundle.putInt(KEY, VALUE); in testWriteToParcel()
198 assertEquals(VALUE, mMessage.getData().getInt(KEY)); in testWriteToParcel()
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceTest.java29 private static final String KEY = "foo"; field in SampleDeviceTest
69 mActivity.savePreference(KEY, VALUE); in testSharedPreferences()
70 assertEquals("Preferences were not saved", VALUE, mActivity.getPreference(KEY)); in testSharedPreferences()
74 assertNull("Preferences were not cleared", mActivity.getPreference(KEY)); in testSharedPreferences()
/cts/hostsidetests/appsecurity/certs/
Dcts-testkey1.pem1 -----BEGIN RSA PRIVATE KEY-----
27 -----END RSA PRIVATE KEY-----
Dcts-testkey2.pem1 -----BEGIN RSA PRIVATE KEY-----
27 -----END RSA PRIVATE KEY-----
/cts/tests/tests/provider/src/android/provider/cts/
DContactsTest.java641 Settings.KEY, Settings.VALUE}; in testSettingsTable()
656 value.put(Settings.KEY, insertKey); in testSettingsTable()
671 Settings.KEY + " = ?", in testSettingsTable()
684 value.put(Settings.KEY, updateKey); in testSettingsTable()
690 Settings.KEY + " = ?", in testSettingsTable()
700 Settings.KEY + " = ?", in testSettingsTable()
712 value.put(Settings.KEY, insertKey); in testSettingsTable()
718 Settings.KEY + " = ?", in testSettingsTable()
728 Settings.KEY + " = ?", in testSettingsTable()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex104997 static final int KEY
105334 static final int KEY