/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 441 public abstract int getCountLocked(int which); in getCountLocked() argument 460 public abstract long getCountLocked(int which); in getCountLocked() argument 478 public abstract long[] getCountsLocked(int which); in getCountsLocked() argument 553 public abstract int getCountLocked(int which); in getCountLocked() argument 564 public abstract long getTotalTimeLocked(long elapsedRealtimeUs, int which); in getTotalTimeLocked() argument 777 public abstract long getWifiRunningTime(long elapsedRealtimeUs, int which); in getWifiRunningTime() argument 779 public abstract long getFullWifiLockTime(long elapsedRealtimeUs, int which); in getFullWifiLockTime() argument 781 public abstract long getWifiScanTime(long elapsedRealtimeUs, int which); in getWifiScanTime() argument 782 public abstract int getWifiScanCount(int which); in getWifiScanCount() argument 787 public abstract int getWifiScanBackgroundCount(int which); in getWifiScanBackgroundCount() argument [all …]
|
D | Debug.java | 467 public int getOtherPss(int which) { in getOtherPss() argument 468 return otherStats[which * NUM_CATEGORIES + OFFSET_PSS]; in getOtherPss() 472 public int getOtherSwappablePss(int which) { in getOtherSwappablePss() argument 473 return otherStats[which * NUM_CATEGORIES + OFFSET_SWAPPABLE_PSS]; in getOtherSwappablePss() 477 public int getOtherRss(int which) { in getOtherRss() argument 478 return otherStats[which * NUM_CATEGORIES + OFFSET_RSS]; in getOtherRss() 483 public int getOtherPrivateDirty(int which) { in getOtherPrivateDirty() argument 484 return otherStats[which * NUM_CATEGORIES + OFFSET_PRIVATE_DIRTY]; in getOtherPrivateDirty() 489 public int getOtherSharedDirty(int which) { in getOtherSharedDirty() argument 490 return otherStats[which * NUM_CATEGORIES + OFFSET_SHARED_DIRTY]; in getOtherSharedDirty() [all …]
|
/frameworks/base/core/java/com/android/internal/colorextraction/ |
D | ColorExtractor.java | 67 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/ |
D | DisabledWallpaperManager.java | 88 public Drawable getBuiltInDrawable(int which) { in getBuiltInDrawable() argument 100 float horizontalAlignment, float verticalAlignment, int which) { in getBuiltInDrawable() argument 135 public ParcelFileDescriptor getWallpaperFile(int which) { in getWallpaperFile() argument 161 public WallpaperColors getWallpaperColors(int which) { in getWallpaperColors() argument 166 public WallpaperColors getWallpaperColors(int which, int userId) { in getWallpaperColors() argument 171 public ParcelFileDescriptor getWallpaperFile(int which, int userId) { in getWallpaperFile() argument 191 public int getWallpaperId(int which) { in getWallpaperId() argument 196 public int getWallpaperIdForUser(int which, int userId) { in getWallpaperIdForUser() argument 211 public int setResource(int resid, int which) throws IOException { in setResource() argument 227 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, int which) in setBitmap() argument [all …]
|
D | IWallpaperManager.aidl | 49 in Rect cropHint, boolean allowBackup, out Bundle extras, int which, in setWallpaper() argument 69 ParcelFileDescriptor getWallpaper(String callingPkg, IWallpaperManagerCallback cb, int which, in getWallpaper() argument 76 IWallpaperManagerCallback cb, int which, out Bundle outParams, int userId); in getWallpaperWithFeature() argument 81 int getWallpaperIdForUser(int which, int userId); in getWallpaperIdForUser() argument 94 void clearWallpaper(in String callingPackage, int which, int userId); in clearWallpaper() argument 148 boolean isWallpaperBackupEligible(int which, int userId); in isWallpaperBackupEligible() argument 164 WallpaperColors getWallpaperColors(int which, int userId, int displayId); in getWallpaperColors() argument 171 int which, int userId, int displayId); in removeOnLocalColorsChangedListener() argument 177 in List<RectF> regions, int which, int userId, int displayId); in addOnLocalColorsChangedListener() argument
|
D | WallpaperManager.java | 410 @NonNull List<RectF> regions, int which, int userId, int displayId) { in addOnColorsChangedListener() argument 420 mService.addOnLocalColorsChangedListener(mLocalColorCallback , regions, which, in addOnColorsChangedListener() 429 @NonNull LocalWallpaperColorConsumer callback, int which, int userId, in removeOnColorsChangedListener() argument 444 mLocalColorCallback, removeAreas, which, userId, displayId); in removeOnColorsChangedListener() 477 public void onWallpaperColorsChanged(WallpaperColors colors, int which, int userId) { in onWallpaperColorsChanged() argument 492 listener.first.onColorsChanged(colors, which, userId); in onWallpaperColorsChanged() 499 WallpaperColors getWallpaperColors(int which, int userId, int displayId) { in getWallpaperColors() argument 500 if (which != FLAG_LOCK && which != FLAG_SYSTEM) { in getWallpaperColors() 506 return mService.getWallpaperColors(which, userId, displayId); in getWallpaperColors() 514 @SetWallpaperFlags int which, ColorManagementProxy cmProxy) { in peekWallpaperBitmap() argument [all …]
|
/frameworks/base/tools/obbtool/ |
D | mkobb.sh | 32 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/ |
D | SysuiColorExtractor.java | 89 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/ |
D | CustomListPreference.java | 99 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/base/packages/SettingsLib/src/com/android/settingslib/ |
D | CustomDialogPreference.java | 76 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()
|
D | CustomDialogPreferenceCompat.java | 70 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()
|
D | CustomEditTextPreferenceCompat.java | 80 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()
|
D | CustomEditTextPreference.java | 86 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()
|
/frameworks/opt/net/ims/ |
D | README.txt | 3 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/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsSensorTest.java | 426 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/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 367 private void notifyWallpaperColorsChanged(@NonNull WallpaperData wallpaper, int which) { in notifyWallpaperColorsChanged() argument 370 notifyWallpaperColorsChangedOnDisplay(wallpaper, which, connector.mDisplayId); in notifyWallpaperColorsChanged() 373 notifyWallpaperColorsChangedOnDisplay(wallpaper, which, DEFAULT_DISPLAY); in notifyWallpaperColorsChanged() 388 private void notifyWallpaperColorsChangedOnDisplay(@NonNull WallpaperData wallpaper, int which, in notifyWallpaperColorsChangedOnDisplay() argument 403 Slog.v(TAG, "notifyWallpaperColorsChangedOnDisplay " + which); in notifyWallpaperColorsChangedOnDisplay() 412 notifyColorListeners(wallpaper.primaryColors, which, wallpaper.userId, displayId); in notifyWallpaperColorsChangedOnDisplay() 419 private void notifyColorListeners(@NonNull WallpaperColors wallpaperColors, int which, in notifyColorListeners() argument 450 colorListeners.get(i).onWallpaperColorsChanged(wallpaperColors, which, userId); in notifyColorListeners() 460 keyguardListener.onWallpaperColorsChanged(wallpaperColors, which, userId); in notifyColorListeners() 1422 int which; in onWallpaperColorsChanged() local [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BlobBackupHelper.java | 290 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/android/content/ |
D | DialogInterface.java | 119 void onClick(DialogInterface dialog, int which); in onClick() argument 135 void onClick(DialogInterface dialog, int which, boolean isChecked); in onClick() argument
|
/frameworks/wilhelm/tests/sandbox/ |
D | playbq.cpp | 42 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/content/ |
D | SyncManager.md | 6 ["App Standby Buckets"](https://developer.android.com/topic/performance/appstandby), which throttle… 22 request sync to all the contacts sync adapters, which are implemented in other packages (and they're 34 2. `ContentResolver.SYNC_EXEMPTION_PROMOTE_BUCKET_WITH_TEMP`, which is more powerful than 1. 39 which was [implemented slightly differently](https://cs.android.com/android/platform/superproject/+… 70 (in which case, the system cuts its network access). 97 triggered, which elevates the standby bucket of the associated sync adapters' packages to `ACTIVE` 99 pre-installed packages. This is to help pre-installed sync adapters, which often don't have UI, 103 the `ACTIVE` bucket, which greatly relaxes app-standby throttling. But they're still subject 110 - Normally, sync operations are subject to App-Standby, which throttles jobs owned by background
|
/frameworks/base/packages/SystemUI/docs/ |
D | physics-animation-layout.md | 4 …es the controller for basic configuration settings such as which properties to animate, which anim… 10 …which 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/com/android/internal/app/ |
D | NetInitiatedActivity.java | 111 public void onClick(DialogInterface dialog, int which) { in onClick() argument 112 if (which == POSITIVE_BUTTON) { in onClick() 115 if (which == NEGATIVE_BUTTON) { in onClick()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 1151 public long getUahDischarge(int which) { in getUahDischarge() argument 1152 return mDischargeCounter.getCountLocked(which); in getUahDischarge() 1156 public long getUahDischargeScreenOff(int which) { in getUahDischargeScreenOff() argument 1157 return mDischargeScreenOffCounter.getCountLocked(which); in getUahDischargeScreenOff() 1161 public long getUahDischargeScreenDoze(int which) { in getUahDischargeScreenDoze() argument 1162 return mDischargeScreenDozeCounter.getCountLocked(which); in getUahDischargeScreenDoze() 1166 public long getUahDischargeLightDoze(int which) { in getUahDischargeLightDoze() argument 1167 return mDischargeLightDozeCounter.getCountLocked(which); in getUahDischargeLightDoze() 1171 public long getUahDischargeDeepDoze(int which) { in getUahDischargeDeepDoze() argument 1172 return mDischargeDeepDozeCounter.getCountLocked(which); in getUahDischargeDeepDoze() [all …]
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageStatsActivity.java | 130 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/ |
D | UsageReporterActivity.java | 151 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
|