Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/util/
DSerializableParcelWrapperTest.java87 Bundle bundle1 = new Bundle(); in equals_areNotEqual_returnsFalse() local
89 bundle1.putString(KEY, STRING_VALUE); in equals_areNotEqual_returnsFalse()
92 = new SerializableParcelWrapper<>(bundle1); in equals_areNotEqual_returnsFalse()
/cts/tests/tests/util/src/android/util/cts/
DArrayMapTest.java288 private static void compareBundles(Bundle bundle1, Bundle bundle2) { in compareBundles() argument
289 Set<String> keySet1 = bundle1.keySet(); in compareBundles()
293 int value1 = bundle1.getInt(key); in compareBundles()
306 if (bundle1.get(key) == null) { in compareBundles()
309 int value1 = bundle1.getInt(key); in compareBundles()
340 private static void dump(Bundle bundle1, Bundle bundle2) { in dump() argument
341 Log.e("test", "First Bundle of " + bundle1.size() + " entries:"); in dump()
342 Set<String> keys1 = bundle1.keySet(); in dump()
344 Log.e("test", " " + key + " -> " + bundle1.get(key)); in dump()
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java485 final Bundle bundle1 = new Bundle(); in testGetParcelableArray() local
488 bundle1, bundle2 in testGetParcelableArray()
492 assertTrue(bundle1.equals(parcelableArray[0])); in testGetParcelableArray()
497 assertBundleEquals(bundle1, (Bundle) parcelableArray[0]); in testGetParcelableArray()
505 final Bundle bundle1 = new Bundle(); in testGetParcelableArrayList() local
507 parcelableArrayList.add(bundle1); in testGetParcelableArrayList()
512 assertTrue(bundle1.equals(ret.get(0))); in testGetParcelableArrayList()
517 assertBundleEquals(bundle1, (Bundle) ret.get(0)); in testGetParcelableArrayList()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DApplicationRestrictionsTest.java407 Bundle bundle1 = (Bundle) bundleArray[0]; in assertEqualToBundle() local
408 assertStringKey(bundle1, "bundle_array_string", "bundle_array_string"); in assertEqualToBundle()
410 Bundle bundle1ChildBundle = getBundleKey(bundle1, "bundle_array_bundle"); in assertEqualToBundle()