Home
last modified time | relevance | path

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

12345678910>>...31

/frameworks/base/core/java/android/os/
DBatteryStats.java451 public abstract int getCountLocked(int which); in getCountLocked() argument
470 public abstract long getCountLocked(int which); in getCountLocked() argument
494 public abstract long[] getCountsLocked(int which); in getCountsLocked() argument
569 public abstract int getCountLocked(int which); in getCountLocked() argument
580 public abstract long getTotalTimeLocked(long elapsedRealtimeUs, int which); in getTotalTimeLocked() argument
822 public abstract long getWifiRunningTime(long elapsedRealtimeUs, int which); in getWifiRunningTime() argument
824 public abstract long getFullWifiLockTime(long elapsedRealtimeUs, int which); in getFullWifiLockTime() argument
826 public abstract long getWifiScanTime(long elapsedRealtimeUs, int which); in getWifiScanTime() argument
827 public abstract int getWifiScanCount(int which); in getWifiScanCount() argument
832 public abstract int getWifiScanBackgroundCount(int which); in getWifiScanBackgroundCount() argument
[all …]
DDebug.java467 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/android/app/
DDisabledWallpaperManager.java93 public Drawable getBuiltInDrawable(int which) { in getBuiltInDrawable() argument
105 float horizontalAlignment, float verticalAlignment, int which) { in getBuiltInDrawable() argument
140 public ParcelFileDescriptor getWallpaperFile(int which) { in getWallpaperFile() argument
166 public WallpaperColors getWallpaperColors(int which) { in getWallpaperColors() argument
171 public WallpaperColors getWallpaperColors(int which, int userId) { in getWallpaperColors() argument
176 public ParcelFileDescriptor getWallpaperFile(int which, int userId) { in getWallpaperFile() argument
181 public ParcelFileDescriptor getWallpaperFile(int which, boolean getCropped) { in getWallpaperFile() argument
206 public WallpaperInfo getWallpaperInfo(@SetWallpaperFlags int which) { in getWallpaperInfo() argument
211 public WallpaperInfo getWallpaperInfo(@SetWallpaperFlags int which, int userId) { in getWallpaperInfo() argument
216 public int getWallpaperId(int which) { in getWallpaperId() argument
[all …]
DWallpaperManager.java409 @SetWallpaperFlags int which) { in CachedWallpaper() argument
412 mWhich = which; in CachedWallpaper()
419 boolean isValid(int userId, @SetWallpaperFlags int which) { in isValid() argument
420 return userId == mCachedWallpaperUserId && which == mWhich in isValid()
491 @NonNull List<RectF> regions, int which, int userId, int displayId) { in addOnColorsChangedListener() argument
503 mService.addOnLocalColorsChangedListener(mLocalColorCallback, regions, which, in addOnColorsChangedListener()
513 @NonNull LocalWallpaperColorConsumer callback, int which, int userId, in removeOnColorsChangedListener() argument
528 mLocalColorCallback, new ArrayList(removeAreas), which, userId, in removeOnColorsChangedListener()
563 public void onWallpaperColorsChanged(WallpaperColors colors, int which, int userId) { in onWallpaperColorsChanged() argument
578 listener.first.onColorsChanged(colors, which, userId); in onWallpaperColorsChanged()
[all …]
DIWallpaperManager.aidl49 in Rect cropHint, boolean allowBackup, out Bundle extras, int which, in setWallpaper() argument
55 void setWallpaperComponentChecked(in ComponentName name, in String callingPackage, int which, in setWallpaperComponentChecked() argument
70 ParcelFileDescriptor getWallpaper(String callingPkg, IWallpaperManagerCallback cb, int which, in getWallpaper() argument
77 IWallpaperManagerCallback cb, int which, out Bundle outParams, int userId, in getWallpaperWithFeature() argument
83 int getWallpaperIdForUser(int which, int userId); in getWallpaperIdForUser() argument
97 WallpaperInfo getWallpaperInfoWithFlags(int which, int userId); in getWallpaperInfoWithFlags() argument
108 void clearWallpaper(in String callingPackage, int which, int userId); in clearWallpaper() argument
162 boolean isWallpaperBackupEligible(int which, int userId); in isWallpaperBackupEligible() argument
178 WallpaperColors getWallpaperColors(int which, int userId, int displayId); in getWallpaperColors() argument
185 int which, int userId, int displayId); in removeOnLocalColorsChangedListener() argument
[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/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperEventLogger.java180 private void logBackupSuccessInternal(@BackupRestoreDataType String which, in logBackupSuccessInternal() argument
182 mLogger.logItemsBackedUp(which, /* count */ 1); in logBackupSuccessInternal()
183 logLiveWallpaperNameIfPresent(which, liveComponentWallpaperInfo); in logBackupSuccessInternal()
184 mProcessedDataTypes.add(which); in logBackupSuccessInternal()
187 private void logBackupFailureInternal(@BackupRestoreDataType String which, in logBackupFailureInternal() argument
189 mLogger.logItemsBackupFailed(which, /* count */ 1, error); in logBackupFailureInternal()
190 mProcessedDataTypes.add(which); in logBackupFailureInternal()
193 private void logRestoreSuccessInternal(@BackupRestoreDataType String which, in logRestoreSuccessInternal() argument
195 mLogger.logItemsRestored(which, /* count */ 1); in logRestoreSuccessInternal()
196 logRestoredLiveWallpaperNameIfPresent(which, liveComponentWallpaperInfo); in logRestoreSuccessInternal()
[all …]
DWallpaperBackupAgent.java413 void updateWallpaperComponent(ComponentName wpService, boolean applyToLock, int which) in updateWallpaperComponent() argument
419 mWallpaperManager.setWallpaperComponentWithFlags(wpService, which); in updateWallpaperComponent()
420 if ((which & FLAG_LOCK) != 0) { in updateWallpaperComponent()
423 if ((which & FLAG_SYSTEM) != 0) { in updateWallpaperComponent()
442 applyComponentAtInstall(wpService, applyToLock, which); in updateWallpaperComponent()
449 private void restoreFromStage(File stage, File info, String hintTag, int which) in restoreFromStage() argument
456 Slog.i(TAG, "Got restored wallpaper; applying which=" + which in restoreFromStage()
460 which); in restoreFromStage()
463 if ((which & FLAG_SYSTEM) > 0) { in restoreFromStage()
466 if ((which & FLAG_LOCK) > 0) { in restoreFromStage()
[all …]
/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/tests/utils/src/com/android/systemui/util/
DFakeSystemUIDialogController.kt75 private fun performClick(which: Int, errorMessage: String) { in performClick()
77 .getOrElse(which) { throw IllegalAccessException(errorMessage) } in performClick()
78 .onClick(dialog, which) in performClick()
81 private fun saveListener(which: Int): Stubber = doAnswer { in <lambda>()
83 clickListeners[which] = listener in <lambda>()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java530 void notifyWallpaperColorsChanged(@NonNull WallpaperData wallpaper, int which) { in notifyWallpaperColorsChanged() argument
536 notifyWallpaperColorsChangedOnDisplay(wallpaper, which, connector.mDisplayId); in notifyWallpaperColorsChanged()
539 notifyWallpaperColorsChangedOnDisplay(wallpaper, which, DEFAULT_DISPLAY); in notifyWallpaperColorsChanged()
554 private void notifyWallpaperColorsChangedOnDisplay(@NonNull WallpaperData wallpaper, int which, in notifyWallpaperColorsChangedOnDisplay() argument
569 Slog.v(TAG, "notifyWallpaperColorsChangedOnDisplay " + which); in notifyWallpaperColorsChangedOnDisplay()
578 notifyColorListeners(getAdjustedWallpaperColorsOnDimming(wallpaper), which, in notifyWallpaperColorsChangedOnDisplay() local
586 private void notifyColorListeners(@NonNull WallpaperColors wallpaperColors, int which, in notifyColorListeners() argument
617 colorListeners.get(i).onWallpaperColorsChanged(wallpaperColors, which, userId); in notifyColorListeners()
628 keyguardListener.onWallpaperColorsChanged(wallpaperColors, which, userId); in notifyColorListeners()
1005 int which = mIsLockscreenLiveWallpaperEnabled ? mWallpaper.mWhich : FLAG_SYSTEM;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResetOrExitSessionReceiver.java175 public void onClick(DialogInterface dialog, int which) { in onClick() argument
176 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
179 } else if (which == DialogInterface.BUTTON_NEUTRAL) { in onClick()
244 public void onClick(DialogInterface dialog, int which) { in onClick() argument
246 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
250 } else if (which == DialogInterface.BUTTON_NEUTRAL) { in onClick()
255 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
259 } else if (which == DialogInterface.BUTTON_NEGATIVE) { in onClick()
262 } else if (which == DialogInterface.BUTTON_NEUTRAL) { in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/dialog/
DExitGuestDialog.kt49 override fun onClick(dialog: DialogInterface, which: Int) { in onClick()
51 if (which == BUTTON_NEGATIVE) { in onClick()
61 if (which == BUTTON_POSITIVE) { in onClick()
66 } else if (which == BUTTON_NEGATIVE) { in onClick()
71 when (which) { in onClick()
DAddUserDialog.kt44 override fun onClick(dialog: DialogInterface, which: Int) { in onClick()
46 if (which == BUTTON_NEGATIVE) { in onClick()
55 if (which == BUTTON_NEUTRAL) { in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/
DSysuiColorExtractor.java102 public void onColorsChanged(WallpaperColors colors, int which, int userId) { in onColorsChanged() argument
107 if ((which & WallpaperManager.FLAG_LOCK) != 0) { in onColorsChanged()
110 super.onColorsChanged(colors, which); in onColorsChanged()
120 public GradientColors getColors(int which, int type) { in getColors() argument
121 if (mHasMediaArtwork && (which & WallpaperManager.FLAG_LOCK) != 0) { in getColors()
124 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/base/packages/SettingsLib/src/com/android/settingslib/
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()
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()
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/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/services/tests/servicestests/src/com/android/server/power/stats/
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/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/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/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()

12345678910>>...31