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.java287 private static void compareBundles(Bundle bundle1, Bundle bundle2) { in compareBundles() argument
293 if (bundle2.get(key) == null) { in compareBundles()
296 int value2 = bundle2.getInt(key); in compareBundles()
301 Set<String> keySet2 = bundle2.keySet(); in compareBundles()
309 int value2 = bundle2.getInt(key); in compareBundles()
339 private static void dump(Bundle bundle1, Bundle bundle2) { in dump() argument
345 Log.e("test", "Second Bundle of " + bundle2.size() + " entries:"); in dump()
346 Set<String> keys2 = bundle2.keySet(); in dump()
348 Log.e("test", " " + key + " -> " + bundle2.get(key)); in dump()
403 Bundle bundle2 = parcel.readBundle(); in testBasicArrayMap()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java306 Bundle bundle2; in testReadValue() local
310 bundle2 = (Bundle) p.readValue(mcl); in testReadValue()
311 assertNotNull(bundle2); in testReadValue()
312 assertEquals(true, bundle2.getBoolean("boolean")); in testReadValue()
313 assertEquals(Integer.MAX_VALUE, bundle2.getInt("int")); in testReadValue()
314 assertEquals("String", bundle2.getString("string")); in testReadValue()
2466 Bundle bundle2;
2473 bundle2 = p.readBundle();
2474 assertNull(bundle2);
2478 bundle2 = null;
[all …]
DBundleTest.java486 final Bundle bundle2 = new Bundle(); in testGetParcelableArray() local
488 bundle1, bundle2 in testGetParcelableArray()
493 assertTrue(bundle2.equals(parcelableArray[1])); in testGetParcelableArray()
498 assertBundleEquals(bundle2, (Bundle) parcelableArray[1]); in testGetParcelableArray()
506 final Bundle bundle2 = new Bundle(); in testGetParcelableArrayList() local
508 parcelableArrayList.add(bundle2); in testGetParcelableArrayList()
513 assertTrue(bundle2.equals(ret.get(1))); in testGetParcelableArrayList()
518 assertBundleEquals(bundle2, (Bundle) ret.get(1)); in testGetParcelableArrayList()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DApplicationRestrictionsTest.java287 Bundle bundle2 = (Bundle) bundleArray[1]; in assertBundle0() local
288 assertEquals("bundle_array_string2", bundle2.getString("bundle_array_string2")); in assertBundle0()