Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 1137) sorted by relevance

12345678910>>...46

/frameworks/base/core/java/org/apache/http/params/
DHttpConnectionParams.java32 package org.apache.http.params;
68 public static int getSoTimeout(final HttpParams params) { in getSoTimeout() argument
69 if (params == null) { in getSoTimeout()
72 return params.getIntParameter(CoreConnectionPNames.SO_TIMEOUT, 0); in getSoTimeout()
83 public static void setSoTimeout(final HttpParams params, int timeout) { in setSoTimeout() argument
84 if (params == null) { in setSoTimeout()
87 params.setIntParameter(CoreConnectionPNames.SO_TIMEOUT, timeout); in setSoTimeout()
97 public static boolean getTcpNoDelay(final HttpParams params) { in getTcpNoDelay() argument
98 if (params == null) { in getTcpNoDelay()
101 return params.getBooleanParameter in getTcpNoDelay()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessageValidator.java41 int isValid(byte[] params); in isValid() argument
301 public int isValid(byte[] params) { in isValid() argument
304 return params.length < mLength ? ERROR_PARAMETER_SHORT : OK; in isValid()
318 public int isValid(byte[] params) { in isValid() argument
319 return params.length < mMinLength ? ERROR_PARAMETER_SHORT : OK; in isValid()
323 private boolean isValidPhysicalAddress(byte[] params, int offset) { in isValidPhysicalAddress() argument
324 int physicalAddress = HdmiUtils.twoBytesToInt(params, offset); in isValidPhysicalAddress()
337 int path = HdmiUtils.twoBytesToInt(params, offset); in isValidPhysicalAddress()
394 private boolean isValidAsciiString(byte[] params, int offset, int maxLength) { in isValidAsciiString() argument
395 for (int i = offset; i < params.length && i < maxLength; i++) { in isValidAsciiString()
[all …]
DHdmiCecMessageBuilder.java46 byte params[] = Arrays.copyOfRange(body, 1, body.length); in of()
47 return new HdmiCecMessage(src, dest, opcode, params); in of()
62 byte[] params = new byte[] { in buildFeatureAbortCommand()
66 return buildCommand(src, dest, Constants.MESSAGE_FEATURE_ABORT, params); in buildFeatureAbortCommand()
118 byte[] params = new byte[] { in buildSetMenuLanguageCommand()
125 Constants.MESSAGE_SET_MENU_LANGUAGE, params); in buildSetMenuLanguageCommand()
138 byte[] params; in buildSetOsdNameCommand()
140 params = name.substring(0, length).getBytes("US-ASCII"); in buildSetOsdNameCommand()
144 return buildCommand(src, dest, Constants.MESSAGE_SET_OSD_NAME, params); in buildSetOsdNameCommand()
159 byte[] params = new byte[] { in buildReportPhysicalAddressCommand()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java45 import com.android.server.backup.params.AdbBackupParams;
46 import com.android.server.backup.params.AdbParams;
47 import com.android.server.backup.params.AdbRestoreParams;
48 import com.android.server.backup.params.BackupParams;
49 import com.android.server.backup.params.ClearParams;
50 import com.android.server.backup.params.ClearRetryParams;
51 import com.android.server.backup.params.RestoreGetSetsParams;
52 import com.android.server.backup.params.RestoreParams;
280 AdbBackupParams params = (AdbBackupParams) msg.obj; in handleMessage() local
282 params.fd, in handleMessage()
[all …]
/frameworks/native/cmds/installd/tests/
Dinstalld_otapreopt_test.cpp47 void verifyPackageParameters(const OTAPreoptParameters& params, in verifyPackageParameters() argument
58 ASSERT_STREQ(params.target_slot.c_str(), args[1]); in verifyPackageParameters()
59 ASSERT_STREQ(params.apk_path, args[i++]); in verifyPackageParameters()
60 ASSERT_EQ(params.uid, static_cast<uid_t>(atoi(args[i++]))); in verifyPackageParameters()
61 ASSERT_STREQ(params.pkgName, args[i++]); in verifyPackageParameters()
62 ASSERT_STREQ(params.instruction_set, args[i++]); in verifyPackageParameters()
63 ASSERT_EQ(params.dexopt_needed, atoi(args[i++])); in verifyPackageParameters()
64 ASSERT_STREQ(params.oat_dir, args[i++]); in verifyPackageParameters()
66 ASSERT_STREQ(params.compiler_filter, args[i++]); in verifyPackageParameters()
67 ASSERT_STREQ(params.volume_uuid, ParseNull(args[i++])); in verifyPackageParameters()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraCharacteristics.java25 import android.hardware.camera2.params.RecommendedStreamConfigurationMap;
26 import android.hardware.camera2.params.SessionConfiguration;
1039 …public static final Key<android.hardware.camera2.params.HighSpeedVideoConfiguration[]> CONTROL_AVA…
1040 …ware.camera2.params.HighSpeedVideoConfiguration[]>("android.control.availableHighSpeedVideoConfigu…
1188 …public static final Key<android.hardware.camera2.params.Capability[]> CONTROL_AVAILABLE_EXTENDED_S…
1189 …oid.hardware.camera2.params.Capability[]>("android.control.availableExtendedSceneModeCapabilities"…
1228 …public static final Key<android.hardware.camera2.params.HighSpeedVideoConfiguration[]> CONTROL_AVA…
1229 …era2.params.HighSpeedVideoConfiguration[]>("android.control.availableHighSpeedVideoConfigurationsM…
2494 …public static final Key<android.hardware.camera2.params.ReprocessFormatsMap> SCALER_AVAILABLE_INPU…
2495 …roid.hardware.camera2.params.ReprocessFormatsMap>("android.scaler.availableInputOutputFormatsMap",…
[all …]
/frameworks/base/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java59 public void scheduleApply(final SurfaceParams... params) { in scheduleApply() argument
65 applyParams(t, params); in scheduleApply()
84 void applyParams(Transaction t, final SurfaceParams... params) { in applyParams() argument
85 for (int i = params.length - 1; i >= 0; i--) { in applyParams()
86 SurfaceParams surfaceParams = params[i]; in applyParams()
100 public static void applyParams(Transaction t, SurfaceParams params, float[] tmpFloat9) { in applyParams() argument
101 if ((params.flags & FLAG_TRANSACTION) != 0) { in applyParams()
102 t.merge(params.mergeTransaction); in applyParams()
105 if ((params.flags & FLAG_MATRIX) != 0) { in applyParams()
106 t.setMatrix(params.surface, params.matrix, tmpFloat9); in applyParams()
[all …]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL11.java146 void glGetPointerv(int pname, java.nio.Buffer[] params); in glGetPointerv() argument
233 boolean[] params, in glGetBooleanv() argument
239 java.nio.IntBuffer params in glGetBooleanv() argument
245 int[] params, in glGetBufferParameteriv() argument
252 java.nio.IntBuffer params in glGetBufferParameteriv() argument
279 int[] params, in glGetFixedv() argument
285 java.nio.IntBuffer params in glGetFixedv() argument
290 float[] params, in glGetFloatv() argument
296 java.nio.FloatBuffer params in glGetFloatv() argument
302 float[] params, in glGetLightfv() argument
[all …]
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DCommandOptions.kt65 private fun getParam(paramName: String, params: Map<String, String>): String { in <lambda>()
66 if (!params.containsKey(paramName)) { in <lambda>()
69 return params.getValue(paramName) in <lambda>()
72 private fun validateNotSpecified(paramName: String, params: Map<String, String>): String { in <lambda>()
73 if (params.containsKey(paramName)) { in <lambda>()
143 val params: MutableMap<String, String> = mutableMapOf() in <lambda>() constant
158 if (params.containsKey(args[idx])) { in <lambda>()
161 params[args[idx]] = args[idx + 1] in <lambda>()
171 protoLogClassNameArg = validateClassName(getParam(PROTOLOG_CLASS_PARAM, params)) in <lambda>()
173 params)) in <lambda>()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLES11.java270 boolean[] params, in glGetBooleanv() argument
278 java.nio.IntBuffer params in glGetBooleanv() argument
286 int[] params, in glGetBufferParameteriv() argument
295 java.nio.IntBuffer params in glGetBufferParameteriv() argument
332 int[] params, in glGetFixedv() argument
340 java.nio.IntBuffer params in glGetFixedv() argument
347 float[] params, in glGetFloatv() argument
355 java.nio.FloatBuffer params in glGetFloatv() argument
363 float[] params, in glGetLightfv() argument
372 java.nio.FloatBuffer params in glGetLightfv() argument
[all …]
DGLErrorWrapper.java297 public void glFogfv(int pname, float[] params, int offset) { in glFogfv() argument
299 mgl.glFogfv(pname, params, offset); in glFogfv()
303 public void glFogfv(int pname, FloatBuffer params) { in glFogfv() argument
305 mgl.glFogfv(pname, params); in glFogfv()
315 public void glFogxv(int pname, int[] params, int offset) { in glFogxv() argument
317 mgl.glFogxv(pname, params, offset); in glFogxv()
321 public void glFogxv(int pname, IntBuffer params) { in glFogxv() argument
323 mgl.glFogxv(pname, params); in glFogxv()
365 public void glGetIntegerv(int pname, int[] params, int offset) { in glGetIntegerv() argument
367 mgl.glGetIntegerv(pname, params, offset); in glGetIntegerv()
[all …]
DGLES11Ext.java336 int[] params, in glFogxvOES() argument
344 java.nio.IntBuffer params in glFogxvOES() argument
377 int[] params, in glGetFixedvOES() argument
385 java.nio.IntBuffer params in glGetFixedvOES() argument
393 int[] params, in glGetLightxvOES() argument
402 java.nio.IntBuffer params in glGetLightxvOES() argument
410 int[] params, in glGetMaterialxvOES() argument
419 java.nio.IntBuffer params in glGetMaterialxvOES() argument
427 int[] params, in glGetTexEnvxvOES() argument
436 java.nio.IntBuffer params in glGetTexEnvxvOES() argument
[all …]
/frameworks/av/media/codec2/sfplugin/tests/
DReflectedParamUpdater_test.cpp168 std::vector<std::unique_ptr<C2Param>> params; in TEST_F() local
169 params.emplace_back(new C2IntInfo); in TEST_F()
170 params.emplace_back(new C2LongInfo); in TEST_F()
171 EXPECT_EQ(0, CastParam<C2IntInfo>(params[0])->value); in TEST_F()
172 EXPECT_EQ(0, CastParam<C2LongInfo>(params[1])->value); in TEST_F()
174 updater.updateParamsFromMessage(msg, &params); in TEST_F()
175 EXPECT_EQ(12, CastParam<C2IntInfo>(params[0])->value); in TEST_F()
176 EXPECT_EQ(34, CastParam<C2LongInfo>(params[1])->value); in TEST_F()
181 msg = updater.getParams(params); in TEST_F()
214 std::vector<std::unique_ptr<C2Param>> params; in TEST_F() local
[all …]
/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp56 DescribeColorFormatParams::DescribeColorFormatParams(const DescribeColorFormat2Params &params) { in DescribeColorFormatParams() argument
59 eColorFormat = params.eColorFormat; in DescribeColorFormatParams()
60 nFrameWidth = params.nFrameWidth; in DescribeColorFormatParams()
61 nFrameHeight = params.nFrameHeight; in DescribeColorFormatParams()
62 nStride = params.nStride; in DescribeColorFormatParams()
63 nSliceHeight = params.nSliceHeight; in DescribeColorFormatParams()
64 bUsingNativeBuffers = params.bUsingNativeBuffers; in DescribeColorFormatParams()
68 void DescribeColorFormat2Params::initFromV1(const DescribeColorFormatParams &params) { in initFromV1() argument
71 eColorFormat = params.eColorFormat; in initFromV1()
72 nFrameWidth = params.nFrameWidth; in initFromV1()
[all …]
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java113 SessionParams params = getSessionParamsBuilder() in testActivityOnOldTheme() local
119 renderAndVerify(params, "simple_activity-old-theme.png"); in testActivityOnOldTheme()
129 SessionParams params = getSessionParamsBuilder() in testTranslucentBars() local
134 renderAndVerify(params, "four_corners_translucent.png"); in testTranslucentBars()
137 params = getSessionParamsBuilder() in testTranslucentBars()
143 renderAndVerify(params, "four_corners_translucent_land.png"); in testTranslucentBars()
146 params = getSessionParamsBuilder() in testTranslucentBars()
151 renderAndVerify(params, "four_corners.png"); in testTranslucentBars()
160 SessionParams params = getSessionParamsBuilder() in testAllWidgets() local
167 renderAndVerify(params, "allwidgets.png"); in testAllWidgets()
[all …]
/frameworks/base/services/core/java/com/android/server/content/
DSyncJobService.java74 public boolean onStartJob(JobParameters params) { in onStartJob() argument
79 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(params.getExtras()); in onStartJob()
82 Slog.wtf(TAG, "Got invalid job " + params.getJobId()); in onStartJob()
88 sLogger.log("onStartJob() jobid=", params.getJobId(), " op=", op, in onStartJob()
96 jobFinished(params, wantsReschedule); in onStartJob()
102 final int jobId = params.getJobId(); in onStartJob()
103 sJobParamsMap.put(jobId, params); in onStartJob()
119 public boolean onStopJob(JobParameters params) { in onStopJob() argument
121 Slog.v(TAG, "onStopJob called " + params.getJobId() + ", reason: " in onStopJob()
122 + params.getInternalStopReasonCode()); in onStopJob()
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraSettings.java31 public AndroidCameraSettings(CameraCapabilities capabilities, Camera.Parameters params) { in AndroidCameraSettings() argument
32 if (params == null) { in AndroidCameraSettings()
42 Camera.Size paramPreviewSize = params.getPreviewSize(); in AndroidCameraSettings()
44 setPreviewFrameRate(params.getPreviewFrameRate()); in AndroidCameraSettings()
46 params.getPreviewFpsRange(previewFpsRange); in AndroidCameraSettings()
49 setPreviewFormat(params.getPreviewFormat()); in AndroidCameraSettings()
53 setZoomRatio(params.getZoomRatios().get(params.getZoom()) / 100f); in AndroidCameraSettings()
57 setExposureCompensationIndex(params.getExposureCompensation()); in AndroidCameraSettings()
58 setFlashMode(stringifier.flashModeFromString(params.getFlashMode())); in AndroidCameraSettings()
59 setFocusMode(stringifier.focusModeFromString(params.getFocusMode())); in AndroidCameraSettings()
[all …]
/frameworks/native/opengl/tools/glgen/specs/gles11/
Dchecks.spec43 glFog ifcheck params 4 pname GL_FOG_COLOR
54 glGetBufferParameter check params 1
60 glGetFramebufferAttachmentParameterivOES check params 1
62 glGetLight ifcheck params 3 pname GL_SPOT_DIRECTION ifcheck params 4 pname GL_AMBIENT,GL_DIFFUSE,GL…
63 glGetMaterial ifcheck params 4 pname GL_AMBIENT,GL_DIFFUSE,GL_SPECULAR,GL_EMISSION,GL_AMBIENT_AND_D…
66 glGetProgramiv check params 1
68 glGetRenderbufferParameteriv check params 1
69 glGetRenderbufferParameterivOES check params 1
71 glGetShaderiv check params 1
76 glGetTexEnv ifcheck params 4 pname GL_TEXTURE_ENV_COLOR
[all …]
DGLES11.spec11 void glGetBooleanv ( GLenum pname, GLboolean *params )
12 void glGetBufferParameteriv ( GLenum target, GLenum pname, GLint *params )
15 void glGetFixedv ( GLenum pname, GLfixed *params )
16 void glGetFloatv ( GLenum pname, GLfloat *params )
17 void glGetLightfv ( GLenum light, GLenum pname, GLfloat *params )
18 void glGetLightxv ( GLenum light, GLenum pname, GLfixed *params )
19 void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params )
20 void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params )
21 // void glGetPointerv ( GLenum pname, void **params )
22 void glGetTexEnvfv ( GLenum env, GLenum pname, GLfloat *params )
[all …]
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java143 final SessionParams params = new SessionParams(SessionParams.MODE_INVALID); in resolveInstallVolume() local
144 params.appPackageName = packageName; in resolveInstallVolume()
145 params.installLocation = installLocation; in resolveInstallVolume()
146 params.sizeBytes = sizeBytes; in resolveInstallVolume()
147 return resolveInstallVolume(context, params, testInterface); in resolveInstallVolume()
159 public static String resolveInstallVolume(Context context, SessionParams params) in resolveInstallVolume() argument
162 return resolveInstallVolume(context, params.appPackageName, params.installLocation, in resolveInstallVolume()
163 params.sizeBytes, testableInterface); in resolveInstallVolume()
167 SessionParams params) throws IOException { in checkFitOnVolume() argument
171 final int installFlags = translateAllocateFlags(params.installFlags); in checkFitOnVolume()
[all …]
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java65 public void glGetPointerv(int pname, java.nio.Buffer[] params) { in glGetPointerv() argument
393 float[] params, in glFogfv() argument
401 java.nio.FloatBuffer params in glFogfv() argument
415 int[] params, in glFogxv() argument
423 java.nio.IntBuffer params in glFogxv() argument
478 int[] params, in glGetIntegerv() argument
486 java.nio.IntBuffer params in glGetIntegerv() argument
523 float[] params, in glLightModelfv() argument
531 java.nio.FloatBuffer params in glLightModelfv() argument
545 int[] params, in glLightModelxv() argument
[all …]
/frameworks/av/media/libeffects/lvm/tests/
Dlvmtest.cpp209 int LvmBundle_init(struct EffectContext* pContext, LVM_ControlParams_t* params) { in LvmBundle_init() argument
260 params->OperatingMode = LVM_MODE_ON; in LvmBundle_init()
261 params->SampleRate = LVM_FS_44100; in LvmBundle_init()
262 params->SourceFormat = LVM_STEREO; in LvmBundle_init()
263 params->ChMask = AUDIO_CHANNEL_OUT_STEREO; in LvmBundle_init()
264 params->SpeakerType = LVM_HEADPHONES; in LvmBundle_init()
269 params->VirtualizerOperatingMode = LVM_MODE_OFF; in LvmBundle_init()
270 params->VirtualizerType = LVM_CONCERTSOUND; in LvmBundle_init()
271 params->VirtualizerReverbLevel = 100; in LvmBundle_init()
272 params->CS_EffectLevel = LVM_CS_EFFECT_NONE; in LvmBundle_init()
[all …]
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-checks6 glFog ifcheck params 1 pname GL_FOG_MODE,GL_FOG_DENSITY,GL_FOG_START,GL_FOG_END ifcheck params 4 pn…
10params 1 pname GL_ALPHA_BITS,GL_ALPHA_TEST_FUNC,GL_ALPHA_TEST_REF,GL_BLEND_DST,GL_BLUE_BITS,GL_COL…
11params 1 pname GL_SPOT_EXPONENT,GL_SPOT_CUTOFF,GL_CONSTANT_ATTENUATION,GL_LINEAR_ATTENUATION,GL_QU…
12 glGetMaterial ifcheck params 1 pname GL_SHININESS ifcheck params 4 pname GL_AMBIENT,GL_DIFFUSE,GL_S…
13 glGetTexEnv ifcheck params 1 pname GL_TEXTURE_ENV_MODE,GL_COMBINE_RGB,GL_COMBINE_ALPHA ifcheck para…
14 glGetTexParameter check params 1
15 glLightModel ifcheck params 1 pname GL_LIGHT_MODEL_TWO_SIDE ifcheck params 4 pname GL_LIGHT_MODEL_A…
16params 1 pname GL_SPOT_EXPONENT,GL_SPOT_CUTOFF,GL_CONSTANT_ATTENUATION,GL_LINEAR_ATTENUATION,GL_QU…
18 glMaterial ifcheck params 1 pname GL_SHININESS ifcheck params 4 pname GL_AMBIENT,GL_DIFFUSE,GL_SPEC…
20 glPointParameter check params 1
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DRowContentBindStageTest.java74 RowContentBindParams params = mRowContentBindStage.getStageParams(mEntry); in testRequireContentViews() local
75 params.requireContentViews(flags); in testRequireContentViews()
91 RowContentBindParams params = mRowContentBindStage.getStageParams(mEntry); in testFreeContentViews() local
92 params.requireContentViews(FLAG_CONTENT_VIEW_ALL); in testFreeContentViews()
96 params.markContentViewsFreeable(flags); in testFreeContentViews()
106 RowContentBindParams params = mRowContentBindStage.getStageParams(mEntry); in testRebindAllContentViews() local
108 params.requireContentViews(flags); in testRebindAllContentViews()
109 params.clearDirtyContentViews(); in testRebindAllContentViews()
112 params.rebindAllContentViews(); in testRebindAllContentViews()
128 RowContentBindParams params = mRowContentBindStage.getStageParams(mEntry); in testSetUseLowPriority() local
[all …]
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetectionService.java92 private void setClient(@NonNull UUID uuid, @Nullable Bundle params, in setClient() argument
99 onConnected(uuid, params); in setClient()
102 private void removeClient(@NonNull UUID uuid, @Nullable Bundle params) { in removeClient() argument
108 onDisconnected(uuid, params); in removeClient()
121 public void onConnected(@NonNull UUID uuid, @Nullable Bundle params) { in onConnected() argument
138 public void onDisconnected(@NonNull UUID uuid, @Nullable Bundle params) { in onDisconnected() argument
152 public void onGenericRecognitionEvent(@NonNull UUID uuid, @Nullable Bundle params, int opId, in onGenericRecognitionEvent() argument
167 public void onError(@NonNull UUID uuid, @Nullable Bundle params, int opId, int status) { in onError() argument
179 public abstract void onStopOperation(@NonNull UUID uuid, @Nullable Bundle params, int opId); in onStopOperation() argument
218 public void setClient(ParcelUuid puuid, Bundle params, in onBind() argument
[all …]

12345678910>>...46