/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 onResetClip() override { mOutput << mIdent << "resetClip" << std::endl; } in onResetClip() 57 void onDrawPaint(const SkPaint&) override { mOutput << mIdent << "drawPaint" << std::endl; } in onDrawPaint() 60 mOutput << mIdent << "drawPath" << std::endl; in onDrawPath() 64 mOutput << mIdent << "drawRect" << std::endl; in onDrawRect() 68 mOutput << mIdent << "drawRegion" << std::endl; in onDrawRegion() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputTest.cpp | 148 mOutput->setDisplayColorProfileForTest( in OutputTest() 150 mOutput->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputTest() 152 mOutput->editState().displaySpace.setBounds( in OutputTest() 158 mOutput->injectOutputLayerForTest(std::unique_ptr<OutputLayer>(layer.outputLayer)); in injectOutputLayer() 162 mOutput->injectOutputLayerForTest(std::unique_ptr<OutputLayer>(nullptr)); in injectNullOutputLayer() 171 std::shared_ptr<Output> mOutput = createOutput(mCompositionEngine); member 209 EXPECT_TRUE(mOutput->isValid()); in TEST_F() 212 mOutput->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>()); in TEST_F() 216 EXPECT_FALSE(mOutput->isValid()); in TEST_F() 224 mOutput->editState().isEnabled = true; in TEST_F() [all …]
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/kv/ |
D | DecryptedChunkKvOutputTest.java | 59 private DecryptedChunkKvOutput mOutput; field in DecryptedChunkKvOutputTest 67 mOutput = new DecryptedChunkKvOutput(mChunkHasher); in setUp() 72 assertThat(mOutput.open()).isEqualTo(mOutput); in open_returnsInstance() 77 mOutput.open(); in processChunk_alreadyClosed_throws() 78 mOutput.close(); in processChunk_alreadyClosed_throws() 82 () -> mOutput.processChunk(TEST_PAIR_1, TEST_PAIR_1.length)); in processChunk_alreadyClosed_throws() 88 assertThrows(IllegalStateException.class, () -> mOutput.getDigest()); in getDigest_beforeClose_throws() 93 mOutput.open(); in getDigest_returnsDigestOfSortedHashes() 95 mOutput.processChunk(Arrays.copyOf(TEST_PAIR_1, TEST_BUFFER_SIZE), TEST_PAIR_1.length); in getDigest_returnsDigestOfSortedHashes() 96 mOutput.processChunk(Arrays.copyOf(TEST_PAIR_2, TEST_BUFFER_SIZE), TEST_PAIR_2.length); in getDigest_returnsDigestOfSortedHashes() [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/packages/BackupEncryption/test/robolectric/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/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | Output.h | 86 IteratorImpl(const T* output, size_t index) : mOutput(output), mIndex(index) {} in IteratorImpl() 89 return mOutput->getOutputLayerOrderedByZByIndex(mIndex); 92 return mOutput->getOutputLayerOrderedByZByIndex(mIndex); 96 return mOutput == other.mOutput && mIndex == other.mIndex; 111 const T* mOutput{nullptr}; 118 explicit OutputLayersEnumerator(const T& output) : mOutput(output) {} in OutputLayersEnumerator() 119 auto begin() const { return iterator(&mOutput, 0); } in begin() 120 auto end() const { return iterator(&mOutput, mOutput.getOutputLayerCount()); } in end() 121 auto cbegin() const { return const_iterator(&mOutput, 0); } in cbegin() 122 auto cend() const { return const_iterator(&mOutput, mOutput.getOutputLayerCount()); } in cend() [all …]
|
/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/av/media/libheadtracking/ |
D | PoseDriftCompensator.cpp | 35 mOutput = scale(mOutput, timestamp - mTimestamp.value()) * prevInputToInput; in setInput() 43 mOutput = Pose3f(); in recenter() 47 return mOutput; in getOutput()
|
D | PoseRateLimiter.cpp | 42 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/ |
D | StatsEventOutput.java | 31 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/ |
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/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()
|
/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/av/services/audiopolicy/service/ |
D | Spatializer.cpp | 137 : mOutput(output), mLatencyModes(latencyModes) {} in LatencyModes() 140 audio_io_handle_t mOutput; member in android::Spatializer::EngineCallbackHandler::LatencyModes 196 latencyModes->mOutput, std::move(latencyModes->mLatencyModes)); in onMessageReceived() 749 *output = VALUE_OR_RETURN_BINDER_STATUS(legacy2aidl_audio_io_handle_t_int32_t(mOutput)); in getOutput() 855 ALOGV("%s output %d mOutput %d", __func__, (int)output, (int)mOutput); in attachOutput() 857 numActiveTracks, (int)mOutput); in attachOutput() 858 if (mOutput != AUDIO_IO_HANDLE_NONE) { in attachOutput() 879 outputChanged = mOutput != output; in attachOutput() 880 mOutput = output; in attachOutput() 885 status = AudioSystem::getSupportedLatencyModes(mOutput, &latencyModes); in attachOutput() [all …]
|
/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/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayer.h | 118 : mOutput(output), mLayerFE(layerFE) {} in createOutputLayerTemplated() 123 const Output& getOutput() const override { return mOutput; } in createOutputLayerTemplated() 131 const Output& mOutput; in createOutputLayerTemplated() local
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraCaptureSession.h | 73 mId(id), mOutput(*outputs), mUserSessionCallback(*cb), in ACameraCaptureSession() 120 const ACaptureSessionOutputContainer mOutput; member
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/testing/ |
D | DiffScriptProcessor.java | 57 private final File mOutput; field in DiffScriptProcessor 72 mOutput = Objects.requireNonNull(output); in DiffScriptProcessor() 78 try (FileOutputStream outputStream = new FileOutputStream(mOutput)) { in process()
|
/frameworks/base/libs/androidfw/ |
D | ZipUtils.cpp | 111 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
|
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgentTest.java | 71 @Mock private FullBackupDataOutput mOutput; field in WallpaperBackupAgentTest 108 mWallpaperBackupAgent.onFullBackup(mOutput); in testOnFullBackup_withNoChanges_onlyBacksUpEmptyFile() 121 mWallpaperBackupAgent.onFullBackup(mOutput); in testOnFullBackup_withOnlyChangedSystem_updatesTheSharedPreferences() 133 mWallpaperBackupAgent.onFullBackup(mOutput); in testOnFullBackup_withLockChangedToMatchSystem_updatesTheSharedPreferences()
|
/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()
|