Home
last modified time | relevance | path

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

12345678910>>...94

/aosp12/system/logging/liblog/
H A Devent_tag_map.cpp64 for (size_t which = 0; which < NUM_MAPS; ++which) { in ~EventTagMap() local
66 munmap(mapAddr[which], mapLen[which]); in ~EventTagMap()
286 size_t which; in android_openEventTagMap() local
291 for (which = 0; which < NUM_MAPS; ++which) { in android_openEventTagMap()
296 if (!which) { in android_openEventTagMap()
304 end[which] = lseek(fd[which], 0L, SEEK_END); in android_openEventTagMap()
321 for (which = 0; which < NUM_MAPS; ++which) { in android_openEventTagMap()
325 which ? MAP_SHARED : MAP_PRIVATE, fd[which], 0); in android_openEventTagMap()
331 newTagMap->mapLen[which] = end[which]; in android_openEventTagMap()
342 for (which = 0; which < NUM_MAPS; ++which) { in android_openEventTagMap()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DFakeUid.java157 public int getWifiScanCount(int which) { in getWifiScanCount() argument
167 public int getWifiScanBackgroundCount(int which) { in getWifiScanBackgroundCount() argument
256 public int getUserActivityCount(int type, int which) { in getUserActivityCount() argument
276 public long getMobileRadioActiveTime(int which) { in getMobileRadioActiveTime() argument
281 public int getMobileRadioActiveCount(int which) { in getMobileRadioActiveCount() argument
286 public long getUserCpuTimeUs(int which) { in getUserCpuTimeUs() argument
291 public long getSystemCpuTimeUs(int which) { in getSystemCpuTimeUs() argument
346 public long getWifiRadioApWakeupCount(int which) { in getWifiRadioApWakeupCount() argument
394 public long getMobileRadioApWakeupCount(int which) { in getMobileRadioApWakeupCount() argument
399 public long[] getCpuFreqTimes(int which) { in getCpuFreqTimes() argument
[all …]
H A DBatteryUtils.java109 int which) { in getProcessTimeMs() argument
116 return getScreenUsageTimeMs(uid, which); in getProcessTimeMs()
118 return getProcessForegroundTimeMs(uid, which); in getProcessTimeMs()
120 return getProcessBackgroundTimeMs(uid, which); in getProcessTimeMs()
122 return getProcessForegroundTimeMs(uid, which) in getProcessTimeMs()
123 + getProcessBackgroundTimeMs(uid, which); in getProcessTimeMs()
146 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which) { in getScreenUsageTimeMs() argument
148 return getScreenUsageTimeMs(uid, which, rawRealTimeUs); in getScreenUsageTimeMs()
151 private long getProcessBackgroundTimeMs(BatteryStats.Uid uid, int which) { in getProcessBackgroundTimeMs() argument
161 private long getProcessForegroundTimeMs(BatteryStats.Uid uid, int which) { in getProcessForegroundTimeMs() argument
[all …]
/aosp12/frameworks/base/core/java/android/os/
H A DBatteryStats.java2831 @StatName int which); in getWifiSupplStateTime() argument
3927 which); in dumpCheckinLocked()
4277 which); in dumpCheckinLocked()
4279 which); in dumpCheckinLocked()
4283 which); in dumpCheckinLocked()
4285 which); in dumpCheckinLocked()
4287 which); in dumpCheckinLocked()
4289 which); in dumpCheckinLocked()
4709 which); in dumpLocked()
5381 which); in dumpLocked()
[all …]
H A DDebug.java467 public int getOtherPss(int which) { in getOtherPss() argument
472 public int getOtherSwappablePss(int which) { in getOtherSwappablePss() argument
477 public int getOtherRss(int which) { in getOtherRss() argument
483 public int getOtherPrivateDirty(int which) { in getOtherPrivateDirty() argument
489 public int getOtherSharedDirty(int which) { in getOtherSharedDirty() argument
494 public int getOtherPrivateClean(int which) { in getOtherPrivateClean() argument
500 public int getOtherPrivate(int which) { in getOtherPrivate() argument
501 return getOtherPrivateClean(which) + getOtherPrivateDirty(which); in getOtherPrivate()
505 public int getOtherSharedClean(int which) { in getOtherSharedClean() argument
510 public int getOtherSwappedOut(int which) { in getOtherSwappedOut() argument
[all …]
/aosp12/art/test/054-uncaught/src/
H A DMain.java29 private static void testThread(int which) { in testThread() argument
30 Thread t = new Helper(which); in testThread()
40 static void catchTheUncaught(int which) { in catchTheUncaught() argument
44 System.out.println("Test " + which); in catchTheUncaught()
45 switch (which) { in catchTheUncaught()
67 private int which; field in Main.Helper
69 public Helper(int which) { in Helper() argument
70 this.which = which; in Helper()
74 catchTheUncaught(which); in run()
/aosp12/frameworks/base/core/java/com/android/internal/colorextraction/
H A DColorExtractor.java69 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()
162 if (which == WallpaperManager.FLAG_LOCK) { in getWallpaperColors()
177 if ((which & WallpaperManager.FLAG_LOCK) != 0) { in onColorsChanged()
193 triggerColorsChanged(which); in onColorsChanged()
197 protected void triggerColorsChanged(int which) { in triggerColorsChanged() argument
[all …]
/aosp12/frameworks/base/core/java/android/app/
H A DDisabledWallpaperManager.java93 public Drawable getBuiltInDrawable(int which) { in getBuiltInDrawable() argument
140 public ParcelFileDescriptor getWallpaperFile(int which) { in getWallpaperFile() argument
166 public WallpaperColors getWallpaperColors(int which) { in getWallpaperColors() argument
196 public int getWallpaperId(int which) { in getWallpaperId() argument
201 public int getWallpaperIdForUser(int which, int userId) { in getWallpaperIdForUser() argument
216 public int setResource(int resid, int which) throws IOException { in setResource() argument
261 int which) throws IOException { in setStream() argument
302 public void clearWallpaper(int which, int userId) { in clearWallpaper() argument
343 public void clear(int which) throws IOException { in clear() argument
348 public boolean isWallpaperBackupEligible(int which) { in isWallpaperBackupEligible() argument
[all …]
H A DWallpaperManager.java521 if (which != FLAG_LOCK && which != FLAG_SYSTEM) { in getWallpaperColors()
811 return getBuiltInDrawable(0, 0, false, 0, 0, which); in getBuiltInDrawable()
857 if (which != FLAG_SYSTEM && which != FLAG_LOCK) { in getBuiltInDrawable()
1079 public boolean wallpaperSupportsWcg(int which) { in wallpaperSupportsWcg() argument
1281 if (which != FLAG_SYSTEM && which != FLAG_LOCK) { in getWallpaperFile()
1616 result, which, completion, userId); in setBitmap()
2190 if ((which & FLAG_SYSTEM) != 0) { in clear()
2193 if ((which & FLAG_LOCK) != 0) { in clear()
2210 if (which == FLAG_LOCK) { in openDefaultWallpaper()
2318 public boolean isWallpaperBackupEligible(int which) { in isWallpaperBackupEligible() argument
[all …]
H A DIWallpaperManager.aidl49 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
/aosp12/system/nvram/messages/tests/
H A Dnvram_messages_test.cpp44 EXPECT_EQ(COMMAND_GET_INFO, decoded.payload.which()); in TEST()
69 EXPECT_EQ(COMMAND_GET_INFO, decoded.payload.which()); in TEST()
101 EXPECT_EQ(COMMAND_CREATE_SPACE, decoded.payload.which()); in TEST()
126 EXPECT_EQ(COMMAND_CREATE_SPACE, decoded.payload.which()); in TEST()
139 EXPECT_EQ(COMMAND_GET_SPACE_INFO, decoded.payload.which()); in TEST()
189 EXPECT_EQ(COMMAND_DELETE_SPACE, decoded.payload.which()); in TEST()
210 EXPECT_EQ(COMMAND_DELETE_SPACE, decoded.payload.which()); in TEST()
252 EXPECT_EQ(COMMAND_WRITE_SPACE, decoded.payload.which()); in TEST()
276 EXPECT_EQ(COMMAND_WRITE_SPACE, decoded.payload.which()); in TEST()
292 EXPECT_EQ(COMMAND_READ_SPACE, decoded.payload.which()); in TEST()
[all …]
/aosp12/system/core/libcutils/
H A Dfs_config.cpp242 static int fs_config_open(int dir, int which, const char* target_out_path) { in fs_config_open() argument
253 if (asprintf(&name, "%.*s%s", (int)len, target_out_path, conf[which][dir]) != -1) { in fs_config_open()
259 fd = TEMP_FAILURE_RETRY(open(conf[which][dir], O_RDONLY | O_BINARY)); in fs_config_open()
322 size_t which, plen; in fs_config() local
330 for (which = 0; which < (sizeof(conf) / sizeof(conf[0])); ++which) { in fs_config()
333 int fd = fs_config_open(dir, which, target_out_path); in fs_config()
341 ALOGE("%s len is corrupted", conf[which][dir]); in fs_config()
346 ALOGE("%s out of memory", conf[which][dir]); in fs_config()
351 ALOGE("%s prefix is truncated", conf[which][dir]); in fs_config()
357 ALOGE("%s is corrupted", conf[which][dir]); in fs_config()
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/
H A DAlertDialogBuilderTest.java95 .setPositiveButton(R.string.positive, (d, which) -> {}) in test_simplePropertiesWithResources_work()
96 .setNegativeButton(R.string.negative, (d, which) -> {}) in test_simplePropertiesWithResources_work()
97 .setNeutralButton(R.string.neutral, (d, which) -> {}) in test_simplePropertiesWithResources_work()
128 .setPositiveButton("Positive!!", (d, which) -> {}) in test_simplePropertiesWithStrings_work()
129 .setNegativeButton("Negative!!", (d, which) -> {}) in test_simplePropertiesWithStrings_work()
130 .setNeutralButton("Neutral!!", (d, which) -> {}) in test_simplePropertiesWithStrings_work()
158 .setCursor(cursor, (d, which) -> {}, "items") in test_setCursor_works()
202 (dialog, which) -> {})); in test_showSingleListChoiceItem_StringArray_hidesDefaultButton()
286 (dialog, which, isChecked) -> {})); in test_multichoiceItems_StringArrayResource_forcesDefaultButton()
296 (dialog, which, isChecked) -> {})); in test_multichoiceItems_StringArray_forcesDefaultButton()
[all …]
/aosp12/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`
/aosp12/bionic/libc/kernel/uapi/linux/
H A Dv4l2-subdev.h30 __u32 which; member
36 __u32 which; member
50 __u32 which; member
62 __u32 which; member
77 __u32 which; member
81 __u32 which; member
/aosp12/hardware/interfaces/wifi/1.3/
H A Dtypes.hal30 * Total time for which the radio is awake on this channel.
34 * Total time for which CCA is held busy on this channel.
46 * Total time for which the radio is awake due to NAN scan since boot or crash.
51 * Total time for which the radio is awake due to background scan since boot or crash.
56 * Total time for which the radio is awake due to roam scan since boot or crash.
61 * Total time for which the radio is awake due to PNO scan since boot or crash.
66 * Total time for which the radio is awake due to Hotspot 2.0 scans and GAS exchange since boot
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/alertdialog/
H A DAlertDialogTestFragment.java62 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()
/aosp12/art/test/047-returns/src/
H A DMain.java35 public static Runnable pickOne(int which) { in pickOne() argument
38 if (which == 1) in pickOne()
40 else if (which == 2) in pickOne()
42 else if (which == 3) in pickOne()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/
H A DSysuiColorExtractor.java103 public void onColorsChanged(WallpaperColors colors, int which, int userId) { in onColorsChanged() argument
108 if ((which & WallpaperManager.FLAG_LOCK) != 0) { in onColorsChanged()
111 super.onColorsChanged(colors, which); in onColorsChanged()
121 public GradientColors getColors(int which, int type) { in getColors() argument
122 if (mHasMediaArtwork && (which & WallpaperManager.FLAG_LOCK) != 0) { in getColors()
125 return super.getColors(which, type); in getColors()
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DRestrictedListPreference.java238 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()
H A DCustomListPreference.java107 public void onClick(DialogInterface dialog, int which) { in onPrepareDialogBuilder()
140 public void onClick(DialogInterface dialog, int which) { in getOnItemClickListener()
141 setClickedDialogEntryIndex(which); in getOnItemClickListener()
149 protected void setClickedDialogEntryIndex(int which) { in setClickedDialogEntryIndex() argument
150 mClickedDialogEntryIndex = which; in setClickedDialogEntryIndex()
212 public void onClick(DialogInterface dialog, int which) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A 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()
/aosp12/system/sepolicy/prebuilts/api/26.0/private/
H A Ddexoptanalyzer.te5 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
6 # Use tmpfs_domain() which will give tmpfs files created by dexoptanalyzer their
7 # own label, which differs from other labels created by other processes.
25 # Allow testing /data/user/0 which symlinks to /data/data
/aosp12/system/update_engine/
H A Dpylintrc116 # note). You have access to the variables errors warning, statement which
148 # List of module names for which member attributes should not be checked
278 # Regular expression which should only match correct function names.
286 # Regular expression which should only match correct variable names
292 # Regular expression which should only match correct module level names
304 # Regular expression which should only match correct argument names
310 # Regular expression which should only match correct class attribute
323 # Regular expression which should only match correct class names
329 # Regular expression which should only match correct module names. The
337 # Regular expression which should only match correct method names.
[all …]
/aosp12/bionic/libc/bionic/
H A Dwait.cpp32 extern "C" int __waitid(idtype_t which, id_t id, siginfo_t* info, int options, struct rusage* ru);
42 int waitid(idtype_t which, id_t id, siginfo_t* info, int options) { in waitid() argument
44 return __waitid(which, id, info, options, nullptr); in waitid()

12345678910>>...94