Home
last modified time | relevance | path

Searched refs:KEY (Results 1 – 9 of 9) 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()
DSampleJUnit4DeviceTest.java41 private static final String KEY = "foo"; field in SampleJUnit4DeviceTest
59 mActivityRule.getActivity().savePreference(KEY, VALUE); in shouldSaveSharedPreferences()
61 mActivityRule.getActivity().getPreference(KEY)); in shouldSaveSharedPreferences()
66 mActivityRule.getActivity().getPreference(KEY)); in shouldSaveSharedPreferences()
/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.java644 Settings.KEY, Settings.VALUE};
659 value.put(Settings.KEY, insertKey);
674 Settings.KEY + " = ?",
687 value.put(Settings.KEY, updateKey);
693 Settings.KEY + " = ?",
703 Settings.KEY + " = ?",
715 value.put(Settings.KEY, insertKey);
721 Settings.KEY + " = ?",
731 Settings.KEY + " = ?",
/cts/tools/dex-tools/dex/
Dclasses0.out.dex104997 static final int KEY
105334 static final int KEY
Dclasses.out.dex63799 public static final java.lang.String KEY
68100 public static final java.lang.String KEY