Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 254) sorted by relevance

1234567891011

/frameworks/support/
Dsettings.gradle8 project(':support-annotations').projectDir = new File(rootDir, 'annotations')
11 project(':support-compat').projectDir = new File(rootDir, 'compat')
14 project(':support-media-compat').projectDir = new File(rootDir, 'media-compat')
17 project(':support-core-ui').projectDir = new File(rootDir, 'core-ui')
20 project(':support-fragment').projectDir = new File(rootDir, 'fragment')
23 project(':support-core-utils').projectDir = new File(rootDir, 'core-utils')
26 project(':support-v4').projectDir = new File(rootDir, 'v4')
29 project(':appcompat-v7').projectDir = new File(rootDir, 'v7/appcompat')
32 project(':gridlayout-v7').projectDir = new File(rootDir, 'v7/gridlayout')
35 project(':mediarouter-v7').projectDir = new File(rootDir, 'v7/mediarouter')
[all …]
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
DScriptC_reduce_general_accumulator.java.expect52 int[] outArray = new int[1];
88 throw new RSIllegalArgumentException("Array \"in1\" is null!");
95 result.mTempIns = new Allocation[]{ain1};
108 throw new RSRuntimeException("Type mismatch with I32!");
112 reduce(mExportReduceIdx_my_half, new Allocation[]{ain1}, aout, sc);
113 return new result_int(aout);
121 throw new RSIllegalArgumentException("Array \"in1\" is null!");
128 result.mTempIns = new Allocation[]{ain1};
141 throw new RSRuntimeException("Type mismatch with I32!");
145 reduce(mExportReduceIdx_my_half2, new Allocation[]{ain1}, aout, sc);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptC_reduce_general_input.java.expect120 int[] outArray = new int[1];
156 throw new RSIllegalArgumentException("Array \"in1\" is null!");
163 result.mTempIns = new Allocation[]{ain1};
176 throw new RSRuntimeException("Type mismatch with F16!");
180 reduce(mExportReduceIdx_my_half_0, new Allocation[]{ain1}, aout, sc);
181 return new result_int(aout);
189 throw new RSIllegalArgumentException("Array \"in1\" is null!");
196 result.mTempIns = new Allocation[]{ain1};
209 throw new RSRuntimeException("Type mismatch with F16!");
213 reduce(mExportReduceIdx_my_half_1, new Allocation[]{ain1}, aout, sc);
[all …]
DScriptField_MyStruct.java.expect46 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
48 Element.Builder eb = new Element.Builder(rs);
76 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
90 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
91 Type.Builder b = new Type.Builder(rs, obj.mElement);
101 return new Type.Builder(rs, e);
105 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
108 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
121 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
127 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
/frameworks/support/app-toolkit/
Dsettings.gradle23 supportRoot = new File(rootProject.projectDir, "..").getCanonicalFile()
31 project(':arch:runtime').projectDir = new File(supportRoot, "app-toolkit/runtime")
34 project(':arch:common').projectDir = new File(supportRoot, "app-toolkit/common")
37 project(':paging:common').projectDir = new File(supportRoot, "paging/common")
40 project(':paging:runtime').projectDir = new File(supportRoot, "paging/runtime")
43 project(':paging:integration-tests:testapp').projectDir = new File(supportRoot, "paging/integration…
46 project(':arch:core-testing').projectDir = new File(supportRoot, "app-toolkit/core-testing")
49 project(':lifecycle:extensions').projectDir = new File(supportRoot, "lifecycle/extensions")
52 project(':lifecycle:reactivestreams').projectDir = new File(supportRoot, "lifecycle/reactivestreams…
55 project(':lifecycle:runtime').projectDir = new File(supportRoot, "lifecycle/runtime")
[all …]
Dsettings_support_lib.gradle18 def supportRootDir = new File("../.")
21 project(':support-core-utils').projectDir = new File(supportRootDir, 'core-utils')
24 project(':support-fragment').projectDir = new File(supportRootDir, 'fragment')
27 project(':support-compat').projectDir = new File(supportRootDir, 'compat')
30 project(':support-annotations').projectDir = new File(supportRootDir, 'annotations')
33 project(':support-core-ui').projectDir = new File(supportRootDir, 'core-ui')
36 project(':support-appcompat-v7').projectDir = new File(rootDir, 'v7/appcompat')
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect92 int[] outArray = new int[1];
129 throw new RSIllegalArgumentException("Array \"in1\" is null!");
136 throw new RSIllegalArgumentException("Array \"in2\" is null!");
140 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
147 result.mTempIns = new Allocation[]{ain1, ain2};
163 throw new RSRuntimeException("Type mismatch with F16!");
167 throw new RSRuntimeException("Type mismatch with F16!");
178 throw new RSRuntimeException("Dimension mismatch between parameters ain1 and ain2!");
183 reduce(mExportReduceIdx_my_half_half_0, new Allocation[]{ain1, ain2}, aout, sc);
184 return new result_int(aout);
[all …]
DScriptField_MyStruct.java.expect46 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
48 Element.Builder eb = new Element.Builder(rs);
76 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
90 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
91 Type.Builder b = new Type.Builder(rs, obj.mElement);
101 return new Type.Builder(rs, e);
105 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
108 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
121 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
127 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect118 byte[] outArray = new byte[7];
120 boolean[] result = new boolean[7];
159 byte[] outArray = new byte[7];
195 byte[] outArray = new byte[14];
197 Byte2[] result = new Byte2[7];
199 result[Idx] = new Byte2(outArray[2*Idx+0], outArray[2*Idx+1]);
236 byte[] outArray = new byte[28];
238 Byte4[] result = new Byte4[7];
240 …result[Idx] = new Byte4(outArray[4*Idx+0], outArray[4*Idx+1], outArray[4*Idx+2], outArray[4*Idx+3]…
277 double[] outArray = new double[7];
[all …]
DScriptField_MyStruct.java.expect46 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
48 Element.Builder eb = new Element.Builder(rs);
76 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
90 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
91 Type.Builder b = new Type.Builder(rs, obj.mElement);
101 return new Type.Builder(rs, e);
105 ScriptField_MyStruct obj = new ScriptField_MyStruct(rs);
108 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
121 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
127 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
/frameworks/compile/slang/tests/P_struct_field/
DScriptField_Outer.java.expect45 innerOneA = new ScriptField_InnerOne.Item();
46 innerOneB = new ScriptField_InnerOne.Item();
47 innerTwo3 = new ScriptField_InnerTwo.Item[3];
49 innerTwo3[$ct] = new ScriptField_InnerTwo.Item();
52 innerTwo2 = new ScriptField_InnerTwo.Item[2];
54 innerTwo2[$ct] = new ScriptField_InnerTwo.Item();
57 innerOne4 = new ScriptField_InnerOne.Item[4];
59 innerOne4[$ct] = new ScriptField_InnerOne.Item();
62 innerOneC = new ScriptField_InnerOne.Item();
69 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
[all …]
DScriptField_InnerOne.java.expect47 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
49 Element.Builder eb = new Element.Builder(rs);
77 ScriptField_InnerOne obj = new ScriptField_InnerOne(rs);
91 ScriptField_InnerOne obj = new ScriptField_InnerOne(rs);
92 Type.Builder b = new Type.Builder(rs, obj.mElement);
102 return new Type.Builder(rs, e);
106 ScriptField_InnerOne obj = new ScriptField_InnerOne(rs);
109 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
122 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
128 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
DScriptField_InnerTwo.java.expect40 innerOne = new ScriptField_InnerOne.Item();
47 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
49 Element.Builder eb = new Element.Builder(rs);
78 ScriptField_InnerTwo obj = new ScriptField_InnerTwo(rs);
92 ScriptField_InnerTwo obj = new ScriptField_InnerTwo(rs);
93 Type.Builder b = new Type.Builder(rs, obj.mElement);
103 return new Type.Builder(rs, e);
107 ScriptField_InnerTwo obj = new ScriptField_InnerTwo(rs);
110 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
125 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect60 int[] outArray = new int[256];
62 long[] result = new long[256];
101 float[] outArray = new float[1];
137 int[] outArray = new int[1];
173 int[] outArray = new int[2];
175 mResult = new Int2(outArray[0], outArray[1]);
209 throw new RSIllegalArgumentException("Array \"in1\" is null!");
216 result.mTempIns = new Allocation[]{ain1};
229 throw new RSRuntimeException("Type mismatch with I32!");
233 reduce(mExportReduceIdx_addint, new Allocation[]{ain1}, aout, sc);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect60 int[] outArray = new int[256];
62 long[] result = new long[256];
101 float[] outArray = new float[1];
137 int[] outArray = new int[1];
173 int[] outArray = new int[2];
175 mResult = new Int2(outArray[0], outArray[1]);
209 throw new RSIllegalArgumentException("Array \"in1\" is null!");
216 result.mTempIns = new Allocation[]{ain1};
229 throw new RSRuntimeException("Type mismatch with I32!");
233 reduce(mExportReduceIdx_addint, new Allocation[]{ain1}, aout, sc);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect58 int[] outArray = new int[256];
60 long[] result = new long[256];
99 float[] outArray = new float[1];
135 int[] outArray = new int[1];
171 throw new RSIllegalArgumentException("Array \"in1\" is null!");
178 result.mTempIns = new Allocation[]{ain1};
191 throw new RSRuntimeException("Type mismatch with I32!");
195 reduce(mExportReduceIdx_addint_init, new Allocation[]{ain1}, aout, sc);
196 return new result_int(aout);
204 throw new RSIllegalArgumentException("Array \"in1\" is null!");
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
DScriptField_Divergent.java.expect44 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
46 Element.Builder eb = new Element.Builder(rs);
82 ScriptField_Divergent obj = new ScriptField_Divergent(rs);
96 ScriptField_Divergent obj = new ScriptField_Divergent(rs);
97 Type.Builder b = new Type.Builder(rs, obj.mElement);
107 return new Type.Builder(rs, e);
111 ScriptField_Divergent obj = new ScriptField_Divergent(rs);
114 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
129 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
135 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
DScriptField_DivergentNest.java.expect38 d = new ScriptField_Divergent.Item();
45 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
47 Element.Builder eb = new Element.Builder(rs);
83 ScriptField_DivergentNest obj = new ScriptField_DivergentNest(rs);
97 ScriptField_DivergentNest obj = new ScriptField_DivergentNest(rs);
98 Type.Builder b = new Type.Builder(rs, obj.mElement);
108 return new Type.Builder(rs, e);
112 ScriptField_DivergentNest obj = new ScriptField_DivergentNest(rs);
115 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
134 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
[all …]
DScriptField_NonDivergent.java.expect43 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
45 Element.Builder eb = new Element.Builder(rs);
72 ScriptField_NonDivergent obj = new ScriptField_NonDivergent(rs);
86 ScriptField_NonDivergent obj = new ScriptField_NonDivergent(rs);
87 Type.Builder b = new Type.Builder(rs, obj.mElement);
97 return new Type.Builder(rs, e);
101 ScriptField_NonDivergent obj = new ScriptField_NonDivergent(rs);
104 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
116 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
122 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
DScriptC_reflection3264_divergent.java.expect77 FieldPacker fp = new FieldPacker(40);
82 int []__dimArr = new int[1];
99 FieldPacker fp = new FieldPacker(16);
116 FieldPacker fp = new FieldPacker(160);
121 int []__dimArr = new int[1];
153 FieldPacker fp = new FieldPacker((RenderScript.getPointerSize() == 8) ? 320 : 40);
158 int []__dimArr = new int[1];
175 FieldPacker fp = new FieldPacker(8);
178 int []__dimArr = new int[1];
195 FieldPacker fp = new FieldPacker(80);
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent/
DScriptField_NonDivergent.java.expect46 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
48 Element.Builder eb = new Element.Builder(rs);
75 ScriptField_NonDivergent obj = new ScriptField_NonDivergent(rs);
89 ScriptField_NonDivergent obj = new ScriptField_NonDivergent(rs);
90 Type.Builder b = new Type.Builder(rs, obj.mElement);
100 return new Type.Builder(rs, e);
104 ScriptField_NonDivergent obj = new ScriptField_NonDivergent(rs);
107 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
119 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
125 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
DScriptField_Divergent.java.expect47 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
49 Element.Builder eb = new Element.Builder(rs);
85 ScriptField_Divergent obj = new ScriptField_Divergent(rs);
99 ScriptField_Divergent obj = new ScriptField_Divergent(rs);
100 Type.Builder b = new Type.Builder(rs, obj.mElement);
110 return new Type.Builder(rs, e);
114 ScriptField_Divergent obj = new ScriptField_Divergent(rs);
117 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
132 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
138 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]
DScriptField_DivergentNest.java.expect41 d = new ScriptField_Divergent.Item();
48 …private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReferenc…
50 Element.Builder eb = new Element.Builder(rs);
86 ScriptField_DivergentNest obj = new ScriptField_DivergentNest(rs);
100 ScriptField_DivergentNest obj = new ScriptField_DivergentNest(rs);
101 Type.Builder b = new Type.Builder(rs, obj.mElement);
111 return new Type.Builder(rs, e);
115 ScriptField_DivergentNest obj = new ScriptField_DivergentNest(rs);
118 … throw new RSIllegalArgumentException("Type.Builder did not match expected element type.");
137 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
[all …]
DScriptC_reflection3264_divergent.java.expect80 FieldPacker fp = new FieldPacker(40);
85 int []__dimArr = new int[1];
102 FieldPacker fp = new FieldPacker(16);
119 FieldPacker fp = new FieldPacker(160);
124 int []__dimArr = new int[1];
156 FieldPacker fp = new FieldPacker(sIs64Bit ? 320 : 40);
161 int []__dimArr = new int[1];
178 FieldPacker fp = new FieldPacker(8);
181 int []__dimArr = new int[1];
198 FieldPacker fp = new FieldPacker(80);
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h109 mDefaultOutputDevices = new DeviceDescriptor(AUDIO_DEVICE_OUT_SPEAKER); in setDefault()
111 sp<DeviceDescriptor> defaultInputDevice = new DeviceDescriptor(AUDIO_DEVICE_IN_BUILTIN_MIC); in setDefault()
115 module = new HwModule("primary"); in setDefault()
118 outProfile = new OutputProfile(String8("primary")); in setDefault()
121 new AudioProfile(AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_OUT_STEREO, 44100)); in setDefault()
127 inProfile = new InputProfile(String8("primary")); in setDefault()
130 new AudioProfile(AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_IN_MONO, 8000)); in setDefault()

1234567891011