Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DBundleTest.java153 Bundle bundle2 = new Bundle(); in kindofEquals_bothUnparcelled_same() local
154 bundle2.putString("StringKey", "S"); in kindofEquals_bothUnparcelled_same()
155 bundle2.putInt("IntKey", 2); in kindofEquals_bothUnparcelled_same()
157 assertTrue(BaseBundle.kindofEquals(bundle1, bundle2)); in kindofEquals_bothUnparcelled_same()
166 Bundle bundle2 = new Bundle(); in kindofEquals_bothUnparcelled_different() local
167 bundle2.putString("StringKey", "T"); in kindofEquals_bothUnparcelled_different()
168 bundle2.putLong("LongKey", 30L); in kindofEquals_bothUnparcelled_different()
170 assertFalse(BaseBundle.kindofEquals(bundle1, bundle2)); in kindofEquals_bothUnparcelled_different()
180 Bundle bundle2 = new Bundle(); in kindofEquals_bothParcelled_same() local
181 bundle2.putString("StringKey", "S"); in kindofEquals_bothParcelled_same()
[all …]
/frameworks/base/core/java/android/net/
DScoredNetwork.java198 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()
211 Object value2 = bundle2.get(key); in bundleEquals()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceTest.java114 Bundle bundle2 = (Bundle) bundle_array[1]; in assertBundle() local
115 assertEquals("bundle_array_string2", bundle2.getString("bundle_array_string2")); in assertBundle()