Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSavedNetworkEvaluatorTest.java62 mThresholdMinimumRssi2G = mResource.getInteger( in setUp()
64 mThresholdMinimumRssi5G = mResource.getInteger( in setUp()
66 mThresholdQualifiedRssi2G = mResource.getInteger( in setUp()
68 mThresholdQualifiedRssi5G = mResource.getInteger( in setUp()
70 mThresholdSaturatedRssi2G = mResource.getInteger( in setUp()
72 mThresholdSaturatedRssi5G = mResource.getInteger( in setUp()
90 @Mock private Resources mResource; field in SavedNetworkEvaluatorTest
101 when(mContext.getResources()).thenReturn(mResource); in setupContext()
105 when(mResource.getInteger( in setupResource()
108 when(mResource.getInteger( in setupResource()
[all …]
DWifiConnectivityManagerTest.java84 mResource = mockResource(); in setUp()
99 mFullScanMaxTxPacketRate = mResource.getInteger( in setUp()
101 mFullScanMaxRxPacketRate = mResource.getInteger( in setUp()
114 private Resources mResource; field in WifiConnectivityManagerTest
176 when(context.getResources()).thenReturn(mResource); in mockContext()
414 when(mResource.getBoolean( in turnScreenOnWhenWifiInConnectedStateRoamingDisabled()
1956 when(mResource.getBoolean(
2011 when(mResource.getBoolean(
DWifiNetworkSelectorTest.java142 @Spy private MockResources mResource = new MockResources(); field in WifiNetworkSelectorTest
154 when(mContext.getResources()).thenReturn(mResource); in setupContext()
158 doReturn(value).when(mResource).getInteger(resourceName); in setupIntegerResource()
163 doReturn(true).when(mResource).getBoolean( in setupResources()
/frameworks/base/core/java/android/widget/
DImageView.java100 private int mResource = 0; field in ImageView
451 mResource = resource;
475 mResource = resId;
524 if (mResource != 0 || (mUri != uri && (uri == null || mUri == null || !uri.equals(mUri)))) {
526 mResource = 0;
543 if (mResource != 0 || (mUri != uri && (uri == null || mUri == null || !uri.equals(mUri)))) {
562 mResource = 0;
912 if (mResource != 0) {
914 d = mContext.getDrawable(mResource);
916 Log.w(LOG_TAG, "Unable to find resource: " + mResource, e);
[all …]
DSimpleAdapter.java63 private int mResource; field in SimpleAdapter
90 mResource = mDropDownResource = resource; in SimpleAdapter()
121 return createViewFromResource(mInflater, position, convertView, parent, mResource); in getView()
DArrayAdapter.java90 private final int mResource; field in ArrayAdapter
213 mResource = mDropDownResource = resource; in ArrayAdapter()
415 return createViewFromResource(mInflater, position, convertView, parent, mResource); in getView()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
DPicker.java444 private final int mResource; field in Picker.PickerScrollArrayAdapter
451 mResource = resource; in PickerScrollArrayAdapter()
460 View v = inflater.inflate(mResource, parent, false); in onCreateViewHolder()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java188 private final T mResource; field in IpSecService.RefcountedResource
195 this.mResource = resource; in RefcountedResource()
229 return mResource; in getResource()
254 mResource.invalidate(); in userRelease()
282 mResource.freeUnderlyingResources(); in releaseReference()
299 .append(mResource) in toString()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt7015 Landroid/widget/ImageView;->mResource:I