Searched refs:mTestableResources (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
H A D | RotationLockTileTest.java | 98 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()
|
/aosp14/frameworks/base/tests/testables/src/android/testing/ |
H A D | TestableContext.java | 77 private TestableResources mTestableResources; field in TestableContext 115 if (mTestableResources == null) { in ensureTestableResources() 116 mTestableResources = new TestableResources(super.getResources()); in ensureTestableResources() 125 return mTestableResources; in getOrCreateTestableResources() 138 return mTestableResources != null ? mTestableResources.getResources() in getResources()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/ |
H A D | InternetAdapterTest.java | 69 private TestableResources mTestableResources; field in InternetAdapterTest 75 mTestableResources = mContext.getOrCreateTestableResources(); in setUp() 254 mTestableResources.addOverride(GEAR_ICON_RES_ID, mGearIcon); in viewHolderUpdateEndIcon_wifiConnected_updateGearIcon() 263 mTestableResources.addOverride(LOCK_ICON_RES_ID, mLockIcon); in viewHolderUpdateEndIcon_wifiDisconnectedAndSecurityPsk_updateLockIcon()
|
H A D | InternetDialogControllerTest.java | 182 private TestableResources mTestableResources; field in InternetDialogControllerTest 195 mTestableResources = mContext.getOrCreateTestableResources(); in setUp() 250 mTestableResources.addOverride(R.string.wifi_wont_autoconnect_for_now, in connectCarrierNetwork_mergedCarrierEntryCanConnect_connectAndCreateSysUiToast() 264 mTestableResources.addOverride(R.string.wifi_wont_autoconnect_for_now, in connectCarrierNetwork_mergedCarrierEntryCanConnect_doNothingWhenSettingsOff() 278 mTestableResources.addOverride(R.string.wifi_wont_autoconnect_for_now, in connectCarrierNetwork_mergedCarrierEntryCanConnect_doNothingWhenKeyguardLocked() 297 mTestableResources.addOverride(R.string.wifi_wont_autoconnect_for_now, in connectCarrierNetwork_mergedCarrierEntryCanConnect_doNothingWhenMobileIsPrimary() 308 mTestableResources.addOverride(TOAST_MESSAGE_STRING_ID, TOAST_MESSAGE_STRING); in makeOverlayToast_withGravityFlags_addViewWithLayoutParams() 324 mTestableResources.addOverride(TOAST_MESSAGE_STRING_ID, TOAST_MESSAGE_STRING); in makeOverlayToast_withAnimation_verifyAnimatorStart() 528 mTestableResources.addOverride(getHotspotIconResource(DEVICE_TYPE_PHONE), hotspotDrawable); in getWifiDrawable_withHotspotNetworkEntry_returnHotspotDrawable()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationStackScrollLayoutTest.java | 115 private TestableResources mTestableResources; field in NotificationStackScrollLayoutTest 139 mTestableResources = mContext.getOrCreateTestableResources(); in setUp() 410 mTestableResources in testSetExpandedHeight_withSplitShade_doesntInterpolateStackHeight() 421 mTestableResources in testSetExpandedHeight_withSplitShade_doesntInterpolateStackHeight() 426 mTestableResources in testSetExpandedHeight_withSplitShade_doesntInterpolateStackHeight() 866 mTestableResources in testSplitShade_hasTopOverscroll() 881 mTestableResources in testNormalShade_hasNoTopOverscroll()
|