Home
last modified time | relevance | path

Searched refs:bundle2 (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DArrayMapTest.java270 private static void compareBundles(Bundle bundle1, Bundle bundle2) { in compareBundles() argument
276 if (bundle2.get(key) == null) { in compareBundles()
279 int value2 = bundle2.getInt(key); in compareBundles()
284 Set<String> keySet2 = bundle2.keySet(); in compareBundles()
292 int value2 = bundle2.getInt(key); in compareBundles()
322 private static void dump(Bundle bundle1, Bundle bundle2) { in dump() argument
328 Log.e("test", "Second Bundle of " + bundle2.size() + " entries:"); in dump()
329 Set<String> keys2 = bundle2.keySet(); in dump()
331 Log.e("test", " " + key + " -> " + bundle2.get(key)); in dump()
385 Bundle bundle2 = parcel.readBundle(); in testBasicArrayMap()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java292 Bundle bundle2; in testReadValue() local
296 bundle2 = (Bundle) p.readValue(mcl); in testReadValue()
297 assertNotNull(bundle2); in testReadValue()
298 assertEquals(true, bundle2.getBoolean("boolean")); in testReadValue()
299 assertEquals(Integer.MAX_VALUE, bundle2.getInt("int")); in testReadValue()
300 assertEquals("String", bundle2.getString("string")); in testReadValue()
2452 Bundle bundle2;
2459 bundle2 = p.readBundle();
2460 assertNull(bundle2);
2464 bundle2 = null;
[all …]
DBundleTest.java483 final Bundle bundle2 = new Bundle(); in testGetParcelableArray() local
485 bundle1, bundle2 in testGetParcelableArray()
490 assertTrue(bundle2.equals(parcelableArray[1])); in testGetParcelableArray()
495 assertBundleEquals(bundle2, (Bundle) parcelableArray[1]); in testGetParcelableArray()
503 final Bundle bundle2 = new Bundle(); in testGetParcelableArrayList() local
505 parcelableArrayList.add(bundle2); in testGetParcelableArrayList()
510 assertTrue(bundle2.equals(ret.get(1))); in testGetParcelableArrayList()
515 assertBundleEquals(bundle2, (Bundle) ret.get(1)); in testGetParcelableArrayList()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DApplicationRestrictionsTest.java285 Bundle bundle2 = (Bundle) bundleArray[1]; in assertBundle0() local
286 assertEquals("bundle_array_string2", bundle2.getString("bundle_array_string2")); in assertBundle0()