Home
last modified time | relevance | path

Searched refs:mResource (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSavedNetworkEvaluatorTest.java65 mThresholdMinimumRssi2G = mResource.getInteger( in setUp()
67 mThresholdMinimumRssi5G = mResource.getInteger( in setUp()
69 mThresholdQualifiedRssi2G = mResource.getInteger( in setUp()
71 mThresholdQualifiedRssi5G = mResource.getInteger( in setUp()
73 mThresholdSaturatedRssi2G = mResource.getInteger( in setUp()
75 mThresholdSaturatedRssi5G = mResource.getInteger( in setUp()
95 @Mock private Resources mResource; field in SavedNetworkEvaluatorTest
108 when(mContext.getResources()).thenReturn(mResource); in setupContext()
112 when(mResource.getInteger( in setupResource()
115 when(mResource.getInteger( in setupResource()
[all …]
DWifiConnectivityManagerTest.java87 mResource = mockResource(); in setUp()
108 mFullScanMaxTxPacketRate = mResource.getInteger( in setUp()
110 mFullScanMaxRxPacketRate = mResource.getInteger( in setUp()
124 private Resources mResource; field in WifiConnectivityManagerTest
187 when(context.getResources()).thenReturn(mResource); in mockContext()
424 when(mResource.getBoolean( in turnScreenOnWhenWifiInConnectedStateRoamingDisabled()
2020 when(mResource.getBoolean(
2076 when(mResource.getBoolean(
DWifiNetworkSelectorTest.java200 @Spy private MockResources mResource = new MockResources(); field in WifiNetworkSelectorTest
215 when(mContext.getResources()).thenReturn(mResource); in setupContext()
219 doReturn(value).when(mResource).getInteger(resourceName); in setupIntegerResource()
224 doReturn(true).when(mResource).getBoolean( in setupResources()
/frameworks/base/core/java/android/widget/
DImageView.java107 private int mResource = 0; field in ImageView
475 mResource = resource;
499 mResource = resId;
549 if (mResource != 0 || (mUri != uri && (uri == null || mUri == null || !uri.equals(mUri)))) {
551 mResource = 0;
569 if (mResource != 0 || (mUri != uri && (uri == null || mUri == null || !uri.equals(mUri)))) {
588 mResource = 0;
971 if (mResource != 0) {
973 d = mContext.getDrawable(mResource);
975 Log.w(LOG_TAG, "Unable to find resource: " + mResource, e);
[all …]
DSimpleAdapter.java66 private int mResource; field in SimpleAdapter
93 mResource = mDropDownResource = resource; in SimpleAdapter()
124 return createViewFromResource(mInflater, position, convertView, parent, mResource); in getView()
DArrayAdapter.java89 private final int mResource; field in ArrayAdapter
214 mResource = mDropDownResource = resource; in ArrayAdapter()
416 return createViewFromResource(mInflater, position, convertView, parent, mResource); in getView()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java195 private final T mResource; field in IpSecService.RefcountedResource
202 this.mResource = resource; in RefcountedResource()
237 return mResource; in getResource()
262 mResource.invalidate(); in userRelease()
290 mResource.freeUnderlyingResources(); in releaseReference()
307 .append(mResource) in toString()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt80821 Landroid/widget/ArrayAdapter;->mResource:I
84149 Landroid/widget/SimpleAdapter;->mResource:I