/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/libs/net/common/netd/libnetdutils/include/netdutils/ |
D | BackoffSequence.h | 64 return mParams.endOfSequenceIndicator; in getEndOfSequenceIndicator() 72 mParams.initialRetransTime = irt; in withInitialRetransmissionTime() 76 mParams.maxRetransCount = mrc; in withMaximumRetransmissionCount() 80 mParams.maxRetransTime = mrt; in withMaximumRetransmissionTime() 84 mParams.maxRetransDuration = mrd; in withMaximumRetransmissionDuration() 88 mParams.endOfSequenceIndicator = eos; in withEndOfSequenceIndicator() 93 return BackoffSequence(mParams); in build() 97 Parameters mParams; 106 : mParams(params), in BackoffSequence() 112 return (mParams.maxRetransCount > 0) && (mRetransCount >= mParams.maxRetransCount); in maxRetransCountExceed() [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/accessibility/ |
D | MagnificationModeSwitch.java | 79 private final LayoutParams mParams; field in MagnificationModeSwitch 113 mParams = createLayoutParams(context); in MagnificationModeSwitch() 202 mParams.height = size; in applyResourcesValuesWithDensityChanged() 203 mParams.width = size; in applyResourcesValuesWithDensityChanged() 243 mToLeftScreenEdge = (mParams.x < halfWindowWidth); in onFinish() 254 mParams.x = toLeftScreenEdge in stickToScreenEdge() 261 mParams.x += offsetX; in moveButton() 262 mParams.y += offsetY; in moveButton() 304 mParams.x = mDraggableWindowBounds.right; in showButton() 305 mParams.y = mDraggableWindowBounds.bottom; in showButton() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 82 private final T mParams; field in RenderAction 100 mParams = params; in RenderAction() 122 HardwareConfig hardwareConfig = mParams.getHardwareConfig(); in init() 139 RenderResources resources = mParams.getResources(); in init() 142 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources, in init() 143 mParams.getAssets(), mParams.getLayoutlibCallback(), getConfiguration(mParams), in init() 144 mParams.getTargetSdkVersion(), mParams.isRtlSupported()); in init() 253 ParserFactory.setParserFactory(mParams.getLayoutlibCallback()); in setUp() 257 mContext.initResources(mParams.getAssets()); in setUp() 268 ILayoutLog currentLog = mParams.getLog(); in setUp() [all …]
|
/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 | 71 private TestParams mParams; field in DtmfTransportConversionTest 75 mParams = params; in DtmfTransportConversionTest() 90 mParams = null; in tearDown() 181 char[] dtmfSequence = mDtmfTransport.getMessageDigits(mParams.commMessage); in testMessageToDtmf() 182 assertArrayEquals(mParams.fullMessage.toCharArray(), dtmfSequence); in testMessageToDtmf() 192 mParams.messageAndValueDigits.first, mParams.messageAndValueDigits.second); in testDtmfToMessage() 193 assertEquals(mParams.commMessage, message); in testDtmfToMessage()
|
D | RtpTransportConversionTest.java | 70 private TestParams mParams; field in RtpTransportConversionTest 81 mParams = params; in RtpTransportConversionTest() 105 mParams = null; in tearDown() 181 messages.add(mParams.commMessage); in testSendMessages() 187 assertTrue(extensions.contains(mParams.extension)); in testSendMessages() 197 extension.add(mParams.extension); in testReceiveMessage() 203 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/packages/SystemUI/shared/src/com/android/systemui/shared/tracing/ |
D | FrameProtoTracer.java | 51 private final ProtoTraceParams<P, S, T, R> mParams; field in FrameProtoTracer 64 return mParams.getProtoSize(proto); 69 return mParams.getProtoBytes(proto); 75 os.write(mParams.serializeEncapsulatingProto(encapsulatingProto, buffer)); 89 mParams = params; in FrameProtoTracer() 175 mBuffer.add(mParams.updateBufferProto(mPool.poll(), mTmpTraceables)); in logState() 183 mBuffer.writeTraceToFile(mTraceFile, mParams.getEncapsulatingTraceProto()); in writeToFile()
|
/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/core/java/android/widget/ |
D | ToastPresenter.java | 96 private final WindowManager.LayoutParams mParams; field in ToastPresenter 108 mParams = createLayoutParams(); in ToastPresenter() 116 return mParams; in getLayoutParams() 194 mParams.gravity = Gravity.getAbsoluteGravity(gravity, config.getLayoutDirection()); in updateLayoutParams() 195 mParams.x = xOffset; in updateLayoutParams() 196 mParams.y = yOffset; in updateLayoutParams() 197 mParams.horizontalMargin = horizontalMargin; in updateLayoutParams() 198 mParams.verticalMargin = verticalMargin; in updateLayoutParams() 199 mView.setLayoutParams(mParams); in updateLayoutParams() 250 adjustLayoutParams(mParams, windowToken, duration, gravity, xOffset, yOffset, in show() [all …]
|
/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 | 721 private final Bundle mParams = new Bundle(); field in TextToSpeech 1438 mParams.putInt(Engine.KEY_PARAM_RATE, intRate); 1462 mParams.putInt(Engine.KEY_PARAM_PITCH, intPitch); 1481 mParams.putParcelable(Engine.KEY_PARAM_AUDIO_ATTRIBUTES, 1604 mParams.putString(Engine.KEY_PARAM_VOICE_NAME, voiceName); 1605 mParams.putString(Engine.KEY_PARAM_LANGUAGE, voiceLanguage); 1606 mParams.putString(Engine.KEY_PARAM_COUNTRY, voiceCountry); 1607 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant()); 1644 String lang = mParams.getString(Engine.KEY_PARAM_LANGUAGE, ""); 1645 String country = mParams.getString(Engine.KEY_PARAM_COUNTRY, ""); [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/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreECPublicKey.java | 36 private final ECParameterSpec mParams; field in AndroidKeyStoreECPublicKey 45 mParams = params; in AndroidKeyStoreECPublicKey() 63 getSecurityLevel(), mParams); in getPrivateKey() 68 return mParams; in getParams()
|
D | AndroidKeyStoreECPrivateKey.java | 35 private final ECParameterSpec mParams; field in AndroidKeyStoreECPrivateKey 43 mParams = params; in AndroidKeyStoreECPrivateKey() 48 return mParams; in getParams()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | SaveImageInBackgroundTask.java | 78 private final ScreenshotController.SaveImageInBackgroundData mParams; field in SaveImageInBackgroundTask 108 mParams = data; in SaveImageInBackgroundTask() 125 ? mParams.owner : getUserHandleOfForegroundApplication(mContext); in doInBackground() 129 Bitmap image = mParams.image; in doInBackground() 140 if (smartActionsEnabled && mParams.mQuickShareActionsReadyListener != null) { in doInBackground() 149 mImageExporter.export(Runnable::run, requestId, image, mParams.owner); in doInBackground() 187 mParams.mActionsReadyListener.onActionsReady(mImageData); in doInBackground() 192 mParams.finisher.accept(mImageData.uri); in doInBackground() 193 mParams.image = null; in doInBackground() 200 mParams.clearImage(); in doInBackground() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DynamicCodeLoggingService.java | 141 private final JobParameters mParams; field in DynamicCodeLoggingService.IdleLoggingThread 145 mParams = params; in IdleLoggingThread() 164 jobFinished(mParams, /* reschedule */ false); in run() 172 private final JobParameters mParams; field in DynamicCodeLoggingService.AuditWatchingThread 176 mParams = params; in AuditWatchingThread() 186 jobFinished(mParams, /* reschedule */ false); in run()
|
D | PackageVerificationState.java | 29 private final VerificationParams mParams; field in PackageVerificationState 52 mParams = params; in PackageVerificationState() 58 return mParams; in getVerificationParams()
|
/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/av/services/audiopolicy/service/ |
D | AudioPolicyEffects.h | 143 for (size_t k = 0; k < orig.mParams.size(); k++) { in EffectDesc() 144 effect_param_t *origParam = orig.mParams[k]; in EffectDesc() 154 mParams.add(dupParam); in EffectDesc() 159 for (size_t k = 0; k < mParams.size(); k++) { in ~EffectDesc() 160 free(mParams[k]); in ~EffectDesc() 169 Vector <effect_param_t *> mParams; variable
|
/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()
|