Searched refs:which (Results 1 - 25 of 236) sorted by relevance

12345678910

/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DFakeUid.java131 public long getWifiRunningTime(long elapsedRealtimeUs, int which) { argument
136 public long getFullWifiLockTime(long elapsedRealtimeUs, int which) { argument
141 public long getWifiScanTime(long elapsedRealtimeUs, int which) { argument
146 public int getWifiScanCount(int which) { argument
151 public int getWifiScanBackgroundCount(int which) { argument
166 public long getWifiBatchedScanTime(int csphBin, long elapsedRealtimeUs, int which) { argument
171 public int getWifiBatchedScanCount(int csphBin, int which) { argument
176 public long getWifiMulticastTime(long elapsedRealtimeUs, int which) { argument
206 public long getProcessStateTime(int state, long elapsedRealtimeUs, int which) { argument
230 public int getUserActivityCount(int type, int which) { argument
240 getNetworkActivityBytes(int type, int which) argument
245 getNetworkActivityPackets(int type, int which) argument
250 getMobileRadioActiveTime(int which) argument
255 getMobileRadioActiveCount(int which) argument
260 getUserCpuTimeUs(int which) argument
265 getSystemCpuTimeUs(int which) argument
270 getTimeAtCpuSpeed(int cluster, int step, int which) argument
320 getWifiRadioApWakeupCount(int which) argument
325 getMobileRadioApWakeupCount(int which) argument
330 getCpuFreqTimes(int which) argument
335 getScreenOffCpuFreqTimes(int which) argument
[all...]
H A DBatteryUtils.java79 int which) {
86 return getProcessForegroundTimeMs(uid, which);
88 return getProcessBackgroundTimeMs(uid, which);
90 return getProcessForegroundTimeMs(uid, which)
91 + getProcessBackgroundTimeMs(uid, which);
96 private long getProcessBackgroundTimeMs(BatteryStats.Uid uid, int which) { argument
99 BatteryStats.Uid.PROCESS_STATE_BACKGROUND, rawRealTimeUs, which);
106 private long getProcessForegroundTimeMs(BatteryStats.Uid uid, int which) { argument
113 final long localTime = uid.getProcessStateTime(type, rawRealTimeUs, which);
78 getProcessTimeMs(@tatusType int type, @Nullable BatteryStats.Uid uid, int which) argument
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/
H A DWallpaperManagerWrapper.java30 public int getWallpaperId(int which) { argument
31 return mWallpaperManager.getWallpaperId(which);
/packages/apps/Calendar/src/com/android/calendar/
H A DEditResponseHelper.java50 * @return whichEvents, representing which events were selected on which to
61 public void setWhichEvents(int which) { argument
62 mWhichEvents = which;
66 public void onClick(DialogInterface dialog, int which) { argument
99 public void onClick(DialogInterface dialog, int which) {
100 mWhichEvents = which;
102 // Enable the "ok" button now that the user has selected which
116 * which events the user wants to respond to.
140 // Disable the "Ok" button until the user selects which event
[all...]
H A DDeleteEventHelper.java175 // Enable the "ok" button now that the user has selected which
196 * Does the required processing for deleting an event, which includes
198 * a normal event) or a dialog asking which events to delete (if the
199 * event is a repeating event). The "which" parameter is used to check
201 * "which" to -1 to have nothing selected initially.
206 * @param which one of the values {@link DELETE_SELECTED},
209 public void delete(long begin, long end, long eventId, int which) { argument
215 mWhichDelete = which;
218 public void delete(long begin, long end, long eventId, int which, Runnable callback) { argument
219 delete(begin, end, eventId, which);
257 delete(long begin, long end, CalendarEventModel model, int which) argument
354 deleteRepeatingEvent(int which) argument
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DCustomDialogPreference.java64 protected void onClick(DialogInterface dialog, int which) { argument
107 public void onClick(DialogInterface dialog, int which) { argument
108 super.onClick(dialog, which);
109 getCustomizablePreference().onClick(dialog, which);
H A DCustomEditTextPreference.java69 protected void onClick(DialogInterface dialog, int which) { argument
113 public void onClick(DialogInterface dialog, int which) { argument
114 super.onClick(dialog, which);
115 getCustomizablePreference().onClick(dialog, which);
H A DRestrictedListPreference.java206 public void onClick(DialogInterface dialog, int which) {
208 if (which < 0 || which >= preference.getEntryValues().length) {
211 String entryValue = preference.getEntryValues()[which].toString();
219 setClickedDialogEntryIndex(which);
248 protected void setClickedDialogEntryIndex(int which) { argument
249 super.setClickedDialogEntryIndex(which);
250 mLastCheckedPosition = which;
H A DRemoteBugreportActivity.java61 public void onClick(DialogInterface dialog, int which) {
85 public void onClick(DialogInterface dialog, int which) {
96 public void onClick(DialogInterface dialog, int which) {
/packages/apps/Email/provider_src/com/android/email/provider/
H A DFolderPickerDialog.java126 public void onClick(DialogInterface dialog, int which) { argument
127 switch (which) {
139 onClick(dialog, which, true);
145 public void onClick(DialogInterface dialog, int which, boolean isChecked) { argument
146 final FolderRow row = (FolderRow) mAdapter.getItem(which);
151 mDialog.getListView().setItemChecked(which, false);
/packages/providers/CallLogProvider/
H A DAndroid.mk10 # application. This configuration line selects which packages will be analyzed,
11 # leaving out code which is tested by other means (e.g. static libraries) that
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppBtErrorActivity.java79 public void onClick(DialogInterface dialog, int which) { argument
80 switch (which) {
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastOptOutActivity.java41 * in restricted keyguard mode, in which case we create a new CellBroadcastOptOutActivity
51 public void onClick(DialogInterface dialog, int which) {
59 public void onClick(DialogInterface dialog, int which) {
/packages/apps/Dialer/java/com/android/incallui/video/impl/
H A DCameraPermissionDialogFragment.java45 public void onClick(DialogInterface dialog, int which) {
56 public void onClick(DialogInterface dialog, int which) {
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DAppDialog.java77 public void onClick(DialogInterface dialog, int which) { argument
78 if (which == DialogInterface.BUTTON_NEGATIVE) {
/packages/apps/TV/src/com/android/tv/ui/
H A DDialogUtils.java41 public void onClick(final DialogInterface dialog, int which) {
42 Runnable runnable = runnables[which];
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
H A DClearPictureApprovalsDialogFragment.java59 public void onClick(DialogInterface dialog, int which) { argument
60 if (which == DialogInterface.BUTTON_POSITIVE) {
/packages/services/Telephony/src/com/android/phone/
H A DRoamingDialogFragment.java41 // the host activity which implements the listening interface
71 public void onClick(DialogInterface dialog, int which) { argument
73 if (which == dialog.BUTTON_POSITIVE) {
H A DErrorDialogActivity.java64 public void onClick(DialogInterface dialog, int which) {
88 public void onClick(DialogInterface dialog, int which) {
93 public void onClick(DialogInterface dialog, int which) {
/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DSelectAccountActivity.java41 public void onClick(DialogInterface dialog, int which) { argument
84 public void onClick(DialogInterface dialog, int which) {
86 final AccountWithDataSet account = mAccountList.get(which);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
H A DNonRequiredAppsLogic.java37 * Logic that calculates which system apps should be removed during profile creation and subsequent
125 @Case int which = getCase(userId);
126 return (Case.NEW_PROFILE_REMOVE_APPS == which) || (Case.OTA_REMOVE_APPS == which);
/packages/services/Telecomm/src/com/android/server/telecom/components/
H A DErrorDialogActivity.java75 public void onClick(DialogInterface dialog, int which) {
105 public void onClick(DialogInterface dialog, int which) {
111 public void onClick(DialogInterface dialog, int which) {
/packages/apps/MusicFX/src/com/android/musicfx/
H A DControlPanelPicker.java97 public void onClick(DialogInterface dialog, int which) {
99 mAlertParams.mCheckedItem = which;
105 public void onClick(DialogInterface dialog, int which) { argument
106 if (which == DialogInterface.BUTTON_POSITIVE) {
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
H A DWarningDialogFragment.java50 public void onClick(DialogInterface dialog, int which) { argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DSeekBarDialogPreference.java113 public void onClick(final DialogInterface dialog, final int which) { argument
114 super.onClick(dialog, which);
116 if (which == DialogInterface.BUTTON_NEUTRAL) {
122 if (which == DialogInterface.BUTTON_POSITIVE) {

Completed in 994 milliseconds

12345678910