Home
last modified time | relevance | path

Searched refs:mBackend (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DDreamSettings.java62 private DreamBackend mBackend; field in DreamSettings
90 mBackend = new DreamBackend(getActivity()); in onCreate()
98 mBackend.setEnabled(isChecked); in onSwitchChanged()
143 boolean isEnabled = mBackend.isEnabled(); in onCreateOptionsMenu()
151 mBackend.startDreaming(); in onCreateOptionsMenu()
201 int initialSelection = mBackend.isActivatedOnDock() && mBackend.isActivatedOnSleep() ? 2 in createWhenToDreamDialog()
202 : mBackend.isActivatedOnDock() ? 0 in createWhenToDreamDialog()
203 : mBackend.isActivatedOnSleep() ? 1 in createWhenToDreamDialog()
210 mBackend.setActivatedOnDock(item == 0 || item == 2); in createWhenToDreamDialog()
211 mBackend.setActivatedOnSleep(item == 1 || item == 2); in createWhenToDreamDialog()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DHighPowerDetail.java42 private final PowerWhitelistBackend mBackend = PowerWhitelistBackend.getInstance(); field in HighPowerDetail
63 mIsEnabled = mDefaultOn || mBackend.isWhitelisted(mPackageName); in onCreate()
73 if (!on && mBackend.isSysWhitelisted(mPackageName)) { in setup()
85 if (!mBackend.isSysWhitelisted(mPackageName)) { in onCreateDialog()
119 boolean oldValue = mBackend.isWhitelisted(mPackageName); in onClick()
122 mBackend.addApp(mPackageName); in onClick()
124 mBackend.removeApp(mPackageName); in onClick()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentDefaultDialog.java39 private PaymentBackend mBackend; field in PaymentDefaultDialog
45 mBackend = new PaymentBackend(this); in onCreate()
62 mBackend.setDefaultPaymentApp(mNewDefault); in onClick()
85 List<PaymentAppInfo> services = mBackend.getPaymentAppInfos(); in buildDialog()
101 ComponentName defaultComponent = mBackend.getDefaultPaymentApp(); in buildDialog()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DUsbModeChooserActivity.java48 private UsbBackend mBackend; field in UsbModeChooserActivity
78 mBackend = new UsbBackend(this); in onCreate()
79 int current = mBackend.getCurrentMode(); in onCreate()
81 if (mBackend.isModeSupported(DEFAULT_MODES[i])) { in onCreate()
97 mBackend.setMode(mode); in inflateOption()
/packages/apps/Settings/src/com/android/settings/notification/
DAppNotificationSettings.java67 private final NotificationBackend mBackend = new NotificationBackend(); field in AppNotificationSettings
141 mAppRow = mBackend.loadAppRow(pm, info.applicationInfo); in onCreate()
161 final boolean success = mBackend.setNotificationsBanned(pkg, mUid, banned); in onCreate()
173 return mBackend.setHighPriority(pkg, mUid, priority); in onCreate()
181 return mBackend.setPeekable(pkg, mUid, peekable); in onCreate()
189 return mBackend.setSensitive(pkg, mUid, sensitive); in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStatePowerBridge.java31 private final PowerWhitelistBackend mBackend = PowerWhitelistBackend.getInstance(); field in AppStatePowerBridge
43 app.extraInfo = mBackend.isWhitelisted(app.info.packageName) in loadAllExtraInfo()
50 app.extraInfo = mBackend.isWhitelisted(pkg) ? Boolean.TRUE : Boolean.FALSE; in updateExtraInfo()
DInstalledAppDetails.java147 private final NotificationBackend mBackend = new NotificationBackend(); field in InstalledAppDetails
509 mBackend)); in refreshUi()