Home
last modified time | relevance | path

Searched refs:mParams (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
DObexAppParameters.java28 private final HashMap<Byte, byte[]> mParams; field in ObexAppParameters
31 mParams = new HashMap<Byte, byte[]>(); in ObexAppParameters()
35 mParams = new HashMap<Byte, byte[]>(); in ObexAppParameters()
74 for (Map.Entry<Byte, byte[]> entry : mParams.entrySet()) { in getHeader()
81 for (Map.Entry<Byte, byte[]> entry : mParams.entrySet()) { in getHeader()
94 if (mParams.size() > 0) { in addToHeaderSet()
100 return mParams.containsKey(tag); in exists()
105 mParams.put(tag, bval); in add()
110 mParams.put(tag, bval); in add()
115 mParams.put(tag, bval); in add()
[all …]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
DObexAppParameters.java28 private final HashMap<Byte, byte[]> mParams; field in ObexAppParameters
31 mParams = new HashMap<Byte, byte[]>(); in ObexAppParameters()
35 mParams = new HashMap<Byte, byte[]>(); in ObexAppParameters()
74 for (Map.Entry<Byte, byte[]> entry : mParams.entrySet()) { in getHeader()
81 for (Map.Entry<Byte, byte[]> entry : mParams.entrySet()) { in getHeader()
94 if (mParams.size() > 0) { in addToHeaderSet()
100 return mParams.containsKey(tag); in exists()
105 mParams.put(tag, bval); in add()
110 mParams.put(tag, bval); in add()
115 mParams.put(tag, bval); in add()
[all …]
/frameworks/webview/chromium/java/com/android/webview/chromium/
DFileChooserParamsAdapter.java28 private AwContentsClient.FileChooserParams mParams; field in FileChooserParamsAdapter
46 mParams = params; in FileChooserParamsAdapter()
51 return mParams.mode; in getMode()
56 if (mParams.acceptTypes == null) in getAcceptTypes()
58 return mParams.acceptTypes.split(";"); in getAcceptTypes()
63 return mParams.capture; in isCaptureEnabled()
68 return mParams.title; in getTitle()
73 return mParams.defaultFilename; in getFilenameHint()
81 if (mParams.acceptTypes != null && !mParams.acceptTypes.trim().isEmpty()) in createIntent()
82 mimeType = mParams.acceptTypes.split(";")[0]; in createIntent()
/frameworks/base/core/tests/coretests/src/android/view/menu/
DMenuScenario.java31 private Params mParams = new Params(); field in MenuScenario
44 onInitParams(mParams); in dispatchInitParams()
49 mParams = params; in setParams()
54 mItems = new MenuItem[mParams.numItems]; in onParamsChanged()
55 mWasItemClicked = new boolean[mParams.numItems]; in onParamsChanged()
63 if (!mParams.shouldShowMenu) return false; in onCreateOptionsMenu()
66 for (int i = 0; i < mParams.numItems; i++) { in onCreateOptionsMenu()
70 CharSequence givenTitle = mParams.itemTitles.get(i); in onCreateOptionsMenu()
77 if (mParams.listenForClicks) { in onCreateOptionsMenu()
92 return mParams.shouldShowMenu; in onPrepareOptionsMenu()
[all …]
/frameworks/volley/tests/src/com/android/volley/mock/
DTestRequest.java92 private Map<String, String> mParams; field in TestRequest.PostWithBody
95 mParams = new HashMap<String, String>(); in PostWithBody()
96 mParams.put("testKey", "testValue"); in PostWithBody()
101 return mParams; in getParams()
117 private Map<String, String> mParams = new HashMap<String, String>(); field in TestRequest.PutWithBody
120 mParams = new HashMap<String, String>(); in PutWithBody()
121 mParams.put("testKey", "testValue"); in PutWithBody()
126 return mParams; in getParams()
167 private Map<String, String> mParams = new HashMap<String, String>(); field in TestRequest.PatchWithBody
170 mParams = new HashMap<String, String>(); in PatchWithBody()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DFullBackupJob.java35 JobParameters mParams; field in FullBackupJob
51 if (mParams != null) { in finishBackupPass()
52 jobFinished(mParams, false); in finishBackupPass()
53 mParams = null; in finishBackupPass()
61 mParams = params; in onStartJob()
68 if (mParams != null) { in onStopJob()
69 mParams = null; in onStopJob()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java67 private final T mParams; field in RenderAction
81 mParams = params; in RenderAction()
103 HardwareConfig hardwareConfig = mParams.getHardwareConfig(); in init()
120 RenderResources resources = mParams.getResources(); in init()
123 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources, in init()
124 mParams.getProjectCallback(), getConfiguration(), mParams.getTargetSdkVersion(), in init()
125 mParams.isRtlSupported()); in init()
239 LayoutLog currentLog = mParams.getLog(); in setUp()
283 return mParams; in getParams()
295 if (mParams != null) { in getLog()
[all …]
/frameworks/rs/api/
Dgen_runtime.cpp297 vector<ParameterDefinition*> mParams; member in __anon8b74ac7a0111::Permutation
1128 mFirstInputIndex = mParams.size(); in Permutation()
1133 mParams.push_back(def); in Permutation()
1144 mReturnIndex = mParams.size(); in Permutation()
1145 mParams.push_back(def); in Permutation()
1153 for (int i = 0; i < (int)mParams.size(); i++) { in Permutation()
1154 const ParameterDefinition& p = *mParams[i]; in Permutation()
1214 file << mParams[mReturnIndex]->rsType; in writeHeaderSection()
1226 for (int i = 0; i < (int)mParams.size(); i++) { in writeHeaderSection()
1228 const ParameterDefinition& p = *mParams[i]; in writeHeaderSection()
[all …]
/frameworks/base/core/java/android/widget/
DToast.java244 return mTN.mParams; in getWindowParams()
343 private final WindowManager.LayoutParams mParams = new WindowManager.LayoutParams(); field in Toast.TN
360 final WindowManager.LayoutParams params = mParams; in TN()
407 mParams.gravity = gravity; in handleShow()
409 mParams.horizontalWeight = 1.0f; in handleShow()
412 mParams.verticalWeight = 1.0f; in handleShow()
414 mParams.x = mX; in handleShow()
415 mParams.y = mY; in handleShow()
416 mParams.verticalMargin = mVerticalMargin; in handleShow()
417 mParams.horizontalMargin = mHorizontalMargin; in handleShow()
[all …]
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java32 private Bundle mParams; field in UiAutomatorTestCase
51 return mParams; in getParams()
78 mParams = params; in initialize()
81 String monkeyVal = mParams.getString("monkey"); in initialize()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java612 private RunParameters mParams = new RunParameters(); field in GraphRunner
782 synchronized (mParams) { in setIsVerbose()
783 mParams.isVerbose = isVerbose; in setIsVerbose()
794 synchronized (mParams) { in isVerbose()
795 return mParams.isVerbose; in isVerbose()
820 synchronized (mParams) { in setFlushOnClose()
821 mParams.flushOnClose = flush; in setFlushOnClose()
832 synchronized (mParams) { in flushOnClose()
833 return mParams.flushOnClose; in flushOnClose()
846 synchronized (mParams) { in setListener()
[all …]
/frameworks/base/core/java/android/speech/tts/
DSynthesisRequest.java41 private final Bundle mParams; field in SynthesisRequest
53 mParams = new Bundle(params); in SynthesisRequest()
59 mParams = new Bundle(params); in SynthesisRequest()
124 return mParams; in getParams()
DTextToSpeech.java670 private final Bundle mParams = new Bundle(); field in TextToSpeech
1356 mParams.putInt(Engine.KEY_PARAM_RATE, intRate);
1380 mParams.putInt(Engine.KEY_PARAM_PITCH, intPitch);
1399 mParams.putParcelable(Engine.KEY_PARAM_AUDIO_ATTRIBUTES,
1505 mParams.putString(Engine.KEY_PARAM_VOICE_NAME, voiceName);
1506 mParams.putString(Engine.KEY_PARAM_LANGUAGE, language);
1507 mParams.putString(Engine.KEY_PARAM_COUNTRY, country);
1508 mParams.putString(Engine.KEY_PARAM_VARIANT, variant);
1548 String lang = mParams.getString(Engine.KEY_PARAM_LANGUAGE, "");
1549 String country = mParams.getString(Engine.KEY_PARAM_COUNTRY, "");
[all …]
DTextToSpeechService.java821 protected final Bundle mParams; field in TextToSpeechService.SpeechItemV1
827 mParams = params; in SpeechItemV1()
832 return !TextUtils.isEmpty(getStringParam(mParams, Engine.KEY_PARAM_LANGUAGE, null)); in hasLanguage()
836 return getIntParam(mParams, Engine.KEY_PARAM_RATE, getDefaultSpeechRate()); in getSpeechRate()
840 return getIntParam(mParams, Engine.KEY_PARAM_PITCH, Engine.DEFAULT_PITCH); in getPitch()
849 return AudioOutputParams.createFromV1ParamsBundle(mParams, true); in getAudioParams()
869 mSynthesisRequest = new SynthesisRequest(mText, mParams); in SynthesisSpeechItemV1()
948 return getStringParam(mParams, Engine.KEY_PARAM_COUNTRY, ""); in getCountry()
953 return getStringParam(mParams, Engine.KEY_PARAM_VARIANT, ""); in getVariant()
957 return getStringParam(mParams, Engine.KEY_PARAM_LANGUAGE, mDefaultLocale[0]); in getLanguage()
[all …]
/frameworks/av/services/audiopolicy/
DAudioPolicyEffects.h98 for (size_t k = 0; k < orig.mParams.size(); k++) { in EffectDesc()
99 effect_param_t *origParam = orig.mParams[k]; in EffectDesc()
109 mParams.add(dupParam); in EffectDesc()
114 for (size_t k = 0; k < mParams.size(); k++) { in ~EffectDesc()
115 free(mParams[k]); in ~EffectDesc()
120 Vector <effect_param_t *> mParams; variable
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java45 private Bundle mParams; field in UiAutomatorTestCase
52 mShouldDisableIme = "true".equals(mParams.getString(DISABLE_IME)); in setUp()
82 return mParams; in getParams()
108 mParams = params; in setParams()
DUiAutomatorTestRunner.java64 private Bundle mParams = null; field in UiAutomatorTestRunner
93 mParams = params; in run()
123 String outputFormat = mParams.getString("outputFormat"); in start()
136 String traceType = mParams.getString("traceOutputMode"); in start()
140 String filename = mParams.getString("traceLogFilename"); in start()
429 ((UiAutomatorTestCase)testCase).setParams(mParams); in prepareTestCase()
/frameworks/base/location/java/android/location/
DGeocoder.java50 private GeocoderParams mParams; field in Geocoder
83 mParams = new GeocoderParams(context, locale); in Geocoder()
134 mParams, results); in getFromLocation()
176 0, 0, 0, 0, maxResults, mParams, results); in getFromLocationName()
249 maxResults, mParams, result); in getFromLocationName()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessage.java35 private final byte[] mParams; field in HdmiCecMessage
44 mParams = Arrays.copyOf(params, params.length); in HdmiCecMessage()
85 return mParams; in getParams()
93 if (mParams.length > 0) { in toString()
95 for (byte data : mParams) { in toString()
/frameworks/base/core/java/android/util/
DPathParser.java107 || nodesFrom[i].mParams.length != nodesTo[i].mParams.length) { in canMorph()
124 for (int j = 0; j < source[i].mParams.length; j ++) { in updateNodes()
125 target[i].mParams[j] = source[i].mParams[j]; in updateNodes()
264 private float[] mParams; field in PathParser.PathDataNode
268 mParams = params; in PathDataNode()
273 mParams = Arrays.copyOf(n.mParams, n.mParams.length); in PathDataNode()
286 addCommand(path, current, previousCommand, node[i].mType, node[i].mParams); in nodesToPath()
302 for (int i = 0; i < nodeFrom.mParams.length; i++) { in interpolatePathDataNode()
303 mParams[i] = nodeFrom.mParams[i] * (1 - fraction) in interpolatePathDataNode()
304 + nodeTo.mParams[i] * fraction; in interpolatePathDataNode()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java97 private Camera.Parameters mParams; field in RequestThreadManager
401 mParams = mCamera.getParameters(); in configureOutputs()
409 List<int[]> supportedFpsRanges = mParams.getSupportedPreviewFpsRange(); in configureOutputs()
416 mParams.setPreviewFpsRange(bestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in configureOutputs()
424 Size largestJpegDimen = ParameterUtils.getLargestSupportedJpegSizeByArea(mParams); in configureOutputs()
427 mParams.getSupportedPreviewSizes()); in configureOutputs()
444 mParams.setPreviewSize(mIntermediateBufferSize.getWidth(), in configureOutputs()
459 callbackOutputSizes, mParams); in configureOutputs()
467 mParams.setPictureSize( in configureOutputs()
490 mCamera.setParameters(mParams); in configureOutputs()
[all …]
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DRunTestCommand.java54 private final Bundle mParams = new Bundle(); field in RunTestCommand
91 getRunner().run(mTestClasses, mParams, mDebug, mMonkey); in run()
117 mParams.putString(key, value); in parseArgs()
131 mParams.putString(OUTPUT_FORMAT_KEY, OUTPUT_SIMPLE); in parseArgs()
192 String jars = mParams.getString(JARS_PARAM); in addTestClassesFromJars()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DBridgeActionBar.java40 @NonNull protected final SessionParams mParams; field in BridgeActionBar
52 mParams = params; in BridgeActionBar()
126 String title = mParams.getAppLabel(); in setTitle()
143 String appIcon = mParams.getAppIcon(); in setIcon()
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java116 private final ArrayList<WindowManager.LayoutParams> mParams = field in WindowManagerGlobal
277 mParams.add(wparams); in addView()
310 mParams.remove(index); in updateViewLayout()
311 mParams.add(index, wparams); in updateViewLayout()
341 if (token == null || mParams.get(i).token == token) { in closeAll()
383 mParams.remove(index); in doRemoveView()
520 if (token == null || mParams.get(i).token == token) { in setStoppedState()
545 for (int i = mParams.size() - 1; i >= 0; --i) { in changeCanvasOpacity()
546 if (mParams.get(i).token == token) { in changeCanvasOpacity()
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java106 private JobParameters mParams; field in JobServiceContext
156 mParams = new JobParameters(this, job.getJobId(), job.getExtras(), in executeRunnableJob()
171 mParams = null; in executeRunnableJob()
362 service.startJob(mParams); in handleServiceBoundH()
511 service.stopJob(mParams); in sendStopMessageH()
538 mParams = null; in closeAndCleanupJobH()
566 mParams.getJobId() + ", in " + (timeoutMillis / 1000) + " s"); in scheduleOpTimeOut()

12