/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | VolumeSettingsRingtoneManager.java | 72 @AudioAttributes.AttributeUsage int usage = audioAttributeUsages[i]; in populateAttributeUsageToRingtoneUriMap() local 73 if (AudioAttributes.usageToString(usage).contains("unknown usage")) { in populateAttributeUsageToRingtoneUriMap() 78 LOG.d("Usage " + usage + " mapped to ringtone " + ringtoneUri); in populateAttributeUsageToRingtoneUriMap() 79 mAttributeUsageToRingtoneUriMap.put(usage, ringtoneUri); in populateAttributeUsageToRingtoneUriMap() 87 public void playAudioFeedback(int group, int usage) { in playAudioFeedback() argument 88 Ringtone nextRingtone = lazyLoadRingtone(group, usage); in playAudioFeedback() 113 private Ringtone lazyLoadRingtone(int group, int usage) { in lazyLoadRingtone() argument 115 Ringtone ringtone = RingtoneManager.getRingtone(mContext, getRingtoneUri(usage)); in lazyLoadRingtone() 116 ringtone.setAudioAttributes(new AudioAttributes.Builder().setUsage(usage).build()); in lazyLoadRingtone() 124 Uri getRingtoneUri(@AudioAttributes.AttributeUsage int usage) { in getRingtoneUri() argument [all …]
|
D | VolumeItemParser.java | 77 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()
|
D | VolumeSettingsPreferenceController.java | 140 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/ |
D | SettingsDumpService.java | 114 final JSONObject usage = dumpDataUsage(mobileAll, controller); in dumpDataUsage() local 115 usage.put("subId", info.getSubscriptionId()); in dumpDataUsage() 116 array.put(usage); in dumpDataUsage() 132 DataUsageController.DataUsageInfo usage = controller.getDataUsageInfo(template); in dumpDataUsage() local 133 obj.put("carrier", usage.carrier); in dumpDataUsage() 134 obj.put("start", usage.startDate); in dumpDataUsage() 135 obj.put("usage", usage.usageLevel); in dumpDataUsage() 136 obj.put("warning", usage.warningLevel); in dumpDataUsage() 137 obj.put("limit", usage.limitLevel); in dumpDataUsage()
|
D | UsageStatsActivity.java | 20 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/ |
D | SettingsDumpService.java | 112 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()
|
D | UsageStatsActivity.java | 20 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/fuelgauge/ |
D | InactiveApps.java | 19 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/apps/Settings/src/com/android/settings/fuelgauge/ |
D | InactiveApps.java | 19 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/ |
D | CarAudioService.java | 128 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/ |
D | dbregtest.cpp | 46 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/ |
D | CarAudioManager.java | 328 @AudioAttributes.AttributeUsage int usage, int gainInMillibels) { in createAudioPatch() argument 330 return mService.createAudioPatch(sourceAddress, usage, gainInMillibels); in createAudioPatch() 393 public int getVolumeGroupIdForUsage(@AudioAttributes.AttributeUsage int usage) { in getVolumeGroupIdForUsage() argument 394 return getVolumeGroupIdForUsage(PRIMARY_AUDIO_ZONE, usage); in getVolumeGroupIdForUsage() 407 public int getVolumeGroupIdForUsage(int zoneId, @AudioAttributes.AttributeUsage int usage) { in getVolumeGroupIdForUsage() argument 409 return mService.getVolumeGroupIdForUsage(zoneId, usage); in getVolumeGroupIdForUsage()
|
D | ICarAudio.aidl | 38 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/ |
D | run-tests.sh | 16 function usage() { function 26 usage 47 usage
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
D | MakeKeyboardText.java | 30 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/ |
D | telecom_testing.sh | 2 usage=" 29 echo "$usage" 32 echo "$usage"
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageSummaryTest.java | 31 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/Car/Settings/tests/robotests/src/com/android/car/settings/sound/ |
D | VolumeSettingsRingtoneManagerTest.java | 100 @AttributeUsage int usage = USAGE_MEDIA; in getRingtoneUri_usesConfigValuesForUsageRingtoneMapping() local 102 setResources(new int[] {usage}, new String[] {ringtoneValue}); in getRingtoneUri_usesConfigValuesForUsageRingtoneMapping() 105 Uri ringtoneUri = mRingtoneManager.getRingtoneUri(usage); in getRingtoneUri_usesConfigValuesForUsageRingtoneMapping()
|
/packages/apps/Messaging/tools/ |
D | buglesql | 16 usage='buglesql [-c] [-r] sql 39 echo "$usage"
|
D | mmssql | 16 usage='mmssql [-c] [-r] sql 39 echo "$usage"
|
/packages/inputmethods/LatinIME/native/dicttoolkit/ |
D | dict_toolkit_main.cpp | 22 void usage(int argc, char **argv) { in usage() function 28 usage(argc, argv); in main()
|
/packages/apps/Launcher3/ |
D | fill_screens.py | 26 def usage(): function 87 usage()
|
/packages/apps/Settings/tests/uitests/assets/ |
D | search_results_list | 40 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/ |
D | RenderPixelCopy.cpp | 67 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/ |
D | MigrateEstimateTask.java | 21 import android.app.usage.ExternalStorageStats; 22 import android.app.usage.StorageStatsManager;
|