Home
last modified time | relevance | path

Searched refs:LocationChangeCallback (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DLocationControllerImplTest.java41 import com.android.systemui.statusbar.policy.LocationController.LocationChangeCallback;
80 LocationController.LocationChangeCallback callback = new LocationChangeCallback() { in testRemoveSelfActive_DoesNotCrash()
87 mLocationController.addCallback(mock(LocationChangeCallback.class)); in testRemoveSelfActive_DoesNotCrash()
101 LocationController.LocationChangeCallback callback = new LocationChangeCallback() { in testRemoveSelfSettings_DoesNotCrash()
108 mLocationController.addCallback(mock(LocationChangeCallback.class)); in testRemoveSelfSettings_DoesNotCrash()
115 LocationChangeCallback callback = mock(LocationChangeCallback.class); in testAddCallback_notifiedImmediately()
126 LocationChangeCallback callback = mock(LocationChangeCallback.class); in testCallbackNotified()
149 LocationChangeCallback callback = mock(LocationChangeCallback.class); in testCallbackRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationController.java19 import com.android.systemui.statusbar.policy.LocationController.LocationChangeCallback;
21 public interface LocationController extends CallbackController<LocationChangeCallback> {
29 public interface LocationChangeCallback { interface
DLocationControllerImpl.java95 public void addCallback(@NonNull LocationChangeCallback cb) { in addCallback()
101 public void removeCallback(@NonNull LocationChangeCallback cb) { in removeCallback()
201 private ArrayList<LocationChangeCallback> mSettingsChangeCallbacks = new ArrayList<>();
217 mSettingsChangeCallbacks.add((LocationChangeCallback) msg.obj); in handleMessage()
220 mSettingsChangeCallbacks.remove((LocationChangeCallback) msg.obj); in handleMessage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeLocationController.java20 import com.android.systemui.statusbar.policy.LocationController.LocationChangeCallback;
22 public class FakeLocationController extends BaseLeakChecker<LocationChangeCallback>
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DLocationTile.java44 import com.android.systemui.statusbar.policy.LocationController.LocationChangeCallback;
144 private final class Callback implements LocationChangeCallback,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java98 LocationController.LocationChangeCallback,