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

1234

/frameworks/base/core/java/android/content/
H A DSyncStatusObserver.java20 void onStatusChanged(int which); argument
H A DISyncStatusObserver.aidl23 void onStatusChanged(int which);
H A DDialogInterface.java117 * @param which The button that was clicked (e.g.
122 public void onClick(DialogInterface dialog, int which); argument
134 * @param which The position of the item in the list that was clicked.
137 public void onClick(DialogInterface dialog, int which, boolean isChecked); argument
/frameworks/base/core/java/android/os/
H A DBatteryStats.java160 * @param which one of STATS_TOTAL, STATS_LAST, or STATS_CURRENT
162 public abstract int getCountLocked(int which); argument
179 * @param which one of STATS_TOTAL, STATS_LAST, or STATS_CURRENT
181 public abstract int getCountLocked(int which); argument
188 * @param which one of STATS_TOTAL, STATS_LAST, or STATS_CURRENT
191 public abstract long getTotalTimeLocked(long batteryRealtime, int which); argument
252 public abstract long getTcpBytesReceived(int which); argument
257 public abstract long getTcpBytesSent(int which); argument
271 public abstract long getWifiRunningTime(long batteryRealtime, int which); argument
272 public abstract long getFullWifiLockTime(long batteryRealtime, int which); argument
273 getWifiScanTime(long batteryRealtime, int which) argument
274 getWifiMulticastTime(long batteryRealtime, int which) argument
276 getAudioTurnedOnTime(long batteryRealtime, int which) argument
277 getVideoTurnedOnTime(long batteryRealtime, int which) argument
292 getUserActivityCount(int type, int which) argument
327 getUserTime(int which) argument
334 getSystemTime(int which) argument
341 getStarts(int which) argument
348 getForegroundTime(int which) argument
357 getTimeAtCpuSpeedStep(int speedStep, int which) argument
375 getWakeups(int which) argument
394 getStartTime(long batteryUptime, int which) argument
401 getStarts(int which) argument
408 getLaunches(int which) argument
754 getScreenOnTime(long batteryRealtime, int which) argument
774 getScreenBrightnessTime(int brightnessBin, long batteryRealtime, int which) argument
777 getInputEventCount(int which) argument
785 getPhoneOnTime(long batteryRealtime, int which) argument
793 getPhoneSignalStrengthTime(int strengthBin, long batteryRealtime, int which) argument
802 getPhoneSignalScanningTime( long batteryRealtime, int which) argument
810 getPhoneSignalStrengthCount(int strengthBin, int which) argument
843 getPhoneDataConnectionTime(int dataType, long batteryRealtime, int which) argument
852 getPhoneDataConnectionCount(int dataType, int which) argument
891 getWifiOnTime(long batteryRealtime, int which) argument
899 getGlobalWifiRunningTime(long batteryRealtime, int which) argument
907 getBluetoothOnTime(long batteryRealtime, int which) argument
1000 computeBatteryUptime(long curTime, int which) argument
1008 computeBatteryRealtime(long curTime, int which) argument
1016 computeUptime(long curTime, int which) argument
1024 computeRealtime(long curTime, int which) argument
1100 computeWakeLock(Timer timer, long batteryRealtime, int which) argument
1120 printWakeLock(StringBuilder sb, Timer timer, long batteryRealtime, String name, int which, String linePrefix) argument
1152 printWakeLockCheckin(StringBuilder sb, Timer timer, long now, String name, int which, String linePrefix) argument
1195 dumpCheckinLocked(PrintWriter pw, int which, int reqUid) argument
1444 dumpLocked(PrintWriter pw, String prefix, int which, int reqUid) argument
[all...]
H A DDebug.java162 public int getOtherPss(int which) { argument
163 return otherStats[which*3];
167 public int getOtherPrivateDirty(int which) { argument
168 return otherStats[which*3 + 1];
172 public int getOtherSharedDirty(int which) { argument
173 return otherStats[which*3 + 2];
178 public static String getOtherLabel(int which) { argument
179 switch (which) {
406 * Enable "emulator traces", in which information about the current
412 * This puts the VM into "profile" mode, which ha
[all...]
/frameworks/base/tools/obbtool/
H A Dmkobb.sh32 MKFSBIN=`which ${MKFS}`
33 LOSETUPBIN=`which ${LOSETUP}`
34 MOUNTBIN=`which mount`
35 UMOUNTBIN=`which umount`
36 DDBIN=`which dd`
37 RSYNCBIN=`which rsync`
38 PBKDF2GEN=`which pbkdf2gen`
/frameworks/compile/libbcc/runtime/make/platform/
H A Dclang_darwin.mk1 # These are the functions which clang needs when it is targetting a previous
2 # version of the OS. The issue is that the backend may use functions which were
4 # with a version of the library which contains private_extern definitions of all
5 # the extra functions which might be referenced.
18 # Configuration for targetting armv6. We need a few additional functions which
/frameworks/base/core/java/com/android/internal/widget/
H A DSmileys.java63 public static int getSmileyResource(int which) { argument
64 return sIconIds[which];
/frameworks/base/core/java/android/widget/
H A DViewSwitcher.java28 * from which these views are created. You can either use the factory to
30 * child views, of which only one is shown at a time.
89 int which = mWhichChild == 0 ? 1 : 0;
90 return getChildAt(which);
104 * Sets the factory used to create the two views between which the
/frameworks/base/tools/aidl/
H A Dgenerate_java.cpp38 if (extra->which == SHORT_COMMENT) {
41 else if (extra->which == LONG_COMMENT) {
H A Daidl_language_l.l12 static void begin_extra_text(unsigned lineno, which_extra_text which);
112 void begin_extra_text(unsigned lineno, which_extra_text which)
116 text->which = which;
/frameworks/native/libs/binder/
H A DIServiceManager.cpp195 String16 which = data.readString16(); local
196 sp<IBinder> b = const_cast<BnServiceManager*>(this)->getService(which);
202 String16 which = data.readString16(); local
203 sp<IBinder> b = const_cast<BnServiceManager*>(this)->checkService(which);
209 String16 which = data.readString16(); local
211 status_t err = addService(which, b);
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java421 public int getCountLocked(int which) { argument
423 if (which == STATS_LAST) {
427 if (which == STATS_SINCE_UNPLUGGED) {
429 } else if (which != STATS_SINCE_CHARGED) {
636 public long getTotalTimeLocked(long batteryRealtime, int which) { argument
638 if (which == STATS_LAST) {
642 if (which == STATS_SINCE_UNPLUGGED) {
644 } else if (which != STATS_SINCE_CHARGED) {
653 public int getCountLocked(int which) { argument
655 if (which
2305 getScreenOnTime(long batteryRealtime, int which) argument
2309 getScreenBrightnessTime(int brightnessBin, long batteryRealtime, int which) argument
2315 getInputEventCount(int which) argument
2319 getPhoneOnTime(long batteryRealtime, int which) argument
2323 getPhoneSignalStrengthTime(int strengthBin, long batteryRealtime, int which) argument
2329 getPhoneSignalScanningTime( long batteryRealtime, int which) argument
2335 getPhoneSignalStrengthCount(int strengthBin, int which) argument
2339 getPhoneDataConnectionTime(int dataType, long batteryRealtime, int which) argument
2345 getPhoneDataConnectionCount(int dataType, int which) argument
2349 getWifiOnTime(long batteryRealtime, int which) argument
2353 getGlobalWifiRunningTime(long batteryRealtime, int which) argument
2357 getBluetoothOnTime(long batteryRealtime, int which) argument
2474 getTcpBytesReceived(int which) argument
2496 getTcpBytesSent(int which) argument
2631 getWifiRunningTime(long batteryRealtime, int which) argument
2639 getFullWifiLockTime(long batteryRealtime, int which) argument
2647 getWifiScanTime(long batteryRealtime, int which) argument
2655 getWifiMulticastTime(long batteryRealtime, int which) argument
2664 getAudioTurnedOnTime(long batteryRealtime, int which) argument
2672 getVideoTurnedOnTime(long batteryRealtime, int which) argument
2698 getUserActivityCount(int type, int which) argument
3428 getUserTime(int which) argument
3444 getSystemTime(int which) argument
3460 getForegroundTime(int which) argument
3476 getStarts(int which) argument
3506 getTimeAtCpuSpeedStep(int speedStep, int which) argument
3601 getWakeups(int which) argument
3820 getLaunches(int which) argument
3838 getStartTime(long now, int which) argument
3855 getStarts(int which) argument
4514 computeUptime(long curTime, int which) argument
4525 computeRealtime(long curTime, int which) argument
4536 computeBatteryUptime(long curTime, int which) argument
4551 computeBatteryRealtime(long curTime, int which) argument
4595 getTcpBytes(long current, long[] dataBytes, int which) argument
4613 getMobileTcpBytesSent(int which) argument
4619 getMobileTcpBytesReceived(int which) argument
4625 getTotalTcpBytesSent(int which) argument
4631 getTotalTcpBytesReceived(int which) argument
4797 distributeWorkLocked(int which) argument
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c41 unsigned which; // which buffer to use next variable
80 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which];
96 if (++which >= numBuffers)
97 which = 0;
376 for (which = 0; which < numBuffers; ++which) {
377 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which];
398 if (which >
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DNetInitiatedActivity.java124 public void onClick(DialogInterface dialog, int which) { argument
125 if (which == POSITIVE_BUTTON) {
128 if (which == NEGATIVE_BUTTON) {
H A DExternalMediaFormatActivity.java93 public void onClick(DialogInterface dialog, int which) { argument
95 if (which == POSITIVE_BUTTON) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbAccessoryUriActivity.java87 public void onClick(DialogInterface dialog, int which) { argument
88 if (which == AlertDialog.BUTTON_POSITIVE) {
H A DUsbDebuggingActivity.java121 public void onClick(DialogInterface dialog, int which) { argument
122 boolean allow = (which == AlertDialog.BUTTON_POSITIVE);
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java97 public void onClick(DialogInterface dialog, int which) { argument
99 if (which == DialogInterface.BUTTON_POSITIVE && mService.prepareVpn(null, mPackage)) {
/frameworks/compile/libbcc/tests/
H A Dbccarm26 def which(item): function
27 return runCmd(["which", item])
/frameworks/base/core/java/android/webkit/
H A DWebCoreThreadWatchdog.java245 public void onClick(DialogInterface dialog, int which) {
253 public void onClick(DialogInterface dialog, int which) {
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuDialogHelper.java166 public void onClick(DialogInterface dialog, int which) { argument
167 mMenu.performItemAction((MenuItemImpl) mPresenter.getAdapter().getItem(which), 0);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DFileList.java132 public void onClick(DialogInterface dialog, int which) {
133 switch (which) {
/frameworks/compile/libbcc/runtime/make/
H A Doptions.mk1 # Options which may be overriden for platforms, etc.
/frameworks/native/services/surfaceflinger/
H A DAndroid.mk61 # uses jni which may not be available in PDK

Completed in 1346 milliseconds

1234