Searched refs:mockAdapter (Results 1 – 2 of 2) sorted by relevance
45 lateinit var mockAdapter: PackageDeleteObserver variable in com.android.server.pm.test.uninstall.UninstallCompleteCallbackTest49 mockAdapter.onUserActionRequired(intent) in onUserActionRequired()52 mockAdapter.onPackageDeleted(basePackageName, returnCode, msg) in onPackageDeleted()63 doReturn(mockBinder).`when`(mockAdapter).binder in testCallDelegation()65 val callback = UninstallCompleteCallback(mockAdapter.binder.asBinder()) in testCallDelegation()68 verify(mockAdapter, times(1)).onPackageDeleted(PACKAGE_NAME, in testCallDelegation()74 doReturn(mockBinder).`when`(mockAdapter).binder in testClassIsParcelable()76 val callback = UninstallCompleteCallback(mockAdapter.binder.asBinder()) in testClassIsParcelable()87 verify(mockAdapter, times(1)).onPackageDeleted(PACKAGE_NAME, in testClassIsParcelable()
88 SettingsAdapter mockAdapter = mock(SettingsAdapter.class); in setUp() local89 when(mMockAudioService.getSettings()).thenReturn(mockAdapter); in setUp()90 when(mockAdapter.getSecureStringForUser(any(), any(), anyInt())).thenReturn(""); in setUp()