Home
last modified time | relevance | path

Searched refs:mParameters (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupAgentTimeoutParametersTest.java42 private BackupAgentTimeoutParameters mParameters; field in BackupAgentTimeoutParametersTest
50 mParameters = new BackupAgentTimeoutParameters(new Handler(), mContentResolver); in setUp()
56 mParameters.stop(); in tearDown()
63 mParameters.start(); in testGetParameters_afterConstructorWithStart_returnsDefaultValues()
65 long kvBackupAgentTimeoutMillis = mParameters.getKvBackupAgentTimeoutMillis(); in testGetParameters_afterConstructorWithStart_returnsDefaultValues()
66 long fullBackupAgentTimeoutMillis = mParameters.getFullBackupAgentTimeoutMillis(); in testGetParameters_afterConstructorWithStart_returnsDefaultValues()
67 long sharedBackupAgentTimeoutMillis = mParameters.getSharedBackupAgentTimeoutMillis(); in testGetParameters_afterConstructorWithStart_returnsDefaultValues()
68 long restoreSessionTimeoutMillis = mParameters.getRestoreSessionTimeoutMillis(); in testGetParameters_afterConstructorWithStart_returnsDefaultValues()
69 long restoreAgentFinishedTimeoutMillis = mParameters.getRestoreAgentFinishedTimeoutMillis(); in testGetParameters_afterConstructorWithStart_returnsDefaultValues()
91 mParameters.start(); in testGetRestoreAgentTimeout_afterConstructorWithStartForSystemAgent_returnsDefaultValue()
[all …]
/frameworks/native/libs/input/
DVelocityControl.cpp73 return mParameters; in getParameters()
77 mParameters = parameters; in setParameters()
84 float scale = mParameters.scale; in scaleDeltas()
87 if (speed >= mParameters.highThreshold) { in scaleDeltas()
89 scale *= mParameters.acceleration; in scaleDeltas()
90 } else if (speed > mParameters.lowThreshold) { in scaleDeltas()
94 (speed - mParameters.lowThreshold) / in scaleDeltas()
95 (mParameters.highThreshold - mParameters.lowThreshold) * in scaleDeltas()
96 (mParameters.acceleration - 1); in scaleDeltas()
102 mParameters.scale, mParameters.lowThreshold, mParameters.highThreshold, in scaleDeltas()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp77 mParameters(api1CameraId, cameraFacing), in Camera2Client()
87 SharedParameters::Lock l(mParameters); in Camera2Client()
88 l.mParameters.state = Parameters::DISCONNECTED; in Camera2Client()
89 l.mParameters.isSlowJpegModeForced = forceSlowJpegMode; in Camera2Client()
125 SharedParameters::Lock l(mParameters); in initializeImpl()
127 res = l.mParameters.initialize(mDevice.get()); in initializeImpl()
134 l.mParameters.isDeviceZslSupported = isZslEnabledInStillTemplate(); in initializeImpl()
189 SharedParameters::Lock l(mParameters); in initializeImpl()
192 ALOGD("%s", l.mParameters.paramsFlattened.c_str()); in initializeImpl()
222 const Parameters& p = mParameters.unsafeAccess(); in dumpClient()
[all …]
/frameworks/av/media/libmediahelper/
DAudioParameter.cpp113 if (mParameters.indexOfKey(key) < 0) { in AudioParameter()
114 mParameters.add(key, value); in AudioParameter()
116 mParameters.replaceValueFor(key, value); in AudioParameter()
129 mParameters.clear(); in ~AudioParameter()
136 size_t size = mParameters.size(); in toStringImpl()
138 str += mParameters.keyAt(i); in toStringImpl()
141 str += mParameters.valueAt(i); in toStringImpl()
150 if (mParameters.indexOfKey(key) < 0) { in add()
151 mParameters.add(key, value); in add()
154 mParameters.replaceValueFor(key, value); in add()
[all …]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEnvReverbTest.java50 private EffectParameter[] mParameters = new EffectParameter[NUM_PARAMS]; field in EnvReverbTest
115 mParameters[0] = new RoomLevelParam(mReverb, seekBar, textView); in onCreate()
116 seekBar.setOnSeekBarChangeListener(mParameters[0]); in onCreate()
121 mParameters[1] = new RoomHFLevelParam(mReverb, seekBar, textView); in onCreate()
122 seekBar.setOnSeekBarChangeListener(mParameters[1]); in onCreate()
127 mParameters[2] = new DecayTimeParam(mReverb, seekBar, textView); in onCreate()
128 seekBar.setOnSeekBarChangeListener(mParameters[2]); in onCreate()
133 mParameters[3] = new DecayHFRatioParam(mReverb, seekBar, textView); in onCreate()
134 seekBar.setOnSeekBarChangeListener(mParameters[3]); in onCreate()
139 mParameters[4] = new ReflectionsLevelParam(mReverb, seekBar, textView); in onCreate()
[all …]
DEqualizerTest.java52 private EffectParameter[] mParameters = new EffectParameter[NUM_PARAMS]; field in EqualizerTest
101mParameters[0] = new BandLevelParam(mEqualizer, 0, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate()
102 seekBar.setOnSeekBarChangeListener(mParameters[0]); in onCreate()
112mParameters[1] = new BandLevelParam(mEqualizer, 1, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate()
113 seekBar.setOnSeekBarChangeListener(mParameters[1]); in onCreate()
123mParameters[2] = new BandLevelParam(mEqualizer, 2, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate()
124 seekBar.setOnSeekBarChangeListener(mParameters[2]); in onCreate()
134mParameters[3] = new BandLevelParam(mEqualizer, 3, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate()
135 seekBar.setOnSeekBarChangeListener(mParameters[3]); in onCreate()
145mParameters[4] = new BandLevelParam(mEqualizer, 4, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate()
[all …]
DPresetReverbTest.java50 private EffectParameter[] mParameters = new EffectParameter[NUM_PARAMS]; field in PresetReverbTest
96mParameters[0] = new PresetParam(mPresetReverb, (short)0, (short)(sPresetNames.length - 1), seekBa… in onCreate()
97 seekBar.setOnSeekBarChangeListener(mParameters[0]); in onCreate()
122 for (int i = 0 ; i < mParameters.length; i++) {
123 mParameters[i].setEffect(mPresetReverb);
124 mParameters[i].setEnabled(true);
125 mParameters[i].updateDisplay();
152 for (int i = 0 ; i < mParameters.length; i++) { in onCheckedChanged()
153 mParameters[i].setEffect(mPresetReverb); in onCheckedChanged()
154 mParameters[i].setEnabled(true); in onCheckedChanged()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp50 m3aState.afTriggerId = l.mParameters.afTriggerCounter; in FrameProcessor()
51 m3aState.aeTriggerId = l.mParameters.precaptureTriggerCounter; in FrameProcessor()
53 if (l.mParameters.focusMode == Parameters::FOCUS_MODE_FIXED) { in FrameProcessor()
63 mLastFocalLength = l.mParameters.params.getFloat(CameraParameters::KEY_FOCAL_LENGTH); in FrameProcessor()
114 l.mParameters.params.setFloat( in processLensState()
117 l.mParameters.paramsFlattened = l.mParameters.params.flatten(); in processLensState()
132 enableFaceDetect = l.mParameters.enableFaceDetect; in processFaceDetect()
160 l.mParameters.fastInfo.maxFaces) { in processFaceDetect()
163 metadata.number_of_faces, l.mParameters.fastInfo.maxFaces); in processFaceDetect()
226 face.rect[0] = l.mParameters.arrayXToNormalizedWithCrop( in processFaceDetect()
[all …]
DCaptureSequencer.cpp295 switch (l.mParameters.state) { in manageDone()
308 l.mParameters.state = Parameters::STOPPED; in manageDone()
311 l.mParameters.state = Parameters::RECORD; in manageDone()
317 Parameters::getStateName(l.mParameters.state)); in manageDone()
320 takePictureCounter = l.mParameters.takePictureCounter; in manageDone()
358 res = updateCaptureRequest(l.mParameters, client); in manageStart()
365 else if (l.mParameters.useZeroShutterLag() && in manageStart()
366 l.mParameters.state == Parameters::STILL_CAPTURE && in manageStart()
367 l.mParameters.flashMode != Parameters::FLASH_MODE_ON) { in manageStart()
413 shutterNotifyLocked(l.mParameters, client); in manageZslStart()
[all …]
DCallbackProcessor.cpp305 if ( l.mParameters.state != Parameters::PREVIEW in processNewCallback()
306 && l.mParameters.state != Parameters::RECORD in processNewCallback()
307 && l.mParameters.state != Parameters::VIDEO_SNAPSHOT) { in processNewCallback()
314 if (! (l.mParameters.previewCallbackFlags & in processNewCallback()
320 if ((l.mParameters.previewCallbackFlags & in processNewCallback()
322 !l.mParameters.previewCallbackOneShot) { in processNewCallback()
328 if (imgBuffer.width != static_cast<uint32_t>(l.mParameters.previewWidth) || in processNewCallback()
329 imgBuffer.height != static_cast<uint32_t>(l.mParameters.previewHeight)) { in processNewCallback()
332 l.mParameters.previewWidth, l.mParameters.previewHeight, in processNewCallback()
338 previewFormat = l.mParameters.previewFormat; in processNewCallback()
[all …]
DParameters.h473 mParameters(cameraId, cameraFacing) { in SharedParameters()
480 mParameters(p.mParameters), in BaseLock()
488 P &mParameters; variable
502 return mParameters.staticInfo(tag, minCount, maxCount);
507 return mParameters; in unsafeAccess()
510 Parameters mParameters;
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/
DRequestBuilder.java31 Map<CaptureRequest.Key<?>, Object> mParameters = new HashMap<>(); field in RequestBuilder
53 mParameters.put(key, value); in setParameters()
72 mTargetOutputConfigIds, mParameters, mTemplateId, mCaptureStageId); in build()
77 final Map<CaptureRequest.Key<?>, Object> mParameters; field in RequestBuilder.RequestProcessorRequest
86 mParameters = parameters; in RequestProcessorRequest()
98 return mParameters; in getParameters()
/frameworks/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/
DRequestBuilder.java33 private final CameraMetadataWrapper mParameters; field in RequestBuilder
38 mParameters = new CameraMetadataWrapper(cameraCharacteristics); in RequestBuilder()
49 mParameters.set(key, value); in setParameter()
66 request.parameters = mParameters; in build()
DSimpleSessionProcessorStub.java61 private Map<CaptureRequest.Key, Object> mParameters = new HashMap<>(); field in SimpleSessionProcessorStub
141 mParameters.put(key, captureRequest.get(key)); in setParameters()
243 for (CaptureRequest.Key key : mParameters.keySet()) { in applyParameters()
244 requestBuilder.setParameter(key, mParameters.get(key)); in applyParameters()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp90 if (mParameters.mode == Parameters::Mode::POINTER) { in populateDeviceInfo()
150 (mParameters.mode != Parameters::Mode::NAVIGATION && in reconfigure()
196 toString(mParameters.hasAssociatedDisplay)); in dumpParameters()
197 dump += StringPrintf(INDENT4 "Mode: %s\n", ftl::enum_string(mParameters.mode).c_str()); in dumpParameters()
198 dump += StringPrintf(INDENT4 "OrientationAware: %s\n", toString(mParameters.orientationAware)); in dumpParameters()
429 mParameters = computeParameters(getDeviceContext()); in configureBasicParams()
432 switch (mParameters.mode) { in configureBasicParams()
436 mParameters.mode = Parameters::Mode::POINTER; in configureBasicParams()
460 if (mParameters.mode == Parameters::Mode::POINTER) { in configureOnPointerCapture()
461 mParameters.mode = Parameters::Mode::POINTER_RELATIVE; in configureOnPointerCapture()
[all …]
DKeyboardInputMapper.cpp164 if (mParameters.orientationAware) { in findViewport()
218 mParameters.orientationAware = config.getBool("keyboard.orientationAware").value_or(false); in configureParameters()
219 mParameters.handlesKeyRepeat = config.getBool("keyboard.handlesKeyRepeat").value_or(false); in configureParameters()
220 mParameters.doNotWakeByDefault = config.getBool("keyboard.doNotWakeByDefault").value_or(false); in configureParameters()
225 dump += StringPrintf(INDENT4 "OrientationAware: %s\n", toString(mParameters.orientationAware)); in dumpParameters()
226 dump += StringPrintf(INDENT4 "HandlesKeyRepeat: %s\n", toString(mParameters.handlesKeyRepeat)); in dumpParameters()
275 if (mParameters.orientationAware) { in processKey()
345 if (down && getDeviceContext().isExternal() && !mParameters.doNotWakeByDefault && in processKey()
350 if (mParameters.handlesKeyRepeat) { in processKey()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrCamera.java85 Camera.Parameters mParameters; field in QrCamera
177 mParameters = mCamera.getParameters(); in setCameraParameter()
178 mPreviewSize = getBestPreviewSize(mParameters); in setCameraParameter()
179 mParameters.setPreviewSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in setCameraParameter()
180 Size pictureSize = getBestPictureSize(mParameters); in setCameraParameter()
181 mParameters.setPictureSize(pictureSize.getWidth(), pictureSize.getHeight()); in setCameraParameter()
183 final List<String> supportedFlashModes = mParameters.getSupportedFlashModes(); in setCameraParameter()
186 mParameters.setFlashMode(Camera.Parameters.FLASH_MODE_OFF); in setCameraParameter()
189 final List<String> supportedFocusModes = mParameters.getSupportedFocusModes(); in setCameraParameter()
191 mParameters.setFocusMode(Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE); in setCameraParameter()
[all …]
/frameworks/base/keystore/java/android/security/
DKeyStoreOperation.java37 private final KeyParameter[] mParameters; field in KeyStoreOperation
47 this.mParameters = parameters; in KeyStoreOperation()
64 return mParameters; in getParameters()
/frameworks/native/libs/ui/
DColorSpace.cpp124 , mParameters(parameters) in ColorSpace()
125 , mOETF(toOETF(mParameters)) in ColorSpace()
126 , mEOTF(toEOTF(mParameters)) in ColorSpace()
140 , mParameters({gamma, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}) in ColorSpace()
174 , mParameters(parameters) in ColorSpace()
175 , mOETF(toOETF(mParameters)) in ColorSpace()
176 , mEOTF(toEOTF(mParameters)) in ColorSpace()
191 , mParameters({gamma, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}) in ColorSpace()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenState.java77 private final DozeParameters mParameters; field in DozeScreenState
103 mParameters = parameters; in DozeScreenState()
133 int screenState = newState.screenState(mParameters); in transitionTo()
167 && mParameters.shouldDelayDisplayDozeTransition() && !turningOn; in transitionTo()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java109 private final LocalTransportParameters mParameters; field in LocalTransport
125 mParameters = parameters; in LocalTransport()
130 return mParameters; in getParameters()
178 if (mParameters.isFakeEncryptionFlag()) { in getTransportFlags()
181 if (mParameters.isDeviceTransfer()) { in getTransportFlags()
184 if (mParameters.isEncrypted()) { in getTransportFlags()
263 if (mParameters.isNonIncrementalOnly() || !hasDataForPackage) { in performBackupInternal()
264 if (mParameters.isNonIncrementalOnly()) { in performBackupInternal()
622 String deviceName = mParameters.isDeviceTransfer() ? DEVICE_NAME_FOR_D2D_RESTORE_SET in getAvailableRestoreSets()
913 if (event == null || !mParameters.logAgentResults()) { in onEvent()
/frameworks/av/media/libmediahelper/include/media/
DAudioParameter.h176 size_t size() const { return mParameters.size(); } in size()
181 KeyedVector <String8, String8> mParameters; variable
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/
DValidatorHierarchy.java34 public @Nullable Parameters mParameters = null; field in ValidatorHierarchy
/frameworks/native/libs/ui/include_vndk/ui/
DColorSpace.h216 return mParameters; in getTransferParameters()
269 TransferParameters mParameters; variable
/frameworks/native/libs/ui/include_types/ui/
DColorSpace.h216 return mParameters; in getTransferParameters()
269 TransferParameters mParameters; variable

12