Home
last modified time | relevance | path

Searched refs:currentState (Results 1 – 11 of 11) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
Dmonkey.c252 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/
DSystemService.java110 final State currentState = getState(service); in waitForState() local
111 if (state.equals(currentState)) { in waitForState()
116 throw new TimeoutException("Service " + service + " currently " + currentState in waitForState()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DNetworkState.java47 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/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.cpp207 CaptureState currentState; in threadLoop() local
210 currentState = mCaptureState; in threadLoop()
213 currentState = (this->*kStateManagers[currentState])(client); in threadLoop()
216 if (currentState != mCaptureState) { in threadLoop()
220 mCaptureState = currentState; in threadLoop()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java459 int currentState = oldState; in requestDisplayStateLocked()
464 currentState = state; in requestDisplayStateLocked()
468 currentState = Display.STATE_DOZE; in requestDisplayStateLocked()
478 if ((state == Display.STATE_VR || currentState == Display.STATE_VR) && in requestDisplayStateLocked()
479 currentState != state) { in requestDisplayStateLocked()
490 if (state != currentState) { in requestDisplayStateLocked()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoDialog.java51 int currentState = prefs.getFoodState(); in onFoodSelected() local
52 if (currentState == 0 && food.getType() != 0) { in onFoodSelected()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothAdapter.java203 int currentState = mAdapter.getState(); in syncBluetoothState() local
204 if (currentState != mState) { in syncBluetoothState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java298 DctConstants.State currentState = getState(); in isDisconnected() local
299 return ((currentState == DctConstants.State.IDLE) || in isDisconnected()
300 currentState == DctConstants.State.FAILED); in isDisconnected()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java184 private int currentState = STATE_NORMAL; field in SlidingTab.Slider
287 currentState = state; in setState()
397 setState(currentState); in updateDrawableStates()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java2108 final int[] currentState = getState();
2109 final int stateColor = state.mSolidColors.getColorForState(currentState, 0);
2129 final int[] currentState = getState();
2131 currentState, 0);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java6314 private void checkUserProvisioningStateTransition(int currentState, int newState) { in checkUserProvisioningStateTransition() argument
6316 switch (currentState) { in checkUserProvisioningStateTransition()
6345 + "from state [" + currentState + "]"); in checkUserProvisioningStateTransition()