Home
last modified time | relevance | path

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

1234567

/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/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java99 Class<?>[] parameters = originalMethod.getParameterTypes(); in compare() local
105 Class<?>[] newParameters = new Class<?>[parameters.length + 1]; in compare()
107 System.arraycopy(parameters, 0, newParameters, 1, parameters.length); in compare()
108 parameters = newParameters; in compare()
115 Class<?>[] newParameters = new Class<?>[parameters.length + 1]; in compare()
117 System.arraycopy(parameters, 0, newParameters, 1, parameters.length); in compare()
118 parameters = newParameters; in compare()
124 parameters); in compare()
158 String name = getMethodName(originalMethod, parameters); in compare()
190 private String getMethodName(Method method, Class<?>[] parameters) { in getMethodName() argument
[all …]
/frameworks/compile/slang/tests/F_root_compute_really_bad/
Dstderr.txt.expect3 … error: In compute kernel root(), parameter 'extra1' cannot appear after the 'x' and 'y' parameters
4 … error: In compute kernel root(), parameter 'extra2' cannot appear after the 'x' and 'y' parameters
5 root_compute_really_bad.rs:4:14: error: Compute kernel root() cannot have non-pointer parameters be…
6 root_compute_really_bad.rs:4:23: error: Compute kernel root() cannot have non-pointer parameters be…
7 root_compute_really_bad.rs:4:33: error: Compute kernel root() cannot have non-pointer parameters be…
8 root_compute_really_bad.rs:4:48: error: Compute kernel root() cannot have non-pointer parameters be…
9 root_compute_really_bad.rs:4:59: error: Compute kernel root() cannot have non-pointer parameters be…
15 … In compute kernel root_kernel(), parameter 'extra1' cannot appear after the 'x' and 'y' parameters
16 … In compute kernel root_kernel(), parameter 'extra2' cannot appear after the 'x' and 'y' parameters
17 …ute kernel root_kernel(). Kernels targeting SDK levels 11-21 may not use multiple input parameters.
[all …]
/frameworks/base/core/java/android/net/http/
DHttpAuthHeader.java268 String parameters = parseScheme(header); in parseHeader() local
269 if (parameters != null) { in parseHeader()
272 parseParameters(parameters); in parseHeader()
312 private void parseParameters(String parameters) { in parseParameters() argument
315 " parameters: " + parameters); in parseParameters()
318 if (parameters != null) { in parseParameters()
321 i = parameters.indexOf(','); in parseParameters()
324 parseParameter(parameters); in parseParameters()
326 parseParameter(parameters.substring(0, i)); in parseParameters()
327 parameters = parameters.substring(i + 1); in parseParameters()
/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/base/tools/aidl/
Dgenerate_java_rpc.cpp132 this->processMethod->parameters.push_back(this->actionParam); in generate_process()
135 this->processMethod->parameters.push_back(this->requestParam); in generate_process()
138 this->processMethod->parameters.push_back(this->rpcContextParam); in generate_process()
141 this->processMethod->parameters.push_back(this->errorParam); in generate_process()
334 ctor->parameters.push_back(broker); in generate_ctor()
335 ctor->parameters.push_back(endpoint); in generate_ctor()
404 ctor->parameters.push_back(broker); in generate_ctor()
405 ctor->parameters.push_back(listener); in generate_ctor()
485 ctor->parameters.push_back(container); in generate_ctor()
486 ctor->parameters.push_back(broker); in generate_ctor()
[all …]
Dgenerate_java_binder.cpp73 onTransact->parameters.push_back(this->transact_code); in StubClass()
74 onTransact->parameters.push_back(this->transact_data); in StubClass()
75 onTransact->parameters.push_back(this->transact_reply); in StubClass()
76 onTransact->parameters.push_back(this->transact_flags); in StubClass()
106 m->parameters.push_back(obj); in make_as_interface()
178 ctor->parameters.push_back(remote); in ProxyClass()
281 decl->parameters.push_back(new Variable( in generate_method()
394 proxy->parameters.push_back(new Variable( in generate_method()
/frameworks/ml/bordeaux/learning/multiclass_pa/native/
Dmulticlass_pa.h50 const std::vector<float>& parameters) const;
52 const std::vector<float>& parameters) const;
86 inline std::vector<std::vector<float> >& parameters() { in parameters() function
Dmulticlass_pa.cpp69 const vector<float>& parameters) const { in Score()
73 result += inputs[i] * parameters[i]; in Score()
79 const vector<float>& parameters) const { in SparseScore()
84 result += inputs[i].second * parameters[inputs[i].first]; in SparseScore()
/frameworks/compile/slang/tests/F_root_compute_too_many_args/
Dstderr.txt.expect1 … error: In compute kernel root(), parameter 'extra1' cannot appear after the 'x' and 'y' parameters
2 … error: In compute kernel root(), parameter 'extra2' cannot appear after the 'x' and 'y' parameters
/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/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
DStochasticLinearRanker.java44 public HashMap<String, String> parameters = new HashMap<String, String>(); field in StochasticLinearRanker.Model
101 slrModel.parameters.put(paramKeys[i], paramValues[i]); in getUModel()
121 for (Map.Entry<String, String> e : model.parameters.entrySet()){ in loadModel()
146 for (Map.Entry<String, String> e : model.parameters.entrySet()) in print()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java107 String[] parameters = new String[1]; in testGetLegacyParameters() local
110 mUtils.getCameraService().getLegacyParameters(cameraId, /*out*/parameters)); in testGetLegacyParameters()
111 assertNotNull(parameters[0]); in testGetLegacyParameters()
113 parameters[0].length() > 0); in testGetLegacyParameters()
115 int end = parameters[0].length(); in testGetLegacyParameters()
120 Log.v(TAG, "Camera " + cameraId + " parameters: " + parameters[0].substring(0, end)); in testGetLegacyParameters()
/frameworks/base/services/core/java/com/android/server/wm/
DViewServer.java226 String parameters; in run() local
231 parameters = ""; in run()
234 parameters = request.substring(index + 1); in run()
250 command, parameters); in run()
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzar/
Dstderr.txt.expect3 …5:36: error: In compute kernel root(), parameter 'z' cannot appear after the 'x' and 'y' parameters
4 …:45: error: In compute kernel root(), parameter 'ar' cannot appear after the 'x' and 'y' parameters
/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.java124 Camera.Parameters parameters = mCamera.getParameters(); in validateGetSurface() local
125 parameters.setPreviewSize(352, 288); in validateGetSurface()
126 parameters.set("orientation", "portrait"); in validateGetSurface()
127 mCamera.setParameters(parameters); in validateGetSurface()
438 Camera.Parameters parameters = mCamera.getParameters(); in testPortraitH263() local
439 parameters.setPreviewSize(352, 288); in testPortraitH263()
440 parameters.set("orientation", "portrait"); in testPortraitH263()
441 mCamera.setParameters(parameters); in testPortraitH263()
/frameworks/av/camera/
DICameraService.cpp281 virtual status_t getLegacyParameters(int cameraId, String16* parameters) { in getLegacyParameters() argument
282 if (parameters == NULL) { in getLegacyParameters()
296 *parameters = data.readString16(); in getLegacyParameters()
298 *parameters = String16(); in getLegacyParameters()
452 String16 parameters; in onTransact() local
456 reply->writeInt32(getLegacyParameters(cameraId, &parameters)); in onTransact()
459 reply->writeString16(parameters); in onTransact()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasClient.java868 public boolean getMessagesListing(String folder, int parameters) { in getMessagesListing() argument
869 return getMessagesListing(folder, parameters, null, (byte) 0, 0, 0); in getMessagesListing()
890 public boolean getMessagesListing(String folder, int parameters, MessagesFilter filter, in getMessagesListing() argument
893 return getMessagesListing(folder, parameters, filter, subjectLength, 0, 0); in getMessagesListing()
919 public boolean getMessagesListing(String folder, int parameters, MessagesFilter filter, in getMessagesListing() argument
927 parameters, filter, subjectLength, maxListCount, listStartOffset); in getMessagesListing()
/frameworks/compile/slang/tests/F_init_params/
Dstderr.txt.expect1 init_params.rs:4:6: error: init(void) is required to have no parameters
/frameworks/compile/slang/tests/F_const_array_arg/
Dstderr.txt.expect1 const_array_arg.rs:4:10: error: exported function parameters may not have array type: 'float [3]'
/frameworks/compile/slang/tests/F_root_11_ox/
Dstderr.txt.expect1 root_11_ox.rs:5:6: error: Compute kernel root() targeting SDK levels 11-13 may not skip parameters
/frameworks/compile/slang/tests/F_multi_in_target_version/
Dstderr.txt.expect1 …or compute kernel root(). Kernels targeting SDK levels 11-21 may not use multiple input parameters.
/frameworks/compile/slang/tests/F_root_compute_non_ptr_usrData/
Dstderr.txt.expect1 …_usrData.rs:4:48: error: Compute kernel root() cannot have non-pointer parameters besides 'x' and …
/frameworks/compile/slang/tests/F_root_compute_int_in/
Dstderr.txt.expect1 root_compute_int_in.rs:4:21: error: Compute kernel root() cannot have non-pointer parameters beside…

1234567