Home
last modified time | relevance | path

Searched defs:usage (Results 1 – 25 of 120) sorted by relevance

12345

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
H A DPrivacyDialogControllerV2Test.kt192 val usage = createMockPermGroupUsage() regex
205 val usage = createMockPermGroupUsage() regex
218 val usage = createMockPermGroupUsage() regex
238 val usage = createMockPermGroupUsage() regex
255 val usage = createMockPermGroupUsage() regex
269 val usage = createMockPermGroupUsage() regex
279 val usage = createMockPermGroupUsage( regex
641 val usage = regex
661 val usage = createMockPermGroupUsage( regex
680 val usage = createMockPermGroupUsage( regex
[all …]
H A DPrivacyDialogControllerTest.kt177 val usage = createMockPermGroupUsage() regex
190 val usage = createMockPermGroupUsage() regex
209 val usage = createMockPermGroupUsage() regex
226 val usage = createMockPermGroupUsage() regex
240 val usage = createMockPermGroupUsage() regex
250 val usage = createMockPermGroupUsage( regex
514 val usage = createMockPermGroupUsage() regex
620 val usage = createMockPermGroupUsage( regex
656 val usage = createMockPermGroupUsage( regex
683 val usage = createMockPermGroupUsage( regex
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/appop/
H A DAudioRestrictionManager.java51 audioMutedUsages.append(usage, true); in audioMutedUsages.append() argument
52 vibrationMutedUsages.append(usage, true); in vibrationMutedUsages.append() argument
70 public int checkAudioOperation(int code, int usage, int uid, String packageName) { in checkAudioOperation()
94 private int checkZenModeRestrictionLocked(int code, int usage, int uid, String packageName) { in checkZenModeRestrictionLocked()
105 public void setZenModeAudioRestriction(int code, int usage, int uid, int mode, in setZenModeAudioRestriction()
162 final int usage = restrictions.keyAt(i); in dump() local
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibrationSettingsTest.java769 private void assertVibrationIgnoredForUsage(@VibrationAttributes.Usage int usage, in assertVibrationIgnoredForUsage()
774 private void assertVibrationIgnoredForUsageAndDisplay(@VibrationAttributes.Usage int usage, in assertVibrationIgnoredForUsageAndDisplay()
782 private void assertVibrationNotIgnoredForUsage(@VibrationAttributes.Usage int usage) { in assertVibrationNotIgnoredForUsage()
786 private void assertVibrationNotIgnoredForUsageAndFlags(@VibrationAttributes.Usage int usage, in assertVibrationNotIgnoredForUsageAndFlags()
791 private void assertVibrationNotIgnoredForUsageAndDisplay(@VibrationAttributes.Usage int usage, in assertVibrationNotIgnoredForUsageAndDisplay()
796 private void assertVibrationNotIgnoredForUsageAndFlagsAndDisplay( in assertVibrationNotIgnoredForUsageAndFlagsAndDisplay()
807 private String errorMessageForUsage(int usage) { in errorMessageForUsage()
815 private void setDefaultIntensity(@VibrationAttributes.Usage int usage, in setDefaultIntensity()
847 @VibrationAttributes.Usage int usage) { in createCallerInfo()
/aosp14/frameworks/base/core/java/android/os/
H A DVibrationAttributes.java210 public static @NonNull VibrationAttributes createForUsage(@Usage int usage) { in createForUsage()
218 private VibrationAttributes(@Usage int usage, @AudioAttributes.AttributeUsage int audioUsage, in VibrationAttributes()
351 public static String usageToString(@Usage int usage) { in usageToString()
475 public @NonNull Builder setUsage(@Usage int usage) { in setUsage()
/aosp14/system/core/libsparse/
H A Dsimg_dump.py26 def usage(argv0): function
H A Dsimg2img.cpp32 void usage() { in usage() function
/aosp14/frameworks/base/core/jni/include/android_runtime/
H A Dandroid_hardware_HardwareBuffer.h45 uint64_t* outProducerUsage, uint64_t* outConsumerUsage, uint64_t usage, uint64_t) { in android_hardware_HardwareBuffer_convertToGrallocUsageBits() argument
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DNetworkCycleDataForUidLoader.java59 final long usage = getTotalUsage(stats); in recordUsage() local
/aosp14/frameworks/base/core/java/android/hardware/
H A DHardwareBuffer.java190 @Format int format, @IntRange(from = 1) int layers, @Usage long usage) { in create()
225 @Format int format, @IntRange(from = 1) int layers, @Usage long usage) { in isSupported()
415 long usage); in nCreateHardwareBuffer()
431 long usage); in nIsSupported()
/aosp14/frameworks/base/tools/obbtool/
H A Dmkobb.sh148 usage() { function
/aosp14/system/core/libprocessgroup/tools/
H A Dsettaskprofile.cpp23 [[noreturn]] static void usage(int exit_status) { in usage() function
/aosp14/frameworks/base/media/java/android/media/
H A DAudioPlaybackCaptureConfiguration.java179 public @NonNull Builder addMatchingUsage(@AttributeUsage int usage) { in addMatchingUsage()
213 public @NonNull Builder excludeUsage(@AttributeUsage int usage) { in excludeUsage()
/aosp14/frameworks/base/tools/xmlpersistence/src/main/kotlin/
H A DMain.kt43 private fun usage() { regex
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DGraphicBuffer.java80 public static GraphicBuffer create(int width, int height, int format, int usage) { in create()
92 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { in GraphicBuffer()
298 private static native long nCreateGraphicBuffer(int width, int height, int format, int usage); in nCreateGraphicBuffer()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
H A DNotificationMemoryLoggerTest.kt142 val usage = getPresetMemoryUsages() regex
188 val usage = getPresetMemoryUsages() regex
224 val usage = getPresetMemoryUsages() regex
/aosp14/system/core/libgrallocusage/
H A DGrallocUsageConversion.cpp22 void android_convertGralloc0To1Usage(int32_t usage, uint64_t* producerUsage, in android_convertGralloc0To1Usage()
/aosp14/frameworks/base/libs/usb/tests/accessorytest/
H A Daccessory.c24 static void usage(char* name) { in usage() function
/aosp14/system/core/debuggerd/
H A Dpbtombstone.cpp29 [[noreturn]] void usage(bool error) { in usage() function
H A Ddebuggerd.cpp36 static void usage(int exit_code) { in usage() function
/aosp14/frameworks/base/core/java/android/permission/
H A DPermissionUsageHelper.java355 OpUsage usage = usagesWithLabels.keyAt(usageNum); in getOpUsageData() local
514 OpUsage usage = new OpUsage(packageName, attributionTag, op, uid, in getOpUsages() local
568 OpUsage usage = usages.get(i); in getUniqueUsagesWithLabels() local
569 allUsages.put(usage.getPackageIdHash(), usage); in getUniqueUsagesWithLabels() local
571 proxies.put(usage.proxy.getPackageIdHash(), usage); in getUniqueUsagesWithLabels() local
577 OpUsage usage = usages.get(usageNum); in getUniqueUsagesWithLabels() local
767 public final OpUsage usage; field in PermissionUsageHelper.AccessChainLink
/aosp14/frameworks/base/cmds/incident_helper/src/
H A Dmain.cpp37 static void usage(FILE* out) { in usage() function
/aosp14/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
H A DMain.kt69 fun usage() { regex
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DAppBatteryTracker.java409 final BatteryUsage usage = mUidBatteryUsage.get(uid); in getUidBatteryUsage() local
640 final ImmutableBatteryUsage usage = mUidBatteryUsageInWindow.valueAt(i); in updateBatteryUsageStatsOnce() local
847 final BatteryUsage usage = uidConsumers.get(uid); in dumpAsProto() local
854 final BatteryUsage usage = uidConsumers.valueAt(i); in dumpAsProto() local
861 private void dumpUidStats(ProtoOutputStream proto, int uid, BatteryUsage usage) { in dumpUidStats()
936 BatteryUsage(@NonNull double[] usage) { in BatteryUsage()
1086 private static String formatBatteryUsage(double[] usage) { in formatBatteryUsage()
1124 ImmutableBatteryUsage(@NonNull double[] usage) { in ImmutableBatteryUsage()
1785 double[] calcPercentage(final int uid, final double[] usage, double[] percentage) { in calcPercentage()
1839 void handleUidBatteryUsage(final int uid, final ImmutableBatteryUsage usage) { in handleUidBatteryUsage()
[all …]
/aosp14/frameworks/base/tools/aapt/
H A DMain.cpp57 void usage(void) in usage() function

12345