Searched refs:LocationChangeCallback (Results 1 – 6 of 6) sorted by relevance
41 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()
19 import com.android.systemui.statusbar.policy.LocationController.LocationChangeCallback;21 public interface LocationController extends CallbackController<LocationChangeCallback> {29 public interface LocationChangeCallback { interface
95 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()
20 import com.android.systemui.statusbar.policy.LocationController.LocationChangeCallback;22 public class FakeLocationController extends BaseLeakChecker<LocationChangeCallback>
44 import com.android.systemui.statusbar.policy.LocationController.LocationChangeCallback;144 private final class Callback implements LocationChangeCallback,
98 LocationController.LocationChangeCallback,