Searched refs:mLocationController (Results 1 – 7 of 7) sorted by relevance
69 private LocationControllerImpl mLocationController; field in LocationControllerImplTest91 mLocationController = new LocationControllerImpl(mContext, in setup()111 mLocationController.removeCallback(this); in testRemoveSelfActive_DoesNotCrash()114 mLocationController.addCallback(callback); in testRemoveSelfActive_DoesNotCrash()115 mLocationController.addCallback(mock(LocationChangeCallback.class)); in testRemoveSelfActive_DoesNotCrash()118 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testRemoveSelfActive_DoesNotCrash()124 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testRemoveSelfActive_DoesNotCrash()135 mLocationController.removeCallback(this); in testRemoveSelfSettings_DoesNotCrash()138 mLocationController.addCallback(callback); in testRemoveSelfSettings_DoesNotCrash()139 mLocationController.addCallback(mock(LocationChangeCallback.class)); in testRemoveSelfSettings_DoesNotCrash()[all …]
69 private final LocationController mLocationController; field in UiModeNightTile89 mLocationController = locationController; in UiModeNightTile()130 && mLocationController.isLocationEnabled()) { in handleUpdateState()
76 private final LocationController mLocationController; field in NightDisplayTile98 mLocationController = locationController; in NightDisplayTile()169 if (!mLocationController.isLocationEnabled()) return null; in getSecondaryLabel()
62 @Mock private lateinit var mLocationController: LocationController variable in com.android.systemui.qs.tiles.NightDisplayTileTest98 mLocationController, in setUp()
154 private final LocationController mLocationController; field in PhoneStatusBarPolicy216 mLocationController = locationController; in PhoneStatusBarPolicy()364 mLocationController.addCallback(this); in init()753 if (mLocationController.isLocationActive()) { in updateLocationFromController()
175 private LocationController mLocationController; field in InternetDialogDelegateControllerTest236 mLocationController, mDialogTransitionAnimator, mWifiStateWorker, mFlags); in setUp()819 when(mLocationController.isLocationEnabled()).thenReturn(false); in isWifiScanEnabled_locationOff_returnFalse()831 when(mLocationController.isLocationEnabled()).thenReturn(true); in isWifiScanEnabled_locationOn_returnIsScanAlwaysAvailable()
191 private LocationController mLocationController; field in InternetDialogController285 mLocationController = locationController; in InternetDialogController()1078 if (!mLocationController.isLocationEnabled()) {