Home
last modified time | relevance | path

Searched refs:usage (Results 1 – 25 of 115) sorted by relevance

12345

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/
DEncoderUtil.java194 public static String encodeIfNecessary(String text, Usage usage, in encodeIfNecessary() argument
197 return encodeEncodedWord(text, usage, usedCharacters); in encodeIfNecessary()
268 public static String encodeEncodedWord(String text, Usage usage) { in encodeEncodedWord() argument
269 return encodeEncodedWord(text, usage, 0, null, null); in encodeEncodedWord()
291 public static String encodeEncodedWord(String text, Usage usage, in encodeEncodedWord() argument
293 return encodeEncodedWord(text, usage, usedCharacters, null, null); in encodeEncodedWord()
320 public static String encodeEncodedWord(String text, Usage usage, in encodeEncodedWord() argument
339 encoding = determineEncoding(bytes, usage); in encodeEncodedWord()
346 return encodeQ(prefix, text, usage, usedCharacters, charset, bytes); in encodeEncodedWord()
401 public static String encodeQ(byte[] bytes, Usage usage) { in encodeQ() argument
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeSettingsRingtoneManager.java54 public void playAudioFeedback(int group, int usage) { in playAudioFeedback() argument
55 Ringtone nextRingtone = lazyLoadRingtone(group, usage); in playAudioFeedback()
80 private Ringtone lazyLoadRingtone(int group, int usage) { in lazyLoadRingtone() argument
82 Ringtone ringtone = RingtoneManager.getRingtone(mContext, getRingtoneUri(usage)); in lazyLoadRingtone()
83 ringtone.setAudioAttributes(new AudioAttributes.Builder().setUsage(usage).build()); in lazyLoadRingtone()
90 private Uri getRingtoneUri(@AudioAttributes.AttributeUsage int usage) { in getRingtoneUri() argument
91 switch (usage) { in getRingtoneUri()
DVolumeItemParser.java77 int usage = item.getInt(R.styleable.carVolumeItems_item_usage, -1); in loadAudioUsageItems() local
78 if (usage >= 0) { in loadAudioUsageItems()
79 volumeItems.put(usage, new VolumeItemParser.VolumeItem( in loadAudioUsageItems()
80 usage, rank, in loadAudioUsageItems()
107 public VolumeItem(@AudioAttributes.AttributeUsage int usage, int rank, in VolumeItem() argument
109 mUsage = usage; in VolumeItem()
DVolumeSettingsPreferenceController.java140 int volumeGroupId, int usage, @DrawableRes int iconResId, in createVolumeSeekBarPreference() argument
158 bundle.putInt(VOLUME_USAGE_KEY, usage); in createVolumeSeekBarPreference()
191 for (int usage : usages) { in getVolumeItemForUsages()
192 VolumeItem volumeItem = mVolumeItems.get(usage); in getVolumeItemForUsages()
/packages/apps/Settings/src/com/android/settings/
DSettingsDumpService.java112 final JSONObject usage = dumpDataUsage(mobileAll, controller); in dumpDataUsage() local
113 usage.put("subId", info.getSubscriptionId()); in dumpDataUsage()
114 array.put(usage); in dumpDataUsage()
130 DataUsageController.DataUsageInfo usage = controller.getDataUsageInfo(template); in dumpDataUsage() local
131 obj.put("carrier", usage.carrier); in dumpDataUsage()
132 obj.put("start", usage.startDate); in dumpDataUsage()
133 obj.put("usage", usage.usageLevel); in dumpDataUsage()
134 obj.put("warning", usage.warningLevel); in dumpDataUsage()
135 obj.put("limit", usage.limitLevel); in dumpDataUsage()
DUsageStatsActivity.java20 import android.app.usage.UsageStats;
21 import android.app.usage.UsageStatsManager;
123 final android.app.usage.UsageStats pkgStats = stats.get(i); in UsageStatsAdapter()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsDumpService.java112 final JSONObject usage = dumpDataUsage(mobileAll, controller); in dumpDataUsage() local
113 usage.put("subId", info.getSubscriptionId()); in dumpDataUsage()
114 array.put(usage); in dumpDataUsage()
130 DataUsageController.DataUsageInfo usage = controller.getDataUsageInfo(template); in dumpDataUsage() local
131 obj.put("carrier", usage.carrier); in dumpDataUsage()
132 obj.put("start", usage.startDate); in dumpDataUsage()
133 obj.put("usage", usage.usageLevel); in dumpDataUsage()
134 obj.put("warning", usage.warningLevel); in dumpDataUsage()
135 obj.put("limit", usage.limitLevel); in dumpDataUsage()
DUsageStatsActivity.java20 import android.app.usage.UsageStats;
21 import android.app.usage.UsageStatsManager;
123 final android.app.usage.UsageStats pkgStats = stats.get(i); in UsageStatsAdapter()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DInactiveApps.java19 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_ACTIVE;
20 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_EXEMPTED;
21 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;
22 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_NEVER;
23 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;
24 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_WORKING_SET;
27 import android.app.usage.UsageStatsManager;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DInactiveApps.java19 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_ACTIVE;
20 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_EXEMPTED;
21 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;
22 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_NEVER;
23 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;
24 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_WORKING_SET;
27 import android.app.usage.UsageStatsManager;
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java128 final int usage = getSuggestedAudioUsage();
131 + " suggested usage: " + AudioAttributes.usageToString(usage));
134 final int groupId = getVolumeGroupIdForUsage(zoneId, usage);
600 @AudioAttributes.AttributeUsage int usage, int gainInMillibels) { in createAudioPatch() argument
603 return createAudioPatchLocked(sourceAddress, usage, gainInMillibels); in createAudioPatch()
616 @AudioAttributes.AttributeUsage int usage, int gainInMillibels) { in createAudioPatchLocked() argument
631 AudioDevicePort sinkPort = Preconditions.checkNotNull(getAudioPort(usage), in createAudioPatchLocked()
632 "Sink not available for usage: " + AudioAttributes.usageToString(usage)); in createAudioPatchLocked()
670 int groupId = getVolumeGroupIdForUsage(CarAudioManager.PRIMARY_AUDIO_ZONE, usage); in createAudioPatchLocked()
719 public int getVolumeGroupIdForUsage(int zoneId, @AudioAttributes.AttributeUsage int usage) { in getVolumeGroupIdForUsage() argument
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/
Ddbregtest.cpp46 void usage(string name) { in usage() function
104 usage(argv[0]); in main()
348 usage(progname); in parse_cmd_line()
373 usage(progname); in parse_cmd_line()
382 usage(progname); in parse_cmd_line()
395 usage(progname); in parse_cmd_line()
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java329 @AudioAttributes.AttributeUsage int usage, int gainInMillibels) { in createAudioPatch() argument
331 return mService.createAudioPatch(sourceAddress, usage, gainInMillibels); in createAudioPatch()
394 public int getVolumeGroupIdForUsage(@AudioAttributes.AttributeUsage int usage) { in getVolumeGroupIdForUsage() argument
395 return getVolumeGroupIdForUsage(PRIMARY_AUDIO_ZONE, usage); in getVolumeGroupIdForUsage()
408 public int getVolumeGroupIdForUsage(int zoneId, @AudioAttributes.AttributeUsage int usage) { in getVolumeGroupIdForUsage() argument
410 return mService.getVolumeGroupIdForUsage(zoneId, usage); in getVolumeGroupIdForUsage()
DICarAudio.aidl38 CarAudioPatchHandle createAudioPatch(in String sourceAddress, int usage, int gainInMillibels); in createAudioPatch() argument
42 int getVolumeGroupIdForUsage(int zoneId, int usage); in getVolumeGroupIdForUsage() argument
/packages/inputmethods/LatinIME/native/jni/
Drun-tests.sh16 function usage() { function
26 usage
47 usage
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DMakeKeyboardText.java30 public static void usage(String message) { in usage() method in MakeKeyboardText.Options
48 usage("Unknown option: " + arg); in Options()
52 usage("Option " + arg + " needs argument"); in Options()
/packages/services/Telecomm/scripts/
Dtelecom_testing.sh2 usage="
29 echo "$usage"
32 echo "$usage"
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryTest.java31 import android.app.usage.NetworkStatsManager;
106 final long usage = 2147483648L; // 2GB in formatUsage_shouldLookLikeFormatFileSize() local
108 DataUsageSummary.formatUsage(mContext, "^1", usage).toString(); in formatUsage_shouldLookLikeFormatFileSize()
109 final CharSequence formattedInIECUnit = DataUsageUtils.formatDataUsage(mContext, usage); in formatUsage_shouldLookLikeFormatFileSize()
/packages/apps/Messaging/tools/
Dbuglesql16 usage='buglesql [-c] [-r] sql
39 echo "$usage"
Dmmssql16 usage='mmssql [-c] [-r] sql
39 echo "$usage"
/packages/inputmethods/LatinIME/native/dicttoolkit/
Ddict_toolkit_main.cpp22 void usage(int argc, char **argv) { in usage() function
28 usage(argc, argv); in main()
/packages/apps/Launcher3/
Dfill_screens.py26 def usage(): function
87 usage()
/packages/apps/Settings/tests/uitests/assets/
Dsearch_results_list40 App data usage cycle;billing_cycle
86 Battery usage;power_usage_advanced_screen
87 Battery usage since full charge;app_list
140 Data usage;data_usage_screen
331 Mobile data usage;cellular_data_usage
450 Screen usage since full charge;screen_usage
605 Wi-Fi data usage;wifi_data_usage
/packages/services/Car/evs/app/
DRenderPixelCopy.cpp67 tgtBuffer.width, tgtBuffer.height, tgtBuffer.format, 1, tgtBuffer.usage, in drawFrame()
87 srcBuffer.width, srcBuffer.height, srcBuffer.format, 1, srcBuffer.usage, in drawFrame()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DMigrateEstimateTask.java21 import android.app.usage.ExternalStorageStats;
22 import android.app.usage.StorageStatsManager;

12345