/frameworks/base/libs/protoutil/tests/ |
D | ProtoOutputStream_test.cpp | 29 static std::string flushToString(ProtoOutputStream* proto) { in flushToString() argument 34 EXPECT_TRUE(proto->flush(tf.fd)); in flushToString() 39 static std::string iterateToString(ProtoOutputStream* proto) { in iterateToString() argument 41 content.reserve(proto->size()); in iterateToString() 42 sp<ProtoReader> reader = proto->data(); in iterateToString() 53 ProtoOutputStream proto; in TEST() local 54 EXPECT_TRUE(proto.write(FIELD_TYPE_INT32 | PrimitiveProto::kValInt32FieldNumber, 123)); in TEST() 55 EXPECT_TRUE(proto.write(FIELD_TYPE_INT64 | PrimitiveProto::kValInt64FieldNumber, -1LL)); in TEST() 56 EXPECT_TRUE(proto.write(FIELD_TYPE_FLOAT | PrimitiveProto::kValFloatFieldNumber, -23.5f)); in TEST() 57 EXPECT_TRUE(proto.write(FIELD_TYPE_DOUBLE | PrimitiveProto::kValDoubleFieldNumber, 324.5)); in TEST() [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsProtoV2.java | 25 import android.util.proto.ProtoInputStream; 26 import android.util.proto.ProtoOutputStream; 46 private static UsageStats parseUsageStats(ProtoInputStream proto, final long beginTime) in parseUsageStats() argument 51 switch (proto.nextField()) { in parseUsageStats() 53 stats.mPackageToken = proto.readInt( in parseUsageStats() 57 stats.mLastTimeUsed = beginTime + proto.readLong( in parseUsageStats() 61 stats.mTotalTimeInForeground = proto.readLong( in parseUsageStats() 65 stats.mAppLaunchCount = proto.readInt( in parseUsageStats() 70 final long token = proto.start(UsageStatsObfuscatedProto.CHOOSER_ACTIONS); in parseUsageStats() 71 loadChooserCounts(proto, stats); in parseUsageStats() [all …]
|
D | UsageStatsProto.java | 24 import android.util.proto.ProtoInputStream; 25 import android.util.proto.ProtoOutputStream; 43 private static List<String> readStringPool(ProtoInputStream proto) throws IOException { in readStringPool() argument 45 final long token = proto.start(IntervalStatsProto.STRINGPOOL); in readStringPool() 47 if (proto.nextField(IntervalStatsProto.StringPool.SIZE)) { in readStringPool() 48 stringPool = new ArrayList(proto.readInt(IntervalStatsProto.StringPool.SIZE)); in readStringPool() 52 while (proto.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in readStringPool() 53 switch (proto.getFieldNumber()) { in readStringPool() 55 stringPool.add(proto.readString(IntervalStatsProto.StringPool.STRINGS)); in readStringPool() 59 proto.end(token); in readStringPool() [all …]
|
/frameworks/base/core/java/com/android/internal/print/ |
D | DumpUtils.java | 56 public static void writePrinterId(@NonNull DualDumpOutputStream proto, String idName, long id, in writePrinterId() argument 58 long token = proto.start(idName, id); in writePrinterId() 59 writeComponentName(proto, "service_name", PrinterIdProto.SERVICE_NAME, in writePrinterId() 61 proto.write("local_id", PrinterIdProto.LOCAL_ID, printerId.getLocalId()); in writePrinterId() 62 proto.end(token); in writePrinterId() 74 @NonNull DualDumpOutputStream proto, String idName, long id, in writePrinterCapabilities() argument 76 long token = proto.start(idName, id); in writePrinterCapabilities() 77 writeMargins(proto, "min_margins", PrinterCapabilitiesProto.MIN_MARGINS, in writePrinterCapabilities() 82 writeMediaSize(context, proto, "media_sizes", PrinterCapabilitiesProto.MEDIA_SIZES, in writePrinterCapabilities() 88 writeResolution(proto, "resolutions", PrinterCapabilitiesProto.RESOLUTIONS, in writePrinterCapabilities() [all …]
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoUtils.java | 17 package android.util.proto; 34 public static void toAggStatsProto(ProtoOutputStream proto, long fieldId, in toAggStatsProto() argument 36 final long aggStatsToken = proto.start(fieldId); in toAggStatsProto() 37 proto.write(AggStats.MIN, min); in toAggStatsProto() 38 proto.write(AggStats.AVERAGE, average); in toAggStatsProto() 39 proto.write(AggStats.MAX, max); in toAggStatsProto() 40 proto.write(AggStats.MEAN_KB, meanKb); in toAggStatsProto() 41 proto.write(AggStats.MAX_KB, maxKb); in toAggStatsProto() 42 proto.end(aggStatsToken); in toAggStatsProto() 48 public static void toAggStatsProto(ProtoOutputStream proto, long fieldId, in toAggStatsProto() argument [all …]
|
/frameworks/base/core/proto/android/os/ |
D | incident.proto | 20 import "frameworks/base/core/proto/android/nfc/nfc_service.proto"; 21 import "frameworks/base/core/proto/android/os/backtrace.proto"; 22 import "frameworks/base/core/proto/android/os/batterytype.proto"; 23 import "frameworks/base/core/proto/android/os/cpufreq.proto"; 24 import "frameworks/base/core/proto/android/os/cpuinfo.proto"; 25 import "frameworks/base/core/proto/android/os/cpu_usage.proto"; 26 import "frameworks/base/core/proto/android/os/data.proto"; 27 import "frameworks/base/core/proto/android/os/header.proto"; 28 import "frameworks/base/core/proto/android/os/kernelwake.proto"; 29 import "frameworks/base/core/proto/android/os/metadata.proto"; [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
D | SensorLoggerSession.java | 103 Session proto = new Session(); in toProto() local 104 proto.startTimestampMillis = mStartTimestampMillis; in toProto() 105 proto.durationMillis = mEndTimestampMillis - mStartTimestampMillis; in toProto() 106 proto.build = Build.FINGERPRINT; in toProto() 107 proto.deviceId = Build.DEVICE; in toProto() 108 proto.result = mResult; in toProto() 109 proto.type = mType; in toProto() 110 proto.sensorEvents = mSensorEvents.toArray(proto.sensorEvents); in toProto() 111 proto.touchEvents = mMotionEvents.toArray(proto.touchEvents); in toProto() 112 proto.phoneEvents = mPhoneEvents.toArray(proto.phoneEvents); in toProto() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryProtoHelper.java | 24 import android.util.proto.ProtoInputStream; 25 import android.util.proto.ProtoOutputStream; 45 private static List<String> readStringPool(ProtoInputStream proto) throws IOException { in readStringPool() argument 46 final long token = proto.start(NotificationHistoryProto.STRING_POOL); in readStringPool() 48 if (proto.nextField(NotificationHistoryProto.StringPool.SIZE)) { in readStringPool() 49 stringPool = new ArrayList(proto.readInt(NotificationHistoryProto.StringPool.SIZE)); in readStringPool() 53 while (proto.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in readStringPool() 54 switch (proto.getFieldNumber()) { in readStringPool() 56 stringPool.add(proto.readString(NotificationHistoryProto.StringPool.STRINGS)); in readStringPool() 60 proto.end(token); in readStringPool() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | VoiceCallSessionStats.java | 149 VoiceCallSession proto = mCallProtos.get(id); in onRilCallListChanged() local 151 checkCallSetup(conn, proto); in onRilCallListChanged() 154 proto.bearerAtEnd = getBearer(conn); // should be CS in onRilCallListChanged() 155 proto.disconnectReasonCode = conn.getDisconnectCause(); in onRilCallListChanged() 156 proto.disconnectExtraCode = conn.getPreciseDisconnectCause(); in onRilCallListChanged() 157 proto.disconnectExtraMessage = conn.getVendorDisconnectCause(); in onRilCallListChanged() 236 VoiceCallSession proto = mCallProtos.get(getConnectionId(conn)); in onAudioCodecChanged() local 237 if (proto == null) { in onAudioCodecChanged() 241 proto.codecBitmask |= audioQualityToCodecBitmask(proto.bearerAtEnd, audioQuality); in onAudioCodecChanged() 252 VoiceCallSession proto = mCallProtos.get(getConnectionId(conn)); in onCallStateChanged() local [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | PowerProfile.java | 24 import android.util.proto.ProtoOutputStream; 512 public void dumpDebug(ProtoOutputStream proto) { in dumpDebug() argument 514 writePowerConstantToProto(proto, POWER_CPU_SUSPEND, PowerProfileProto.CPU_SUSPEND); in dumpDebug() 517 writePowerConstantToProto(proto, POWER_CPU_IDLE, PowerProfileProto.CPU_IDLE); in dumpDebug() 520 writePowerConstantToProto(proto, POWER_CPU_ACTIVE, PowerProfileProto.CPU_ACTIVE); in dumpDebug() 527 final long token = proto.start(PowerProfileProto.CPU_CLUSTER); in dumpDebug() 528 proto.write(PowerProfileProto.CpuCluster.ID, cluster); in dumpDebug() 529 proto.write(PowerProfileProto.CpuCluster.CLUSTER_POWER, in dumpDebug() 531 proto.write(PowerProfileProto.CpuCluster.CORES, mCpuClusters[cluster].numCpus); in dumpDebug() 533 proto.write(PowerProfileProto.CpuCluster.SPEED, speed); in dumpDebug() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | DiskStatsService.java | 35 import android.util.proto.ProtoOutputStream; 94 ProtoOutputStream proto = null; in dump() local 97 proto = new ProtoOutputStream(fd); in dump() 99 proto.write(DiskStatsServiceDumpProto.HAS_TEST_ERROR, error != null); in dump() 101 proto.write(DiskStatsServiceDumpProto.ERROR_MESSAGE, error.toString()); in dump() 103 proto.write(DiskStatsServiceDumpProto.WRITE_512B_LATENCY_MILLIS, after - before); in dump() 117 reportDiskWriteSpeedProto(proto); in dump() 122 reportFreeSpace(Environment.getDataDirectory(), "Data", pw, proto, in dump() local 124 reportFreeSpace(Environment.getDownloadCacheDirectory(), "Cache", pw, proto, in dump() local 126 reportFreeSpace(new File("/system"), "System", pw, proto, in dump() [all …]
|
/frameworks/native/services/sensorservice/ |
D | SensorList.cpp | 215 void SensorList::dump(util::ProtoOutputStream* proto) const { in dump() 219 forEachSensor([&proto] (const Sensor& s) -> bool { in dump() 220 const uint64_t token = proto->start(SENSORS); in dump() 221 proto->write(HANDLE, s.getHandle()); in dump() 222 proto->write(NAME, std::string(s.getName().string())); in dump() 223 proto->write(VENDOR, std::string(s.getVendor().string())); in dump() 224 proto->write(VERSION, s.getVersion()); in dump() 225 proto->write(STRING_TYPE, std::string(s.getStringType().string())); in dump() 226 proto->write(TYPE, s.getType()); in dump() 227 proto->write(REQUIRED_PERMISSION, std::string(s.getRequiredPermission().size() ? in dump() [all …]
|
/frameworks/base/libs/hwui/service/ |
D | GraphicsStatsService.cpp | 49 static bool mergeProfileDataIntoProto(protos::GraphicsStatsProto* proto, const std::string& package, 52 static void dumpAsTextToFd(protos::GraphicsStatsProto* proto, int outFd); 163 bool mergeProfileDataIntoProto(protos::GraphicsStatsProto* proto, const std::string& package, in mergeProfileDataIntoProto() argument 166 if (proto->stats_start() == 0 || proto->stats_start() > startTime) { in mergeProfileDataIntoProto() 167 proto->set_stats_start(startTime); in mergeProfileDataIntoProto() 169 if (proto->stats_end() == 0 || proto->stats_end() < endTime) { in mergeProfileDataIntoProto() 170 proto->set_stats_end(endTime); in mergeProfileDataIntoProto() 172 proto->set_package_name(package); in mergeProfileDataIntoProto() 173 proto->set_version_code(versionCode); in mergeProfileDataIntoProto() 174 proto->set_pipeline(data->pipelineType() == RenderPipelineType::SkiaGL ? in mergeProfileDataIntoProto() [all …]
|
/frameworks/base/cmds/incident_helper/src/parsers/ |
D | ProcrankParser.cpp | 35 ProtoOutputStream proto; in Parse() local 69 uint64_t token = proto.start(ProcrankProto::PROCESSES); in Parse() 71 if (!table.insertField(&proto, header[i], record[i])) { in Parse() 76 proto.end(token); in Parse() 80 uint64_t token = proto.start(ProcrankProto::SUMMARY); in Parse() 83 uint64_t token = proto.start(ProcrankProto::Summary::TOTAL); in Parse() 85 … table.insertField(&proto, header[header.size() - i].c_str(), record[record.size() - i].c_str()); in Parse() 87 proto.end(token); in Parse() 90 uint64_t token = proto.start(ProcrankProto::Summary::ZRAM); in Parse() 91 proto.write(ProcrankProto::Summary::Zram::RAW_TEXT, zram); in Parse() [all …]
|
D | PageTypeInfoParser.cpp | 35 ProtoOutputStream proto; in Parse() local 49 proto.write(PageTypeInfoProto::PAGE_BLOCK_ORDER, pageBlockOrder); in Parse() 53 proto.write(PageTypeInfoProto::PAGES_PER_BLOCK, toInt(line)); in Parse() 67 uint64_t token = proto.start(PageTypeInfoProto::MIGRATE_TYPES); in Parse() 70 proto.write(PageTypeInfoProto::MigrateType::NODE, toInt(record[0])); in Parse() 74 proto.write(PageTypeInfoProto::MigrateType::ZONE, record[1]); in Parse() 83 proto.write(PageTypeInfoProto::MigrateType::TYPE, pageCounts[0]); in Parse() 85 … proto.write(PageTypeInfoProto::MigrateType::FREE_PAGES_COUNT, toInt(pageCounts[i])); in Parse() 89 proto.end(token); in Parse() 91 uint64_t token = proto.start(PageTypeInfoProto::BLOCKS); in Parse() [all …]
|
D | EventLogTagsParser.cpp | 30 ProtoOutputStream proto; in Parse() local 44 uint64_t token = proto.start(EventLogTagMapProto::EVENT_LOG_TAGS); in Parse() 45 proto.write(EventLogTag::TAG_NUMBER, toInt(tagNumber)); in Parse() 46 proto.write(EventLogTag::TAG_NAME, tagName); in Parse() 55 uint64_t descriptorToken = proto.start(EventLogTag::VALUE_DESCRIPTORS); in Parse() 56 proto.write(EventLogTag::ValueDescriptor::NAME, valueDescriptor[0]); in Parse() 57 proto.write(EventLogTag::ValueDescriptor::TYPE, toInt(valueDescriptor[1])); in Parse() 66 proto.write(EventLogTag::ValueDescriptor::UNIT, unit); in Parse() 68 proto.end(descriptorToken); in Parse() 70 proto.end(token); in Parse() [all …]
|
D | CpuFreqParser.cpp | 62 ProtoOutputStream proto; in Parse() local 65 proto.write(CpuFreqProto::JIFFY_HZ, (int)jiffyHz); in Parse() 68 uint64_t token = proto.start(CpuFreqProto::CPU_FREQS); in Parse() 69 proto.write(CpuFreqProto::Stats::CPU_NAME, header[i+1]); in Parse() 71 uint64_t stateToken = proto.start(CpuFreqProto::Stats::TIMES); in Parse() 72 proto.write(CpuFreqProto::Stats::TimeInState::STATE_KHZ, it->first); in Parse() 73 proto.write(CpuFreqProto::Stats::TimeInState::TIME_JIFFY, it->second); in Parse() 74 proto.end(stateToken); in Parse() 76 proto.end(token); in Parse() 84 if (!proto.flush(out)) { in Parse() [all …]
|
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/job/ |
D | JobSchedulerInternal.java | 21 import android.util.proto.ProtoOutputStream; 102 public void dumpDebug(ProtoOutputStream proto, long fieldId) { in dumpDebug() argument 103 final long token = proto.start(fieldId); in dumpDebug() 105 final long flToken = proto.start(JobStorePersistStatsProto.FIRST_LOAD); in dumpDebug() 106 proto.write(JobStorePersistStatsProto.Stats.NUM_TOTAL_JOBS, countAllJobsLoaded); in dumpDebug() 107 proto.write(JobStorePersistStatsProto.Stats.NUM_SYSTEM_SERVER_JOBS, in dumpDebug() 109 proto.write(JobStorePersistStatsProto.Stats.NUM_SYSTEM_SYNC_MANAGER_JOBS, in dumpDebug() 111 proto.end(flToken); in dumpDebug() 113 final long lsToken = proto.start(JobStorePersistStatsProto.LAST_SAVE); in dumpDebug() 114 proto.write(JobStorePersistStatsProto.Stats.NUM_TOTAL_JOBS, countAllJobsSaved); in dumpDebug() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotLoader.java | 146 final TaskSnapshotProto proto = TaskSnapshotProto.parseFrom(bytes); in loadTask() local 149 PreRLegacySnapshotConfig legacyConfig = getLegacySnapshotConfig(proto.taskWidth, in loadTask() 150 proto.legacyScale, highResBitmap.exists(), loadLowResolutionBitmap); in loadTask() 162 options.inPreferredConfig = mPersister.use16BitFormat() && !proto.isTranslucent in loadTask() 185 proto.topActivityComponent); in loadTask() 193 taskSize = new Point(proto.taskWidth, proto.taskHeight); in loadTask() 196 return new TaskSnapshot(proto.id, topActivityComponent, buffer, in loadTask() 197 hwBitmap.getColorSpace(), proto.orientation, proto.rotation, taskSize, in loadTask() 198 new Rect(proto.insetLeft, proto.insetTop, proto.insetRight, proto.insetBottom), in loadTask() 199 loadLowResolutionBitmap, proto.isRealSnapshot, proto.windowingMode, in loadTask() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UidRecord.java | 26 import android.util.proto.ProtoOutputStream; 27 import android.util.proto.ProtoUtils; 161 void dumpDebug(ProtoOutputStream proto, long fieldId) { in dumpDebug() argument 162 long token = proto.start(fieldId); in dumpDebug() 163 proto.write(UidRecordProto.UID, uid); in dumpDebug() 164 proto.write(UidRecordProto.CURRENT, ProcessList.makeProcStateProtoEnum(mCurProcState)); in dumpDebug() 165 proto.write(UidRecordProto.EPHEMERAL, ephemeral); in dumpDebug() 166 proto.write(UidRecordProto.FG_SERVICES, foregroundServices); in dumpDebug() 167 proto.write(UidRecordProto.WHILELIST, curWhitelist); in dumpDebug() 168 ProtoUtils.toDuration(proto, UidRecordProto.LAST_BACKGROUND_TIME, in dumpDebug() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WirelessChargerDetector.java | 29 import android.util.proto.ProtoOutputStream; 173 public void dumpDebug(ProtoOutputStream proto, long fieldId) { in dumpDebug() argument 174 final long wcdToken = proto.start(fieldId); in dumpDebug() 176 proto.write(WirelessChargerDetectorProto.IS_POWERED_WIRELESSLY, mPoweredWirelessly); in dumpDebug() 177 proto.write(WirelessChargerDetectorProto.IS_AT_REST, mAtRest); in dumpDebug() 179 final long restVectorToken = proto.start(WirelessChargerDetectorProto.REST); in dumpDebug() 180 proto.write(WirelessChargerDetectorProto.VectorProto.X, mRestX); in dumpDebug() 181 proto.write(WirelessChargerDetectorProto.VectorProto.Y, mRestY); in dumpDebug() 182 proto.write(WirelessChargerDetectorProto.VectorProto.Z, mRestZ); in dumpDebug() 183 proto.end(restVectorToken); in dumpDebug() [all …]
|
/frameworks/base/cmds/statsd/src/guardrail/ |
D | StatsdStats.cpp | 858 void addConfigStatsToProto(const ConfigStats& configStats, ProtoOutputStream* proto) { in addConfigStatsToProto() argument 860 proto->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_CONFIG_STATS); in addConfigStatsToProto() 861 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_UID, configStats.uid); in addConfigStatsToProto() 862 proto->write(FIELD_TYPE_INT64 | FIELD_ID_CONFIG_STATS_ID, (long long)configStats.id); in addConfigStatsToProto() 863 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_CREATION, configStats.creation_time_sec); in addConfigStatsToProto() 865 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_RESET, configStats.reset_time_sec); in addConfigStatsToProto() 868 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_DELETION, in addConfigStatsToProto() 871 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_METRIC_COUNT, configStats.metric_count); in addConfigStatsToProto() 872 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_CONDITION_COUNT, in addConfigStatsToProto() 874 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_MATCHER_COUNT, configStats.matcher_count); in addConfigStatsToProto() [all …]
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Instrument.java | 36 import android.util.proto.ProtoOutputStream; 254 final ProtoOutputStream proto = new ProtoOutputStream(); in onInstrumentationStatusLocked() local 256 final long testStatusToken = proto.start(InstrumentationData.Session.TEST_STATUS); in onInstrumentationStatusLocked() 258 proto.write(InstrumentationData.TestStatus.RESULT_CODE, resultCode); in onInstrumentationStatusLocked() 259 writeBundle(proto, InstrumentationData.TestStatus.RESULTS, results); in onInstrumentationStatusLocked() 266 proto.write(InstrumentationData.TestStatus.LOGCAT, readLogcat(mTestStartMs)); in onInstrumentationStatusLocked() 271 proto.end(testStatusToken); in onInstrumentationStatusLocked() 273 outputProto(proto); in onInstrumentationStatusLocked() 279 final ProtoOutputStream proto = new ProtoOutputStream(); in onInstrumentationFinishedLocked() local 281 final long sessionStatusToken = proto.start(InstrumentationData.Session.SESSION_STATUS); in onInstrumentationFinishedLocked() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ApplicationExitInfo.java | 32 import android.util.proto.ProtoInputStream; 33 import android.util.proto.ProtoOutputStream; 34 import android.util.proto.WireTypeMismatchException; 1075 public void writeToProto(ProtoOutputStream proto, long fieldId) { in writeToProto() argument 1076 final long token = proto.start(fieldId); in writeToProto() 1077 proto.write(ApplicationExitInfoProto.PID, mPid); in writeToProto() 1078 proto.write(ApplicationExitInfoProto.REAL_UID, mRealUid); in writeToProto() 1079 proto.write(ApplicationExitInfoProto.PACKAGE_UID, mPackageUid); in writeToProto() 1080 proto.write(ApplicationExitInfoProto.DEFINING_UID, mDefiningUid); in writeToProto() 1081 proto.write(ApplicationExitInfoProto.PROCESS_NAME, mProcessName); in writeToProto() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSetting.java | 27 import android.util.proto.ProtoOutputStream; 270 public void dumpDebug(ProtoOutputStream proto, long fieldId, List<UserInfo> users) { in dumpDebug() argument 271 final long packageToken = proto.start(fieldId); in dumpDebug() 272 proto.write(PackageProto.NAME, (realName != null ? realName : name)); in dumpDebug() 273 proto.write(PackageProto.UID, appId); in dumpDebug() 274 proto.write(PackageProto.VERSION_CODE, versionCode); in dumpDebug() 275 proto.write(PackageProto.INSTALL_TIME_MS, firstInstallTime); in dumpDebug() 276 proto.write(PackageProto.UPDATE_TIME_MS, lastUpdateTime); in dumpDebug() 277 proto.write(PackageProto.INSTALLER_NAME, installSource.installerPackageName); in dumpDebug() 280 proto.write(PackageProto.VERSION_STRING, pkg.getVersionName()); in dumpDebug() [all …]
|