Searched refs:mMockedResources (Results 1 – 7 of 7) sorted by relevance
64 protected Resources mMockedResources; field in CellBroadcastServiceTestBase120 doReturn(mMockedResources).when(mMockedContext).getResources(); in setUp()171 doReturn(value).when(mMockedResources).getStringArray(eq(id)); in putResources()173 doReturn(value).when(mMockedResources).getBoolean(eq(id)); in putResources()175 doReturn(value).when(mMockedResources).getInteger(eq(id)); in putResources()177 doReturn(value).when(mMockedResources).getIntArray(eq(id)); in putResources()179 doReturn(value).when(mMockedResources).getIntArray(eq(id)); in putResources()181 doReturn(value).when(mMockedResources).getString(eq(id)); in putResources()
59 doReturn(true).when(mMockedResources) in setUp()252 doReturn(false).when(mMockedResources) in testMultipleAddsAndDoNewWayFalseWithAmbiguousToDontSend()275 doReturn(1000).when(mMockedResources) in testThreshold()
184 doReturn(mMockedResources).when(mMockedResourcesCache).get(anyInt()); in setUp()194 mTestableLooper.getLooper(), mSendMessageFactory, mHandlerHelper, mMockedResources, in setUp()
153 doReturn(mMockedResources).when(mMockedResourcesCache).get(anyInt()); in setUp()
75 private Resources mMockedResources; field in CarUserNoticeServiceTest125 when(mMockContext.getResources()).thenReturn(mMockedResources); in setUpMocks()129 when(mMockedResources.getString(anyInt())).thenReturn("com.foo/.Blah"); in setUpMocks()148 when(mMockedResources.getString(R.string.config_userNoticeUiService)).thenReturn(""); in featureDisabledTest()149 when(mOtherMockContext.getResources()).thenReturn(mMockedResources); in featureDisabledTest()
174 @Mock private Resources mMockedResources; field in CarUserServiceTest248 doReturn(mMockedResources).when(mMockContext).getResources(); in setUpMocks()249 doReturn(mMockedDrawable).when(mMockedResources) in setUpMocks()2408 when(mMockedResources in newCarUserService()2562 when(mMockedResources.getString(anyInt())).thenReturn(packageName + "/" + className); in mockCallerUid()
448 private final Resources mMockedResources; field in MockedCarTestBase.MockedCarTestContext452 mMockedResources = new MockResources(base.getResources()); in MockedCarTestContext()457 return mMockedResources; in getResources()