Searched refs:mResource (Results 1 – 8 of 8) sorted by relevance
49 private Resources mResource; field in TaskThumbnailCacheTest57 when(mContext.getResources()).thenReturn(mResource); in setup()64 when(mResource.getInteger((R.integer.recentsThumbnailCacheSize))).thenReturn(8); in increaseCacheSize()77 when(mResource.getInteger((R.integer.recentsThumbnailCacheSize))).thenReturn(3); in decreaseCacheSize()88 when(mResource.getInteger((R.integer.recentsThumbnailCacheSize))).thenReturn(3); in keepSameCacheSize()
54 private Resources mResource; field in TaskViewTest64 when(mResource.getDisplayMetrics()).thenReturn(mock(DisplayMetrics.class)); in setup()65 when(mResource.getConfiguration()).thenReturn(new Configuration()); in setup()67 when(mContext.getResources()).thenReturn(mResource); in setup()
76 private Resources mResource; field in RecentsModelTest99 mResource = mock(Resources.class); in setup()100 when(mResource.getInteger((R.integer.recentsThumbnailCacheSize))).thenReturn(3); in setup()101 when(mContext.getResources()).thenReturn(mResource); in setup()
35 private val mResource = InstrumentationRegistry.getContext().getResources() constant in com.android.server.connectivity.ApplicationSelfCertifiedNetworkCapabilitiesTest50 val parser = mResource.getXml( in parseXmlWithWrongTag_shouldIgnoreWrongTag()60 val parser = mResource.getXml( in parseXmlWithWrongDeclaration_shouldThrowException()71 val parser = mResource.getXml(R.xml.self_certified_capabilities_other) in checkIfSelfCertifiedNetworkCapabilitiesDeclared_shouldThrowExceptionWhenNoDeclaration()89 val parser = mResource.getXml(R.xml.self_certified_capabilities_both) in checkIfSelfCertifiedNetworkCapabilitiesDeclared_shouldPassIfDeclarationExist()
54 private MockResources mResource = new MockResources(); field in ThroughputPredictorTest84 when(mResource.getBoolean( in setUp()87 when(mResource.getInteger( in setUp()90 when(mContext.getResources()).thenReturn(mResource); in setUp()104 when(mResource.getBoolean(R.bool.config_wifiEnable6GhzBeaconRssiBoost)).thenReturn(false); in verify6GhzRssiBoost()116 when(mResource.getBoolean(R.bool.config_wifiEnable6GhzBeaconRssiBoost)).thenReturn(true); in verify6GhzRssiBoost()173 when(mResource.getBoolean( in verifyHighRssiMinChannelUtilizationAc5g80Mhz2ssOverriddenTo1ss()176 when(mResource.getInteger( in verifyHighRssiMinChannelUtilizationAc5g80Mhz2ssOverriddenTo1ss()204 when(mResource.getBoolean( in verifyHighRssiMinChannelUtilizationAx5g160Mhz4ssOverriddenTo2ss()
317 @Spy private MockResources mResource = new MockResources(); field in WifiNetworkSelectorTest343 when(mContext.getResources()).thenReturn(mResource); in setupContext()348 doReturn(value).when(mResource).getInteger(resourceName); in setupIntegerResource()353 doReturn(true).when(mResource).getBoolean( in setupResources()358 doReturn(false).when(mResource).getBoolean(R.bool.config_wifi11axSupportOverride); in setupResources()2765 doReturn(false).when(mResource).getBoolean( in networkSelectionNotPerformedWhenAllCmmIsSufficient()
73 private Resources mResource; field in BluetoothDevicePairingDetailBaseTest99 doReturn(mResource).when(mFragment).getResources(); in setUp()
213 private final T mResource; field in IpSecService.RefcountedResource220 this.mResource = resource; in RefcountedResource()255 return mResource; in getResource()280 mResource.invalidate(); in userRelease()308 mResource.freeUnderlyingResources(); in releaseReference()325 .append(mResource) in toString()