Home
last modified time | relevance | path

Searched refs:mOutput (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp154 mOutput->setDisplayColorProfileForTest( in OutputTest()
156 mOutput->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputTest()
158 mOutput->editState().displaySpace.setBounds( in OutputTest()
164 mOutput->injectOutputLayerForTest(std::unique_ptr<OutputLayer>(layer.outputLayer)); in injectOutputLayer()
168 mOutput->injectOutputLayerForTest(std::unique_ptr<OutputLayer>(nullptr)); in injectNullOutputLayer()
177 std::shared_ptr<Output> mOutput = createOutput(mCompositionEngine); member
212 EXPECT_TRUE(mOutput->isValid()); in TEST_F()
215 mOutput->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>()); in TEST_F()
219 EXPECT_FALSE(mOutput->isValid()); in TEST_F()
227 mOutput->editState().isEnabled = true; in TEST_F()
[all …]
/frameworks/base/libs/hwui/pipeline/skia/
DDumpOpsCanvas.h35 : mOutput(output) in DumpOpsCanvas()
42 mOutput << mIdent << "clipRect" << std::endl; in onClipRect()
46 mOutput << mIdent << "clipRRect" << std::endl; in onClipRRect()
50 mOutput << mIdent << "clipPath" << std::endl; in onClipPath()
54 mOutput << mIdent << "clipRegion" << std::endl; in onClipRegion()
57 void onResetClip() override { mOutput << mIdent << "resetClip" << std::endl; } in onResetClip()
59 void onDrawPaint(const SkPaint&) override { mOutput << mIdent << "drawPaint" << std::endl; } in onDrawPaint()
62 mOutput << mIdent << "drawPath" << std::endl; in onDrawPath()
66 mOutput << mIdent << "drawRect" << std::endl; in onDrawRect()
70 mOutput << mIdent << "drawRegion" << std::endl; in onDrawRegion()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java42 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/
DCameraStressTest.java59 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 …]
DMediaRecorderStressTest.java66 private Writer mOutput; field in MediaRecorderStressTest
97 mOutput = new BufferedWriter(new FileWriter(stressOutFile, true)); in setUp()
98 mOutput.write(this.getName() + "\n"); in setUp()
114 mOutput.write("\n\n"); in tearDown()
115 mOutput.close(); in tearDown()
205 mOutput.write("Total number of loops: " + iterations + "\n"); in recordVideoAndPlayback()
208 mOutput.write("No of loop: "); in recordVideoAndPlayback()
263 mOutput.write(i + 1); in recordVideoAndPlayback()
265 mOutput.write(String.format(", %d", (i + 1))); in recordVideoAndPlayback()
308 mOutput.write("Total number of loops: " + NUMBER_OF_TIME_LAPSE_LOOPS + "\n"); in testStressTimeLapse()
[all …]
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBackupDataOutput.java37 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/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DOutput.h88 IteratorImpl(const T* output, size_t index) : mOutput(output), mIndex(index) {} in IteratorImpl()
91 return mOutput->getOutputLayerOrderedByZByIndex(mIndex);
94 return mOutput->getOutputLayerOrderedByZByIndex(mIndex);
98 return mOutput == other.mOutput && mIndex == other.mIndex;
113 const T* mOutput{nullptr};
120 explicit OutputLayersEnumerator(const T& output) : mOutput(output) {} in OutputLayersEnumerator()
121 auto begin() const { return iterator(&mOutput, 0); } in begin()
122 auto end() const { return iterator(&mOutput, mOutput.getOutputLayerCount()); } in end()
123 auto cbegin() const { return const_iterator(&mOutput, 0); } in cbegin()
124 auto cend() const { return const_iterator(&mOutput, mOutput.getOutputLayerCount()); } in cend()
[all …]
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/
DWallpaperBackupAgentTest.java108 private FullBackupDataOutput mOutput; field in WallpaperBackupAgentTest
147 mWallpaperBackupAgent.onFullBackup(mOutput); in testOnFullBackup_backsUpEmptyFile()
156 mWallpaperBackupAgent.onFullBackup(mOutput); in testOnFullBackup_noExistingInfoStage_backsUpInfoFile()
170 mWallpaperBackupAgent.onFullBackup(mOutput); in testOnFullBackup_existingInfoStage_noChange_backsUpAlreadyStagedInfoFile()
175 mWallpaperBackupAgent.onFullBackup(mOutput); in testOnFullBackup_existingInfoStage_noChange_backsUpAlreadyStagedInfoFile()
187 mWallpaperBackupAgent.onFullBackup(mOutput); in testOnFullBackup_existingInfoStage_sysChanged_backsUpNewInfoFile()
193 mWallpaperBackupAgent.onFullBackup(mOutput); in testOnFullBackup_existingInfoStage_sysChanged_backsUpNewInfoFile()
206 mWallpaperBackupAgent.onFullBackup(mOutput); in testOnFullBackup_existingInfoStage_lockChanged_backsUpNewInfoFile()
212 mWallpaperBackupAgent.onFullBackup(mOutput); in testOnFullBackup_existingInfoStage_lockChanged_backsUpNewInfoFile()
225 mWallpaperBackupAgent.onFullBackup(mOutput); in testOnFullBackup_systemWallpaperNotEligible_doesNotBackUpSystemWallpaper()
[all …]
/frameworks/av/media/libstagefright/
DMediaSync.cpp79 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/av/media/libheadtracking/
DPoseDriftCompensator.cpp35 mOutput = scale(mOutput, timestamp - mTimestamp.value()) * prevInputToInput; in setInput()
43 mOutput = Pose3f(); in recenter()
47 return mOutput; in getOutput()
DPoseRateLimiter.cpp42 if (mLimiting && mOutput.has_value()) { in calculatePose()
44 mOutput->pose, mTargetPose.value(), timestamp - mOutput->timestamp, in calculatePose()
49 mOutput = Point{pose, timestamp}; in calculatePose()
/frameworks/base/core/java/com/android/internal/app/procstats/
DStatsEventOutput.java31 List<StatsEvent> mOutput; field in StatsEventOutput
34 mOutput = output; in StatsEventOutput()
53 mOutput.add( in write()
84 mOutput.add( in write()
/frameworks/av/media/img_utils/src/
DEndianUtils.cpp23 : 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/base/services/foldables/devicestateprovider/src/com/android/server/policy/
DBookStylePreferredScreenCalculator.java190 private final State mOutput; field in BookStylePreferredScreenCalculator.StateTransition
199 mOutput = new State(setStickyKeepOuterUntil90Degrees, in StateTransition()
231 if (mOutput.stickyKeepOuterUntil90Degrees != null) { in tryTransition()
233 mOutput.stickyKeepOuterUntil90Degrees; in tryTransition()
236 if (mOutput.stickyKeepInnerUntil45Degrees != null) { in tryTransition()
238 mOutput.stickyKeepInnerUntil45Degrees; in tryTransition()
242 mOutput.mPreferredScreen); in tryTransition()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DAppMetadataBackupWriter.java44 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()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h41 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/GamePerformance/src/android/gameperformance/
DATraceRunner.java43 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/
DMainActivity.java44 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/services/audiopolicy/service/
DSpatializer.cpp139 : mOutput(output), mLatencyModes(latencyModes) {} in LatencyModes()
142 audio_io_handle_t mOutput; member in android::Spatializer::EngineCallbackHandler::LatencyModes
198 latencyModes->mOutput, std::move(latencyModes->mLatencyModes)); in onMessageReceived()
812 *output = VALUE_OR_RETURN_BINDER_STATUS(legacy2aidl_audio_io_handle_t_int32_t(mOutput)); in getOutput()
945 ALOGV("%s output %d mOutput %d", __func__, (int)output, (int)mOutput); in attachOutput()
947 numActiveTracks, (int)mOutput); in attachOutput()
948 if (mOutput != AUDIO_IO_HANDLE_NONE) { in attachOutput()
970 outputChanged = mOutput != output; in attachOutput()
971 mOutput = output; in attachOutput()
976 status = AudioSystem::getSupportedLatencyModes(mOutput, &latencyModes); in attachOutput()
[all …]
/frameworks/base/services/companion/java/com/android/server/companion/securechannel/
DSecureChannel.java58 private final OutputStream mOutput; field in SecureChannel
121 this.mOutput = out; in SecureChannel()
185 IoUtils.closeQuietly(mOutput); in close()
322 synchronized (mOutput) { in sendMessage()
330 mOutput.write(header); in sendMessage()
331 mOutput.write(ByteBuffer.allocate(4) in sendMessage()
334 mOutput.write(data); in sendMessage()
335 mOutput.flush(); in sendMessage()
/frameworks/av/camera/ndk/impl/
DACameraCaptureSession.h99 mId(id), mOutput(*outputs), mUserSessionCallback(*cb), in ACameraCaptureSession()
107 mId(id), mOutput(*outputs), mUserSessionCallback(*cb),
167 const ACaptureSessionOutputContainer mOutput; member
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputLayer.h122 : mOutput(output), mLayerFE(layerFE) {} in createOutputLayerTemplated()
127 const Output& getOutput() const override { return mOutput; } in createOutputLayerTemplated()
135 const Output& mOutput; in createOutputLayerTemplated() local
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DCipherInputStreamPerfTest.java63 private byte[] mOutput = new byte[8192]; field in CipherInputStreamPerfTest
87 while (is.read(mOutput) != -1) { in timeEncrypt()
/frameworks/av/services/audioflinger/
DThreads.cpp1504 audio_output_flags_t flags = mOutput->flags; in checkEffectCompatibility_l()
2149 mOutput(output), in PlaybackThread()
2179 if (mOutput->audioHwDev) {
2180 if (mOutput->audioHwDev->canSetMasterVolume()) {
2184 if (mOutput->audioHwDev->canSetMasterMute()) {
2188 mOutput->audioHwDev->moduleName(), AUDIO_HARDWARE_MODULE_ID_MSD) == 0;
2248 if (mOutput->flags & AUDIO_OUTPUT_FLAG_NON_BLOCKING && in onFirstRef()
2249 mOutput->stream->setCallback(this) == OK) { in onFirstRef()
2254 if (mOutput->stream->setEventCallback(this) != OK) { in onFirstRef()
2266 status_t result = mOutput->stream->exit(); in preExit()
[all …]
/frameworks/base/libs/androidfw/
DZipUtils.cpp111 mOutput(reinterpret_cast<uint8_t*>(output)), mOutputSize(outputSize), mBytesWritten(0) { in BufferWriter()
119 memcpy(mOutput + mBytesWritten, buf, bufSize); in Append()
125 uint8_t* const mOutput; member in BufferWriter

123