Searched refs:SdkSandboxLocalSingleton (Results 1 – 12 of 12) sorted by relevance
45 SdkSandboxLocalSingleton.destroySingleton(); in tearDown()55 () -> SdkSandboxLocalSingleton.initInstance(binder2)); in testInitInstanceWithIncorrectType()60 SdkSandboxLocalSingleton.initInstance(mBinder); in testInitInstance()61 SdkSandboxLocalSingleton singletonInstance = SdkSandboxLocalSingleton.getExistingInstance(); in testInitInstance()68 SdkSandboxLocalSingleton.initInstance(mBinder); in testInitInstanceWhenAlreadyExists()71 SdkSandboxLocalSingleton.initInstance(binder2); in testInitInstanceWhenAlreadyExists()74 SdkSandboxLocalSingleton singletonInstance = SdkSandboxLocalSingleton.getExistingInstance(); in testInitInstanceWhenAlreadyExists()81 SdkSandboxLocalSingleton.initInstance(mBinder); in testGetInstanceReturnsSameObjectAlways()83 SdkSandboxLocalSingleton singletonInstance = SdkSandboxLocalSingleton.getExistingInstance(); in testGetInstanceReturnsSameObjectAlways()85 assertThat(SdkSandboxLocalSingleton.getExistingInstance()) in testGetInstanceReturnsSameObjectAlways()[all …]
37 public class SdkSandboxLocalSingleton { class40 private static SdkSandboxLocalSingleton sInstance = null;49 private SdkSandboxLocalSingleton(ISdkToServiceCallback sdkToServiceCallback) { in SdkSandboxLocalSingleton() method in SdkSandboxLocalSingleton74 new SdkSandboxLocalSingleton( in initInstance()85 public static SdkSandboxLocalSingleton getExistingInstance() { in getExistingInstance()
19 import android.app.sdksandbox.SdkSandboxLocalSingleton;26 private final SdkSandboxLocalSingleton mSdkSandboxLocalSingleton;30 SdkSandboxLocalSingleton sdkSandboxLocalSingleton) { in FakeSdkSandboxActivityRegistryInjector()35 public SdkSandboxLocalSingleton getSdkSandboxLocalSingleton() { in getSdkSandboxLocalSingleton()
28 import android.app.sdksandbox.SdkSandboxLocalSingleton;69 private SdkSandboxLocalSingleton mSdkSandboxLocalSingleton;78 mSdkSandboxLocalSingleton = Mockito.mock(SdkSandboxLocalSingleton.class); in setUp()92 .mockStatic(SdkSandboxLocalSingleton.class) in setUp()98 .when(() -> SdkSandboxLocalSingleton.getExistingInstance()); in setUp()
39 import android.app.sdksandbox.SdkSandboxLocalSingleton;115 .mockStatic(SdkSandboxLocalSingleton.class) in setup()118 SdkSandboxLocalSingleton sdkSandboxLocalSingleton = in setup()119 Mockito.mock(SdkSandboxLocalSingleton.class); in setup()125 .when(SdkSandboxLocalSingleton::getExistingInstance); in setup()
33 import android.app.sdksandbox.SdkSandboxLocalSingleton;73 private SdkSandboxLocalSingleton mSdkSandboxLocalSingleton;92 .mockStatic(SdkSandboxLocalSingleton.class) in setup()95 mSdkSandboxLocalSingleton = Mockito.mock(SdkSandboxLocalSingleton.class); in setup()101 .when(() -> SdkSandboxLocalSingleton.getExistingInstance()); in setup()
27 import android.app.sdksandbox.SdkSandboxLocalSingleton;64 private SdkSandboxLocalSingleton mSdkSandboxLocalSingleton;71 mSdkSandboxLocalSingleton = Mockito.mock(SdkSandboxLocalSingleton.class); in setUp()
33 import android.app.sdksandbox.SdkSandboxLocalSingleton;75 private SdkSandboxLocalSingleton mSdkSandboxLocalSingleton;102 mSdkSandboxLocalSingleton = SdkSandboxLocalSingleton.getExistingInstance(); in initialize()314 SdkSandboxLocalSingleton.getExistingInstance() in registerSdkSandboxClientImportanceListener()334 SdkSandboxLocalSingleton.getExistingInstance() in unregisterSdkSandboxClientImportanceListener()
26 import android.app.sdksandbox.SdkSandboxLocalSingleton;337 public SdkSandboxLocalSingleton getSdkSandboxLocalSingleton() { in getSdkSandboxLocalSingleton()338 return SdkSandboxLocalSingleton.getExistingInstance(); in getSdkSandboxLocalSingleton()
25 import android.app.sdksandbox.SdkSandboxLocalSingleton;53 private SdkSandboxLocalSingleton mSdkSandboxLocalSingleton;74 mSdkSandboxLocalSingleton = Mockito.mock(SdkSandboxLocalSingleton.class); in setUp()
29 import android.app.sdksandbox.SdkSandboxLocalSingleton;187 SdkSandboxLocalSingleton sdkSandboxLocalSingleton = in setup()188 Mockito.mock(SdkSandboxLocalSingleton.class); in setup()211 IllegalStateException.class, () -> SdkSandboxLocalSingleton.getExistingInstance()); in testSandboxInitialization_initializesSdkSandboxLocalSingleTon()215 assertThat(SdkSandboxLocalSingleton.getExistingInstance()).isNotNull(); in testSandboxInitialization_initializesSdkSandboxLocalSingleTon()
27 import android.app.sdksandbox.SdkSandboxLocalSingleton;144 SdkSandboxLocalSingleton.initInstance(sdkToServiceCallback.asBinder()); in initialize()221 SdkSandboxLocalSingleton.getExistingInstance() in notifySdkSandboxClientImportanceChange()