Searched refs:mAssets (Results 1 – 2 of 2) sorted by relevance
51 private AssetManager mAssets; field in PhoneLanguagePreferenceControllerTest61 when(mContext.getAssets()).thenReturn(mAssets); in setUp()68 when(mAssets.getLocales()).thenReturn(new String[] {"en", "de"}); in testIsAvailable_hasMultipleLocales_shouldReturnTrue()75 when(mAssets.getLocales()).thenReturn(new String[] {"en"}); in testIsAvailable_hasSingleLocales_shouldReturnFalse()82 when(mAssets.getLocales()).thenReturn(new String[] {"en", "de"}); in testGetAvailabilityStatus_hasMultipleLocales_returnAvailable()90 when(mAssets.getLocales()).thenReturn(new String[] {"en"}); in testGetAvailabilityStatus_hasSingleLocales_returnConditionallyUnavailable()
51 private final AssetManager mAssets; field in SandboxedSdkContext107 mAssets = resources.getAssets(); in SandboxedSdkContext()110 mAssets = null; in SandboxedSdkContext()208 return mAssets; in getAssets()