/packages/services/Telephony/src/com/android/phone/ |
D | CellBroadcastSms.java | 450 private void enableDisableAllCbConfigButtons(boolean enable) { in enableDisableAllCbConfigButtons() argument 451 mButtonEmergencyBroadcast.setEnabled(enable); in enableDisableAllCbConfigButtons() 452 mListLanguage.setEnabled(enable); in enableDisableAllCbConfigButtons() 453 mButtonAdministrative.setEnabled(enable); in enableDisableAllCbConfigButtons() 454 mButtonMaintenance.setEnabled(enable); in enableDisableAllCbConfigButtons() 455 mButtonLocalWeather.setEnabled(enable); in enableDisableAllCbConfigButtons() 456 mButtonAtr.setEnabled(enable); in enableDisableAllCbConfigButtons() 457 mButtonLafs.setEnabled(enable); in enableDisableAllCbConfigButtons() 458 mButtonRestaurants.setEnabled(enable); in enableDisableAllCbConfigButtons() 459 mButtonLodgings.setEnabled(enable); in enableDisableAllCbConfigButtons() [all …]
|
D | NotificationMgr.java | 163 public void enableNotificationAlerts(boolean enable) { in enableNotificationAlerts() argument 164 if (mIsNotificationEnabled != enable) { in enableNotificationAlerts() 165 mIsNotificationEnabled = enable; in enableNotificationAlerts() 177 public void enableExpandedView(boolean enable) { in enableExpandedView() argument 178 if (mIsExpandedViewEnabled != enable) { in enableExpandedView() 179 mIsExpandedViewEnabled = enable; in enableExpandedView() 192 public void enableSystemBarNavigation(boolean enable) { in enableSystemBarNavigation() argument 193 if (mIsSystemBarNavigationEnabled != enable) { in enableSystemBarNavigation() 194 mIsSystemBarNavigationEnabled = enable; in enableSystemBarNavigation()
|
D | AccelerometerListener.java | 72 public void enable(boolean enable) { in enable() method in AccelerometerListener 73 if (DEBUG) Log.d(TAG, "enable(" + enable + ")"); in enable() 75 if (enable) { in enable()
|
D | CdmaVoicePrivacyCheckBoxPreference.java | 86 final int enable = ((int[]) ar.result)[0]; in handleGetVPResponse() local 87 setChecked(enable != 0); in handleGetVPResponse() 90 android.provider.Settings.Secure.ENHANCED_VOICE_PRIVACY_ENABLED, enable); in handleGetVPResponse() local
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | DeveloperOptionsActivity.java | 458 protected void setProperty(boolean enable) { in setProperty() argument 461 mHelper.setGlobalIntSetting(Settings.Global.STAY_ON_WHILE_PLUGGED_IN, enable); in setProperty() 464 mHelper.setSecureIntSetting(Settings.Secure.BLUETOOTH_HCI_LOG, enable); in setProperty() 466 adapter.configHciSnoopLog(enable); in setProperty() 469 mHelper.setGlobalIntSetting(Settings.Global.ADB_ENABLED, enable); in setProperty() 472 mHelper.setSecureIntSetting(Settings.Secure.ALLOW_MOCK_LOCATION, enable); in setProperty() 475 mHelper.setGlobalIntSetting(Settings.Global.WAIT_FOR_DEBUGGER, enable); in setProperty() 478 mHelper.setGlobalIntSetting(Settings.Global.PACKAGE_VERIFIER_INCLUDE_ADB, enable); in setProperty() 481 mWifiManager.enableVerboseLogging(enable ? 1 : 0); in setProperty() 484 mHelper.setSystemIntSetting(Settings.System.SHOW_TOUCHES, enable); in setProperty() [all …]
|
D | SecurityActivity.java | 170 protected void setProperty(boolean enable) { in setProperty() argument 173 private void setProperty(ActionType type, boolean enable) { in setProperty() argument 174 if (type == ActionType.SECURITY_UNKNOWN_SOURCES_CONFIRM && enable) { in setProperty() 176 } else if (type == ActionType.SECURITY_UNKNOWN_SOURCES && !enable) { in setProperty() 179 setVerifyAppsEnabled(enable); in setProperty() 203 private void setVerifyAppsEnabled(boolean enable) { in setVerifyAppsEnabled() argument 205 enable ? 1 : 0); in setVerifyAppsEnabled()
|
D | AccessibilityActivity.java | 496 protected void setProperty(boolean enable) { in setProperty() argument 499 mHelper.setSecureIntSetting(Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD, enable); in setProperty() 503 if (enable) { in setProperty() 514 setAccessibilityServiceState(mSelectedServiceComponent, enable); in setProperty() 515 mSelectedServiceEnabled = enable; in setProperty() 520 setAccessibilityServiceState(mSelectedServiceComponent, enable); in setProperty() 521 mSelectedServiceEnabled = enable; in setProperty()
|
D | LocationActivity.java | 327 protected void setProperty(boolean enable) { in setProperty() argument 330 setLocationMode(enable); in setProperty() 348 private void setLocationMode(boolean enable) { in setLocationMode() argument 349 if (enable) { in setLocationMode()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcDiscoveryParameters.java | 38 public NfcDiscoveryParameters.Builder setEnableLowPowerDiscovery(boolean enable) { in setEnableLowPowerDiscovery() argument 39 mParameters.mEnableLowPowerDiscovery = enable; in setEnableLowPowerDiscovery() 43 public NfcDiscoveryParameters.Builder setEnableReaderMode(boolean enable) { in setEnableReaderMode() argument 44 mParameters.mEnableReaderMode = enable; in setEnableReaderMode() 46 if (enable) { in setEnableReaderMode() 53 public NfcDiscoveryParameters.Builder setEnableHostRouting(boolean enable) { in setEnableHostRouting() argument 54 mParameters.mEnableHostRouting = enable; in setEnableHostRouting()
|
/packages/apps/Settings/src/com/android/settings/ |
D | PrivacySettings.java | 234 private void setBackupEnabled(boolean enable) { in setBackupEnabled() argument 237 mBackupManager.setBackupEnabled(enable); in setBackupEnabled() 239 mBackup.setChecked(!enable); in setBackupEnabled() 240 mAutoRestore.setEnabled(!enable); in setBackupEnabled() 244 mBackup.setChecked(enable); in setBackupEnabled() 245 mAutoRestore.setEnabled(enable); in setBackupEnabled() 246 mConfigure.setEnabled(enable); in setBackupEnabled()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 154 private void tryCdmaSetCategory(Context context, int category, boolean enable) { in tryCdmaSetCategory() argument 160 CellBroadcastSettings.KEY_ENABLE_CMAS_EXTREME_THREAT_ALERTS, enable) in tryCdmaSetCategory() 166 CellBroadcastSettings.KEY_ENABLE_CMAS_SEVERE_THREAT_ALERTS, enable) in tryCdmaSetCategory() 172 CellBroadcastSettings.KEY_ENABLE_CMAS_AMBER_ALERTS, enable).apply(); in tryCdmaSetCategory() 177 CellBroadcastSettings.KEY_ENABLE_CMAS_TEST_ALERTS, enable).apply(); in tryCdmaSetCategory() 181 Log.w(TAG, "Ignoring SCPD command to " + (enable ? "enable" : "disable") in tryCdmaSetCategory()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | MoreSettingPopup.java | 142 public void setPreferenceEnabled(String key, boolean enable) { in setPreferenceEnabled() argument 147 mEnabled[j] = enable; in setPreferenceEnabled() 171 boolean enable = value == null; in overrideSettings() 172 mEnabled[j] = enable; in overrideSettings() 174 mSettingList.getChildAt(j).setEnabled(enable); in overrideSettings()
|
D | InLineSettingMenu.java | 73 public void setEnabled(boolean enable) { in setEnabled() argument 74 super.setEnabled(enable); in setEnabled() 75 if (mTitle != null) mTitle.setEnabled(enable); in setEnabled() 76 if (mEntry != null) mEntry.setEnabled(enable); in setEnabled()
|
D | InLineSettingCheckBox.java | 79 public void setEnabled(boolean enable) { in setEnabled() argument 80 if (mTitle != null) mTitle.setEnabled(enable); in setEnabled() 81 if (mCheckBox != null) mCheckBox.setEnabled(enable); in setEnabled()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 620 public boolean enable() { in enable() method in AdapterService.AdapterServiceBinder 629 return service.enable(); in enable() 1047 public boolean configHciSnoopLog(boolean enable) { in configHciSnoopLog() argument 1056 return service.configHciSnoopLog(enable); in configHciSnoopLog() 1131 boolean enable() { in enable() method in AdapterService 1132 return enable (false); in enable() 1136 return enable (true); in enableNoAutoConnect() 1139 public synchronized boolean enable(boolean quietMode) { in enable() method in AdapterService 1617 boolean configHciSnoopLog(boolean enable) { in configHciSnoopLog() argument 1619 return configHciSnoopLogNative(enable); in configHciSnoopLog() [all …]
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | AccelerometerListener.java | 72 public void enable(boolean enable) { in enable() method in AccelerometerListener 73 if (DEBUG) Log.d(TAG, "enable(" + enable + ")"); in enable() 75 if (enable) { in enable()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | GLRootView.java | 152 mIdleRunner.enable(); in addOnGLIdleListener() 319 Profile.enable(20); // take a sample every 20ms in onSurfaceChanged() 431 if (!mIdleListeners.isEmpty()) mIdleRunner.enable(); in onDrawFrameLocked() 510 if (!mRenderRequested && !mIdleListeners.isEmpty()) enable(); in run() 514 public void enable() { in enable() method in GLRootView.IdleRunner
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiApEnabler.java | 111 public void setSoftapEnabled(boolean enable) { in setSoftapEnabled() argument 117 if (enable && ((wifiState == WifiManager.WIFI_STATE_ENABLING) || in setSoftapEnabled() 123 if (mWifiManager.setWifiApEnabled(null, enable)) { in setSoftapEnabled() 133 if (!enable) { in setSoftapEnabled()
|
/packages/apps/Camera/src/com/android/camera/ |
D | CameraManager.java | 124 private void enableShutterSound(boolean enable) { in enableShutterSound() argument 125 mCamera.enableShutterSound(enable); in enableShutterSound() 477 public void enableShutterSound(boolean enable) { in enableShutterSound() argument 480 ENABLE_SHUTTER_SOUND, (enable ? 1 : 0), 0).sendToTarget(); in enableShutterSound()
|
/packages/apps/Settings/src/com/android/settings/wfd/ |
D | WifiDisplaySettings.java | 504 private void setListenMode(final boolean enable) { in setListenMode() argument 506 Slog.d(TAG, "Setting listen mode to: " + enable); in setListenMode() 508 mWifiP2pManager.listen(mWifiP2pChannel, enable, new ActionListener() { in setListenMode() 512 Slog.d(TAG, "Successfully " + (enable ? "entered" : "exited") in setListenMode() 519 Slog.e(TAG, "Failed to " + (enable ? "entered" : "exited") in setListenMode()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | LocalBluetoothAdapter.java | 84 boolean enable() { in enable() method in LocalBluetoothAdapter 85 return mAdapter.enable(); in enable() 200 ? mAdapter.enable() in setBluetoothEnabled()
|
D | BluetoothDiscoverableEnabler.java | 136 private void setEnabled(boolean enable) { in setEnabled() argument 137 if (enable) { in setEnabled() 145 Log.d(TAG, "setEnabled(): enabled = " + enable + "timeout = " + timeout); in setEnabled()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TextToSpeechSettings.java | 476 private void updateWidgetState(boolean enable) { in updateWidgetState() argument 477 mPlayExample.setEnabled(enable); in updateWidgetState() 478 mDefaultRatePref.setEnabled(enable); in updateWidgetState() 479 mEngineStatus.setEnabled(enable); in updateWidgetState()
|
/packages/apps/Settings/tests/src/com/android/settings/tests/ |
D | BluetoothRequestPermissionTest.java | 73 Button enable = (Button) findViewById(R.id.enable); in onCreate() local 74 enable.setOnClickListener(new BtOnClickListener(true /* enable */)); in onCreate()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountServerBaseFragment.java | 199 public void enableNextButton(boolean enable) { in enableNextButton() argument 203 mProceedButton.setEnabled(enable); in enableNextButton() 205 setNextButtonEnabled(enable); in enableNextButton()
|