Home
last modified time | relevance | path

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

/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java50 public static final String KEY = "Bruce Lee"; field in BundleTest
70 b1.putBoolean(KEY, true); in testBundle()
74 assertTrue(b2.getBoolean(KEY)); in testBundle()
94 mBundle.putBoolean(KEY, true); in testClear()
114 assertFalse(mBundle.containsKey(KEY)); in testContainsKey()
115 mBundle.putBoolean(KEY, true); in testContainsKey()
116 assertTrue(mBundle.containsKey(KEY)); in testContainsKey()
118 assertTrue(mBundle.containsKey(KEY)); in testContainsKey()
124 assertNull(mBundle.get(KEY)); in testGet()
125 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/tests/preference/src/android/preference/cts/
DPreferenceDataStoreTest.java72 private static final String KEY = "TestPrefKey"; field in PreferenceDataStoreTest
86 mPreference.setKey(KEY); in setup()
96 mManager.getSharedPreferences().edit().remove(KEY).commit(); in setup()
153 verify(mDataStore, atLeastOnce()).getString(eq(KEY), any()); in testDataStoresHierarchy()
173 verify(mDataStore, atLeast(0)).getString(eq(KEY), nullable(String.class)); in putStringTestCommon()
174 verify(mDataStore, atLeastOnce()).putString(eq(KEY), anyString()); in putStringTestCommon()
178 assertNull(mSharedPref.getString(KEY, null)); in putStringTestCommon()
186 verify(mDataStore, atLeastOnce()).getString(eq(KEY), eq(TEST_STR)); in testGetStringWithDataStoreOnPref()
194 verify(mDataStore, atLeastOnce()).getString(eq(KEY), eq(TEST_STR)); in testGetStringWithDataStoreOnMgr()
208 mSharedPref.edit().putString(KEY, TEST_WRONG_STR).commit(); in testDefaultStringValue()
[all …]
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiPermissionTests.java40 private static final String KEY = "key"; field in DeviceConfigApiPermissionTests
107 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in testUseDeviceConfigWithWritePermission()
114 DeviceConfig.getProperty(NAMESPACE, KEY); in testUseDeviceConfigWithWritePermission()
147 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in testDeviceConfigWithReadPermission()
154 DeviceConfig.getProperty(NAMESPACE, KEY); in testDeviceConfigWithReadPermission()
189 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in testDeviceConfigWithAllPermissions()
196 String property = DeviceConfig.getProperty(NAMESPACE, KEY); in testDeviceConfigWithAllPermissions()
229 DeviceConfig.setProperty(PUBLIC_NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in testDeviceConfigPublicNamespacesWithoutReadPermission()
239 DeviceConfig.setProperty(PUBLIC_NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in testDeviceConfigPublicNamespacesWithoutReadPermission()
246 String property = DeviceConfig.getProperty(PUBLIC_NAMESPACE, KEY); in testDeviceConfigPublicNamespacesWithoutReadPermission()
/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.java37 private static final String KEY = "foo"; field in SampleJUnit4DeviceTest
55 mActivityRule.getActivity().savePreference(KEY, VALUE); in shouldSaveSharedPreferences()
57 mActivityRule.getActivity().getPreference(KEY)); in shouldSaveSharedPreferences()
62 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/net/ipsec/assets/key/
Dclient-a-private-key.key1 -----BEGIN PRIVATE KEY-----
28 -----END PRIVATE KEY-----
/cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/res/raw/
Dvalid_ca.pem19 -----BEGIN PRIVATE KEY-----
46 -----END PRIVATE KEY-----
/cts/tests/tests/provider/src/android/provider/cts/contacts/
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/tests/tests/media/assets/audio_only/
Dindex.m3u86 #EXT-X-KEY:METHOD=SAMPLE-AES,URI="00.key",IV=0x76fb8e8c870c8f95234d6c40aac52902
/cts/tests/tests/media/assets/unmuxed_1500k/
Dindex.m3u86 #EXT-X-KEY:METHOD=SAMPLE-AES,URI="00.key",IV=0x10428210ced85ee2ece4f45206ba81ce
/cts/tests/tests/media/res/raw/
DMultiLangPerso_1PID_PC0_Select_AC4_H265_DVB_50fps_Audio_Only.ts22608 …�L? ��Q��"�5Ű�L�-��J�ߨ��kG�@��И��]�E6@iܙ��@Ū��;�8"�y:��v��ڃċl,���<Z�KEY�,�D�?f��QT�]2�!G…