Home
last modified time | relevance | path

Searched refs:instance1 (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiRestrictionsCacheTest.java93 WifiRestrictionsCache instance1 = WifiRestrictionsCache.getInstance(mContext); in getInstance_sameUserId_sameInstance() local
97 assertThat(instance1).isEqualTo(instance2); in getInstance_sameUserId_sameInstance()
103 WifiRestrictionsCache instance1 = WifiRestrictionsCache.getInstance(mContext); in getInstance_diffUserId_diffInstance() local
108 assertThat(instance1).isNotEqualTo(instance2); in getInstance_diffUserId_diffInstance()
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java85 ClassWithNative instance1 = clazz1.newInstance(); in testNoOp() local
86 assertEquals(42, instance1.add(20, 22)); in testNoOp()
88 instance1.callNativeInstance(10, 3.1415, new Object[0] ); in testNoOp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DPersistAtomsStorage.java2497 private static <T> boolean areSmsMergeable(T instance1, T instance2) { in areSmsMergeable() argument
2498 return getSmsHashCode(instance1) == getSmsHashCode(instance2); in areSmsMergeable()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyStateTrackerTest.java147 EmergencyStateTracker instance1 = EmergencyStateTracker.getInstance(); in getInstance_returnsSameInstance() local
150 assertSame(instance1, instance2); in getInstance_returnsSameInstance()