/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputTest.cpp | 43 mOutput.setDisplayColorProfileForTest( in OutputTest() 45 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputTest() 47 mOutput.editState().bounds = kDefaultDisplaySize; in OutputTest() 56 impl::Output mOutput{mCompositionEngine}; member in android::compositionengine::__anon0cff14940111::OutputTest 70 EXPECT_TRUE(mOutput.isValid()); in TEST_F() 73 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>()); in TEST_F() 77 EXPECT_FALSE(mOutput.isValid()); in TEST_F() 85 mOutput.editState().isEnabled = true; in TEST_F() 87 mOutput.setCompositionEnabled(true); in TEST_F() 89 EXPECT_TRUE(mOutput.getState().isEnabled); in TEST_F() [all …]
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | DumpOpsCanvas.h | 33 : mOutput(output) in DumpOpsCanvas() 40 mOutput << mIdent << "clipRect" << std::endl; in onClipRect() 44 mOutput << mIdent << "clipRRect" << std::endl; in onClipRRect() 48 mOutput << mIdent << "clipPath" << std::endl; in onClipPath() 52 mOutput << mIdent << "clipRegion" << std::endl; in onClipRegion() 55 void onDrawPaint(const SkPaint&) override { mOutput << mIdent << "drawPaint" << std::endl; } in onDrawPaint() 58 mOutput << mIdent << "drawPath" << std::endl; in onDrawPath() 62 mOutput << mIdent << "drawRect" << std::endl; in onDrawRect() 66 mOutput << mIdent << "drawRegion" << std::endl; in onDrawRegion() 70 mOutput << mIdent << "drawOval" << std::endl; in onDrawOval() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaTestUtil.java | 42 private Writer mOutput = null; field in MediaTestUtil 49 mOutput = new BufferedWriter(new FileWriter(memoryOut, true)); in MediaTestUtil() 70 mOutput.write(mProcessName + " died. Test failed\n"); in validateProcessStatus() 123 mOutput.write(mTestName + '\n'); in getStartMemoryLog() 124 mOutput.write("Start memory : " + mStartMemory + "\n"); in getStartMemoryLog() 126 mOutput.write(memusage); in getStartMemoryLog() 133 mOutput.write(memusage); in getMemoryLog() 134 mOutput.flush(); in getMemoryLog() 144 mOutput.write("End Memory :" + endMemory + "\n"); in getMemorySummary() 148 mOutput.write(mTestName + " total diff = " + memDiff); in getMemorySummary() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | CameraStressTest.java | 59 private Writer mOutput; field in CameraStressTest 91 mOutput = new BufferedWriter(new FileWriter(stressOutFile, true)); in setUp() 92 mOutput.write(this.getName() + "\n"); in setUp() 108 mOutput.write("\n\n"); in tearDown() 109 mOutput.close(); in tearDown() 141 mOutput.write("Total number of loops: " + in testStressCameraSceneModes() 144 mOutput.write("No of loop: "); in testStressCameraSceneModes() 161 mOutput.write(Integer.toString(j + i * NUMBER_OF_SCENE_MODE_LOOPS)); in testStressCameraSceneModes() 163 mOutput.write(", " + (j + i * NUMBER_OF_SCENE_MODE_LOOPS)); in testStressCameraSceneModes() 189 mOutput.write("Total number of loops: " + NUMBER_OF_ZOOM_LOOPS + "\n"); in testStressCameraZoom() [all …]
|
D | MediaRecorderStressTest.java | 65 private Writer mOutput; field in MediaRecorderStressTest 96 mOutput = new BufferedWriter(new FileWriter(stressOutFile, true)); in setUp() 97 mOutput.write(this.getName() + "\n"); in setUp() 113 mOutput.write("\n\n"); in tearDown() 114 mOutput.close(); in tearDown() 204 mOutput.write("Total number of loops: " + iterations + "\n"); in recordVideoAndPlayback() 207 mOutput.write("No of loop: "); in recordVideoAndPlayback() 262 mOutput.write(i + 1); in recordVideoAndPlayback() 264 mOutput.write(String.format(", %d", (i + 1))); in recordVideoAndPlayback() 307 mOutput.write("Total number of loops: " + NUMBER_OF_TIME_LAPSE_LOOPS + "\n"); in testStressTimeLapse() [all …]
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/ |
D | RawBackupWriterTest.java | 42 private ByteArrayOutputStream mOutput; field in RawBackupWriterTest 46 mOutput = new ByteArrayOutputStream(); in setUp() 47 mWriter = new RawBackupWriter(mOutput); in setUp() 54 assertThat(mOutput.toByteArray()) in writeBytes_writesToOutputStream() 77 mOutput = mock(ByteArrayOutputStream.class); in flush_flushesOutputStream() 78 mWriter = new RawBackupWriter(mOutput); in flush_flushesOutputStream() 82 verify(mOutput).flush(); in flush_flushesOutputStream()
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowBackupDataOutput.java | 37 private ObjectOutputStream mOutput; field in ShadowBackupDataOutput 60 return mOutput; in getOutputStream() 71 writeEntityHeader(mOutput, key, dataSize); in writeEntityHeader() 86 mOutput.write(data, 0, size); in writeEntityData() 87 mOutput.flush(); in writeEntityData() 96 if (mOutput == null) { in ensureOutput() 99 mOutput = new ObjectOutputStream(new FileOutputStream(mFileDescriptor)); in ensureOutput()
|
/frameworks/av/media/libstagefright/ |
D | MediaSync.cpp | 79 if (mOutput != NULL) { in ~MediaSync() 80 mOutput->disconnect(NATIVE_WINDOW_API_MEDIA); in ~MediaSync() 92 if (output == mOutput) { in setSurface() 106 if (mOutput != NULL && mInput != NULL) { in setSurface() 137 if (mOutput != NULL) { in setSurface() 138 mOutput->disconnect(NATIVE_WINDOW_API_MEDIA); in setSurface() 145 mOutput = output; in setSurface() 199 if (mOutput == NULL) { in createInputSurface() 219 mOutput->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &mUsageFlagsFromOutput); in createInputSurface() 226 mOutput->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in createInputSurface() [all …]
|
/frameworks/base/cmds/statsd/src/shell/ |
D | ShellSubscriber.cpp | 42 mOutput = out; in startNewSubscription() 101 if (mOutput == 0) return; in writeToOutputLocked() 119 write(mOutput, &bufferSize, sizeof(bufferSize)); in writeToOutputLocked() 122 mProto.flush(mOutput); in writeToOutputLocked() 190 mOutput = 0; in cleanUpLocked() 201 if (mOutput <= 0) { in onLogEvent() 213 write(mOutput, &bufferSize, sizeof(bufferSize)); in onLogEvent() 216 mProto.flush(mOutput); in onLogEvent()
|
/frameworks/av/media/img_utils/src/ |
D | EndianUtils.cpp | 23 : mOffset(0), mOutput(out), mEndian(end) {} in EndianOutput() 29 return mOutput->open(); in open() 33 return mOutput->close(); in close() 50 if((res = mOutput->write(buf, offset, count)) == OK) { in write()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPolicyMix.h | 41 const sp<SwAudioOutputDescriptor> &getOutput() const { return mOutput; } in getOutput() 42 void setOutput(const sp<SwAudioOutputDescriptor> &output) { mOutput = output; } in setOutput() 43 void clearOutput() { mOutput.clear(); } in clearOutput() 48 sp<SwAudioOutputDescriptor> mOutput; // Corresponding output stream
|
/frameworks/base/tests/WindowManagerStressTest/src/test/windowmanagerstresstest/ |
D | MainActivity.java | 46 private TextView mOutput; field in MainActivity 56 mOutput = (TextView) findViewById(R.id.output); in onCreate() 60 mOutput.setText(""); in onCreate() 96 mOutput.post(() -> mOutput.append(text + "\n")); in log()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriter.java | 44 private final FullBackupDataOutput mOutput; field in AppMetadataBackupWriter 49 mOutput = output; in AppMetadataBackupWriter() 107 mOutput); in backupManifest() 195 mOutput); in backupWidget() 249 mOutput); in backupApk() 277 mOutput); in backupObb()
|
D | FullBackupEngine.java | 57 private OutputStream mOutput; field in FullBackupEngine 195 mOutput = output; in FullBackupEngine() 249 FullBackupUtils.routeSocketDataToOutput(pipes[0], mOutput); in backupOnePackage() 265 mOutput.flush(); in backupOnePackage()
|
/frameworks/base/obex/javax/obex/ |
D | ServerSession.java | 56 private OutputStream mOutput; field in ServerSession 79 mOutput = mTransport.openOutputStream(); in ServerSession() 265 OutputStream op = mOutput; in sendResponse() 411 mOutput.write(replyData); in handleSetPathRequest() 412 mOutput.flush(); in handleSetPathRequest() 516 mOutput.write(replyData); in handleDisconnectRequest() 517 mOutput.flush(); in handleDisconnectRequest() 677 mOutput.write(sendData); in handleConnectRequest() 678 mOutput.flush(); in handleConnectRequest() 695 if(mOutput != null) in close() [all …]
|
D | ClientSession.java | 69 private final OutputStream mOutput; field in ClientSession 77 mOutput = trans.openOutputStream(); in ClientSession() 93 mOutput = trans.openOutputStream(); in ClientSession() 503 mOutput.write(out.toByteArray()); in sendRequest() 508 mOutput.flush(); in sendRequest() 610 mOutput.close(); in close()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 57 : mOutput(output), mLayer(layer), mLayerFE(layerFE) {} in OutputLayer() 76 return mOutput; in getOutput() 106 const Rect& viewport = mOutput.getState().viewport; in calculateInitialCrop() 130 const auto& outputState = mOutput.getState(); in calculateOutputSourceCrop() 207 const auto& outputState = mOutput.getState(); in calculateOutputDisplayFrame() 254 const auto& outputState = mOutput.getState(); in calculateOutputRelativeBufferTransform() 299 if ((mLayer->getState().frontEnd.isSecure && !mOutput.getState().isSecure) || in updateCompositionState() 315 mLayerFE->getDebugName(), mOutput.getName().c_str()); in writeStateToHWC()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | ATraceRunner.java | 43 private final String mOutput; field in ATraceRunner 54 mOutput = output; in ATraceRunner() 68 writer = new FileWriter(mOutput); in doInBackground()
|
/frameworks/base/tests/AmSlam/src/test/amslam/ |
D | MainActivity.java | 44 private TextView mOutput; field in MainActivity 63 mOutput = findViewById(R.id.output); in onCreate() 68 mOutput.setText(""); in onCreate() 155 mOutput.append(text); in log()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 311 if (mDeviceCallback != 0 && mOutput != AUDIO_IO_HANDLE_NONE) { in ~AudioTrack() 312 AudioSystem::removeAudioDeviceCallback(this, mOutput, mPortId); in ~AudioTrack() 851 if (mOutput != AUDIO_IO_HANDLE_NONE) { in pause() 864 AudioSystem::getRenderPosition(mOutput, &halFrames, &mPausedPosition); in pause() 929 if (mOutput == AUDIO_IO_HANDLE_NONE) { in setSampleRate() 935 if (AudioSystem::getSamplingRate(mOutput, &afSamplingRate) != NO_ERROR) { in setSampleRate() 959 if (mOutput != AUDIO_IO_HANDLE_NONE) { in getSampleRate() 961 status_t status = AudioSystem::getSamplingRate(mOutput, &sampleRate); in getSampleRate() 1042 if (mOutput == AUDIO_IO_HANDLE_NONE || mProxy.get() == 0) { in getBufferSizeInFrames() 1054 if (mOutput == AUDIO_IO_HANDLE_NONE || mProxy.get() == 0) { in getBufferDurationInUs() [all …]
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 1239 audio_output_flags_t flags = mOutput->flags; in checkEffectCompatibility_l() 1813 mOutput(output), in PlaybackThread() 1841 if (mOutput && mOutput->audioHwDev) { in PlaybackThread() 1842 if (mOutput->audioHwDev->canSetMasterVolume()) { in PlaybackThread() 1846 if (mOutput->audioHwDev->canSetMasterMute()) { in PlaybackThread() 1850 mOutput->audioHwDev->moduleName(), AUDIO_HARDWARE_MODULE_ID_MSD) == 0; in PlaybackThread() 1897 status_t result = mOutput->stream->setParameters(String8("exiting=1")); in preExit() 1983 AudioStreamOut *output = mOutput; in dumpInternals_l() 2023 audio_output_flags_t outputFlags = mOutput->flags; in createTrack_l() 2235 sampleRate, format, channelMask, mOutput, mFormat); in createTrack_l() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ZipUtils.cpp | 106 mOutput(reinterpret_cast<uint8_t*>(output)), mOutputSize(outputSize), mBytesWritten(0) { in BufferWriter() 114 memcpy(mOutput + mBytesWritten, buf, bufSize); in Append() 120 uint8_t* const mOutput; member in BufferWriter
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraCaptureSession.h | 73 mId(id), mOutput(*outputs), mUserSessionCallback(*cb), in ACameraCaptureSession() 120 const ACaptureSessionOutputContainer mOutput; member
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueAdbBackupEngine.java | 56 private final OutputStream mOutput; field in KeyValueAdbBackupEngine 72 mOutput = output; in KeyValueAdbBackupEngine() 278 FullBackupUtils.routeSocketDataToOutput(pipes[0], mOutput); in writeBackupData() 291 mOutput.flush(); in writeBackupData()
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | EndianUtils.h | 127 Output* mOutput; variable 140 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size)) in writeHelper() 151 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size)) in writeHelper()
|