/frameworks/native/libs/renderengine/include/renderengine/ |
D | LayerSettings.h | 189 static inline void PrintTo(const Buffer& settings, ::std::ostream* os) { in PrintTo() argument 190 *os << "Buffer {"; in PrintTo() 191 *os << "\n .buffer = " << settings.buffer.get() << " " in PrintTo() 194 *os << "\n .fence = " << settings.fence.get(); in PrintTo() 195 *os << "\n .useTextureFiltering = " << settings.useTextureFiltering; in PrintTo() 196 *os << "\n .textureTransform = "; in PrintTo() 197 PrintMatrix(settings.textureTransform, os); in PrintTo() 198 *os << "\n .usePremultipliedAlpha = " << settings.usePremultipliedAlpha; in PrintTo() 199 *os << "\n .isOpaque = " << settings.isOpaque; in PrintTo() 200 *os << "\n .maxLuminanceNits = " << settings.maxLuminanceNits; in PrintTo() [all …]
|
D | DisplaySettings.h | 141 static inline void PrintTo(const DisplaySettings& settings, ::std::ostream* os) { in PrintTo() argument 142 *os << "DisplaySettings {"; in PrintTo() 143 *os << "\n .display = " << settings.namePlusId; in PrintTo() 144 *os << "\n .physicalDisplay = "; in PrintTo() 145 PrintTo(settings.physicalDisplay, os); in PrintTo() 146 *os << "\n .clip = "; in PrintTo() 147 PrintTo(settings.clip, os); in PrintTo() 148 *os << "\n .maxLuminance = " << settings.maxLuminance; in PrintTo() 149 *os << "\n .currentLuminanceNits = " << settings.currentLuminanceNits; in PrintTo() 150 *os << "\n .outputDataspace = "; in PrintTo() [all …]
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2Debug.cpp | 98 std::ostream& operator<<(std::ostream& os, const C2Param::CoreIndex &i) { in operator <<() argument 99 return os << "Param::CoreIndex(" << attribParamCoreIndex(i) << ")"; in operator <<() 102 std::ostream& operator<<(std::ostream& os, const C2Param::Type &i) { in operator <<() argument 103 return os << StringPrintf("Param::Type(%08x: ", i.type()) in operator <<() 107 std::ostream& operator<<(std::ostream& os, const C2Param::Index &i) { in operator <<() argument 108 return os << StringPrintf("Param::Index(%08x: ", (uint32_t)i) in operator <<() 119 std::ostream& operator<<(std::ostream& os, const _C2FieldId &i) { in operator <<() argument 120 return os << "<" << attribFieldId(i) << ">"; in operator <<() 124 std::ostream& operator<<(std::ostream& os, const C2FieldDescriptor &i) { in operator <<() argument 125 os << attribFieldId(_C2ParamInspector::GetField(i)) << " "; in operator <<() [all …]
|
/frameworks/av/media/libstagefright/renderfright/include/renderengine/ |
D | LayerSettings.h | 195 static inline void PrintTo(const Buffer& settings, ::std::ostream* os) { in PrintTo() argument 196 *os << "Buffer {"; in PrintTo() 197 *os << "\n .buffer = " << settings.buffer.get(); in PrintTo() 198 *os << "\n .fence = " << settings.fence.get(); in PrintTo() 199 *os << "\n .textureName = " << settings.textureName; in PrintTo() 200 *os << "\n .useTextureFiltering = " << settings.useTextureFiltering; in PrintTo() 201 *os << "\n .textureTransform = " << settings.textureTransform; in PrintTo() 202 *os << "\n .usePremultipliedAlpha = " << settings.usePremultipliedAlpha; in PrintTo() 203 *os << "\n .isOpaque = " << settings.isOpaque; in PrintTo() 204 *os << "\n .isY410BT2020 = " << settings.isY410BT2020; in PrintTo() [all …]
|
D | DisplaySettings.h | 73 static inline void PrintTo(const DisplaySettings& settings, ::std::ostream* os) { in PrintTo() argument 74 *os << "DisplaySettings {"; in PrintTo() 75 *os << "\n .physicalDisplay = "; in PrintTo() 76 PrintTo(settings.physicalDisplay, os); in PrintTo() 77 *os << "\n .clip = "; in PrintTo() 78 PrintTo(settings.clip, os); in PrintTo() 79 *os << "\n .maxLuminance = " << settings.maxLuminance; in PrintTo() 80 *os << "\n .outputDataspace = "; in PrintTo() 81 PrintTo(settings.outputDataspace, os); in PrintTo() 82 *os << "\n .colorTransform = " << settings.colorTransform; in PrintTo() [all …]
|
/frameworks/base/ravenwood/texts/ |
D | ravenwood-annotation-allowed-classes.txt | 10 com.android.internal.os.AndroidPrintStream 11 com.android.internal.os.BatteryStatsHistory 12 com.android.internal.os.BatteryStatsHistory$TraceDelegate 13 com.android.internal.os.BatteryStatsHistory$VarintParceler 14 com.android.internal.os.BatteryStatsHistoryIterator 15 com.android.internal.os.Clock 16 com.android.internal.os.LongArrayMultiStateCounter 17 com.android.internal.os.LongArrayMultiStateCounter$LongArrayContainer 18 com.android.internal.os.LongMultiStateCounter 19 com.android.internal.os.MonotonicClock [all …]
|
/frameworks/rs/ |
D | build_rs.py | 21 import os 28 THIS_DIR = os.path.realpath(os.path.dirname(__file__)) 29 ORIG_ENV = dict(os.environ) 33 out_dir = os.path.realpath(os.path.join(THIS_DIR, '../..', *args)) 42 if not os.path.isabs(top_out): 43 top_out = os.path.realpath(top_out) 44 out_dir = os.path.join(top_out, *args) 104 install_dir = os.path.join(install_host_dir, package_name) 108 if os.path.exists(install_host_dir): 114 package_path = os.path.join(dist_dir, tarball_name) + '.tar.bz2' [all …]
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-unsupported.txt | 1 Landroid/accessibilityservice/IAccessibilityServiceConnection$Stub;->asInterface(Landroid/os/IBinde… 2 Landroid/accounts/IAccountAuthenticator$Stub$Proxy;-><init>(Landroid/os/IBinder;)V 3 Landroid/accounts/IAccountAuthenticator$Stub$Proxy;->mRemote:Landroid/os/IBinder; 5 Landroid/accounts/IAccountAuthenticator$Stub;->asInterface(Landroid/os/IBinder;)Landroid/accounts/I… 6 Landroid/accounts/IAccountAuthenticatorResponse$Stub$Proxy;-><init>(Landroid/os/IBinder;)V 7 Landroid/accounts/IAccountAuthenticatorResponse$Stub$Proxy;->mRemote:Landroid/os/IBinder; 9 Landroid/accounts/IAccountAuthenticatorResponse$Stub;->asInterface(Landroid/os/IBinder;)Landroid/ac… 10 Landroid/accounts/IAccountManager$Stub$Proxy;-><init>(Landroid/os/IBinder;)V 12 Landroid/accounts/IAccountManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/accounts/IAccoun… 13 Landroid/accounts/IAccountManagerResponse$Stub$Proxy;-><init>(Landroid/os/IBinder;)V [all …]
|
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/ |
D | PerfettoViewCapture.kt | 24 import android.os.Trace in <lambda>() 95 val os = ctx.newTracePacket() in <lambda>() constant 96 os.write(TracePacket.TIMESTAMP, elapsedRealtimeNanos) in <lambda>() 98 os, in <lambda>() 104 serializeIncrementalState(os, ctx.incrementalState, newInternedStrings) in <lambda>() 111 os: ProtoOutputStream, in <lambda>() 120 val tokenExtensions = os.start(TracePacket.WINSCOPE_EXTENSIONS) in <lambda>() 121 val tokenViewCapture = os.start(WinscopeExtensionsImpl.VIEWCAPTURE) in <lambda>() 122 os.write( in <lambda>() 126 os.write( in <lambda>() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PerfettoTransitionTracer.java | 24 import android.os.SystemClock; 25 import android.os.Trace; 80 final ProtoOutputStream os = ctx.newTracePacket(); in doLogSentTransition() local 82 final long token = os.start(TracePacket.SHELL_TRANSITION); in doLogSentTransition() 84 os.write(ShellTransition.ID, transition.getSyncId()); in doLogSentTransition() 85 os.write(ShellTransition.CREATE_TIME_NS, in doLogSentTransition() 87 os.write(ShellTransition.SEND_TIME_NS, transition.mLogger.mSendTimeNs); in doLogSentTransition() 88 os.write(ShellTransition.START_TRANSACTION_ID, in doLogSentTransition() 90 os.write(ShellTransition.FINISH_TRANSACTION_ID, in doLogSentTransition() 92 os.write(ShellTransition.TYPE, transition.mType); in doLogSentTransition() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/tracing/ |
D | PerfettoTransitionTracer.java | 25 import android.os.SystemClock; 26 import android.os.Trace; 84 final ProtoOutputStream os = ctx.newTracePacket(); in doLogDispatched() 85 final long token = os.start(TracePacket.SHELL_TRANSITION); in doLogDispatched() 86 os.write(ShellTransition.ID, transitionId); in doLogDispatched() 87 os.write(ShellTransition.DISPATCH_TIME_NS, in doLogDispatched() 89 os.write(ShellTransition.HANDLER, handlerId); in doLogDispatched() 90 os.end(token); in doLogDispatched() 129 final ProtoOutputStream os = ctx.newTracePacket(); in doLogMergeRequested() 130 final long token = os.start(TracePacket.SHELL_TRANSITION); in doLogMergeRequested() [all …]
|
/frameworks/base/config/ |
D | boot-profile.txt | 1 Landroid/os/Trace;->isTagEnabled(J)Z 2 Lcom/android/internal/os/ZygoteInit;->preloadClasses()V 3 Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V 4 Landroid/os/Trace;->traceEnd(J)V 109 Landroid/os/Parcel;->readInt()I 110 Landroid/os/Parcel;->readLong()J 111 Lcom/android/internal/os/BatteryStatsImpl$TimeBase;->add(Lcom/android/internal/os/BatteryStatsImpl$… 112 Lcom/android/internal/os/BatteryStatsImpl$Timer;-><init>(Lcom/android/internal/os/BatteryStatsImpl$… 113 Landroid/os/BatteryStats$Timer;-><init>()V 114 Lcom/android/internal/os/BatteryStatsImpl$Timer;->readSummaryFromParcelLocked(Landroid/os/Parcel;)V [all …]
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | ImeTracingPerfettoImpl.java | 28 import android.os.SystemClock; 29 import android.os.Trace; 84 final ProtoOutputStream os = ctx.newTracePacket(); in triggerClientDump() local 85 os.write(TracePacket.TIMESTAMP, SystemClock.elapsedRealtimeNanos()); in triggerClientDump() 87 os.start(TracePacket.WINSCOPE_EXTENSIONS); in triggerClientDump() 89 os.start(WinscopeExtensionsImpl.INPUTMETHOD_CLIENTS); in triggerClientDump() 90 os.write(InputMethodClientsTraceProto.WHERE, where); in triggerClientDump() 92 os.start(InputMethodClientsTraceProto.CLIENT); in triggerClientDump() 93 immInstance.dumpDebug(os, icProto); in triggerClientDump() 94 os.end(tokenClient); in triggerClientDump() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | StringUtilsTests.cpp | 41 std::stringstream os; in TEST() local 42 os << SizePrinter{500}; in TEST() 43 EXPECT_EQ("500.00B", os.str()); in TEST() 44 os.str(""); in TEST() 45 os << SizePrinter{46080}; in TEST() 46 EXPECT_EQ("45.00KiB", os.str()); in TEST() 47 os.str(""); in TEST() 48 os << SizePrinter{5 * 1024 * 1024 + 520 * 1024}; in TEST() 49 EXPECT_EQ("5.51MiB", os.str()); in TEST() 50 os.str(""); in TEST() [all …]
|
/frameworks/native/libs/binder/tests/unit_fuzzers/ |
D | PersistableBundleFuzzFunctions.h | 37 void(FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const&, String16*)>> 39 {[](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle, 41 [](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle, 46 [](FuzzedDataProvider* fdp, std::shared_ptr<os::PersistableBundle> const& p_bundle, 54 [](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle, 56 [](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle, 58 [](FuzzedDataProvider* fdp, std::shared_ptr<os::PersistableBundle> const& p_bundle, 63 [](FuzzedDataProvider* fdp, std::shared_ptr<os::PersistableBundle> const& p_bundle, 68 [](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle, 70 os::PersistableBundle value = os::PersistableBundle(); [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | LayerFE.h | 84 friend std::ostream& operator<<(std::ostream& os, const BlurSetting& setting) { 85 return os << toString(setting); 206 ::std::ostream* os) { in PrintTo() argument 207 *os << "ClientCompositionTargetSettings{"; in PrintTo() 208 *os << "\n .clip = \n"; in PrintTo() 209 PrintTo(settings.clip, os); in PrintTo() 210 *os << "\n .needsFiltering = " << settings.needsFiltering; in PrintTo() 211 *os << "\n .isSecure = " << settings.isSecure; in PrintTo() 212 *os << "\n .isProtected = " << settings.isProtected; in PrintTo() 213 *os << "\n .viewport = "; in PrintTo() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | TestEventMatchers.h | 63 void DescribeTo(std::ostream* os) const { in DescribeTo() argument 64 *os << "with source " << inputEventSourceToString(mSource); in DescribeTo() 67 void DescribeNegationTo(std::ostream* os) const { *os << "wrong source"; } in DescribeNegationTo() argument 91 void DescribeTo(std::ostream* os) const { in DescribeTo() argument 92 *os << "with key action " << KeyEvent::actionToString(mAction); in DescribeTo() 95 void DescribeNegationTo(std::ostream* os) const { *os << "wrong action"; } in DescribeNegationTo() argument 127 void DescribeTo(std::ostream* os) const { in DescribeTo() argument 128 *os << "with motion action " << MotionEvent::actionToString(mAction); in DescribeTo() 130 *os << " and FLAG_CANCELED"; in DescribeTo() 134 void DescribeNegationTo(std::ostream* os) const { *os << "wrong action"; } in DescribeNegationTo() argument [all …]
|
/frameworks/native/libs/vibrator/ |
D | ExternalVibration.cpp | 40 namespace os { namespace 68 os::HapticScale ExternalVibration::externalVibrationScaleToHapticScale( in externalVibrationScaleToHapticScale() 69 os::ExternalVibrationScale externalVibrationScale) { in externalVibrationScaleToHapticScale() 70 os::HapticLevel scaleLevel = os::HapticLevel::NONE; in externalVibrationScaleToHapticScale() 73 case os::ExternalVibrationScale::ScaleLevel::SCALE_MUTE: in externalVibrationScaleToHapticScale() 74 scaleLevel = os::HapticLevel::MUTE; in externalVibrationScaleToHapticScale() 76 case os::ExternalVibrationScale::ScaleLevel::SCALE_VERY_LOW: in externalVibrationScaleToHapticScale() 77 scaleLevel = os::HapticLevel::VERY_LOW; in externalVibrationScaleToHapticScale() 79 case os::ExternalVibrationScale::ScaleLevel::SCALE_LOW: in externalVibrationScaleToHapticScale() 80 scaleLevel = os::HapticLevel::LOW; in externalVibrationScaleToHapticScale() [all …]
|
/frameworks/proto_logging/stats/stats_log_api_gen/ |
D | test_vendor_atoms.proto | 25 VendorAtom1 vendorAtom1 = 105501 [(android.os.statsd.module) = "test"]; 26 VendorAtom2 vendorAtom2 = 105502 [(android.os.statsd.module) = "test"]; 27 VendorAtom3 vendorAtom3 = 105503 [(android.os.statsd.module) = "test"]; 28 VendorAtom4 vendorAtom4 = 105504 [(android.os.statsd.module) = "test"]; 29 VendorAtom5 vendorAtom5 = 105505 [(android.os.statsd.module) = "test"]; 30 VendorAtom6 vendorAtom6 = 105513 [(android.os.statsd.module) = "test"]; 32 (android.os.statsd.module) = "test" 34 VendorAtom5WithState vendorAtom5WithState = 105515 [(android.os.statsd.module) = "test"]; 35 VendorAtomWithState stateAtom1 = 105506 [(android.os.statsd.module) = "test"]; 36 VendorAtomWithState2 stateAtom2 = 105507 [(android.os.statsd.module) = "test"]; [all …]
|
D | test_external.proto | 47 repeated android.os.statsd.AttributionNode attribution_chain = 1; 60 [(android.os.statsd.log_mode) = MODE_BYTES]; 134 repeated android.os.statsd.AttributionNode attribution = 2; 151 optional ComplexField bf = 2 [(android.os.statsd.log_mode) = MODE_BYTES]; 180 optional int64 int64_field = 1 [(android.os.statsd.field_restriction_option).app_usage = true]; 182 [(android.os.statsd.field_restriction_option).health_connect = true]; 184 [(android.os.statsd.field_restriction_option).accessibility = true]; 186 [(android.os.statsd.field_restriction_option).system_search = true]; 188 [(android.os.statsd.field_restriction_option).ambient_sensing = true]; 190 [(android.os.statsd.field_restriction_option).peripheral_device_info = true]; [all …]
|
D | test.proto | 47 repeated android.os.statsd.AttributionNode attribution_chain = 1; 60 [(android.os.statsd.log_mode) = MODE_BYTES]; 134 repeated android.os.statsd.AttributionNode attribution = 2; 151 optional ComplexField bf = 2 [(android.os.statsd.log_mode) = MODE_BYTES]; 180 optional int64 int64_field = 1 [(android.os.statsd.field_restriction_option).app_usage = true]; 182 [(android.os.statsd.field_restriction_option).health_connect = true]; 184 [(android.os.statsd.field_restriction_option).accessibility = true]; 186 [(android.os.statsd.field_restriction_option).system_search = true]; 188 [(android.os.statsd.field_restriction_option).ambient_sensing = true]; 190 [(android.os.statsd.field_restriction_option).peripheral_device_info = true]; [all …]
|
/frameworks/av/services/audioflinger/afutils/ |
D | Vibrator.cpp | 32 static sp<os::IExternalVibratorService> getExternalVibratorService() { in getExternalVibratorService() 34 static sp<os::IExternalVibratorService> sExternalVibratorService; in getExternalVibratorService() 41 sExternalVibratorService = interface_cast<os::IExternalVibratorService>(binder); in getExternalVibratorService() 47 os::HapticScale onExternalVibrationStart(const sp<os::ExternalVibration>& externalVibration) { in onExternalVibrationStart() 50 return os::HapticScale::mute(); in onExternalVibrationStart() 52 const sp<os::IExternalVibratorService> evs = getExternalVibratorService(); in onExternalVibrationStart() 55 os::ExternalVibrationScale ret; in onExternalVibrationStart() 59 return os::ExternalVibration::externalVibrationScaleToHapticScale(ret); in onExternalVibrationStart() 66 return os::HapticScale::mute(); in onExternalVibrationStart() 69 void onExternalVibrationStop(const sp<os::ExternalVibration>& externalVibration) { in onExternalVibrationStop() [all …]
|
/frameworks/native/libs/ui/include/ui/ |
D | BlurRegion.h | 50 static inline void PrintTo(const BlurRegion& blurRegion, ::std::ostream* os) { in PrintTo() argument 51 *os << "BlurRegion {"; in PrintTo() 52 *os << "\n .blurRadius = " << blurRegion.blurRadius; in PrintTo() 53 *os << "\n .cornerRadiusTL = " << blurRegion.cornerRadiusTL; in PrintTo() 54 *os << "\n .cornerRadiusTR = " << blurRegion.cornerRadiusTR; in PrintTo() 55 *os << "\n .cornerRadiusBL = " << blurRegion.cornerRadiusBL; in PrintTo() 56 *os << "\n .cornerRadiusBR = " << blurRegion.cornerRadiusBR; in PrintTo() 57 *os << "\n .alpha = " << blurRegion.alpha; in PrintTo() 58 *os << "\n .left = " << blurRegion.left; in PrintTo() 59 *os << "\n .top = " << blurRegion.top; in PrintTo() [all …]
|
/frameworks/base/packages/SystemUI/scripts/ |
D | new_merge.py | 3 import os 15 return os.path.isfile(path) and os.access(path, os.X_OK) 17 path, file = os.path.split(program) 21 for path in os.environ["PATH"].split(os.pathsep): 22 exe = os.path.join(path, program) 45 if ("DIFF_TOOL" in os.environ and len(os.environ["DIFF_TOOL"]) > 0): 46 DIFF_TOOL=which(os.environ["DIFF_TOOL"]) 113 if (os.path.exists(TEMP_FILE1)): 114 os.remove(TEMP_FILE1) 116 if (os.path.exists(TEMP_FILE2)): [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | BinaryXmlTest.java | 31 import android.os.PersistableBundle; 65 final ByteArrayOutputStream os = new ByteArrayOutputStream(); in testLargeInterned_Binary() local 66 out.setOutput(os, StandardCharsets.UTF_8.name()); in testLargeInterned_Binary() 75 final ByteArrayInputStream is = new ByteArrayInputStream(os.toByteArray()); in testLargeInterned_Binary() 105 final ByteArrayOutputStream os = new ByteArrayOutputStream(); in doTranscode() local 106 secondOut.setOutput(os, StandardCharsets.UTF_8.name()); in doTranscode() 111 final PersistableBundle actual = doPersistableBundleRead(secondIn, os.toByteArray()); in doTranscode() 119 try (OutputStream os = new FileOutputStream(file)) { in testResolve_File() argument 121 xml.setOutput(os, StandardCharsets.UTF_8.name()); in testResolve_File() 130 try (OutputStream os = new FileOutputStream(file)) { in testResolve_File() argument [all …]
|