Searched refs:oldInstance (Results 1 – 4 of 4) sorted by relevance
325 KeyguardSliceProvider oldInstance = KeyguardSliceProvider.sInstance; in onCreateSliceProvider() local326 if (oldInstance != null) { in onCreateSliceProvider()327 oldInstance.onDestroy(); in onCreateSliceProvider()
299 SoundTriggerDetector oldInstance = mReceiverInstanceMap.get(soundModelId); in createSoundTriggerDetector() local300 if (oldInstance != null) { in createSoundTriggerDetector()
176 final var oldInstance = sInstance; in createTestSession() local178 return () -> sInstance = oldInstance; in createTestSession()
628 final Vcn oldInstance = startAndGetVcnInstance(TEST_UUID_2); in testTelephonyNetworkTrackerCallbackDoesNotKillNewVcnInstances() local643 assertTrue(oldInstance != newInstance); in testTelephonyNetworkTrackerCallbackDoesNotKillNewVcnInstances()644 verify(oldInstance).teardownAsynchronously(); in testTelephonyNetworkTrackerCallbackDoesNotKillNewVcnInstances()