Home
last modified time | relevance | path

Searched refs:desiredState (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/cpp/evs/apps/default/src/
DEvsStateControl.cpp285 State desiredState = OFF; in selectStateForCurrentConditions() local
287 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() argument
318 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 …]
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java400 int desiredState = BluetoothAdapter.STATE_ON; in enableBluetoothWithWaitingDialog() local
401 if (mLocalBluetoothAdapter.getState() == desiredState) { in enableBluetoothWithWaitingDialog()
405 mReceiver = new StateChangeReceiver(desiredState); in enableBluetoothWithWaitingDialog()
432 int desiredState = BluetoothAdapter.STATE_OFF; in onConfirmDisableBluetooth() local
433 if (mLocalBluetoothAdapter.getState() == desiredState) { in onConfirmDisableBluetooth()
437 mReceiver = new StateChangeReceiver(desiredState); in onConfirmDisableBluetooth()
476 StateChangeReceiver(int desiredState) { in StateChangeReceiver() argument
477 mDesiredState = desiredState; in StateChangeReceiver()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/rotary/
DRotaryFragment.java227 int desiredState = enable ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in enableApplication() local
234 pm.setApplicationEnabledSetting(packageName, desiredState, /* flags= */ 0); in enableApplication()
305 int desiredState = enable ? ON : OFF; in enableRotaryService() local
307 desiredState); in enableRotaryService() local
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/
DHomeFragment.kt221 var desiredState = COMPONENT_ENABLED_STATE_ENABLED in <lambda>() variable
224 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>()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DInLineSettingSwitch.java36 public void onCheckedChanged(CompoundButton buttonView, boolean desiredState) {
37 changeIndex(desiredState ? 1 : 0);
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DUserPickerController.java206 int desiredState = mCarServiceMediator.getUserForDisplay(mDisplayId) != INVALID_USER_ID in updateHeaderState() local
208 if (mHeaderState.getState() != desiredState) { in updateHeaderState()
211 "Change HeaderState to " + desiredState + " for displayId=" + mDisplayId); in updateHeaderState()
213 mHeaderState.setState(desiredState); in updateHeaderState()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DBeeperTest.java215 private void assertStateIs(State desiredState) { in assertStateIs() argument
216 assertThat(mShadowMediaPlayer.getState()).isEqualTo(desiredState); in assertStateIs()
/packages/services/Car/cpp/evs/apps/default/inc/
DEvsStateControl.h83 bool configureEvsPipeline(State desiredState); // Only call from one thread!