/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/cdma/ |
D | CdmaSystemSelectPreferenceController.java | 62 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
|
D | CdmaSubscriptionPreferenceController.java | 67 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/ |
D | CdmaSystemSelectPreferenceController.java | 63 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
|
D | CdmaSubscriptionPreferenceController.java | 68 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/ |
D | DarkModeScheduleSelectorController.java | 68 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/ |
D | AlwaysDiscoverableTest.java | 105 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/ |
D | SimulateColorSpacePreferenceController.java | 99 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/ |
D | SimulateColorSpacePreferenceController.java | 99 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/ |
D | RadioAppService.java | 343 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/ |
D | ShadowLocationManager.java | 33 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/ |
D | PictureInPictureDetails.java | 97 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/ |
D | PictureInPictureDetails.java | 97 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/ |
D | TouchInteractionService.java | 433 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/ |
D | NavigationModeSwitchRule.java | 174 newMode -> { in apply() 175 if (LauncherInstrumentation.getNavigationModel(newMode.resValue) in apply()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | ShelfScrimView.java | 136 public void onNavigationModeChanged(Mode newMode) { in onNavigationModeChanged() argument 137 mSysUINavigationMode = newMode; in onNavigationModeChanged()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | SysUINavigationMode.java | 127 void onNavigationModeChanged(Mode newMode); in onNavigationModeChanged() argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ModePicker.java | 52 public boolean onModeChanged(int newMode); in onModeChanged() argument
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneGlobals.java | 572 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/ |
D | DevelopmentFragment.java | 1169 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()
|