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

12345678910

/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DFakeUid.java137 public long getWifiRunningTime(long elapsedRealtimeUs, int which) { argument
142 public long getFullWifiLockTime(long elapsedRealtimeUs, int which) { argument
147 public long getWifiScanTime(long elapsedRealtimeUs, int which) { argument
152 public int getWifiScanCount(int which) { argument
157 public int getWifiScanBackgroundCount(int which) { argument
172 public long getWifiBatchedScanTime(int csphBin, long elapsedRealtimeUs, int which) { argument
177 public int getWifiBatchedScanCount(int csphBin, int which) { argument
182 public long getWifiMulticastTime(long elapsedRealtimeUs, int which) { argument
217 public long getProcessStateTime(int state, long elapsedRealtimeUs, int which) { argument
241 public int getUserActivityCount(int type, int which) { argument
251 getNetworkActivityBytes(int type, int which) argument
256 getNetworkActivityPackets(int type, int which) argument
261 getMobileRadioActiveTime(int which) argument
266 getMobileRadioActiveCount(int which) argument
271 getUserCpuTimeUs(int which) argument
276 getSystemCpuTimeUs(int which) argument
281 getTimeAtCpuSpeed(int cluster, int step, int which) argument
331 getWifiRadioApWakeupCount(int which) argument
336 getMobileRadioApWakeupCount(int which) argument
341 getCpuFreqTimes(int which) argument
346 getScreenOffCpuFreqTimes(int which) argument
[all...]
H A DBatteryUtils.java95 int which) {
102 return getScreenUsageTimeMs(uid, which);
104 return getProcessForegroundTimeMs(uid, which);
106 return getProcessBackgroundTimeMs(uid, which);
108 return getProcessForegroundTimeMs(uid, which)
109 + getProcessBackgroundTimeMs(uid, which);
114 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which, long rawRealTimeUs) { argument
120 final long localTime = uid.getProcessStateTime(type, rawRealTimeUs, which);
132 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which) { argument
134 return getScreenUsageTimeMs(uid, which, rawRealTimeU
94 getProcessTimeMs(@tatusType int type, @Nullable BatteryStats.Uid uid, int which) argument
137 getProcessBackgroundTimeMs(BatteryStats.Uid uid, int which) argument
147 getProcessForegroundTimeMs(BatteryStats.Uid uid, int which) argument
[all...]
/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/Launcher3/src/com/android/launcher3/compat/
H A DWallpaperManagerCompat.java50 public abstract @Nullable WallpaperColorsCompat getWallpaperColors(int which); argument
59 void onColorsChanged(WallpaperColorsCompat colors, int which); argument
H A DWallpaperManagerCompatVOMR1.java50 public WallpaperColorsCompat getWallpaperColors(int which) { argument
51 return convertColorsObject(mWm.getWallpaperColors(which));
58 public void onColorsChanged(WallpaperColors colors, int which) {
59 listener.onColorsChanged(convertColorsObject(colors), 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/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/
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/Settings/src/com/android/settings/development/
H A DEnableAdbPreferenceController.java46 .setPositiveButton(android.R.string.yes, (dialog, which) -> {
50 .setNegativeButton(android.R.string.no, (dialog, 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

Completed in 7656 milliseconds

12345678910