/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | DrivingStateHelper.java | 57 CarDrivingStateEvent currentState = mDrivingStateManager.getCurrentCarDrivingState(); in isCurrentlyDriving() local 58 if (currentState != null) { in isCurrentlyDriving() 59 return currentState.eventValue == CarDrivingStateEvent.DRIVING_STATE_IDLING in isCurrentlyDriving() 60 || currentState.eventValue == CarDrivingStateEvent.DRIVING_STATE_MOVING; in isCurrentlyDriving()
|
/frameworks/wilhelm/tests/sandbox/ |
D | monkey.c | 252 State_t currentState = STATE_INITIAL; in main() local 253 while (STATE_TERMINAL != currentState) { in main() 257 if (currentState != transitionTable[i].mEntryState) in main() 263 fprintf(stderr, "No matching transitions in state %d\n", currentState); in main() 269 "but with probability 0\n", currentState); in main() 276 if (currentState != transitionTable[i].mEntryState) in main() 284 transitionTable[i].mActionName, currentState, transitionTable[i].mCount); in main() 287 currentState = nextState; in main()
|
/frameworks/base/core/java/android/os/ |
D | SystemService.java | 114 final State currentState = getState(service); in waitForState() local 115 if (state.equals(currentState)) { in waitForState() 120 throw new TimeoutException("Service " + service + " currently " + currentState in waitForState()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ClientModeManager.java | 119 IState currentState = mStateMachine.getCurrentState(); in getCurrentStateName() local 121 if (currentState != null) { in getCurrentStateName() 122 return currentState.getName(); in getCurrentStateName() 133 private void updateWifiState(int newState, int currentState) { in updateWifiState() argument 158 intent.putExtra(WifiManager.EXTRA_PREVIOUS_WIFI_STATE, currentState); in updateWifiState()
|
D | ScanOnlyModeManager.java | 114 IState currentState = mStateMachine.getCurrentState(); in getCurrentStateName() local 116 if (currentState != null) { in getCurrentStateName() 117 return currentState.getName(); in getCurrentStateName()
|
D | SoftApManager.java | 216 IState currentState = mStateMachine.getCurrentState(); in getCurrentStateName() local 218 if (currentState != null) { in getCurrentStateName() 219 return currentState.getName(); in getCurrentStateName() 231 private void updateApState(int newState, int currentState, int reason) { in updateApState() argument 238 intent.putExtra(WifiManager.EXTRA_PREVIOUS_WIFI_AP_STATE, currentState); in updateApState()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | NetworkState.java | 47 public NetworkState(State currentState) { in NetworkState() argument 49 mStateDepository.add(currentState); in NetworkState() 84 public void recordState(State currentState) { in recordState() argument 85 mStateDepository.add(currentState); in recordState()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioSimplePlayer.h | 225 aaudio_stream_state_t currentState = AAudioStream_getState(mStream); in waitUntilPaused() local 227 while (result == AAUDIO_OK && currentState == AAUDIO_STREAM_STATE_PAUSING) { in waitUntilPaused() 229 ¤tState, NANOS_PER_SECOND); in waitUntilPaused() 230 inputState = currentState; in waitUntilPaused() 235 return (currentState == AAUDIO_STREAM_STATE_PAUSED) in waitUntilPaused()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ActiveModeWardenTest.java | 152 public int currentState = WifiManager.WIFI_STATE_UNKNOWN; field in ActiveModeWardenTest.ClientModeCallback 156 currentState = state; in onStateChanged() 161 public int currentState = WifiManager.WIFI_STATE_UNKNOWN; field in ActiveModeWardenTest.ScanOnlyModeCallback 165 currentState = state; in onStateChanged() 391 assertEquals(WifiManager.WIFI_STATE_UNKNOWN, mScanOnlyCallback.currentState); in testScanOnlyModeFailureWhenActive() 653 assertEquals(WifiManager.WIFI_STATE_DISABLED, mClientModeCallback.currentState); in shutdownWifiDoesNotCrashWhenClientModeExitsOnDestroyed() 668 assertEquals(WifiManager.WIFI_STATE_DISABLED, mClientModeCallback.currentState); in onDestroyedCallbackDoesNotCrashWhenClientModeAlreadyStopped()
|
D | ClientModeManagerTest.java | 115 int currentState = intent.getIntExtra(EXTRA_SCAN_AVAILABLE, WIFI_STATE_UNKNOWN); in checkWifiScanStateChangedBroadcast() local 116 assertEquals(expectedCurrentState, currentState); in checkWifiScanStateChangedBroadcast() 123 int currentState = intent.getIntExtra(EXTRA_WIFI_STATE, WIFI_STATE_UNKNOWN); in checkWifiStateChangedBroadcast() local 124 assertEquals(expectedCurrentState, currentState); in checkWifiStateChangedBroadcast()
|
D | ScanOnlyModeManagerTest.java | 108 int currentState = intent.getIntExtra(EXTRA_SCAN_AVAILABLE, WIFI_STATE_UNKNOWN); in checkWifiScanStateChangedBroadcast() local 109 assertEquals(expectedCurrentState, currentState); in checkWifiScanStateChangedBroadcast()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | CaptureSequencer.cpp | 230 CaptureState currentState; in threadLoop() local 233 currentState = mCaptureState; in threadLoop() 236 currentState = (this->*kStateManagers[currentState])(client); in threadLoop() 239 if (currentState != mCaptureState) { in threadLoop() 243 mCaptureState = currentState; in threadLoop()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothAdapter.java | 220 int currentState = mAdapter.getState(); in syncBluetoothState() local 221 if (currentState != mState) { in syncBluetoothState()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 503 int currentState = oldState; in requestDisplayStateLocked() 508 currentState = state; in requestDisplayStateLocked() 512 currentState = Display.STATE_DOZE; in requestDisplayStateLocked() 516 currentState = Display.STATE_ON; in requestDisplayStateLocked() 526 if ((state == Display.STATE_VR || currentState == Display.STATE_VR) && in requestDisplayStateLocked() 527 currentState != state) { in requestDisplayStateLocked() 539 if (state != currentState) { in requestDisplayStateLocked()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStream.cpp | 277 aaudio_result_t AudioStream::waitForStateChange(aaudio_stream_state_t currentState, in waitForStateChange() argument 288 while (state == currentState && timeoutNanoseconds > 0) { in waitForStateChange() 305 return (state == currentState) ? AAUDIO_ERROR_TIMEOUT : AAUDIO_OK; in waitForStateChange()
|
D | AudioStream.h | 107 virtual aaudio_result_t waitForStateChange(aaudio_stream_state_t currentState,
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | TransactionExecutorHelper.java | 160 final int currentState = r.getLifecycleState(); in getClosestOfStates() local 163 getLifecyclePath(currentState, finalStates[i], false /* excludeLastState */); in getClosestOfStates()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | ApnContext.java | 319 DctConstants.State currentState = getState(); in isDisconnected() local 320 return ((currentState == DctConstants.State.IDLE) || in isDisconnected() 321 currentState == DctConstants.State.FAILED); in isDisconnected()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarStateControllerImpl.java | 364 private void recordHistoricalState(int currentState, int lastState) { in recordHistoricalState() argument 367 state.mState = currentState; in recordHistoricalState()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Scheduler.cpp | 497 void Scheduler::handleTimerStateChanged(T* currentState, T newState, bool eventOnContentDetection) { in handleTimerStateChanged() argument 502 if (*currentState == newState) { in handleTimerStateChanged() 505 *currentState = newState; in handleTimerStateChanged()
|
D | Scheduler.h | 222 void handleTimerStateChanged(T* currentState, T newState, bool eventOnContentDetection);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkTypeController.java | 864 String currentState = getCurrentState().getName(); in updateTimers() local 877 if (mIsSecondaryTimerActive && !mSecondaryTimerState.equals(currentState)) { in updateTimers() 880 log("Remove secondary timer since current state (" + currentState in updateTimers() 888 if (currentState.equals(STATE_CONNECTED_MMWAVE)) { in updateTimers()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SlidingTab.java | 190 private int currentState = STATE_NORMAL; field in SlidingTab.Slider 293 currentState = state; in setState() 403 setState(currentState); in updateDrawableStates()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 695 final @OverlayInfo.State int currentState = mSettings.getState(overlayPackageName, userId); in updateState() local 698 if (currentState != newState) { in updateState() 702 OverlayInfo.stateToString(currentState), in updateState()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 251 aaudio_stream_state_t currentState = getState(); in close() local 255 if (isActive() || currentState == AAUDIO_STREAM_STATE_DISCONNECTED) { in close()
|