/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/ |
D | LocalColorRepositoryTest.java | 51 private LocalColorRepository mRepo = new LocalColorRepository(); field in LocalColorRepositoryTest 74 mRepo.addAreas(mCallback1, asList(area1), 0); in testDisplayAreas() 75 mRepo.addAreas(mCallback2, asList(area2), 0); in testDisplayAreas() 76 mRepo.addAreas(mCallback1, asList(new RectF(3, 1, 1, 1)), 1); in testDisplayAreas() 78 assertEquals(expectedAreas, new ArraySet(mRepo.getAreasByDisplayId(0))); in testDisplayAreas() 80 new ArraySet(mRepo.getAreasByDisplayId(1))); in testDisplayAreas() 81 assertEquals(new ArraySet(), new ArraySet(mRepo.getAreasByDisplayId(2))); in testDisplayAreas() 89 mRepo.addAreas(mCallback1, asList(area1), 0); in testAddAndRemoveAreas() 90 mRepo.addAreas(mCallback1, asList(area2), 0); in testAddAndRemoveAreas() 91 mRepo.addAreas(mCallback2, asList(area2), 1); in testAddAndRemoveAreas() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsServiceControllerCompatTest.java | 92 private ImsFeatureBinderRepository mRepo; field in ImsServiceControllerCompatTest 106 mRepo = new ImsFeatureBinderRepository(); in setUp() 111 mMockCallbacks, mHandler, REBIND_RETRY, mRepo, in setUp() 128 mRepo = null; in tearDown() 164 mRepo.getIfExists(slotId, ImsFeature.FEATURE_MMTEL).orElse(null); in validateMmTelFeatureContainerExists() 174 mRepo.getIfExists(slotId, ImsFeature.FEATURE_MMTEL).orElse(null); in validateMmTelFeatureContainerDoesntExist()
|
D | ImsServiceControllerTest.java | 137 private ImsFeatureBinderRepository mRepo; field in ImsServiceControllerTest 154 mRepo = new ImsFeatureBinderRepository(); in setUp() 156 mMockCallbacks, mHandler, REBIND_RETRY, mRepo, mFeatureFlags); in setUp() 181 mRepo = null; in tearDown() 699 mRepo.registerForConnectionUpdates(SLOT_0, ImsFeature.FEATURE_MMTEL, cb, Runnable::run); in testBindMoveToReady() 914 mRepo.registerForConnectionUpdates(SLOT_0, ImsFeature.FEATURE_MMTEL, cb, Runnable::run); in testBindServiceAndAddRemoveEmergency() 1424 mRepo.getIfExists(slotId, ImsFeature.FEATURE_MMTEL).orElse(null); in validateMmTelFeatureContainerExists() 1433 mRepo.getIfExists(slotId, ImsFeature.FEATURE_MMTEL).orElse(null); in validateMmTelFeatureContainerExistsWithEmergency() 1442 mRepo.getIfExists(slotId, featureType).orElse(null); in validateFeatureContainerExistsWithSipDelegate() 1449 mRepo.getIfExists(slotId, featureType).orElse(null); in validateFeatureContainerDoesNotHaveSipDelegate() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | ImsServiceController.java | 270 private ImsFeatureBinderRepository mRepo; field in ImsServiceController 318 mRepo.notifyFeatureStateChanged(mSlotId, mFeatureType, featureStatus); 373 mRepo = repo; in ImsServiceController() 402 mRepo = repo; in ImsServiceController() 585 mRepo.notifyFeatureCapabilitiesChanged(p.slotId, p.featureType, caps); in changeImsServiceFeatures() 918 mRepo.addConnection(slotId, subId, featureType, fc); in addImsFeatureBinder() 922 mRepo.removeConnection(slotId, featureType); in removeImsFeatureBinder()
|
D | ImsResolver.java | 431 private final ImsFeatureBinderRepository mRepo; field in ImsResolver 595 mRepo = repo; in ImsResolver() 767 ImsFeatureContainer fc = mRepo.getIfExists(slotId, feature).orElse(null); in getImsRegistration() 775 ImsFeatureContainer fc = mRepo.getIfExists(slotId, feature).orElse(null); in getImsConfig() 811 mRepo.registerForConnectionUpdates(slotId, feature, callback, mRunnableExecutor); in listenForFeature() 820 mRepo.unregisterForConnectionUpdates(callback); in unregisterImsFeatureCallback() 1243 controller = info.controllerFactory.create(mContext, info.name, this, mRepo, in bindImsServiceWithFeatures() 1877 mRepo.dump(pw); in dump()
|