Home
last modified time | relevance | path

Searched refs:newMode (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/cdma/
DCdmaSystemSelectPreferenceController.java62 int newMode = Integer.parseInt((String) object); in onPreferenceChange() local
64 if (mTelephonyManager.setCdmaRoamingMode(newMode)) { in onPreferenceChange()
66 Settings.Global.CDMA_ROAMING_MODE, newMode); in onPreferenceChange() local
DCdmaSubscriptionPreferenceController.java67 final int newMode = Integer.parseInt((String) object); in onPreferenceChange() local
69 if (mTelephonyManager.setCdmaSubscriptionMode(newMode)) { in onPreferenceChange()
71 Settings.Global.CDMA_SUBSCRIPTION_MODE, newMode); in onPreferenceChange() local
/packages/apps/Settings/src/com/android/settings/network/telephony/cdma/
DCdmaSystemSelectPreferenceController.java63 int newMode = Integer.parseInt((String) object); in onPreferenceChange() local
65 if (mTelephonyManager.setCdmaRoamingMode(newMode)) { in onPreferenceChange()
67 Settings.Global.CDMA_ROAMING_MODE, newMode); in onPreferenceChange() local
DCdmaSubscriptionPreferenceController.java68 final int newMode = Integer.parseInt((String) object); in onPreferenceChange() local
70 if (mTelephonyManager.setCdmaSubscriptionMode(newMode)) { in onPreferenceChange()
72 Settings.Global.CDMA_SUBSCRIPTION_MODE, newMode); in onPreferenceChange() local
/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModeScheduleSelectorController.java68 String newMode = (String) newValue; in onPreferenceChange() local
69 if (newMode == mCurrentMode) { in onPreferenceChange()
72 mCurrentMode = newMode; in onPreferenceChange()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAlwaysDiscoverableTest.java105 private void sendScanModeChangedIntent(int newMode, int previousMode) { in sendScanModeChangedIntent() argument
106 mBluetoothAdapter.setScanMode(newMode); in sendScanModeChangedIntent()
108 intent.putExtra(BluetoothAdapter.EXTRA_SCAN_MODE, newMode); in sendScanModeChangedIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DSimulateColorSpacePreferenceController.java99 final int newMode = Integer.parseInt(value.toString()); in writeSimulateColorSpace() local
100 if (newMode < 0) { in writeSimulateColorSpace()
106 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, newMode); in writeSimulateColorSpace()
/packages/apps/Settings/src/com/android/settings/development/
DSimulateColorSpacePreferenceController.java99 final int newMode = Integer.parseInt(value.toString()); in writeSimulateColorSpace() local
100 if (newMode < 0) { in writeSimulateColorSpace()
106 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, newMode); in writeSimulateColorSpace()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppService.java343 SkipMode newMode = SkipMode.valueOf(mode);
344 if (newMode == null) {
348 mSkipController.setSkipMode(newMode);
349 mRadioStorage.setSkipMode(newMode);
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLocationManager.java33 int newMode = enabled in setLocationEnabledForUser() local
38 Settings.Secure.LOCATION_MODE, newMode, userHandle.getIdentifier()); in setLocationEnabledForUser() local
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureDetails.java97 final int newMode = value ? MODE_ALLOWED : MODE_ERRORED; in setEnterPipStateForPackage() local
98 appOps.setMode(OP_PICTURE_IN_PICTURE, uid, packageName, newMode); in setEnterPipStateForPackage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/pictureinpicture/
DPictureInPictureDetails.java97 final int newMode = value ? MODE_ALLOWED : MODE_ERRORED; in setEnterPipStateForPackage() local
98 appOps.setMode(OP_PICTURE_IN_PICTURE, uid, packageName, newMode); in setEnterPipStateForPackage()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTouchInteractionService.java433 public void onNavigationModeChanged(Mode newMode) { in onNavigationModeChanged() argument
435 Log.d(TestProtocol.NO_BACKGROUND_TO_OVERVIEW_TAG, "onNavigationModeChanged " + newMode); in onNavigationModeChanged()
437 if (mMode.hasGestures != newMode.hasGestures) { in onNavigationModeChanged()
438 if (newMode.hasGestures) { in onNavigationModeChanged()
444 mMode = newMode; in onNavigationModeChanged()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DNavigationModeSwitchRule.java174 newMode -> { in apply()
175 if (LauncherInstrumentation.getNavigationModel(newMode.resValue) in apply()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DShelfScrimView.java136 public void onNavigationModeChanged(Mode newMode) { in onNavigationModeChanged() argument
137 mSysUINavigationMode = newMode; in onNavigationModeChanged()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSysUINavigationMode.java127 void onNavigationModeChanged(Mode newMode); in onNavigationModeChanged() argument
/packages/apps/LegacyCamera/src/com/android/camera/
DModePicker.java52 public boolean onModeChanged(int newMode); in onModeChanged() argument
/packages/services/Telephony/src/com/android/phone/
DPhoneGlobals.java572 private void handleAirplaneModeChange(Context context, int newMode) { in handleAirplaneModeChange() argument
575 boolean isAirplaneNewlyOn = (newMode == 1); in handleAirplaneModeChange()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java1169 final int newMode = Integer.parseInt(value.toString()); in writeSimulateColorSpace() local
1170 if (newMode < 0) { in writeSimulateColorSpace()
1177 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, newMode); in writeSimulateColorSpace()