/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
ApplicationRestrictionsTest.java | 280 Bundle bundle1 = (Bundle) bundleArray[0]; local 281 assertEquals("bundle_array_string", bundle1.getString("bundle_array_string")); 282 Bundle bundle1ChildBundle = bundle1.getBundle("bundle_array_bundle");
|
/cts/tests/tests/util/src/android/util/cts/ |
ArrayMapTest.java | 287 private static void compareBundles(Bundle bundle1, Bundle bundle2) { 288 Set<String> keySet1 = bundle1.keySet(); 292 int value1 = bundle1.getInt(key); 305 if (bundle1.get(key) == null) { 306 fail("Bad Bundle: bundle1 didn't have expected key " + key); 308 int value1 = bundle1.getInt(key); 339 private static void dump(Bundle bundle1, Bundle bundle2) { 340 Log.e("test", "First Bundle of " + bundle1.size() + " entries:"); 341 Set<String> keys1 = bundle1.keySet(); 343 Log.e("test", " " + key + " -> " + bundle1.get(key)) [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
BundleTest.java | 485 final Bundle bundle1 = new Bundle(); local 488 bundle1, bundle2 492 assertTrue(bundle1.equals(parcelableArray[0])); 497 assertBundleEquals(bundle1, (Bundle) parcelableArray[0]); 505 final Bundle bundle1 = new Bundle(); local 507 parcelableArrayList.add(bundle1); 512 assertTrue(bundle1.equals(ret.get(0))); 517 assertBundleEquals(bundle1, (Bundle) ret.get(0)); [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowContentResolver.java | 853 private static boolean isBundleEqual(Bundle bundle1, Bundle bundle2) { 854 if (bundle1 == null || bundle2 == null) { 857 if (bundle1.size() != bundle2.size()) { 860 for (String key : bundle1.keySet()) { 861 if (!bundle1.get(key).equals(bundle2.get(key))) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
ICUResourceBundleTest.java | 936 UResourceBundle bundle1 = UResourceBundle.getBundleInstance(baseName, new ULocale(locName), testLoader); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
ICUResourceBundleTest.java | 933 UResourceBundle bundle1 = UResourceBundle.getBundleInstance(baseName, new ULocale(locName), testLoader); local [all...] |