Searched refs:spiedResources (Results 1 – 2 of 2) sorted by relevance
312 Resources spiedResources = spy(mContext.getResources()); in testIsBackupProvidedByManufacturer_WithIntent() local313 when(mContext.getResources()).thenReturn(spiedResources); in testIsBackupProvidedByManufacturer_WithIntent()314 when(spiedResources.getString(MANUFACTURER_INTENT_RESOURCE)).thenReturn(intent); in testIsBackupProvidedByManufacturer_WithIntent()327 Resources spiedResources = spy(mContext.getResources()); in testIsBackupProvidedByManufacturer_WithoutIntent() local328 when(mContext.getResources()).thenReturn(spiedResources); in testIsBackupProvidedByManufacturer_WithoutIntent()329 when(spiedResources.getString(MANUFACTURER_INTENT_RESOURCE)).thenReturn(intent); in testIsBackupProvidedByManufacturer_WithoutIntent()342 Resources spiedResources = spy(mContext.getResources()); in testGetLabelProvidedByManufacturer() local343 when(mContext.getResources()).thenReturn(spiedResources); in testGetLabelProvidedByManufacturer()344 when(spiedResources.getString(MANUFACTURER_LABEL_RESOURCE)).thenReturn(label); in testGetLabelProvidedByManufacturer()357 Resources spiedResources = spy(mContext.getResources()); in testGetIntentProvidedByManufacturer() local[all …]
127 final var spiedResources = spy(mContext.getResources()); in setUp() local128 when(mContext.getResources()).thenReturn(spiedResources); in setUp()167 when(spiedResources.getBoolean( in setUp()