/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/ |
D | strategy_for_usage.pfw | 5 /Policy/policy/usages/unknown/applicable_strategy/strategy = media 6 /Policy/policy/usages/media/applicable_strategy/strategy = media 7 /Policy/policy/usages/voice_communication/applicable_strategy/strategy = phone 8 /Policy/policy/usages/voice_communication_signalling/applicable_strategy/strategy = dtmf 9 /Policy/policy/usages/alarm/applicable_strategy/strategy = sonification 10 /Policy/policy/usages/notification/applicable_strategy/strategy = sonification_respectful 11 /Policy/policy/usages/notification_telephony_ringtone/applicable_strategy/strategy = sonification 12 …/Policy/policy/usages/notification_communication_request/applicable_strategy/strategy = sonificati… 13 …/Policy/policy/usages/notification_communication_instant/applicable_strategy/strategy = sonificati… 14 …/Policy/policy/usages/notification_communication_delayed/applicable_strategy/strategy = sonificati… [all …]
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibratorControlService.java | 390 IntArray usages = new IntArray(15); in mapFromAdaptiveVibrationTypeToVibrationUsages() local 392 usages.add(USAGE_ALARM); in mapFromAdaptiveVibrationTypeToVibrationUsages() 396 usages.add(USAGE_NOTIFICATION); in mapFromAdaptiveVibrationTypeToVibrationUsages() 397 usages.add(USAGE_COMMUNICATION_REQUEST); in mapFromAdaptiveVibrationTypeToVibrationUsages() 401 usages.add(USAGE_RINGTONE); in mapFromAdaptiveVibrationTypeToVibrationUsages() 405 usages.add(USAGE_MEDIA); in mapFromAdaptiveVibrationTypeToVibrationUsages() 406 usages.add(USAGE_UNKNOWN); in mapFromAdaptiveVibrationTypeToVibrationUsages() 410 usages.add(USAGE_TOUCH); in mapFromAdaptiveVibrationTypeToVibrationUsages() 411 usages.add(USAGE_HARDWARE_FEEDBACK); in mapFromAdaptiveVibrationTypeToVibrationUsages() 413 return usages.toArray(); in mapFromAdaptiveVibrationTypeToVibrationUsages() [all …]
|
/frameworks/base/core/java/android/permission/ |
D | PermissionUsageHelper.java | 296 List<PermissionGroupUsage> usages = new ArrayList<>(); in getOpUsageDataByDevice() local 299 return usages; in getOpUsageDataByDevice() 358 usages.add( in getOpUsageDataByDevice() 366 return usages; in getOpUsageDataByDevice() 395 private void updateSubattributionLabelsMap(List<OpUsage> usages, in updateSubattributionLabelsMap() argument 397 if (usages == null || usages.isEmpty()) { in updateSubattributionLabelsMap() 400 for (OpUsage usage : usages) { in updateSubattributionLabelsMap() 509 Map<String, Map<Integer, OpUsage>> usages = new ArrayMap<>(); in getOpUsagesByDevice() local 556 if (!usages.containsKey(permGroupName)) { in getOpUsagesByDevice() 559 usages.put(permGroupName, map); in getOpUsagesByDevice() [all …]
|
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/ |
D | ScriptField_NonDivergent.java.expect | 64 public ScriptField_NonDivergent(RenderScript rs, int count, int usages) { 68 init(rs, count, usages); 71 public static ScriptField_NonDivergent create1D(RenderScript rs, int dimX, int usages) { 73 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 85 … public static ScriptField_NonDivergent create2D(RenderScript rs, int dimX, int dimY, int usages) { 91 obj.mAllocation = Allocation.createTyped(rs, t, usages); 100 …public static ScriptField_NonDivergent createCustom(RenderScript rs, Type.Builder tb, int usages) { 106 obj.mAllocation = Allocation.createTyped(rs, t, usages);
|
D | ScriptField_Divergent.java.expect | 74 public ScriptField_Divergent(RenderScript rs, int count, int usages) { 78 init(rs, count, usages); 81 public static ScriptField_Divergent create1D(RenderScript rs, int dimX, int usages) { 83 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 95 public static ScriptField_Divergent create2D(RenderScript rs, int dimX, int dimY, int usages) { 101 obj.mAllocation = Allocation.createTyped(rs, t, usages); 110 public static ScriptField_Divergent createCustom(RenderScript rs, Type.Builder tb, int usages) { 116 obj.mAllocation = Allocation.createTyped(rs, t, usages);
|
D | ScriptField_DivergentNest.java.expect | 75 public ScriptField_DivergentNest(RenderScript rs, int count, int usages) { 79 init(rs, count, usages); 82 public static ScriptField_DivergentNest create1D(RenderScript rs, int dimX, int usages) { 84 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 96 …public static ScriptField_DivergentNest create2D(RenderScript rs, int dimX, int dimY, int usages) { 102 obj.mAllocation = Allocation.createTyped(rs, t, usages); 111 …ublic static ScriptField_DivergentNest createCustom(RenderScript rs, Type.Builder tb, int usages) { 117 obj.mAllocation = Allocation.createTyped(rs, t, usages);
|
/frameworks/compile/slang/tests/P_reflection3264_divergent/ |
D | ScriptField_NonDivergent.java.expect | 67 public ScriptField_NonDivergent(RenderScript rs, int count, int usages) { 71 init(rs, count, usages); 74 public static ScriptField_NonDivergent create1D(RenderScript rs, int dimX, int usages) { 76 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 88 … public static ScriptField_NonDivergent create2D(RenderScript rs, int dimX, int dimY, int usages) { 94 obj.mAllocation = Allocation.createTyped(rs, t, usages); 103 …public static ScriptField_NonDivergent createCustom(RenderScript rs, Type.Builder tb, int usages) { 109 obj.mAllocation = Allocation.createTyped(rs, t, usages);
|
D | ScriptField_Divergent.java.expect | 77 public ScriptField_Divergent(RenderScript rs, int count, int usages) { 81 init(rs, count, usages); 84 public static ScriptField_Divergent create1D(RenderScript rs, int dimX, int usages) { 86 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 98 public static ScriptField_Divergent create2D(RenderScript rs, int dimX, int dimY, int usages) { 104 obj.mAllocation = Allocation.createTyped(rs, t, usages); 113 public static ScriptField_Divergent createCustom(RenderScript rs, Type.Builder tb, int usages) { 119 obj.mAllocation = Allocation.createTyped(rs, t, usages);
|
D | ScriptField_DivergentNest.java.expect | 78 public ScriptField_DivergentNest(RenderScript rs, int count, int usages) { 82 init(rs, count, usages); 85 public static ScriptField_DivergentNest create1D(RenderScript rs, int dimX, int usages) { 87 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 99 …public static ScriptField_DivergentNest create2D(RenderScript rs, int dimX, int dimY, int usages) { 105 obj.mAllocation = Allocation.createTyped(rs, t, usages); 114 …ublic static ScriptField_DivergentNest createCustom(RenderScript rs, Type.Builder tb, int usages) { 120 obj.mAllocation = Allocation.createTyped(rs, t, usages);
|
/frameworks/compile/slang/tests/P_reduce_general_input/ |
D | ScriptField_MyStruct.java.expect | 68 public ScriptField_MyStruct(RenderScript rs, int count, int usages) { 72 init(rs, count, usages); 75 public static ScriptField_MyStruct create1D(RenderScript rs, int dimX, int usages) { 77 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 89 public static ScriptField_MyStruct create2D(RenderScript rs, int dimX, int dimY, int usages) { 95 obj.mAllocation = Allocation.createTyped(rs, t, usages); 104 public static ScriptField_MyStruct createCustom(RenderScript rs, Type.Builder tb, int usages) { 110 obj.mAllocation = Allocation.createTyped(rs, t, usages);
|
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
D | ScriptField_MyStruct.java.expect | 68 public ScriptField_MyStruct(RenderScript rs, int count, int usages) { 72 init(rs, count, usages); 75 public static ScriptField_MyStruct create1D(RenderScript rs, int dimX, int usages) { 77 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 89 public static ScriptField_MyStruct create2D(RenderScript rs, int dimX, int dimY, int usages) { 95 obj.mAllocation = Allocation.createTyped(rs, t, usages); 104 public static ScriptField_MyStruct createCustom(RenderScript rs, Type.Builder tb, int usages) { 110 obj.mAllocation = Allocation.createTyped(rs, t, usages);
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
D | ScriptField_MyStruct.java.expect | 68 public ScriptField_MyStruct(RenderScript rs, int count, int usages) { 72 init(rs, count, usages); 75 public static ScriptField_MyStruct create1D(RenderScript rs, int dimX, int usages) { 77 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 89 public static ScriptField_MyStruct create2D(RenderScript rs, int dimX, int dimY, int usages) { 95 obj.mAllocation = Allocation.createTyped(rs, t, usages); 104 public static ScriptField_MyStruct createCustom(RenderScript rs, Type.Builder tb, int usages) { 110 obj.mAllocation = Allocation.createTyped(rs, t, usages);
|
/frameworks/compile/slang/tests/P_struct_field/ |
D | ScriptField_InnerTwo.java.expect | 70 public ScriptField_InnerTwo(RenderScript rs, int count, int usages) { 74 init(rs, count, usages); 77 public static ScriptField_InnerTwo create1D(RenderScript rs, int dimX, int usages) { 79 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 91 public static ScriptField_InnerTwo create2D(RenderScript rs, int dimX, int dimY, int usages) { 97 obj.mAllocation = Allocation.createTyped(rs, t, usages); 106 public static ScriptField_InnerTwo createCustom(RenderScript rs, Type.Builder tb, int usages) { 112 obj.mAllocation = Allocation.createTyped(rs, t, usages);
|
D | ScriptField_InnerOne.java.expect | 69 public ScriptField_InnerOne(RenderScript rs, int count, int usages) { 73 init(rs, count, usages); 76 public static ScriptField_InnerOne create1D(RenderScript rs, int dimX, int usages) { 78 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 90 public static ScriptField_InnerOne create2D(RenderScript rs, int dimX, int dimY, int usages) { 96 obj.mAllocation = Allocation.createTyped(rs, t, usages); 105 public static ScriptField_InnerOne createCustom(RenderScript rs, Type.Builder tb, int usages) { 111 obj.mAllocation = Allocation.createTyped(rs, t, usages);
|
D | ScriptField_Outer.java.expect | 96 public ScriptField_Outer(RenderScript rs, int count, int usages) { 100 init(rs, count, usages); 103 public static ScriptField_Outer create1D(RenderScript rs, int dimX, int usages) { 105 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 117 public static ScriptField_Outer create2D(RenderScript rs, int dimX, int dimY, int usages) { 123 obj.mAllocation = Allocation.createTyped(rs, t, usages); 132 public static ScriptField_Outer createCustom(RenderScript rs, Type.Builder tb, int usages) { 138 obj.mAllocation = Allocation.createTyped(rs, t, usages);
|
/frameworks/rs/ |
D | rsAllocation.cpp | 28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, in Allocation() argument 34 mHal.state.usageFlags = usages; in Allocation() 61 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages, in createAllocationStrided() argument 74 if (usages & RS_ALLOCATION_USAGE_OEM) { in createAllocationStrided() 76 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr); in createAllocationStrided() 83 } else if (usages & RS_ALLOCATION_USAGE_INCREMENTAL_SUPPORT){ in createAllocationStrided() 84 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); in createAllocationStrided() 88 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); in createAllocationStrided() 101 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, in createAllocation() argument 103 return Allocation::createAllocationStrided(rsc, type, usages, mc, ptr, kMinimumRSAlignment); in createAllocation() [all …]
|
D | rs_compat.spec | 5 param uint32_t usages
|
D | rsAllocation.h | 111 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 114 static Allocation * createAllocationStrided(Context *rsc, const Type *, uint32_t usages, 228 … Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
|
D | rs.spec | 60 param uint32_t usages 70 param uint32_t usages 79 param uint32_t usages
|
D | rsApiStubs.cpp | 333 uint32_t usages, uintptr_t ptr) in rsAllocationCreateTyped() argument 335 return RS_DISPATCH(ctxWrapper, AllocationCreateTyped, vtype, mipmaps, usages, ptr); in rsAllocationCreateTyped() 339 … const void * data, size_t data_length, uint32_t usages) in rsAllocationCreateFromBitmap() argument 341 …urn RS_DISPATCH(ctxWrapper, AllocationCreateFromBitmap, vtype, mipmaps, data, data_length, usages); in rsAllocationCreateFromBitmap() 345 … const void * data, size_t data_length, uint32_t usages) in rsAllocationCubeCreateFromBitmap() argument 347 …RS_DISPATCH(ctxWrapper, AllocationCubeCreateFromBitmap, vtype, mipmaps, data, data_length, usages); in rsAllocationCubeCreateFromBitmap()
|
/frameworks/rs/cpp/ |
D | Script.cpp | 55 void Script::FieldBase::init(const sp<RS>& rs, uint32_t dimx, uint32_t usages) { in init() argument 56 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages); in init()
|
/frameworks/native/libs/input/tests/data/ |
D | hid_fallback_mapping.kl | 19 # Keys defined by HID usages without fallback mapping flag 26 # Keys defined by HID usages with fallback mapping flag
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | VoiceCallRatTracker.java | 55 public static VoiceCallRatTracker fromProto(VoiceCallRatUsage[] usages) { in fromProto() argument 57 if (usages == null) { in fromProto() 60 Arrays.stream(usages).forEach(e -> tracker.addProto(e)); in fromProto()
|
/frameworks/base/media/java/android/media/ |
D | FadeManagerConfiguration.java | 1116 public Builder setFadeableUsages(@NonNull List<Integer> usages) { in setFadeableUsages() argument 1117 Objects.requireNonNull(usages, "List of usages cannot be null"); in setFadeableUsages() 1118 validateUsages(usages); in setFadeableUsages() 1121 mFadeableUsages.addAll(convertIntegerListToIntArray(usages)); in setFadeableUsages() 1443 private void setVolShaperConfigsForUsages(IntArray usages) { in setVolShaperConfigsForUsages() argument 1445 for (int index = 0; index < usages.size(); index++) { in setVolShaperConfigsForUsages() 1447 getFadeVolShaperConfigWrapperForUsage(usages.get(index))); in setVolShaperConfigsForUsages() 1480 private void validateUsages(List<Integer> usages) { in validateUsages() argument 1481 for (int index = 0; index < usages.size(); index++) { in validateUsages() 1482 validateUsage(usages.get(index)); in validateUsages()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppBatteryTracker.java | 1910 ImmutableBatteryUsage[] usages = null; in handleUidBatteryUsage() local 1916 usages = new ImmutableBatteryUsage[TIME_STAMP_INDEX_LAST]; in handleUidBatteryUsage() 1917 usages[TIME_STAMP_INDEX_RESTRICTED_BUCKET] = usage; in handleUidBatteryUsage() 1918 mHighBgBatteryPackages.put(uid, Pair.create(ts, usages)); in handleUidBatteryUsage() 1927 usages = new ImmutableBatteryUsage[TIME_STAMP_INDEX_LAST]; in handleUidBatteryUsage() 1928 mHighBgBatteryPackages.put(uid, Pair.create(ts, usages)); in handleUidBatteryUsage() 1931 usages[TIME_STAMP_INDEX_BG_RESTRICTED] = usage; in handleUidBatteryUsage() 2186 final ImmutableBatteryUsage[] usages = pair.second; in dump() local 2196 usages[TIME_STAMP_INDEX_RESTRICTED_BUCKET]), in dump() 2199 usages[TIME_STAMP_INDEX_BG_RESTRICTED]) in dump()
|