Home
last modified time | relevance | path

Searched refs:parameters (Results 1 – 25 of 137) sorted by relevance

123456

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyRequest.java37 public final Camera.Parameters parameters; field in LegacyRequest
48 Size previewSize, Camera.Parameters parameters) { in LegacyRequest() argument
52 checkNotNull(parameters, "parameters must not be null"); in LegacyRequest()
54 this.parameters = Camera.getParametersCopy(parameters); in LegacyRequest()
62 public void setParameters(Camera.Parameters parameters) { in setParameters() argument
63 checkNotNull(parameters, "parameters must not be null"); in setParameters()
65 this.parameters.copyFrom(parameters); in setParameters()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java100 Class<?>[] parameters = originalMethod.getParameterTypes(); in compare() local
106 Class<?>[] newParameters = new Class<?>[parameters.length + 1]; in compare()
108 System.arraycopy(parameters, 0, newParameters, 1, parameters.length); in compare()
109 parameters = newParameters; in compare()
116 Class<?>[] newParameters = new Class<?>[parameters.length + 1]; in compare()
118 System.arraycopy(parameters, 0, newParameters, 1, parameters.length); in compare()
119 parameters = newParameters; in compare()
125 parameters); in compare()
159 String name = getMethodName(originalMethod, parameters); in compare()
196 private String getMethodName(Method method, Class<?>[] parameters) { in getMethodName() argument
[all …]
/frameworks/compile/slang/tests/F_root_compute_really_bad/
Dstderr.txt.expect3 …rnel root(), parameter 'extra1' cannot appear after any of the special parameters ('context', 'x',…
4 …rnel root(), parameter 'extra2' cannot appear after any of the special parameters ('context', 'x',…
5 …:14: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
6 …:23: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
7 …:33: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
8 …:48: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
9 …:59: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
15 …ot_kernel(), parameter 'extra1' cannot appear after any of the special parameters ('context', 'x',…
16 …ot_kernel(), parameter 'extra2' cannot appear after any of the special parameters ('context', 'x',…
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeAdvertiser.java128 AdvertisingSetParameters.Builder parameters = new AdvertisingSetParameters.Builder(); in startAdvertising() local
129 parameters.setLegacyMode(true); in startAdvertising()
130 parameters.setConnectable(isConnectable); in startAdvertising()
131 parameters.setScannable(true); // legacy advertisements we support are always scannable in startAdvertising()
133 parameters.setInterval(1600); // 1s in startAdvertising()
135 parameters.setInterval(400); // 250ms in startAdvertising()
137 parameters.setInterval(160); // 100ms in startAdvertising()
141 parameters.setTxPowerLevel(-21); in startAdvertising()
143 parameters.setTxPowerLevel(-15); in startAdvertising()
145 parameters.setTxPowerLevel(-7); in startAdvertising()
[all …]
DAdvertisingSet.java125 public void setAdvertisingParameters(AdvertisingSetParameters parameters) { in setAdvertisingParameters() argument
127 mGatt.setAdvertisingParameters(mAdvertiserId, parameters); in setAdvertisingParameters()
138 public void setPeriodicAdvertisingParameters(PeriodicAdvertisingParameters parameters) { in setPeriodicAdvertisingParameters() argument
140 mGatt.setPeriodicAdvertisingParameters(mAdvertiserId, parameters); in setPeriodicAdvertisingParameters()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraAgentImpl.java527 Parameters parameters = mParameterCache.getBlocking(); in handleMessage() local
528 parameters.setRotation( in handleMessage()
530 mCamera.setParameters(parameters); in handleMessage()
536 Parameters parameters = mParameterCache.getBlocking(); in handleMessage() local
537 parameters.setRotation(msg.arg1); in handleMessage()
538 mCamera.setParameters(parameters); in handleMessage()
564 Parameters parameters = mParameterCache.getBlocking(); in handleMessage() local
566 applySettingsToParameters(settings, parameters); in handleMessage()
567 mCamera.setParameters(parameters); in handleMessage()
573 Parameters parameters = mParameterCache.getBlocking(); in handleMessage() local
[all …]
/frameworks/native/libs/ui/
DColorSpace.cpp57 static ColorSpace::transfer_function toOETF(const ColorSpace::TransferParameters& parameters) { in toOETF() argument
58 if (parameters.e == 0.0f && parameters.f == 0.0f) { in toOETF()
59 return std::bind(rcpResponse, _1, parameters); in toOETF()
61 return std::bind(rcpFullResponse, _1, parameters); in toOETF()
64 static ColorSpace::transfer_function toEOTF( const ColorSpace::TransferParameters& parameters) { in toEOTF() argument
65 if (parameters.e == 0.0f && parameters.f == 0.0f) { in toEOTF()
66 return std::bind(response, _1, parameters); in toEOTF()
68 return std::bind(fullResponse, _1, parameters); in toEOTF()
119 const TransferParameters parameters, in ColorSpace() argument
124 , mParameters(parameters) in ColorSpace()
[all …]
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzwar/
Dstderr.txt.expect3 root_compute_non_uint32_t_xyzwar.rscript:6:26: error: Special parameters 'x' and 'y' must be of the…
5 root_compute_non_uint32_t_xyzwar.rscript:6:36: error: Special parameters 'x' and 'z' must be of the…
6 …te kernel root(), parameter 'w' cannot appear after any of the special parameters ('context', 'x',…
7 …e kernel root(), parameter 'ar' cannot appear after any of the special parameters ('context', 'x',…
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzar/
Dstderr.txt.expect3 root_compute_non_uint32_t_xyzar.rscript:5:26: error: Special parameters 'x' and 'y' must be of the …
5 root_compute_non_uint32_t_xyzar.rscript:5:36: error: Special parameters 'x' and 'z' must be of the …
6 …e kernel root(), parameter 'ar' cannot appear after any of the special parameters ('context', 'x',…
/frameworks/compile/slang/tests/F_root_compute_non_ptr_usrData/
Dstderr.txt.expect1 …:48: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
/frameworks/compile/slang/tests/F_reduce_general_bad_function/
Dstderr.txt.expect12 …agma rs reduce(accum0)' (reduce_general_bad_function.rscript:73:12) must take at least 2 parameters
13 …agma rs reduce(accum1)' (reduce_general_bad_function.rscript:77:12) must take at least 2 parameters
25 …educe(comb0)' (reduce_general_bad_function.rscript:142:12) must take exactly 2 parameters (found 0)
26 …educe(comb1)' (reduce_general_bad_function.rscript:146:12) must take exactly 2 parameters (found 1)
27 …educe(comb3)' (reduce_general_bad_function.rscript:150:12) must take exactly 2 parameters (found 3)
30 …_bad_function.rscript:159:12) must have exactly 1 input and no special parameters in order for the…
31 …_bad_function.rscript:163:12) must have exactly 1 input and no special parameters in order for the…
39 …reduce(out0)' (reduce_general_bad_function.rscript:203:12) must take exactly 2 parameters (found 0)
40 …reduce(out1)' (reduce_general_bad_function.rscript:207:12) must take exactly 2 parameters (found 1)
41 …reduce(out3)' (reduce_general_bad_function.rscript:211:12) must take exactly 2 parameters (found 3)
Dreduce_general_bad_function.rscript72 // accumulator must take at least 2 parameters
76 // accumulator must take at least 2 parameters
141 // combiner must take exactly 2 parameters
145 // combiner must take exactly 2 parameters
149 // combiner must take exactly 2 parameters
202 // outconverter must take exactly 2 parameters
206 // outconverter must take exactly 2 parameters
210 // outconverter must take exactly 2 parameters
/frameworks/compile/slang/tests/F_root_compute_int_in/
Dstderr.txt.expect1 …:21: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
/frameworks/compile/slang/tests/F_root_compute_too_many_args/
Dstderr.txt.expect1 …rnel root(), parameter 'extra1' cannot appear after any of the special parameters ('context', 'x',…
2 …rnel root(), parameter 'extra2' cannot appear after any of the special parameters ('context', 'x',…
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransportService.java29 LocalTransportParameters parameters = in onCreate() local
31 sTransport = new LocalTransport(this, parameters); in onCreate()
/frameworks/base/media/mca/filterfw/java/android/filterfw/
DFilterFunctionEnvironment.java64 public FilterFunction createFunction(Class filterClass, Object... parameters) { in createFunction() argument
67 filter.initWithAssignmentList(parameters); in createFunction()
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect140 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
178 throw new RSRuntimeException("Dimension mismatch between parameters ain1 and ain2!");
204 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
242 throw new RSRuntimeException("Dimension mismatch between parameters ain1 and ain2!");
272 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
310 throw new RSRuntimeException("Dimension mismatch between parameters ain1 and ain2!");
340 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
378 throw new RSRuntimeException("Dimension mismatch between parameters ain1 and ain2!");
408 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
446 throw new RSRuntimeException("Dimension mismatch between parameters ain1 and ain2!");
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java102 String parameters = mUtils.getCameraService().getLegacyParameters(cameraId); in testGetLegacyParameters() local
103 assertNotNull(parameters); in testGetLegacyParameters()
105 parameters.length() > 0); in testGetLegacyParameters()
107 int end = parameters.length(); in testGetLegacyParameters()
112 Log.v(TAG, "Camera " + cameraId + " parameters: " + parameters.substring(0, end)); in testGetLegacyParameters()
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch/
Dstderr.txt.expect6 …smatch.rscript:88:16: error: foreach kernel 'qq' has different special parameters for 32-bit targe…
9 reflection3264_foreach_mismatch.rscript:133:6: error: foreach kernel 'xx' has 0 usrData parameters
10 …h kernel 'ww' has 1 usrData parameter for 32-bit targets but 0 usrData parameters for 64-bit targe…
15 …ismatch.rscript:82:6: error: foreach kernel 'pp' has different special parameters for 32-bit targe…
17 reflection3264_foreach_mismatch.rscript:74:6: error: foreach kernel 'oo' has 0 usrData parameters f…
/frameworks/base/services/core/java/com/android/server/wm/
DViewServer.java229 String parameters; in run() local
234 parameters = ""; in run()
237 parameters = request.substring(index + 1); in run()
253 command, parameters); in run()
/frameworks/base/cmds/statsd/src/condition/
DConditionWizard.cpp24 ConditionState ConditionWizard::query(const int index, const ConditionKey& parameters, in query() argument
32 parameters, mAllConditions, dimensionFields, isSubOutputDimensionFields, isPartialLink, in query()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatterySaverUtils.java137 final Parameters parameters = new Parameters(context); in setPowerSaveMode() local
139 if ((count >= parameters.startNth) in setPowerSaveMode()
140 && (count <= parameters.endNth) in setPowerSaveMode()
/frameworks/native/libs/input/
DVelocityControl.cpp40 void VelocityControl::setParameters(const VelocityControlParameters& parameters) { in setParameters() argument
41 mParameters = parameters; in setParameters()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java126 Camera.Parameters parameters = mCamera.getParameters(); in validateGetSurface() local
127 parameters.setPreviewSize(352, 288); in validateGetSurface()
128 parameters.set("orientation", "portrait"); in validateGetSurface()
129 mCamera.setParameters(parameters); in validateGetSurface()
476 Camera.Parameters parameters = mCamera.getParameters(); in testPortraitH263() local
477 parameters.setPreviewSize(352, 288); in testPortraitH263()
478 parameters.set("orientation", "portrait"); in testPortraitH263()
479 mCamera.setParameters(parameters); in testPortraitH263()
/frameworks/av/media/libaudiohal/impl/
DConversionHelperHidl.cpp78 const hidl_vec<ParameterValue>& parameters, String8 *values) { in parametersToHal() argument
80 for (size_t i = 0; i < parameters.size(); ++i) { in parametersToHal()
81 params.add(String8(parameters[i].key.c_str()), String8(parameters[i].value.c_str())); in parametersToHal()

123456