Searched refs:bundle2 (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | InlinePresentationStyleUtilsTest.java | 50 Bundle bundle2 = new Bundle(); in testBundleEquals_empty() local 52 assertTrue(InlinePresentationStyleUtils.bundleEquals(bundle1, bundle2)); in testBundleEquals_empty() 55 assertTrue(InlinePresentationStyleUtils.bundleEquals(bundle1, bundle2)); in testBundleEquals_empty() 57 bundle2 = Bundle.EMPTY; in testBundleEquals_empty() 58 assertTrue(InlinePresentationStyleUtils.bundleEquals(bundle1, bundle2)); in testBundleEquals_empty() 64 Bundle bundle2 = new Bundle(); in testBundleEquals_oneIsEmpty() local 65 bundle2.putString("KEY", "value"); in testBundleEquals_oneIsEmpty() 66 assertFalse(InlinePresentationStyleUtils.bundleEquals(bundle1, bundle2)); in testBundleEquals_oneIsEmpty() 76 Bundle bundle2 = new Bundle(); in testBundleEquals_nestedBundle_equal() local 79 bundle2.putBundle("KEY_B", bundle21); in testBundleEquals_nestedBundle_equal() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BundleTest.java | 189 Bundle bundle2 = new Bundle(); in kindofEquals_bothUnparcelled_same() local 190 bundle2.putString("StringKey", "S"); in kindofEquals_bothUnparcelled_same() 191 bundle2.putInt("IntKey", 2); in kindofEquals_bothUnparcelled_same() 193 assertTrue(BaseBundle.kindofEquals(bundle1, bundle2)); in kindofEquals_bothUnparcelled_same() 202 Bundle bundle2 = new Bundle(); in kindofEquals_bothUnparcelled_different() local 203 bundle2.putString("StringKey", "T"); in kindofEquals_bothUnparcelled_different() 204 bundle2.putLong("LongKey", 30L); in kindofEquals_bothUnparcelled_different() 206 assertFalse(BaseBundle.kindofEquals(bundle1, bundle2)); in kindofEquals_bothUnparcelled_different() 216 Bundle bundle2 = new Bundle(); in kindofEquals_bothParcelled_same() local 217 bundle2.putString("StringKey", "S"); in kindofEquals_bothParcelled_same() [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() 54 Object value2 = bundle2.get(key); in bundleEquals()
|
/frameworks/base/core/java/android/net/ |
D | ScoredNetwork.java | 200 private boolean bundleEquals(Bundle bundle1, Bundle bundle2) { in bundleEquals() argument 201 if (bundle1 == bundle2) { in bundleEquals() 204 if (bundle1 == null || bundle2 == null) { in bundleEquals() 207 if (bundle1.size() != bundle2.size()) { in bundleEquals() 213 Object value2 = bundle2.get(key); in bundleEquals()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceTest.java | 158 Bundle bundle2 = (Bundle) bundle_array[1]; in assertBundle() local 159 assertThat(bundle2.getString("bundle_array_string2")) in assertBundle()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BroadcastRecordTest.java | 572 final PersistableBundle bundle2 = new PersistableBundle(); in testMatchesDeliveryGroup_withMatchingFilter() local 573 bundle2.putInt(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, 0); in testMatchesDeliveryGroup_withMatchingFilter() 574 bundle2.putInt(SubscriptionManager.EXTRA_SLOT_INDEX, 2); in testMatchesDeliveryGroup_withMatchingFilter() 575 filter2.setExtras(bundle2); in testMatchesDeliveryGroup_withMatchingFilter()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | MultiSimSettingControllerTest.java | 887 PersistableBundle bundle2 = new PersistableBundle(); in testCarrierConfigChangeWithInvalidSubId_shouldAlwaysTryToGetSubId() local 899 bundle2.putBoolean(CarrierConfigManager.KEY_CARRIER_CONFIG_APPLIED_BOOL, true); in testCarrierConfigChangeWithInvalidSubId_shouldAlwaysTryToGetSubId()
|