/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | FakeUid.java | 142 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 …]
|
D | BatteryUtils.java | 110 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/ |
D | FakeUid.java | 142 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 …]
|
D | BatteryUtils.java | 115 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/ |
D | baseline.txt | 9 …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…
|
D | test-baseline.txt | 9 …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/ |
D | RestrictedListPreference.java | 238 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()
|
D | CustomListPreference.java | 106 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/ |
D | RestrictedListPreference.java | 238 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()
|
D | CustomListPreference.java | 106 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/ |
D | AlertDialogTestFragment.java | 62 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/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/dialogs/ |
D | DialogsActivity.java | 91 .setNeutralButton("NEUTRAL", (dialogInterface, which) -> { in showDialog() 93 .setPositiveButton("OK", (dialogInterface, which) -> { in showDialog() 95 .setNegativeButton("CANCEL", (dialogInterface, which) -> { in showDialog() 120 (dialog, which, isChecked) -> { in showDialogWithCheckbox() 122 .setPositiveButton("OK", (dialogInterface, which) -> { in showDialogWithCheckbox() 124 .setNegativeButton("CANCEL", (dialogInterface, which) -> { in showDialogWithCheckbox() 151 .setNegativeButton("CANCEL", (dialogInterface, which) -> { in showDialogWithoutTitle()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | ImageListUber.java | 122 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/ |
D | BluetoothRequestPermissionActivity.java | 272 .setPositiveButton(R.string.allow, (dialog, which) -> proceedAndFinish()) in createDiscoverableConfirmDialog() 274 (dialog, which) -> finishWithResult(RESULT_CANCELED)) in createDiscoverableConfirmDialog() 288 (dialog, which) -> finishWithResult(RESULT_CANCELED)) in createRequestEnableBluetoothDialog() 305 (dialog, which) -> finishWithResult(RESULT_CANCELED)) in createRequestEnableBluetoothDialogWithTimeout() 310 private void onConfirmEnableBluetooth(DialogInterface dialog, int which) { in onConfirmEnableBluetooth() argument 353 (dialog, which) -> finishWithResult(RESULT_CANCELED)) in createRequestDisableBluetoothDialog() 358 private void onConfirmDisableBluetooth(DialogInterface dialog, int which) { in onConfirmDisableBluetooth() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiNoInternetDialog.java | 175 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/ |
D | WifiNoInternetDialog.java | 191 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/ |
D | KeyboardLayoutDialogFragment.java | 107 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/ |
D | KeyboardLayoutDialogFragment.java | 107 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/modules/DnsResolver/ |
D | README-DoT.md | 20 `DnsTlsSocket`, which happen on a different thread. 30 know anything about which queries correspond to which responses, and does not retain 53 from its thread, and the loop thread (which owns the SSL socket) 84 which could happen as a result of malfunctioning authoritative DNS servers. 108 `DnsTlsSocket` (which requires `CAP_NET_ADMIN` because it uses `setsockopt(SO_MARK)`) and 109 `DnsTlsSessionCache` (which requires integration with libssl). These classes are 121 which in production is a `DnsTlsSocketFactory`. However, in unit tests, we can
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/ |
D | WallpaperManagerCompatVOMR1.java | 50 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/p2p/ |
D | WifiP2pSettings.java | 221 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/ |
D | WifiP2pSettings.java | 224 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/MusicFX/src/com/android/musicfx/ |
D | ControlPanelPicker.java | 97 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/apps/Settings/ |
D | proguard.flags | 4 # Some tests use thenThrow from Mockito which require information on 8 # Keep all Fragments in this package, which are used by reflection. 60 # Keep classes that implements CustomSliceable, which are used by reflection. 65 # Keep classes that extends SliceBackgroundWorker, which are used by reflection.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | AccountsSettingsFragment.java | 395 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()
|