Searched refs:isValidState (Results 1 – 10 of 10) sorted by relevance
112 if (!isValidState(state)) throw new IllegalArgumentException("state is invalid: " + state); in Condition()135 private static boolean isValidState(int state) { in isValidState() method in Condition
681 boolean isValidState = (mTargetState == STATE_PLAYING);683 if (mMediaPlayer != null && isValidState && hasValidSize) {
889 if (isValidState(state)) { in readStatesAvailableForRequestFromApps()909 private boolean isValidState(int state) { in isValidState() method in DeviceStateManagerService
521 bool isValidState = (mCurrentState & (MEDIA_PLAYER_PREPARED | MEDIA_PLAYER_STARTED | in getDuration_l() local523 if (mPlayer != 0 && isValidState) { in getDuration_l()
866 private void onSystemUiStateChanged(boolean isValidState, int flag) { in onSystemUiStateChanged() argument867 mTouchHandler.onSystemUiStateChanged(isValidState); in onSystemUiStateChanged()
13607 HSPLandroid/service/notification/Condition;->isValidState(I)Z
17879 method public static boolean isValidState(android.net.wifi.SupplicantState);
13609 HSPLandroid/service/notification/Condition;->isValidState(I)Z
49539 Landroid/service/notification/Condition;->isValidState(I)Z
20344 PLcom/android/server/devicestate/DeviceStateManagerService;->isValidState(I)Z