Home
last modified time | relevance | path

Searched refs:mLocationController (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DLocationControllerImplTest.java69 private LocationControllerImpl mLocationController; field in LocationControllerImplTest
91 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUiModeNightTile.java69 private final LocationController mLocationController; field in UiModeNightTile
89 mLocationController = locationController; in UiModeNightTile()
130 && mLocationController.isLocationEnabled()) { in handleUpdateState()
DNightDisplayTile.java76 private final LocationController mLocationController; field in NightDisplayTile
98 mLocationController = locationController; in NightDisplayTile()
169 if (!mLocationController.isLocationEnabled()) return null; in getSecondaryLabel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DNightDisplayTileTest.kt62 @Mock private lateinit var mLocationController: LocationController variable in com.android.systemui.qs.tiles.NightDisplayTileTest
98 mLocationController, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java154 private final LocationController mLocationController; field in PhoneStatusBarPolicy
216 mLocationController = locationController; in PhoneStatusBarPolicy()
364 mLocationController.addCallback(this); in init()
753 if (mLocationController.isLocationActive()) { in updateLocationFromController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogDelegateControllerTest.java175 private LocationController mLocationController; field in InternetDialogDelegateControllerTest
236 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java191 private LocationController mLocationController; field in InternetDialogController
285 mLocationController = locationController; in InternetDialogController()
1078 if (!mLocationController.isLocationEnabled()) {