Home
last modified time | relevance | path

Searched refs:usages (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Dstrategy_for_usage.pfw5 /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/core/java/android/permission/
DPermissionUsageHelper.java265 List<PermGroupUsage> usages = new ArrayList<>(); in getOpUsageData() local
268 return usages; in getOpUsageData()
320 usages.add(new PermGroupUsage(usage.packageName, usage.uid, permGroup, in getOpUsageData()
326 return usages; in getOpUsageData()
352 Map<String, Map<Integer, OpUsage>> usages = new ArrayMap<>(); in getOpUsages() local
398 if (!usages.containsKey(permGroupName)) { in getOpUsages()
401 usages.put(permGroupName, map); in getOpUsages()
404 usages.get(permGroupName); in getOpUsages()
417 List<String> permGroups = new ArrayList<>(usages.keySet()); in getOpUsages()
420 flattenedUsages.put(permGroupName, new ArrayList<>(usages.get(permGroupName).values())); in getOpUsages()
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
DScriptField_NonDivergent.java.expect64 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);
DScriptField_Divergent.java.expect74 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);
DScriptField_DivergentNest.java.expect75 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_reduce_general_result/
DScriptField_MyStruct.java.expect68 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_input/
DScriptField_MyStruct.java.expect68 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/
DScriptField_MyStruct.java.expect68 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_reflection3264_divergent/
DScriptField_NonDivergent.java.expect67 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);
DScriptField_Divergent.java.expect77 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);
DScriptField_DivergentNest.java.expect78 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_struct_field/
DScriptField_InnerTwo.java.expect70 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);
DScriptField_InnerOne.java.expect69 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);
DScriptField_Outer.java.expect96 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/
DrsAllocation.cpp28 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 …]
Drs_compat.spec5 param uint32_t usages
DrsAllocation.h111 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);
Drs.spec60 param uint32_t usages
70 param uint32_t usages
79 param uint32_t usages
DrsApiStubs.cpp333 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()
DrsScriptC_Lib.cpp347 uint32_t usages, uintptr_t ptr) { in rsrAllocationCreateTyped() argument
348 return rsi_AllocationCreateTyped(rsc, type, mipmaps, usages, ptr); in rsrAllocationCreateTyped()
DrsApiStubs.h82 RsAllocationMipmapControl mipmaps, uint32_t usages,
87 uint32_t usages) __DEPRECATED_IN(31);
91 uint32_t usages) __DEPRECATED_IN(31);
/frameworks/rs/cpp/
DScript.cpp55 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/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallRatTracker.java55 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()
DMetricsCollector.java234 VoiceCallRatUsage[] usages = mStorage.getVoiceCallRatUsages(MIN_COOLDOWN_MILLIS); in pullVoiceCallRatUsages() local
235 if (usages != null) { in pullVoiceCallRatUsages()
237 Arrays.stream(usages) in pullVoiceCallRatUsages()
247 data.size(), usages.length)); in pullVoiceCallRatUsages()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DPersistAtomsStorageTest.java1324 VoiceCallRatUsage[] usages, int times) { in multiplyVoiceCallRatUsage() argument
1325 VoiceCallRatUsage[] multipliedUsages = new VoiceCallRatUsage[usages.length]; in multiplyVoiceCallRatUsage()
1326 for (int i = 0; i < usages.length; i++) { in multiplyVoiceCallRatUsage()
1328 multipliedUsages[i].carrierId = usages[i].carrierId; in multiplyVoiceCallRatUsage()
1329 multipliedUsages[i].rat = usages[i].rat; in multiplyVoiceCallRatUsage()
1330 multipliedUsages[i].callCount = usages[i].callCount * 2; in multiplyVoiceCallRatUsage()
1331 multipliedUsages[i].totalDurationMillis = usages[i].totalDurationMillis * 2; in multiplyVoiceCallRatUsage()

12