Home
last modified time | relevance | path

Searched refs:mTestableResources (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DRotationLockTileTest.java98 private TestableResources mTestableResources; field in RotationLockTileTest
104 mTestableResources = mContext.getOrCreateTestableResources(); in setUp()
108 mTestableResources.addOverride(com.android.internal.R.bool.config_allowRotationResolver, in setUp()
217 mTestableResources.addOverride(com.android.internal.R.bool.config_allowRotationResolver, in testSecondaryString_rotationResolverDisabled_isEmpty()
/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java78 private TestableResources mTestableResources; field in TestableContext
128 if (mTestableResources == null) { in ensureTestableResources()
129 mTestableResources = new TestableResources(super.getResources()); in ensureTestableResources()
138 return mTestableResources; in getOrCreateTestableResources()
151 return mTestableResources != null ? mTestableResources.getResources() in getResources()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapterTest.java73 private TestableResources mTestableResources; field in InternetAdapterTest
79 mTestableResources = mContext.getOrCreateTestableResources(); in setUp()
258 mTestableResources.addOverride(GEAR_ICON_RES_ID, mGearIcon); in viewHolderUpdateEndIcon_wifiConnected_updateGearIcon()
267 mTestableResources.addOverride(LOCK_ICON_RES_ID, mLockIcon); in viewHolderUpdateEndIcon_wifiDisconnectedAndSecurityPsk_updateLockIcon()
DInternetDialogDelegateControllerTest.java189 private TestableResources mTestableResources; field in InternetDialogDelegateControllerTest
205 mTestableResources = mContext.getOrCreateTestableResources(); in setUp()
269 mTestableResources.addOverride(R.string.wifi_wont_autoconnect_for_now, in connectCarrierNetwork_mergedCarrierEntryCanConnect_connectAndCreateSysUiToast()
283 mTestableResources.addOverride(R.string.wifi_wont_autoconnect_for_now, in connectCarrierNetwork_mergedCarrierEntryCanConnect_doNothingWhenSettingsOff()
297 mTestableResources.addOverride(R.string.wifi_wont_autoconnect_for_now, in connectCarrierNetwork_mergedCarrierEntryCanConnect_doNothingWhenKeyguardLocked()
316 mTestableResources.addOverride(R.string.wifi_wont_autoconnect_for_now, in connectCarrierNetwork_mergedCarrierEntryCanConnect_doNothingWhenMobileIsPrimary()
327 mTestableResources.addOverride(TOAST_MESSAGE_STRING_ID, TOAST_MESSAGE_STRING); in makeOverlayToast_withGravityFlags_addViewWithLayoutParams()
343 mTestableResources.addOverride(TOAST_MESSAGE_STRING_ID, TOAST_MESSAGE_STRING); in makeOverlayToast_withAnimation_verifyAnimatorStart()
547 mTestableResources.addOverride(getHotspotIconResource(DEVICE_TYPE_PHONE), hotspotDrawable); in getWifiDrawable_withHotspotNetworkEntry_returnHotspotDrawable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutTest.java125 private TestableResources mTestableResources; field in NotificationStackScrollLayoutTest
149 mTestableResources = mContext.getOrCreateTestableResources(); in setUp()
376 mTestableResources in testSetExpandedHeight_withSplitShade_doesntInterpolateStackHeight()
387 mTestableResources in testSetExpandedHeight_withSplitShade_doesntInterpolateStackHeight()
392 mTestableResources in testSetExpandedHeight_withSplitShade_doesntInterpolateStackHeight()
879 mTestableResources in testSplitShade_hasTopOverscroll()
895 mTestableResources in testNormalShade_hasNoTopOverscroll()