Searched refs:bundle1 (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BundleTest.java | 149 Bundle bundle1 = new Bundle(); in kindofEquals_bothUnparcelled_same() local 150 bundle1.putString("StringKey", "S"); in kindofEquals_bothUnparcelled_same() 151 bundle1.putInt("IntKey", 2); in kindofEquals_bothUnparcelled_same() 157 assertTrue(BaseBundle.kindofEquals(bundle1, bundle2)); in kindofEquals_bothUnparcelled_same() 162 Bundle bundle1 = new Bundle(); in kindofEquals_bothUnparcelled_different() local 163 bundle1.putString("StringKey", "S"); in kindofEquals_bothUnparcelled_different() 164 bundle1.putInt("IntKey", 2); in kindofEquals_bothUnparcelled_different() 170 assertFalse(BaseBundle.kindofEquals(bundle1, bundle2)); in kindofEquals_bothUnparcelled_different() 175 Bundle bundle1 = new Bundle(); in kindofEquals_bothParcelled_same() local 176 bundle1.putString("StringKey", "S"); in kindofEquals_bothParcelled_same() [all …]
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | InlinePresentationStyleUtilsTest.java | 41 Bundle bundle1 = new Bundle(); in testBundleEquals_empty() local 44 assertTrue(InlinePresentationStyleUtils.bundleEquals(bundle1, bundle2)); in testBundleEquals_empty() 46 bundle1 = Bundle.EMPTY; in testBundleEquals_empty() 47 assertTrue(InlinePresentationStyleUtils.bundleEquals(bundle1, bundle2)); in testBundleEquals_empty() 50 assertTrue(InlinePresentationStyleUtils.bundleEquals(bundle1, bundle2)); in testBundleEquals_empty() 55 Bundle bundle1 = Bundle.EMPTY; in testBundleEquals_oneIsEmpty() local 58 assertFalse(InlinePresentationStyleUtils.bundleEquals(bundle1, bundle2)); in testBundleEquals_oneIsEmpty() 63 Bundle bundle1 = new Bundle(); in testBundleEquals_nestedBundle_equal() local 66 bundle1.putBundle("KEY_B", bundle11); in testBundleEquals_nestedBundle_equal() 73 assertTrue(InlinePresentationStyleUtils.bundleEquals(bundle1, bundle2)); in testBundleEquals_nestedBundle_equal() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | InlinePresentationStyleUtils.java | 41 public static boolean bundleEquals(@NonNull Bundle bundle1, @NonNull Bundle bundle2) { in bundleEquals() argument 42 if (bundle1 == bundle2) { in bundleEquals() 45 if (bundle1 == null || bundle2 == null) { in bundleEquals() 48 if (bundle1.size() != bundle2.size()) { in bundleEquals() 51 Set<String> keys = bundle1.keySet(); in bundleEquals() 53 Object value1 = bundle1.get(key); in bundleEquals()
|
/frameworks/base/core/java/android/net/ |
D | ScoredNetwork.java | 198 private boolean bundleEquals(Bundle bundle1, Bundle bundle2) { in bundleEquals() argument 199 if (bundle1 == bundle2) { in bundleEquals() 202 if (bundle1 == null || bundle2 == null) { in bundleEquals() 205 if (bundle1.size() != bundle2.size()) { in bundleEquals() 208 Set<String> keys = bundle1.keySet(); in bundleEquals() 210 Object value1 = bundle1.get(key); in bundleEquals()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceTest.java | 123 Bundle bundle1 = (Bundle) bundle_array[0]; in assertBundle() local 124 assertEquals("bundle_array_string", bundle1.getString("bundle_array_string")); in assertBundle() 125 assertNotNull(bundle1.getBundle("bundle_array_bundle")); in assertBundle()
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TransactionParcelTests.java | 454 CompatibilityInfo compatibilityInfo, Map map, Bundle bundle1, String s1, in bindApplication() argument
|