Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DFakeUid.java142 public long getWifiRunningTime(long elapsedRealtimeUs, int which) { in getWifiRunningTime() argument
147 public long getFullWifiLockTime(long elapsedRealtimeUs, int which) { in getFullWifiLockTime() argument
152 public long getWifiScanTime(long elapsedRealtimeUs, int which) { in getWifiScanTime() argument
157 public int getWifiScanCount(int which) { in getWifiScanCount() argument
167 public int getWifiScanBackgroundCount(int which) { in getWifiScanBackgroundCount() argument
187 public long getWifiBatchedScanTime(int csphBin, long elapsedRealtimeUs, int which) { in getWifiBatchedScanTime() argument
192 public int getWifiBatchedScanCount(int csphBin, int which) { in getWifiBatchedScanCount() argument
197 public long getWifiMulticastTime(long elapsedRealtimeUs, int which) { in getWifiMulticastTime() argument
232 public long getProcessStateTime(int state, long elapsedRealtimeUs, int which) { in getProcessStateTime() argument
256 public int getUserActivityCount(int type, int which) { in getUserActivityCount() argument
[all …]
DBatteryUtils.java110 int which) { in getProcessTimeMs() argument
117 return getScreenUsageTimeMs(uid, which); in getProcessTimeMs()
119 return getProcessForegroundTimeMs(uid, which); in getProcessTimeMs()
121 return getProcessBackgroundTimeMs(uid, which); in getProcessTimeMs()
123 return getProcessForegroundTimeMs(uid, which) in getProcessTimeMs()
124 + getProcessBackgroundTimeMs(uid, which); in getProcessTimeMs()
129 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which, long rawRealTimeUs) { in getScreenUsageTimeMs() argument
135 final long localTime = uid.getProcessStateTime(type, rawRealTimeUs, which); in getScreenUsageTimeMs()
147 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which) { in getScreenUsageTimeMs() argument
149 return getScreenUsageTimeMs(uid, which, rawRealTimeUs); in getScreenUsageTimeMs()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DFakeUid.java142 public long getWifiRunningTime(long elapsedRealtimeUs, int which) { in getWifiRunningTime() argument
147 public long getFullWifiLockTime(long elapsedRealtimeUs, int which) { in getFullWifiLockTime() argument
152 public long getWifiScanTime(long elapsedRealtimeUs, int which) { in getWifiScanTime() argument
157 public int getWifiScanCount(int which) { in getWifiScanCount() argument
167 public int getWifiScanBackgroundCount(int which) { in getWifiScanBackgroundCount() argument
187 public long getWifiBatchedScanTime(int csphBin, long elapsedRealtimeUs, int which) { in getWifiBatchedScanTime() argument
192 public int getWifiBatchedScanCount(int csphBin, int which) { in getWifiBatchedScanCount() argument
197 public long getWifiMulticastTime(long elapsedRealtimeUs, int which) { in getWifiMulticastTime() argument
232 public long getProcessStateTime(int state, long elapsedRealtimeUs, int which) { in getProcessStateTime() argument
256 public int getUserActivityCount(int type, int which) { in getUserActivityCount() argument
[all …]
DBatteryUtils.java115 int which) { in getProcessTimeMs() argument
122 return getScreenUsageTimeMs(uid, which); in getProcessTimeMs()
124 return getProcessForegroundTimeMs(uid, which); in getProcessTimeMs()
126 return getProcessBackgroundTimeMs(uid, which); in getProcessTimeMs()
128 return getProcessForegroundTimeMs(uid, which) in getProcessTimeMs()
129 + getProcessBackgroundTimeMs(uid, which); in getProcessTimeMs()
134 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which, long rawRealTimeUs) { in getScreenUsageTimeMs() argument
140 final long localTime = uid.getProcessStateTime(type, rawRealTimeUs, which); in getScreenUsageTimeMs()
152 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which) { in getScreenUsageTimeMs() argument
154 return getScreenUsageTimeMs(uid, which, rawRealTimeUs); in getScreenUsageTimeMs()
[all …]
/packages/services/Car/car-lib/api/
Dtest-baseline.txt9 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.Ev…
11 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.Fu…
13 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.ha…
15 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.ha…
17 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.ha…
19 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.ha…
21 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.ha…
Dbaseline.txt9 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.Ev…
11 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.Fu…
13 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.ha…
15 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.ha…
17 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.ha…
19 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.ha…
21 …Typedef references constant which isn't part of the API, skipping in documentation: android.car.ha…
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DRestrictedListPreference.java238 public void onClick(DialogInterface dialog, int which) { in getOnItemClickListener()
240 if (which < 0 || which >= preference.getEntryValues().length) { in getOnItemClickListener()
243 String entryValue = preference.getEntryValues()[which].toString(); in getOnItemClickListener()
251 setClickedDialogEntryIndex(which); in getOnItemClickListener()
280 protected void setClickedDialogEntryIndex(int which) { in setClickedDialogEntryIndex() argument
281 super.setClickedDialogEntryIndex(which); in setClickedDialogEntryIndex()
282 mLastCheckedPosition = which; in setClickedDialogEntryIndex()
DCustomListPreference.java106 public void onClick(DialogInterface dialog, int which) { in onPrepareDialogBuilder()
139 public void onClick(DialogInterface dialog, int which) { in getOnItemClickListener()
140 setClickedDialogEntryIndex(which); in getOnItemClickListener()
148 protected void setClickedDialogEntryIndex(int which) { in setClickedDialogEntryIndex() argument
149 mClickedDialogEntryIndex = which; in setClickedDialogEntryIndex()
211 public void onClick(DialogInterface dialog, int which) {
/packages/apps/Settings/src/com/android/settings/
DRestrictedListPreference.java238 public void onClick(DialogInterface dialog, int which) { in getOnItemClickListener()
240 if (which < 0 || which >= preference.getEntryValues().length) { in getOnItemClickListener()
243 String entryValue = preference.getEntryValues()[which].toString(); in getOnItemClickListener()
251 setClickedDialogEntryIndex(which); in getOnItemClickListener()
280 protected void setClickedDialogEntryIndex(int which) { in setClickedDialogEntryIndex() argument
281 super.setClickedDialogEntryIndex(which); in setClickedDialogEntryIndex()
282 mLastCheckedPosition = which; in setClickedDialogEntryIndex()
DCustomListPreference.java106 public void onClick(DialogInterface dialog, int which) { in onPrepareDialogBuilder()
139 public void onClick(DialogInterface dialog, int which) { in getOnItemClickListener()
140 setClickedDialogEntryIndex(which); in getOnItemClickListener()
148 protected void setClickedDialogEntryIndex(int which) { in setClickedDialogEntryIndex() argument
149 mClickedDialogEntryIndex = which; in setClickedDialogEntryIndex()
211 public void onClick(DialogInterface dialog, int which) {
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/alertdialog/
DAlertDialogTestFragment.java62 public void onClick(DialogInterface dialog, int which) { in onCreateView()
68 public void onClick(DialogInterface dialog, int which) { in onCreateView()
86 public void onClick(DialogInterface dialog, int which) { in onCreateView()
92 public void onClick(DialogInterface dialog, int which) { in onCreateView()
110 public void onClick(DialogInterface dialog, int which) { in onCreateView()
116 public void onClick(DialogInterface dialog, int which) { in onCreateView()
/packages/apps/Email/provider_src/com/android/email/provider/
DFolderPickerDialog.java126 public void onClick(DialogInterface dialog, int which) { in onClick() argument
127 switch (which) { in onClick()
139 onClick(dialog, which, true); in onClick()
145 public void onClick(DialogInterface dialog, int which, boolean isChecked) { in onClick() argument
146 final FolderRow row = (FolderRow) mAdapter.getItem(which); in onClick()
151 mDialog.getListView().setItemChecked(which, false); in onClick()
/packages/apps/Gallery/src/com/android/camera/gallery/
DImageListUber.java122 int which = (int) (v >> 32); in getImageAt() local
124 int subindex = mSkipCounts[which] + (index - skipCount); in getImageAt()
125 return mSubList[which].getImageAt(subindex); in getImageAt()
128 mSkipCounts[which] += offset; in getImageAt()
220 int which = (int) (value >> 32); in getImageIndex() local
221 if (which == listIndex) { in getImageIndex()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java271 .setPositiveButton(R.string.allow, (dialog, which) -> proceedAndFinish()) in createDiscoverableConfirmDialog()
273 (dialog, which) -> finishWithResult(RESULT_CANCELED)) in createDiscoverableConfirmDialog()
287 (dialog, which) -> finishWithResult(RESULT_CANCELED)) in createRequestEnableBluetoothDialog()
304 (dialog, which) -> finishWithResult(RESULT_CANCELED)) in createRequestEnableBluetoothDialogWithTimeout()
309 private void onConfirmEnableBluetooth(DialogInterface dialog, int which) { in onConfirmEnableBluetooth() argument
352 (dialog, which) -> finishWithResult(RESULT_CANCELED)) in createRequestDisableBluetoothDialog()
357 private void onConfirmDisableBluetooth(DialogInterface dialog, int which) { in onConfirmDisableBluetooth() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiNoInternetDialog.java175 public void onClick(DialogInterface dialog, int which) { in onClick() argument
176 if (which != BUTTON_NEGATIVE && which != BUTTON_POSITIVE) return; in onClick()
182 final boolean accept = (which == BUTTON_POSITIVE); in onClick()
187 final boolean accept = (which == BUTTON_POSITIVE); in onClick()
192 final boolean avoid = (which == BUTTON_POSITIVE); in onClick()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiNoInternetDialog.java191 public void onClick(DialogInterface dialog, int which) { in onClick() argument
192 if (which != BUTTON_NEGATIVE && which != BUTTON_POSITIVE) return; in onClick()
200 final boolean accept = (which == BUTTON_POSITIVE); in onClick()
205 final boolean accept = (which == BUTTON_POSITIVE); in onClick()
210 final boolean avoid = (which == BUTTON_POSITIVE); in onClick()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutDialogFragment.java107 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
114 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
115 onKeyboardLayoutClicked(which); in onCreateDialog()
163 private void onKeyboardLayoutClicked(int which) { in onKeyboardLayoutClicked() argument
164 if (which >= 0 && which < mAdapter.getCount()) { in onKeyboardLayoutClicked()
165 KeyboardLayout keyboardLayout = mAdapter.getItem(which); in onKeyboardLayoutClicked()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DKeyboardLayoutDialogFragment.java107 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
114 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
115 onKeyboardLayoutClicked(which); in onCreateDialog()
163 private void onKeyboardLayoutClicked(int which) { in onKeyboardLayoutClicked() argument
164 if (which >= 0 && which < mAdapter.getCount()) { in onKeyboardLayoutClicked()
165 KeyboardLayout keyboardLayout = mAdapter.getItem(which); in onKeyboardLayoutClicked()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
DWallpaperManagerCompatVOMR1.java50 public WallpaperColorsCompat getWallpaperColors(int which) { in getWallpaperColors() argument
51 return convertColorsObject(mWm.getWallpaperColors(which)); in getWallpaperColors()
58 public void onColorsChanged(WallpaperColors colors, int which) { in addOnColorsChangedListener()
59 listener.onColorsChanged(convertColorsObject(colors), which); in addOnColorsChangedListener()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDefaultNumberActionProvider.java69 ((dialog, which) -> { in onPerformDefaultAction()
70 mSelectedPhoneNumber = contactPhoneNumbers.get(which); in onPerformDefaultAction()
72 which != primaryPhoneNumberIndex); in onPerformDefaultAction()
76 (dialog, which) -> in onPerformDefaultAction()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/p2p/
DWifiP2pSettings.java221 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
222 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
257 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
258 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
276 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
277 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
296 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
297 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
317 } else if (which == DialogInterface.BUTTON_NEGATIVE) { in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java224 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
225 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
260 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
261 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
279 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
280 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
299 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
300 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
320 } else if (which == DialogInterface.BUTTON_NEGATIVE) { in onActivityCreated()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerUtils.java64 ((dialog, which) -> { in showPhoneNumberSelector()
66 selectedPhoneNumber.add(numbers.get(which)); in showPhoneNumberSelector()
69 (dialog, which) -> { in showPhoneNumberSelector()
75 (dialog, which) -> { in showPhoneNumberSelector()
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelPicker.java97 public void onClick(DialogInterface dialog, int which) {
99 mAlertParams.mCheckedItem = which;
105 public void onClick(DialogInterface dialog, int which) { in onClick() argument
106 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragment.java395 public void onClick(final DialogInterface dialog, final int which) { in onClick() argument
397 switch (which) { in onClick()
445 public void onClick(final DialogInterface dialog, final int which) { in onPreferenceClick()
446 if (which == DialogInterface.BUTTON_POSITIVE) { in onPreferenceClick()
479 final int which) { in onPreferenceClick()
480 if (which == DialogInterface.BUTTON_POSITIVE) { in onPreferenceClick()

12345678910>>...20