Home
last modified time | relevance | path

Searched refs:onStateChanged (Results 1 – 25 of 57) sorted by relevance

123

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java338 mCarLocationService.onStateChanged(CarPowerStateListener.SHUTDOWN_PREPARE, future); in testStoresLocationUponShutdownPrepare()
357 mCarLocationService.onStateChanged(CarPowerStateListener.SUSPEND_ENTER, null); in testDoesNotThrowExceptionUponPowerStateChanged()
358 mCarLocationService.onStateChanged(CarPowerStateListener.SUSPEND_EXIT, null); in testDoesNotThrowExceptionUponPowerStateChanged()
359 mCarLocationService.onStateChanged(CarPowerStateListener.SHUTDOWN_ENTER, null); in testDoesNotThrowExceptionUponPowerStateChanged()
360 mCarLocationService.onStateChanged(CarPowerStateListener.ON, null); in testDoesNotThrowExceptionUponPowerStateChanged()
361 mCarLocationService.onStateChanged(CarPowerStateListener.WAIT_FOR_VHAL, null); in testDoesNotThrowExceptionUponPowerStateChanged()
362 mCarLocationService.onStateChanged(CarPowerStateListener.SHUTDOWN_CANCELLED, null); in testDoesNotThrowExceptionUponPowerStateChanged()
384 mCarLocationService.onStateChanged(CarPowerStateListener.SHUTDOWN_PREPARE, future); in testDoesNotStoreNullLocation()
426 mCarLocationService.onStateChanged(CarPowerStateListener.SUSPEND_EXIT, future); in testDeletesCacheFileUponSuspendExit()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DCarPowerManager.java104 void onStateChanged(int state); in onStateChanged() method
122 void onStateChanged(int state, CompletableFuture<Void> future); in onStateChanged() method
210 public void onStateChanged(int state) throws RemoteException { in setServiceForListenerLocked()
215 mListenerWithCompletion.onStateChanged(state, mFuture); in setServiceForListenerLocked()
218 mListener.onStateChanged(state); in setServiceForListenerLocked()
DICarPowerStateListener.aidl27 void onStateChanged(int state) = 0; in onStateChanged() method
/packages/apps/Camera2/src/com/android/camera/
DButtonManager.java237 public void onStateChanged(int state); in onStateChanged() method
684 cb.onStateChanged(state); in initializeFlashButton()
713 cb.onStateChanged(state); in initializeTorchButton()
742 cb.onStateChanged(state); in initializeHdrPlusFlashButton()
777 cb.onStateChanged(cameraId); in initializeCameraButton()
804 cb.onStateChanged(state); in initializeHdrPlusButton()
837 cb.onStateChanged(state); in initializeHdrButton()
871 cb.onStateChanged(state); in initializeCountdownButton()
908 cb.onStateChanged(state); in initializeGridLinesButton()
978 cb.onStateChanged(state); in initializePanoOrientationButtons()
[all …]
DCaptureModule.java1073 public void onStateChanged(int state) {
1090 public void onStateChanged(int hdrEnabled) {
1116 public void onStateChanged(int state) {
1140 public void onStateChanged(int cameraId) {
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSoftApManager.java16 public void onStateChanged(int state, int failureReason) {
17 mWifiTetherSoftApCallback.onStateChanged(state, failureReason);
43 void onStateChanged(int state, int failureReason); in onStateChanged() method
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSoftApManager.java16 public void onStateChanged(int state, int failureReason) {
17 mWifiTetherSoftApCallback.onStateChanged(state, failureReason);
43 void onStateChanged(int state, int failureReason); in onStateChanged() method
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DDrawIdler.java29 void onStateChanged(DrawIdler idler, int newState); in onStateChanged() method
35 mListener.onStateChanged(this, mState); in setListener()
63 mListener.onStateChanged(this, newState); in setState()
/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/
DControllerTest.java125 mController.onStateChanged(CarPowerStateListener.SHUTDOWN_CANCELLED, null); in testOnShutdownCancelled_shouldCancelGarageMode()
155 mController.onStateChanged(CarPowerStateListener.SHUTDOWN_PREPARE, mFuture); in testWakeupTimeProgression()
166 mController.onStateChanged(CarPowerStateListener.SHUTDOWN_PREPARE, mFuture); in testWakeupTimeProgression()
197 mController.onStateChanged(signal, mFuture); in startAndAssertGarageModeWithSignal()
/packages/services/Car/tests/PowerTestService/src/
Dmain.cpp39 void onStateChanged(CarPowerManager::State state) { in onStateChanged() function
58 retVal = carPowerManager->setListener(onStateChanged); in main()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DWifiTile.java107 mStateChangedListener.onStateChanged(); in onAccessPointsChanged()
123 mStateChangedListener.onStateChanged(); in onWifiStateChanged()
DStateChangedListener.java26 void onStateChanged(); in onStateChanged() method
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackControlHelper.java330 private void onStateChanged(int state, long positionMs, int speedLevel) { in onStateChanged() method in DvrPlaybackControlHelper
373 onStateChanged(); in onStateChanged()
395 onStateChanged(state.getState(), state.getPosition(), (int) state.getPlaybackSpeed()); in onPlaybackStateChanged()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DRecorder.java49 public void onStateChanged(int state); in onStateChanged() method
270 mOnStateChangedListener.onStateChanged(state); in signalStateChanged()
/packages/services/Telephony/src/com/android/services/telephony/
DCdmaConnection.java159 public void onStateChanged(int state) { in onStateChanged() method in CdmaConnection
176 super.onStateChanged(state); in onStateChanged()
DCdmaConferenceController.java53 public void onStateChanged(Connection c, int state) {
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestConnectionManager.java46 public void onStateChanged(RemoteConnection connection, int state) {
252 public void onStateChanged(RemoteConference conference, int oldState, int newState) {
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherCallbacks.java58 default void onStateChanged() { } in onStateChanged() method
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java73 void onStateChanged(boolean playWhenReady, int playbackState); in onStateChanged() method
517 mListener.onStateChanged(playWhenReady, state); in onPlayerStateChanged()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DCallStateLiveData.java53 public void onStateChanged(Call telecomCall, int state) {
DCallDetailLiveData.java55 public void onStateChanged(Call telecomCall, int state) {
/packages/services/Car/car-lib/native/include/
DCarPowerManager.h79 Status onStateChanged(int state) override { in onStateChanged() function
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
DInCallRouter.java125 public void onStateChanged(Call call, int state) { in routeToNotification()
/packages/services/Car/service/src/com/android/car/garagemode/
DController.java75 public void onStateChanged(int state, CompletableFuture<Void> future) { in onStateChanged() method in Controller
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/livedata/
DCallStateLiveDataTest.java99 mCallbackCaptor.getValue().onStateChanged(mMockCall, Call.STATE_ACTIVE); in testOnStateChanged()

123