Home
last modified time | relevance | path

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

12345678910>>...41

/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/backup/java/com/android/server/backup/internal/
DBackupHandler.java46 import com.android.server.backup.params.AdbBackupParams;
47 import com.android.server.backup.params.AdbParams;
48 import com.android.server.backup.params.AdbRestoreParams;
49 import com.android.server.backup.params.BackupParams;
50 import com.android.server.backup.params.ClearParams;
51 import com.android.server.backup.params.ClearRetryParams;
52 import com.android.server.backup.params.RestoreGetSetsParams;
53 import com.android.server.backup.params.RestoreParams;
250 AdbBackupParams params = (AdbBackupParams) msg.obj; in handleMessage() local
252 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/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 …]
DGL11ExtensionPack.java238 int[] params, in glGetFramebufferAttachmentParameterivOES() argument
246 java.nio.IntBuffer params in glGetFramebufferAttachmentParameterivOES() argument
251 int[] params, in glGetIntegerv() argument
257 java.nio.IntBuffer params in glGetIntegerv() argument
263 int[] params, in glGetRenderbufferParameterivOES() argument
270 java.nio.IntBuffer params in glGetRenderbufferParameterivOES() argument
276 float[] params, in glGetTexGenfv() argument
283 java.nio.FloatBuffer params in glGetTexGenfv() argument
289 int[] params, in glGetTexGeniv() argument
296 java.nio.IntBuffer params in glGetTexGeniv() 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/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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java112 SessionParams params = getSessionParamsBuilder() in testActivityOnOldTheme() local
118 renderAndVerify(params, "simple_activity-old-theme.png"); in testActivityOnOldTheme()
128 SessionParams params = getSessionParamsBuilder() in testTranslucentBars() local
133 renderAndVerify(params, "four_corners_translucent.png"); in testTranslucentBars()
136 params = getSessionParamsBuilder() in testTranslucentBars()
142 renderAndVerify(params, "four_corners_translucent_land.png"); in testTranslucentBars()
145 params = getSessionParamsBuilder() in testTranslucentBars()
150 renderAndVerify(params, "four_corners.png"); in testTranslucentBars()
160 SessionParams params = getSessionParamsBuilder() in testAllWidgets() local
166 renderAndVerify(params, "allwidgets.png"); in testAllWidgets()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessageBuilder.java42 byte params[] = Arrays.copyOfRange(body, 1, body.length); in of()
43 return new HdmiCecMessage(src, dest, opcode, params); in of()
58 byte[] params = new byte[] { in buildFeatureAbortCommand()
62 return buildCommand(src, dest, Constants.MESSAGE_FEATURE_ABORT, params); in buildFeatureAbortCommand()
114 byte[] params = new byte[] { in buildSetMenuLanguageCommand()
121 Constants.MESSAGE_SET_MENU_LANGUAGE, params); in buildSetMenuLanguageCommand()
134 byte[] params; in buildSetOsdNameCommand()
136 params = name.substring(0, length).getBytes("US-ASCII"); in buildSetOsdNameCommand()
140 return buildCommand(src, dest, Constants.MESSAGE_SET_OSD_NAME, params); in buildSetOsdNameCommand()
155 byte[] params = new byte[] { in buildReportPhysicalAddressCommand()
[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/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.getStopReason()); in onStopJob()
[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/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/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/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/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 …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraCharacteristics.java25 import android.hardware.camera2.params.RecommendedStreamConfigurationMap;
26 import android.hardware.camera2.params.SessionConfiguration;
1054 …public static final Key<android.hardware.camera2.params.HighSpeedVideoConfiguration[]> CONTROL_AVA…
1055 …ware.camera2.params.HighSpeedVideoConfiguration[]>("android.control.availableHighSpeedVideoConfigu…
2314 …public static final Key<android.hardware.camera2.params.ReprocessFormatsMap> SCALER_AVAILABLE_INPU…
2315 …roid.hardware.camera2.params.ReprocessFormatsMap>("android.scaler.availableInputOutputFormatsMap",…
2412 …public static final Key<android.hardware.camera2.params.StreamConfiguration[]> SCALER_AVAILABLE_ST…
2413 …roid.hardware.camera2.params.StreamConfiguration[]>("android.scaler.availableStreamConfigurations"…
2434 …public static final Key<android.hardware.camera2.params.StreamConfigurationDuration[]> SCALER_AVAI…
2435 …d.hardware.camera2.params.StreamConfigurationDuration[]>("android.scaler.availableMinFrameDuration…
[all …]
/frameworks/base/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java51 public void scheduleApply(final SurfaceParams... params) { in scheduleApply() argument
60 for (int i = params.length - 1; i >= 0; i--) { in scheduleApply()
61 SurfaceParams surfaceParams = params[i]; in scheduleApply()
74 public static void applyParams(Transaction t, SurfaceParams params, float[] tmpFloat9) { in applyParams() argument
75 t.setMatrix(params.surface, params.matrix, tmpFloat9); in applyParams()
76 t.setWindowCrop(params.surface, params.windowCrop); in applyParams()
77 t.setAlpha(params.surface, params.alpha); in applyParams()
78 t.setLayer(params.surface, params.layer); in applyParams()
79 t.setCornerRadius(params.surface, params.cornerRadius); in applyParams()
80 if (params.visible) { in applyParams()
[all …]
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java146 final SessionParams params = new SessionParams(SessionParams.MODE_INVALID); in resolveInstallVolume() local
147 params.appPackageName = packageName; in resolveInstallVolume()
148 params.installLocation = installLocation; in resolveInstallVolume()
149 params.sizeBytes = sizeBytes; in resolveInstallVolume()
150 return resolveInstallVolume(context, params, testInterface); in resolveInstallVolume()
162 public static String resolveInstallVolume(Context context, SessionParams params) in resolveInstallVolume() argument
165 return resolveInstallVolume(context, params.appPackageName, params.installLocation, in resolveInstallVolume()
166 params.sizeBytes, testableInterface); in resolveInstallVolume()
170 public static String resolveInstallVolume(Context context, SessionParams params, in resolveInstallVolume() argument
179 params.appPackageName); in resolveInstallVolume()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTestUtils.java42 public static Object createNewInstance(String className, Object... params) { in createNewInstance() argument
45 int numParam = params.length; in createNewInstance()
48 paramType[i] = params[i].getClass(); in createNewInstance()
53 return constructor.newInstance(params); in createNewInstance()
65 public static Object invokeStaticMethod(Class<?> clazz, String method, Object... params) { in invokeStaticMethod() argument
67 int numParam = params.length; in invokeStaticMethod()
70 paramType[i] = params[i].getClass(); in invokeStaticMethod()
74 return methodReflection.invoke(null, params); in invokeStaticMethod()
89 Object... params) throws Throwable { in invokeStaticMethodThrowsException() argument
91 int numParam = params.length; in invokeStaticMethodThrowsException()
[all …]
/frameworks/base/core/java/android/app/job/
DJobServiceEngine.java104 final JobParameters params = (JobParameters) msg.obj; in handleMessage() local
108 boolean workOngoing = JobServiceEngine.this.onStartJob(params); in handleMessage()
109 ackStartMessage(params, workOngoing); in handleMessage()
111 Log.e(TAG, "Error while executing job: " + params.getJobId()); in handleMessage()
117 boolean ret = JobServiceEngine.this.onStopJob(params); in handleMessage()
118 ackStopMessage(params, ret); in handleMessage()
126 IJobCallback callback = params.getCallback(); in handleMessage()
129 callback.jobFinished(params.getJobId(), needsReschedule); in handleMessage()
144 private void ackStartMessage(JobParameters params, boolean workOngoing) { in ackStartMessage() argument
145 final IJobCallback callback = params.getCallback(); in ackStartMessage()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyRequestMapper.java24 import android.hardware.camera2.params.MeteringRectangle;
62 Camera.Parameters params = legacyRequest.parameters; in convertRequestMetadata() local
74 params); in convertRequestMetadata()
76 if (params.isZoomSupported()) { in convertRequestMetadata()
77 params.setZoom(zoomData.zoomIndex); in convertRequestMetadata()
109 legacyMode = ListUtils.listSelectFirstFrom(params.getSupportedAntibanding(), in convertRequestMetadata()
119 params.setAntibanding(legacyMode); in convertRequestMetadata()
135 int maxNumMeteringAreas = params.getMaxNumMeteringAreas(); in convertRequestMetadata()
142 params.setMeteringAreas(meteringAreaList); in convertRequestMetadata()
149 int maxNumFocusAreas = params.getMaxNumFocusAreas(); in convertRequestMetadata()
[all …]

12345678910>>...41