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/opt/gamesdk/src/tuningfork/tools/validation/src/main/java/com/google/tuningfork/validation/
DTuningforkApkValidationTool.java46 Parameters parameters = new Parameters(); in main() local
47 new JCommander(parameters, args); in main()
50 !Strings.isNullOrEmpty(parameters.tuningforkPath), in main()
54 !Strings.isNullOrEmpty(parameters.protoCompiler), in main()
57 File tuningforkFolder = new File(parameters.tuningforkPath); in main()
60 "Tuningfork settings folder does not exist %s", parameters.tuningforkPath); in main()
65 "--tuningforkPath=[%s] is not a path to a folder", parameters.tuningforkPath); in main()
68 File protoCompilerFile = new File(parameters.protoCompiler); in main()
70 logger.atSevere().log("Proto compiler file does not exist %s", parameters.protoCompiler); in main()
75 "--protoCompiler=[%s] is not a path to an executable file", parameters.protoCompiler); in main()
/frameworks/base/cmds/bootanimation/iot/
DBootParameters_test.cpp77 auto &parameters = bootParameters.getParameters(); in TEST() local
78 ASSERT_EQ(2u, parameters.size()); in TEST()
79 ASSERT_STREQ(parameters[0].key, "key1"); in TEST()
80 ASSERT_STREQ(parameters[0].value, "value1"); in TEST()
81 ASSERT_STREQ(parameters[1].key, "key2"); in TEST()
82 ASSERT_STREQ(parameters[1].value, "value2"); in TEST()
157 auto parameters = bootParameters.getParameters(); in TEST() local
158 ASSERT_EQ(2u, parameters.size()); in TEST()
159 ASSERT_STREQ(parameters[0].key, "key1"); in TEST()
160 ASSERT_STREQ(parameters[0].value, "value1"); in TEST()
[all …]
DBootAction.cpp91 const auto& parameters = bootParameters->getParameters(); in init() local
95 result = mLibSilentBoot(parameters.data(), parameters.size()); in init()
102 result = mLibInit(parameters.data(), parameters.size()); in init()
/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.rs:6:26: error: Special parameters 'x' and 'y' must be of the same…
5 root_compute_non_uint32_t_xyzwar.rs:6:36: error: Special parameters 'x' and 'z' must be of the same…
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_ptr_usrData/
Dstderr.txt.expect1 …:48: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzar/
Dstderr.txt.expect3 root_compute_non_uint32_t_xyzar.rs:5:26: error: Special parameters 'x' and 'y' must be of the same …
5 root_compute_non_uint32_t_xyzar.rs:5:36: error: Special parameters 'x' and 'z' must be of the same …
6 …e kernel root(), parameter 'ar' cannot appear after any of the special parameters ('context', 'x',…
/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/F_reduce_general_bad_function/
Dstderr.txt.expect12 … '#pragma rs reduce(accum0)' (reduce_general_bad_function.rs:73:12) must take at least 2 parameters
13 … '#pragma rs reduce(accum1)' (reduce_general_bad_function.rs:77:12) must take at least 2 parameters
25 … rs reduce(comb0)' (reduce_general_bad_function.rs:142:12) must take exactly 2 parameters (found 0)
26 … rs reduce(comb1)' (reduce_general_bad_function.rs:146:12) must take exactly 2 parameters (found 1)
27 … rs reduce(comb3)' (reduce_general_bad_function.rs:150:12) must take exactly 2 parameters (found 3)
30 …neral_bad_function.rs:159:12) must have exactly 1 input and no special parameters in order for the…
31 …neral_bad_function.rs:163:12) must have exactly 1 input and no special parameters in order for the…
39 …a rs reduce(out0)' (reduce_general_bad_function.rs:203:12) must take exactly 2 parameters (found 0)
40 …a rs reduce(out1)' (reduce_general_bad_function.rs:207:12) must take exactly 2 parameters (found 1)
41 …a rs reduce(out3)' (reduce_general_bad_function.rs:211:12) must take exactly 2 parameters (found 3)
/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/compile/slang/tests/F_reflection3264_foreach_mismatch/
Dstderr.txt.expect6 …ch_mismatch.rs:88:16: error: foreach kernel 'qq' has different special parameters for 32-bit targe…
9 reflection3264_foreach_mismatch.rs:133:6: error: foreach kernel 'xx' has 0 usrData parameters for 3…
10 …h kernel 'ww' has 1 usrData parameter for 32-bit targets but 0 usrData parameters for 64-bit targe…
15 …ach_mismatch.rs:82:6: error: foreach kernel 'pp' has different special parameters for 32-bit targe…
17 reflection3264_foreach_mismatch.rs:74:6: error: foreach kernel 'oo' has 0 usrData parameters for 32…
/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/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/cmds/statsd/src/condition/
DConditionWizard.cpp27 ConditionState ConditionWizard::query(const int index, const ConditionKey& parameters, in query() argument
35 parameters, mAllConditions, dimensionFields, isSubOutputDimensionFields, isPartialLink, in query()
/frameworks/native/libs/input/
DVelocityControl.cpp40 void VelocityControl::setParameters(const VelocityControlParameters& parameters) { in setParameters() argument
41 mParameters = parameters; in setParameters()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc635 const char* parameters, in GenerateUtf8CheckCode() argument
648 printer->Print(variables, parameters); in GenerateUtf8CheckCode()
667 printer->Print(variables, parameters); in GenerateUtf8CheckCode()
685 const char* parameters, in GenerateUtf8CheckCodeForString() argument
687 GenerateUtf8CheckCode(field, options, for_parse, variables, parameters, in GenerateUtf8CheckCodeForString()
695 const char* parameters, in GenerateUtf8CheckCodeForCord() argument
697 GenerateUtf8CheckCode(field, options, for_parse, variables, parameters, in GenerateUtf8CheckCodeForCord()

123456