/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | Encoder.cpp | 50 size_t bytesToRead = mParams.frameSize; in onInputAvailable() 51 if (mInputBufferSize - mOffset < mParams.frameSize) { in onInputAvailable() 57 mParams.frameSize = bufSize; in onInputAvailable() 59 mParams.numFrames = (mInputBufferSize + mParams.frameSize - 1) / mParams.frameSize; in onInputAvailable() 68 if (bytesToRead < mParams.frameSize && mNumInputFrame < mParams.numFrames - 1) { in onInputAvailable() 70 mNumInputFrame, bytesToRead, mParams.frameSize, mParams.numFrames); in onInputAvailable() 87 if (mNumInputFrame == mParams.numFrames - 1 || bytesToRead == 0) { in onInputAvailable() 94 presentationTimeUs = mNumInputFrame * (1000000 / mParams.frameRate); in onInputAvailable() 97 (uint64_t)mNumInputFrame * mParams.frameSize * 1000000 / mParams.sampleRate; in onInputAvailable() 182 memset(&mParams, 0, sizeof mParams); in resetEncoder() [all …]
|
/frameworks/av/media/libeffects/hapticgenerator/aidl/ |
D | HapticGeneratorContext.cpp | 39 mParams.mMaxVibratorScale = HapticGenerator::VibratorScale::MUTE; in HapticGeneratorContext() 40 mParams.mVibratorInfo.resonantFrequencyHz = DEFAULT_RESONANT_FREQUENCY; in HapticGeneratorContext() 41 mParams.mVibratorInfo.qFactor = DEFAULT_BSF_ZERO_Q; in HapticGeneratorContext() 42 mParams.mVibratorInfo.maxAmplitude = 0.f; in HapticGeneratorContext() 89 mParams.mHapticScales.insert_or_assign(hapticScale.id, hapticScale.scale); in setHgHapticScales() 91 mParams.mMaxVibratorScale = HapticGenerator::VibratorScale::MUTE; in setHgHapticScales() 92 for (const auto& [id, vibratorScale] : mParams.mHapticScales) { in setHgHapticScales() 93 mParams.mMaxVibratorScale = std::max(mParams.mMaxVibratorScale, vibratorScale); in setHgHapticScales() 95 LOG(INFO) << " HapticGenerator VibratorScale set to " << toString(mParams.mMaxVibratorScale); in setHgHapticScales() 100 return mParams.mVibratorInfo; in getHgVibratorInformation() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
D | MenuScenario.java | 31 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/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | SaveImageInBackgroundTask.java | 65 private final ScreenshotController.SaveImageInBackgroundData mParams; field in SaveImageInBackgroundTask 92 mParams = data; in SaveImageInBackgroundTask() 111 Bitmap image = mParams.image; in doInBackground() 114 boolean savingToOtherUser = mParams.owner != Process.myUserHandle(); in doInBackground() 121 if (smartActionsEnabled && mParams.mQuickShareActionsReadyListener != null) { in doInBackground() 126 queryQuickShareAction(mScreenshotId, image, mParams.owner, null); in doInBackground() 129 mParams.mQuickShareActionsReadyListener.onActionsReady(mQuickShareData); in doInBackground() 135 mImageExporter.export(Runnable::run, requestId, image, mParams.owner, in doInBackground() 136 mParams.displayId); in doInBackground() 146 smartActionsEnabled, mParams.owner); in doInBackground() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 93 private final T mParams; field in RenderAction 111 mParams = params; in RenderAction() 134 HardwareConfig hardwareConfig = mParams.getHardwareConfig(); in init() 151 RenderResources resources = mParams.getResources(); in init() 155 mParams.getFlag(RenderParamsFlags.FLAG_KEY_ADAPTIVE_ICON_MASK_PATH); in init() 158 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources, in init() 159 mParams.getAssets(), mParams.getLayoutlibCallback(), getConfiguration(mParams), in init() 160 mParams.getTargetSdkVersion(), mParams.isRtlSupported()); in init() 269 ParserFactory.setParserFactory(mParams.getLayoutlibCallback()); in setUp() 273 mContext.initResources(mParams.getAssets()); in setUp() [all …]
|
D | Layout.java | 273 return mBuilder.mParams; in getParams() 422 private final SessionParams mParams; field in Layout.Builder 440 mParams = params; in Builder() 442 mResources = mParams.getResources(); in Builder() 448 if (!mParams.isForceNoDecor()) { in Builder() 457 if (!mParams.isTransparentBackground()) { in findBackground() 531 boolean isMenu = "menu".equals(mParams.getFlag(RenderParamsFlags.FLAG_KEY_ROOT_TAG)); in findFrameworkBar() 550 mUseGestureNav = Boolean.TRUE.equals(mParams.getFlag(FLAG_KEY_USE_GESTURE_NAV)); in findNavBar() 552 HardwareConfig hwConfig = mParams.getHardwareConfig(); in findNavBar() 594 return mParams.getHardwareConfig().hasSoftwareButtons(); in hasSoftwareButtons() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MagnificationModeSwitch.java | 83 private final LayoutParams mParams; field in MagnificationModeSwitch 115 mParams = createLayoutParams(context); in MagnificationModeSwitch() 204 mParams.height = size; in applyResourcesValuesWithDensityChanged() 205 mParams.width = size; in applyResourcesValuesWithDensityChanged() 245 mToLeftScreenEdge = (mParams.x < halfWindowWidth); in onFinish() 256 mParams.x = toLeftScreenEdge in stickToScreenEdge() 263 mParams.x += offsetX; in moveButton() 264 mParams.y += offsetY; in moveButton() 309 mParams.x = mDraggableWindowBounds.right; in showButton() 310 mParams.y = mDraggableWindowBounds.bottom; in showButton() [all …]
|
D | WindowMagnificationSettings.java | 84 final LayoutParams mParams; field in WindowMagnificationSettings 150 mParams = createLayoutParams(context); in WindowMagnificationSettings() 306 mParams.x += offsetX; in moveButton() 307 mParams.y += offsetY; in moveButton() 326 mParams.x = 0; in hideSettingPanel() 327 mParams.y = 0; in hideSettingPanel() 377 mParams.x = mDraggableWindowBounds.right; in showSettingPanel() 378 mParams.y = mDraggableWindowBounds.bottom; in showSettingPanel() 381 mWindowManager.addView(mSettingView, mParams); in showSettingPanel() 581 mParams.accessibilityTitle = getAccessibilityWindowTitle(mContext); in onConfigurationChanged() [all …]
|
/frameworks/base/services/tests/selinux/src/com/android/server/selinux/ |
D | SelinuxAuditLogsJobTest.java | 47 private final JobParameters mParams = createJobParameters(666); field in SelinuxAuditLogsJobTest 59 mAuditLogsJob.start(mJobService, mParams); in testFinishSuccessfully() 61 verify(mJobService).jobFinished(mParams, /* wantsReschedule= */ false); in testFinishSuccessfully() 69 mAuditLogsJob.start(mJobService, mParams); in testInterrupt() 78 mAuditLogsJob.start(mJobService, mParams); in testInterruptAndResume() 82 mAuditLogsJob.start(mJobService, mParams); in testInterruptAndResume() 83 verify(mJobService).jobFinished(mParams, /* wantsReschedule= */ false); in testInterruptAndResume() 106 mAuditLogsJob.start(mJobService, mParams); in testRequestStop()
|
/frameworks/base/tools/traceinjection/src/com/android/traceinjection/ |
D | TraceInjectionMethodAdapter.java | 54 private final TraceInjectionConfiguration mParams; field in TraceInjectionMethodAdapter 65 mParams = params; in TraceInjectionMethodAdapter() 82 Type type = Type.getType(toJavaSpecifier(mParams.startMethodClass)); in onMethodEnter() 83 Method trace = Method.getMethod("void " + mParams.startMethodName + " (long, String)"); in onMethodEnter() 106 Type type = Type.getType(toJavaSpecifier(mParams.endMethodClass)); in onFinally() 107 Method trace = Method.getMethod("void " + mParams.endMethodName + " (long)"); in onFinally() 141 if (descriptor.equals(toJavaSpecifier(mParams.annotation))) { in visitAnnotation()
|
D | TraceInjectionClassVisitor.java | 28 private final TraceInjectionConfiguration mParams; field in TraceInjectionClassVisitor 32 mParams = params; in TraceInjectionClassVisitor() 39 return new TraceInjectionMethodAdapter(chain, access, name, desc, mParams); in visitMethod()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/d2d/ |
D | DtmfTransportConversionTest.java | 72 private TestParams mParams; field in DtmfTransportConversionTest 76 mParams = params; in DtmfTransportConversionTest() 91 mParams = null; in tearDown() 182 char[] dtmfSequence = mDtmfTransport.getMessageDigits(mParams.commMessage); in testMessageToDtmf() 183 assertArrayEquals(mParams.fullMessage.toCharArray(), dtmfSequence); in testMessageToDtmf() 193 mParams.messageAndValueDigits.first, mParams.messageAndValueDigits.second); in testDtmfToMessage() 194 assertEquals(mParams.commMessage, message); in testDtmfToMessage()
|
D | RtpTransportConversionTest.java | 71 private TestParams mParams; field in RtpTransportConversionTest 82 mParams = params; in RtpTransportConversionTest() 106 mParams = null; in tearDown() 182 messages.add(mParams.commMessage); in testSendMessages() 188 assertTrue(extensions.contains(mParams.extension)); in testSendMessages() 198 extension.add(mParams.extension); in testReceiveMessage() 204 assertTrue(messages.contains(mParams.commMessage)); in testReceiveMessage()
|
/frameworks/av/media/libstagefright/ |
D | HevcUtils.cpp | 114 return findParam(key, param, mParams); in findParam8() 118 return findParam(key, param, mParams); in findParam16() 122 return findParam(key, param, mParams); in findParam32() 126 return findParam(key, param, mParams); in findParam64() 180 mParams.add(kGeneralProfileSpace, reader.getBits(2)); in parseVps() 181 mParams.add(kGeneralTierFlag, reader.getBits(1)); in parseVps() 182 mParams.add(kGeneralProfileIdc, reader.getBits(5)); in parseVps() 183 mParams.add(kGeneralProfileCompatibilityFlags, reader.getBits(32)); in parseVps() 184 mParams.add( in parseVps() 187 mParams.add(kGeneralLevelIdc, reader.getBits(8)); in parseVps() [all …]
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorTestCase.java | 35 private Bundle mParams; field in UiAutomatorTestCase 54 return mParams; in getParams() 81 mParams = params; in initialize() 84 String monkeyVal = mParams.getString("monkey"); in initialize()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecMessage.java | 44 private final byte[] mParams; field in HdmiCecMessage 57 mParams = Arrays.copyOf(params, params.length); in HdmiCecMessage() 98 && Arrays.equals(this.mParams, that.getParams()) in equals() 110 Arrays.hashCode(mParams)); in hashCode() 151 return mParams; in getParams() 166 if (mParams.length > 0) { in toString() 168 s.append(String.format(" <Redacted len=%d>", mParams.length)); in toString() 172 " <Keycode type = %s>", HdmiCecKeycode.getKeycodeType(mParams[0]))); in toString() 174 for (byte data : mParams) { in toString()
|
/frameworks/base/core/java/android/speech/tts/ |
D | SynthesisRequest.java | 41 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()
|
D | TextToSpeech.java | 726 private final Bundle mParams = new Bundle(); field in TextToSpeech 799 addDeviceSpecificSessionIdToParams(mContext, mParams); in TextToSpeech() 1482 mParams.putInt(Engine.KEY_PARAM_RATE, intRate); 1506 mParams.putInt(Engine.KEY_PARAM_PITCH, intPitch); 1525 mParams.putParcelable(Engine.KEY_PARAM_AUDIO_ATTRIBUTES, 1648 mParams.putString(Engine.KEY_PARAM_VOICE_NAME, voiceName); 1649 mParams.putString(Engine.KEY_PARAM_LANGUAGE, voiceLanguage); 1650 mParams.putString(Engine.KEY_PARAM_COUNTRY, voiceCountry); 1651 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant()); 1688 String lang = mParams.getString(Engine.KEY_PARAM_LANGUAGE, ""); [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphRunner.java | 612 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/widget/ |
D | ToastPresenter.java | 98 private final WindowManager.LayoutParams mParams; field in ToastPresenter 109 mParams = createLayoutParams(); in ToastPresenter() 118 return mParams; in getLayoutParams() 196 mParams.gravity = Gravity.getAbsoluteGravity(gravity, config.getLayoutDirection()); in updateLayoutParams() 197 mParams.x = xOffset; in updateLayoutParams() 198 mParams.y = yOffset; in updateLayoutParams() 199 mParams.horizontalMargin = horizontalMargin; in updateLayoutParams() 200 mParams.verticalMargin = verticalMargin; in updateLayoutParams() 201 mView.setLayoutParams(mParams); in updateLayoutParams() 252 adjustLayoutParams(mParams, windowToken, duration, gravity, xOffset, yOffset, in show() [all …]
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreECPrivateKey.java | 35 private final ECParameterSpec mParams; field in AndroidKeyStoreECPrivateKey 43 mParams = params; in AndroidKeyStoreECPrivateKey() 48 return mParams; in getParams()
|
D | AndroidKeyStoreECPublicKey.java | 38 private final ECParameterSpec mParams; field in AndroidKeyStoreECPublicKey 47 mParams = params; in AndroidKeyStoreECPublicKey() 63 ECParameterSpec params = mParams; in getPrivateKey() 83 return mParams; in getParams()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorTestCase.java | 52 private Bundle mParams; field in UiAutomatorTestCase 59 mShouldDisableIme = "true".equals(mParams.getString(DISABLE_IME)); in setUp() 89 return mParams; in getParams() 115 mParams = params; in setParams()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DynamicCodeLoggingService.java | 167 private final JobParameters mParams; field in DynamicCodeLoggingService.IdleLoggingThread 171 mParams = params; in IdleLoggingThread() 191 jobFinished(mParams, /* reschedule */ false); in run() 199 private final JobParameters mParams; field in DynamicCodeLoggingService.AuditWatchingThread 203 mParams = params; in AuditWatchingThread() 213 jobFinished(mParams, /* reschedule */ false); in run()
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerDetectionService.java | 215 public final ArrayMap<UUID, Bundle> mParams = new ArrayMap<>(); in onBind() 222 mParams.put(uuid, params); in onBind() 235 params = mParams.remove(uuid); in onBind() 249 params = mParams.get(uuid); in onBind() 263 params = mParams.get(uuid); in onBind() 276 params = mParams.get(uuid); in onBind()
|