Home
last modified time | relevance | path

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

12345678910>>...21

/frameworks/base/core/java/android/os/
DBatteryStats.java425 public abstract int getCountLocked(int which); in getCountLocked() argument
444 public abstract long getCountLocked(int which); in getCountLocked() argument
462 public abstract long[] getCountsLocked(int which); in getCountsLocked() argument
538 public abstract int getCountLocked(int which); in getCountLocked() argument
549 public abstract long getTotalTimeLocked(long elapsedRealtimeUs, int which); in getTotalTimeLocked() argument
758 public abstract long getWifiRunningTime(long elapsedRealtimeUs, int which); in getWifiRunningTime() argument
760 public abstract long getFullWifiLockTime(long elapsedRealtimeUs, int which); in getFullWifiLockTime() argument
762 public abstract long getWifiScanTime(long elapsedRealtimeUs, int which); in getWifiScanTime() argument
763 public abstract int getWifiScanCount(int which); in getWifiScanCount() argument
768 public abstract int getWifiScanBackgroundCount(int which); in getWifiScanBackgroundCount() argument
[all …]
DDebug.java466 public int getOtherPss(int which) { in getOtherPss() argument
467 return otherStats[which * NUM_CATEGORIES + OFFSET_PSS]; in getOtherPss()
471 public int getOtherSwappablePss(int which) { in getOtherSwappablePss() argument
472 return otherStats[which * NUM_CATEGORIES + OFFSET_SWAPPABLE_PSS]; in getOtherSwappablePss()
476 public int getOtherRss(int which) { in getOtherRss() argument
477 return otherStats[which * NUM_CATEGORIES + OFFSET_RSS]; in getOtherRss()
482 public int getOtherPrivateDirty(int which) { in getOtherPrivateDirty() argument
483 return otherStats[which * NUM_CATEGORIES + OFFSET_PRIVATE_DIRTY]; in getOtherPrivateDirty()
488 public int getOtherSharedDirty(int which) { in getOtherSharedDirty() argument
489 return otherStats[which * NUM_CATEGORIES + OFFSET_SHARED_DIRTY]; in getOtherSharedDirty()
[all …]
/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java67 for (int which : new int[] { WallpaperManager.FLAG_LOCK, WallpaperManager.FLAG_SYSTEM}) { in ColorExtractor()
69 mGradientColors.append(which, colors); in ColorExtractor()
131 public GradientColors getColors(int which) { in getColors() argument
132 return getColors(which, TYPE_DARK); in getColors()
143 public GradientColors getColors(int which, int type) { in getColors() argument
148 if (which != WallpaperManager.FLAG_LOCK && which != WallpaperManager.FLAG_SYSTEM) { in getColors()
151 return mGradientColors.get(which)[type]; in getColors()
161 public WallpaperColors getWallpaperColors(int which) { in getWallpaperColors() argument
162 if (which == WallpaperManager.FLAG_LOCK) { in getWallpaperColors()
164 } else if (which == WallpaperManager.FLAG_SYSTEM) { in getWallpaperColors()
[all …]
/frameworks/base/core/java/android/app/
DDisabledWallpaperManager.java89 public Drawable getBuiltInDrawable(int which) { in getBuiltInDrawable() argument
101 float horizontalAlignment, float verticalAlignment, int which) { in getBuiltInDrawable() argument
136 public ParcelFileDescriptor getWallpaperFile(int which) { in getWallpaperFile() argument
162 public WallpaperColors getWallpaperColors(int which) { in getWallpaperColors() argument
167 public WallpaperColors getWallpaperColors(int which, int userId) { in getWallpaperColors() argument
172 public ParcelFileDescriptor getWallpaperFile(int which, int userId) { in getWallpaperFile() argument
192 public int getWallpaperId(int which) { in getWallpaperId() argument
197 public int getWallpaperIdForUser(int which, int userId) { in getWallpaperIdForUser() argument
212 public int setResource(int resid, int which) throws IOException { in setResource() argument
228 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, int which) in setBitmap() argument
[all …]
DWallpaperManager.java354 public void onWallpaperColorsChanged(WallpaperColors colors, int which, int userId) { in onWallpaperColorsChanged() argument
369 listener.first.onColorsChanged(colors, which, userId); in onWallpaperColorsChanged()
376 WallpaperColors getWallpaperColors(int which, int userId, int displayId) { in getWallpaperColors() argument
377 if (which != FLAG_LOCK && which != FLAG_SYSTEM) { in getWallpaperColors()
383 return mService.getWallpaperColors(which, userId, displayId); in getWallpaperColors()
391 @SetWallpaperFlags int which) { in peekWallpaperBitmap() argument
392 return peekWallpaperBitmap(context, returnDefault, which, context.getUserId(), in peekWallpaperBitmap()
397 @SetWallpaperFlags int which, int userId, boolean hardware) { in peekWallpaperBitmap() argument
435 defaultWallpaper = getDefaultWallpaper(context, which); in peekWallpaperBitmap()
483 private Bitmap getDefaultWallpaper(Context context, @SetWallpaperFlags int which) { in getDefaultWallpaper() argument
[all …]
DIWallpaperManager.aidl47 in Rect cropHint, boolean allowBackup, out Bundle extras, int which, in setWallpaper() argument
65 ParcelFileDescriptor getWallpaper(String callingPkg, IWallpaperManagerCallback cb, int which, in getWallpaper() argument
71 int getWallpaperIdForUser(int which, int userId); in getWallpaperIdForUser() argument
84 void clearWallpaper(in String callingPackage, int which, int userId); in clearWallpaper() argument
138 boolean isWallpaperBackupEligible(int which, int userId); in isWallpaperBackupEligible() argument
154 WallpaperColors getWallpaperColors(int which, int userId, int displayId); in getWallpaperColors() argument
/frameworks/base/tools/obbtool/
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/base/packages/SystemUI/src/com/android/systemui/colorextraction/
DSysuiColorExtractor.java89 public void onColorsChanged(WallpaperColors colors, int which, int userId) { in onColorsChanged() argument
94 if ((which & WallpaperManager.FLAG_LOCK) != 0) { in onColorsChanged()
97 super.onColorsChanged(colors, which); in onColorsChanged()
107 public GradientColors getColors(int which, int type) { in getColors() argument
108 if (mHasMediaArtwork && (which & WallpaperManager.FLAG_LOCK) != 0) { in getColors()
111 return super.getColors(which, type); in getColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DCustomListPreference.java99 public void onClick(DialogInterface dialog, int which) { in onPrepareDialogBuilder()
131 public void onClick(DialogInterface dialog, int which) { in getOnItemClickListener()
132 setClickedDialogEntryIndex(which); in getOnItemClickListener()
140 protected void setClickedDialogEntryIndex(int which) { in setClickedDialogEntryIndex() argument
141 mClickedDialogEntryIndex = which; in setClickedDialogEntryIndex()
/frameworks/opt/net/ims/
DREADME.txt3 At the moment, this only supports VoLTE calls which is compliant to GSMA IR.92 specification.
54 Manages all IMS calls which are established hereafter the initial 1-to-1 call is established.
55 It's for providing the dummy calls which are disconnected with the IMS network after
91 Wrapper class which has an ICallGroup interface.
95 Manages all calls which are established hereafter the initial 1-to-1 call is established.
96 It's for providing the dummy calls which are disconnected with the IMS network after
103 Provides the interface to manage all calls which are established hereafter the initial
104 1-to-1 call is established. It's for providing the dummy calls which are disconnected with
109 It directly communicates with IMS service which implements the IMS protocol behavior.
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DCustomDialogPreferenceCompat.java70 protected void onClick(DialogInterface dialog, int which) { in onClick() argument
124 public void onClick(DialogInterface dialog, int which) { in onClick() argument
125 super.onClick(dialog, which); in onClick()
126 getCustomizablePreference().onClick(dialog, which); in onClick()
DCustomDialogPreference.java76 protected void onClick(DialogInterface dialog, int which) { in onClick() argument
130 public void onClick(DialogInterface dialog, int which) { in onClick() argument
131 super.onClick(dialog, which); in onClick()
132 getCustomizablePreference().onClick(dialog, which); in onClick()
DCustomEditTextPreference.java86 protected void onClick(DialogInterface dialog, int which) { in onClick() argument
136 public void onClick(DialogInterface dialog, int which) { in onClick() argument
137 super.onClick(dialog, which); in onClick()
138 getCustomizablePreference().onClick(dialog, which); in onClick()
DCustomEditTextPreferenceCompat.java80 protected void onClick(DialogInterface dialog, int which) { in onClick() argument
131 public void onClick(DialogInterface dialog, int which) { in onClick() argument
132 super.onClick(dialog, which); in onClick()
133 getCustomizablePreference().onClick(dialog, which); in onClick()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsSensorTest.java426 final int which = BatteryStats.STATS_SINCE_CHARGED; in testSensorResetTimes() local
458 assertEquals(0, timer.getTotalTimeLocked(1000*clocks.realtime, which)); in testSensorResetTimes()
460 assertEquals(0, bgTimer.getTotalTimeLocked(1000*clocks.realtime, which)); in testSensorResetTimes()
469 assertEquals(0, timer.getTotalTimeLocked(1000*clocks.realtime, which)); in testSensorResetTimes()
471 assertEquals(0, bgTimer.getTotalTimeLocked(1000*clocks.realtime, which)); in testSensorResetTimes()
479 assertEquals(0, timer.getTotalTimeLocked(1000*clocks.realtime, which)); in testSensorResetTimes()
481 assertEquals(0, bgTimer.getTotalTimeLocked(1000*clocks.realtime, which)); in testSensorResetTimes()
497 assertEquals(111_000, timer.getTotalTimeLocked(1000*clocks.realtime, which)); in testSensorResetTimes()
499 assertEquals(111_000, bgTimer.getTotalTimeLocked(1000*clocks.realtime, which)); in testSensorResetTimes()
508 assertEquals(0, timer.getTotalTimeLocked(1000*clocks.realtime, which)); in testSensorResetTimes()
[all …]
/frameworks/base/core/java/android/app/backup/
DBlobBackupHelper.java290 int which; in restoreEntity() local
291 for (which = 0; which < mKeys.length; which++) { in restoreEntity()
292 if (key.equals(mKeys[which])) { in restoreEntity()
296 if (which >= mKeys.length) { in restoreEntity()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1047 public long getUahDischarge(int which) { in getUahDischarge() argument
1048 return mDischargeCounter.getCountLocked(which); in getUahDischarge()
1052 public long getUahDischargeScreenOff(int which) { in getUahDischargeScreenOff() argument
1053 return mDischargeScreenOffCounter.getCountLocked(which); in getUahDischargeScreenOff()
1057 public long getUahDischargeScreenDoze(int which) { in getUahDischargeScreenDoze() argument
1058 return mDischargeScreenDozeCounter.getCountLocked(which); in getUahDischargeScreenDoze()
1062 public long getUahDischargeLightDoze(int which) { in getUahDischargeLightDoze() argument
1063 return mDischargeLightDozeCounter.getCountLocked(which); in getUahDischargeLightDoze()
1067 public long getUahDischargeDeepDoze(int which) { in getUahDischargeDeepDoze() argument
1068 return mDischargeDeepDozeCounter.getCountLocked(which); in getUahDischargeDeepDoze()
[all …]
/frameworks/wilhelm/tests/sandbox/
Dplaybq.cpp42 unsigned which; // which buffer to use next variable
79 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; in callback()
92 if (++which >= numBuffers) in callback()
93 which = 0; in callback()
481 for (which = 0; which < numBuffers; ++which) { in main()
482 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; in main()
514 if (which >= numBuffers) { in main()
515 which = 0; in main()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java359 private void notifyWallpaperColorsChanged(@NonNull WallpaperData wallpaper, int which) { in notifyWallpaperColorsChanged() argument
362 notifyWallpaperColorsChangedOnDisplay(wallpaper, which, connector.mDisplayId); in notifyWallpaperColorsChanged()
365 notifyWallpaperColorsChangedOnDisplay(wallpaper, which, DEFAULT_DISPLAY); in notifyWallpaperColorsChanged()
380 private void notifyWallpaperColorsChangedOnDisplay(@NonNull WallpaperData wallpaper, int which, in notifyWallpaperColorsChangedOnDisplay() argument
395 Slog.v(TAG, "notifyWallpaperColorsChangedOnDisplay " + which); in notifyWallpaperColorsChangedOnDisplay()
403 notifyColorListeners(wallpaper.primaryColors, which, wallpaper.userId, displayId); in notifyWallpaperColorsChangedOnDisplay()
413 notifyColorListeners(wallpaper.primaryColors, which, wallpaper.userId, displayId); in notifyWallpaperColorsChangedOnDisplay()
421 private void notifyColorListeners(@NonNull WallpaperColors wallpaperColors, int which, in notifyColorListeners() argument
452 colorListeners.get(i).onWallpaperColorsChanged(wallpaperColors, which, userId); in notifyColorListeners()
462 keyguardListener.onWallpaperColorsChanged(wallpaperColors, which, userId); in notifyColorListeners()
[all …]
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-layout.md4 …es the controller for basic configuration settings such as which properties to animate, which anim…
10which uses a PhysicsAnimationLayout for its stack of bubbles. Bubbles has controller subclasses in…
13 …de configuration methods, which are used by the layout while constructing the animations, and anim…
20 Returns the properties, such as TRANSLATION_X and TRANSLATION_Y, for which the layout should constr…
44 - `position(float, float, Runnable…)`, which starts translationX and translationY animations, and c…
45 - `followAnimatedTargetAlongPath(Path, int, TimeInterpolator)`, which animates a ‘target’ point alo…
72 …n as soon as the fade out is complete. We can use `alpha(to, endAction)`, which will call endActio…
73 …ns a `MultiAnimationStarter` with a single method, `startAll(endAction)`, which starts all of the …
122 …re that multiple controllers aren’t updating animations at the same time, which can cause undefine…
/frameworks/base/core/java/android/content/
DDialogInterface.java119 void onClick(DialogInterface dialog, int which); in onClick() argument
135 void onClick(DialogInterface dialog, int which, boolean isChecked); in onClick() argument
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java130 public void onClick(DialogInterface dialog, int which) { in callIsAppInactive()
139 public void onClick(DialogInterface dialog, int which) { in callIsAppInactive()
157 public void onClick(DialogInterface dialog, int which) { in callSetAppLimit()
173 public void onClick(DialogInterface dialog, int which) { in callSetAppLimit()
191 public void onClick(DialogInterface dialog, int which) { in callSetAppUsageLimit()
207 public void onClick(DialogInterface dialog, int which) { in callSetAppUsageLimit()
/frameworks/base/tests/UsageReportingTest/src/com/android/tests/usagereporter/
DUsageReporterActivity.java151 public void onClick(DialogInterface dialog, int which) { in callAddToken() argument
168 public void onClick(DialogInterface dialog, int which) { in callAddToken() argument
186 public void onClick(DialogInterface dialog, int which) { in callAddManyTokens() argument
202 public void onClick(DialogInterface dialog, int which) { in callAddManyTokens() argument
216 public void onClick(DialogInterface dialog, int which) { in callStopAll() argument
227 public void onClick(DialogInterface dialog, int which) { in callStopAll() argument
/frameworks/hardware/interfaces/vr/composer/1.0/
DIVrComposerClient.hal64 * Used to annotate the layer with additional information, which must be
66 * etc) which allows VR window manager to treat certain layer types
69 * @param display is the display on which the layer was created.
89 * @param display is the display on which the buffer is used.
102 * @param display is the display on which the buffer is used.
/frameworks/opt/telephony/
DREADME.txt3 This directory contains telephony libraries which function as the
14 We define several AIDL interfaces in frameworks/base/telephony/ which we
23 which initializes everything else.

12345678910>>...21