Searched refs:desiredState (Results 1 – 8 of 8) sorted by relevance
285 State desiredState = OFF; in selectStateForCurrentConditions() local287 desiredState = REVERSE; in selectStateForCurrentConditions()289 desiredState = RIGHT; in selectStateForCurrentConditions()291 desiredState = LEFT; in selectStateForCurrentConditions()293 desiredState = PARKING; in selectStateForCurrentConditions()297 return configureEvsPipeline(desiredState); in selectStateForCurrentConditions()315 bool EvsStateControl::configureEvsPipeline(State desiredState) { in configureEvsPipeline() argument318 if (mCurrentState == desiredState) { in configureEvsPipeline()326 LOG(DEBUG) << "Switching to state " << desiredState; in configureEvsPipeline()329 LOG(DEBUG) << " Desired state " << desiredState << " has " << mCameraList[desiredState].size() in configureEvsPipeline()[all …]
400 int desiredState = BluetoothAdapter.STATE_ON; in enableBluetoothWithWaitingDialog() local401 if (mLocalBluetoothAdapter.getState() == desiredState) { in enableBluetoothWithWaitingDialog()405 mReceiver = new StateChangeReceiver(desiredState); in enableBluetoothWithWaitingDialog()432 int desiredState = BluetoothAdapter.STATE_OFF; in onConfirmDisableBluetooth() local433 if (mLocalBluetoothAdapter.getState() == desiredState) { in onConfirmDisableBluetooth()437 mReceiver = new StateChangeReceiver(desiredState); in onConfirmDisableBluetooth()476 StateChangeReceiver(int desiredState) { in StateChangeReceiver() argument477 mDesiredState = desiredState; in StateChangeReceiver()
227 int desiredState = enable ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in enableApplication() local234 pm.setApplicationEnabledSetting(packageName, desiredState, /* flags= */ 0); in enableApplication()305 int desiredState = enable ? ON : OFF; in enableRotaryService() local307 desiredState); in enableRotaryService() local
221 var desiredState = COMPONENT_ENABLED_STATE_ENABLED in <lambda>() variable224 desiredState = COMPONENT_ENABLED_STATE_DISABLED in <lambda>()226 pm.setComponentEnabledSetting(compName, desiredState, PackageManager.DONT_KILL_APP) in <lambda>()229 if (desiredState == COMPONENT_ENABLED_STATE_ENABLED) in <lambda>()
36 public void onCheckedChanged(CompoundButton buttonView, boolean desiredState) {37 changeIndex(desiredState ? 1 : 0);
206 int desiredState = mCarServiceMediator.getUserForDisplay(mDisplayId) != INVALID_USER_ID in updateHeaderState() local208 if (mHeaderState.getState() != desiredState) { in updateHeaderState()211 "Change HeaderState to " + desiredState + " for displayId=" + mDisplayId); in updateHeaderState()213 mHeaderState.setState(desiredState); in updateHeaderState()
215 private void assertStateIs(State desiredState) { in assertStateIs() argument216 assertThat(mShadowMediaPlayer.getState()).isEqualTo(desiredState); in assertStateIs()
83 bool configureEvsPipeline(State desiredState); // Only call from one thread!