Searched refs:instance1 (Results 1 – 4 of 4) sorted by relevance
93 WifiRestrictionsCache instance1 = WifiRestrictionsCache.getInstance(mContext); in getInstance_sameUserId_sameInstance() local97 assertThat(instance1).isEqualTo(instance2); in getInstance_sameUserId_sameInstance()103 WifiRestrictionsCache instance1 = WifiRestrictionsCache.getInstance(mContext); in getInstance_diffUserId_diffInstance() local108 assertThat(instance1).isNotEqualTo(instance2); in getInstance_diffUserId_diffInstance()
85 ClassWithNative instance1 = clazz1.newInstance(); in testNoOp() local86 assertEquals(42, instance1.add(20, 22)); in testNoOp()88 instance1.callNativeInstance(10, 3.1415, new Object[0] ); in testNoOp()
2497 private static <T> boolean areSmsMergeable(T instance1, T instance2) { in areSmsMergeable() argument2498 return getSmsHashCode(instance1) == getSmsHashCode(instance2); in areSmsMergeable()
147 EmergencyStateTracker instance1 = EmergencyStateTracker.getInstance(); in getInstance_returnsSameInstance() local150 assertSame(instance1, instance2); in getInstance_returnsSameInstance()