Searched defs:tagId (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/cmds/statsd/src/external/
H A DResourceHealthManagerPuller.cpp54 ResourceHealthManagerPuller::ResourceHealthManagerPuller(int tagId) : StatsPuller(tagId) { argument
H A DStatsCompanionServicePuller.cpp43 StatsCompanionServicePuller::StatsCompanionServicePuller(int tagId) : StatsPuller(tagId) { argument
H A DStatsPuller.cpp36 StatsPuller::StatsPuller(const int tagId) argument
37 : mTagId(tagId) {
38 mCoolDownNs = StatsPullerManagerImpl::kAllPullAtomInfo.find(tagId)->second.coolDownNs;
H A DStatsPullerManager.h29 virtual void RegisterReceiver(int tagId, wp<PullDataReceiver> receiver, int64_t nextPullTimeNs, argument
31 mPullerManager.RegisterReceiver(tagId, receiver, nextPullTimeNs, intervalNs);
34 virtual void UnRegisterReceiver(int tagId, wp <PullDataReceiver> receiver) { argument
35 mPullerManager.UnRegisterReceiver(tagId, receiver);
39 bool PullerForMatcherExists(int tagId) { argument
40 return mPullerManager.PullerForMatcherExists(tagId);
47 virtual bool Pull(const int tagId, const int64_t timesNs, argument
49 return mPullerManager.Pull(tagId, timesNs, data);
H A DStatsPullerManagerImpl.cpp179 bool StatsPullerManagerImpl::Pull(const int tagId, const int64_t timeNs, argument
181 VLOG("Initiating pulling %d", tagId);
183 if (kAllPullAtomInfo.find(tagId) != kAllPullAtomInfo.end()) {
184 bool ret = kAllPullAtomInfo.find(tagId)->second.puller->Pull(timeNs, data);
188 VLOG("Unknown tagId %d", tagId);
198 bool StatsPullerManagerImpl::PullerForMatcherExists(int tagId) const {
199 return kAllPullAtomInfo.find(tagId) != kAllPullAtomInfo.end();
230 void StatsPullerManagerImpl::RegisterReceiver(int tagId, wp<PullDataReceiver> receiver, argument
233 auto& receivers = mReceivers[tagId];
265 UnRegisterReceiver(int tagId, wp<PullDataReceiver> receiver) argument
[all...]
H A Dpuller_util.cpp109 int tagId) {
110 if (StatsPullerManagerImpl::kAllPullAtomInfo.find(tagId) ==
112 VLOG("Unknown pull atom id %d", tagId);
116 auto it = android::util::AtomsInfo::kAtomsWithUidField.find(tagId);
118 VLOG("No uid to merge for atom %d", tagId);
124 StatsPullerManagerImpl::kAllPullAtomInfo.find(tagId)->second.additiveFields;
126 StatsPullerManagerImpl::kAllPullAtomInfo.find(tagId)->second.nonAdditiveFields;
108 mergeIsolatedUidsToHostUid(vector<shared_ptr<LogEvent>>& data, const sp<UidMap>& uidMap, int tagId) argument
/frameworks/base/cmds/statsd/tests/metrics/
H A DEventMetricProducer_test.cpp92 int tagId = 1; local
100 buildSimpleAtomFieldMatcher(tagId, 1, link->mutable_fields_in_what());
103 LogEvent event1(tagId, bucketStartTimeNs + 1);
109 LogEvent event2(tagId, bucketStartTimeNs + 10);
H A Dmetrics_test_helper.cpp21 HashableDimensionKey getMockedDimensionKey(int tagId, int key, string value) { argument
24 dimension.addValue(FieldValue(Field(tagId, pos, 0), Value(value)));
29 MetricDimensionKey getMockedMetricDimensionKey(int tagId, int key, string value) { argument
30 return MetricDimensionKey(getMockedDimensionKey(tagId, key, value), DEFAULT_DIMENSION_KEY);
33 void buildSimpleAtomFieldMatcher(const int tagId, FieldMatcher* matcher) { argument
34 matcher->set_field(tagId);
37 void buildSimpleAtomFieldMatcher(const int tagId, const int fieldNum, FieldMatcher* matcher) { argument
38 matcher->set_field(tagId);
H A DDurationMetricProducer_test.cpp52 int tagId = 1; local
53 LogEvent event1(tagId, bucketStartTimeNs + 1);
55 LogEvent event2(tagId, bucketStartTimeNs + bucketSizeNs + 2);
90 int tagId = 1; local
91 LogEvent event1(tagId, bucketStartTimeNs + 1);
93 LogEvent event2(tagId, bucketStartTimeNs + 2);
95 LogEvent event3(tagId, bucketStartTimeNs + bucketSizeNs + 1);
97 LogEvent event4(tagId, bucketStartTimeNs + bucketSizeNs + 3);
144 int tagId = 1; local
157 LogEvent start_event(tagId, startTimeN
199 int tagId = 1; local
249 int tagId = 1; local
290 int tagId = 1; local
338 int tagId = 1; local
[all...]
H A DCountMetricProducer_test.cpp45 int tagId = 1; local
51 LogEvent event1(tagId, bucketStartTimeNs + 1);
53 LogEvent event2(tagId, bucketStartTimeNs + 2);
82 LogEvent event3(tagId, bucketStartTimeNs + bucketSizeNs + 2);
152 int tagId = 1; local
161 buildSimpleAtomFieldMatcher(tagId, 1, link->mutable_fields_in_what());
164 LogEvent event1(tagId, bucketStartTimeNs + 1);
171 LogEvent event2(tagId, bucketStartTimeNs + 10);
210 int tagId = 1; local
219 LogEvent event1(tagId, bucketStartTimeN
272 int tagId = 1; local
345 int tagId = 1; local
[all...]
H A DGaugeMetricProducer_test.cpp41 const int tagId = 1; member in namespace:android::os::statsd
56 gaugeFieldMatcher->set_field(tagId);
66 EXPECT_CALL(*pullerManager, RegisterReceiver(tagId, _, _, _)).WillOnce(Return());
67 EXPECT_CALL(*pullerManager, UnRegisterReceiver(tagId, _)).WillOnce(Return());
70 tagId, bucketStartTimeNs, bucketStartTimeNs, pullerManager);
75 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, bucket2StartTimeNs + 1);
93 std::make_shared<LogEvent>(tagId, bucket3StartTimeNs + 10);
153 shared_ptr<LogEvent> event1 = make_shared<LogEvent>(tagId, bucketStartTimeNs + 10);
169 shared_ptr<LogEvent> event2 = make_shared<LogEvent>(tagId, bucketStartTimeNs + 59 * NS_PER_SEC);
182 shared_ptr<LogEvent> event3 = make_shared<LogEvent>(tagId, bucketStartTimeN
448 int tagId = 1; local
[all...]
H A DValueMetricProducer_test.cpp41 const int tagId = 1; member in namespace:android::os::statsd
59 metric.mutable_value_field()->set_field(tagId);
67 EXPECT_CALL(*pullerManager, RegisterReceiver(tagId, _, _, _)).WillOnce(Return());
68 EXPECT_CALL(*pullerManager, UnRegisterReceiver(tagId, _)).WillOnce(Return());
71 tagId, bucketStartTimeNs, bucketStartTimeNs, pullerManager);
76 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, bucket2StartTimeNs + 1);
77 event->write(tagId);
96 event = make_shared<LogEvent>(tagId, bucket3StartTimeNs + 1);
97 event->write(tagId);
114 event = make_shared<LogEvent>(tagId, bucket4StartTimeN
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DIfdData.java78 protected ExifTag getTag(short tagId) { argument
79 return mExifTags.get(tagId);
90 protected boolean checkCollision(short tagId) { argument
91 return mExifTags.get(tagId) != null;
97 protected void removeTag(short tagId) { argument
98 mExifTags.remove(tagId);
H A DExifData.java204 protected void removeTag(short tagId, int ifdId) { argument
209 ifdData.removeTag(tagId);
H A DExifParser.java534 short tagId = mTiffStream.readShort();
543 Log.w(TAG, String.format("Tag %04x: Invalid data type %d", tagId, dataFormat));
548 ExifTag tag = new ExifTag(tagId, dataFormat, (int) numOfComp, mIfdType,
637 private boolean checkAllowed(int ifd, int tagId) { argument
638 int info = mInterface.getTagInfo().get(tagId);
H A DExifTag.java127 ExifTag(short tagId, short type, int componentCount, int ifd, argument
129 mTagId = tagId;
/frameworks/base/cmds/statsd/src/logd/
H A DLogEvent.cpp43 LogEvent::LogEvent(int32_t tagId, int64_t wallClockTimestampNs, int64_t elapsedTimestampNs) { argument
45 mTagId = tagId;
50 android_log_write_int32(mContext, tagId);
54 LogEvent::LogEvent(int32_t tagId, int64_t timestampNs) { argument
56 mTagId = tagId;
61 android_log_write_int32(mContext, tagId);
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraProviderManager.h307 DeviceInfo(const std::string& name, const metadata_vendor_id_t tagId, argument
310 mName(name), mId(id), mVersion(version), mProviderTagid(tagId),
336 DeviceInfo1(const std::string& name, const metadata_vendor_id_t tagId,
357 DeviceInfo3(const std::string& name, const metadata_vendor_id_t tagId,
380 const metadata_vendor_id_t tagId, const std::string &id,
H A DCameraProviderManager.cpp801 const std::string &name, const metadata_vendor_id_t tagId,
833 new DeviceInfoT(name, tagId, id, minorVersion, resourceCost,
905 const metadata_vendor_id_t tagId, const std::string &id,
909 DeviceInfo(name, tagId, id, hardware::hidl_version{1, minorVersion},
1004 const metadata_vendor_id_t tagId, const std::string &id,
1008 DeviceInfo(name, tagId, id, hardware::hidl_version{3, minorVersion},
1405 uint32_t tag = section.tags[j].tagId;
1411 tagArray.editItemAt(idx++) = section.tags[j].tagId;
800 initializeDeviceInfo( const std::string &name, const metadata_vendor_id_t tagId, const std::string &id, uint16_t minorVersion) const argument
904 DeviceInfo1(const std::string& name, const metadata_vendor_id_t tagId, const std::string &id, uint16_t minorVersion, const CameraResourceCost& resourceCost, sp<InterfaceT> interface) argument
1003 DeviceInfo3(const std::string& name, const metadata_vendor_id_t tagId, const std::string &id, uint16_t minorVersion, const CameraResourceCost& resourceCost, sp<InterfaceT> interface) argument
/frameworks/av/services/camera/libcameraservice/tests/
H A DCameraProviderManagerTest.cpp231 uint32_t tagId = VENDOR_SECTION << 16; local
237 vendorSection[0].tags[0].tagId = tagId;
265 vendorSection[0].tags[0].tagId = tagId;
290 hardware::hidl_string resultTag = vendorCache->getTagName(tagId, vendorId);
293 resultTag = vendorCache->getTagName(tagId, vendorIdSecond);
305 ASSERT_EQ(OK, metadata.update(tagId, &byteVal, 1));
307 ASSERT_TRUE(metadata.exists(tagId));
316 ASSERT_EQ(OK, secondMetadata.update(tagId,
[all...]
/frameworks/base/cmds/statsd/src/metrics/
H A DMetricsManager.cpp300 int tagId = event.GetTagId(); local
302 if (mTagIds.find(tagId) == mTagIds.end()) {
/frameworks/base/cmds/statsd/src/
H A Dstats_log_util.cpp352 void writeFieldValueTreeToStream(int tagId, const std::vector<FieldValue>& values, argument
354 uint64_t atomToken = protoOutput->start(FIELD_TYPE_MESSAGE | tagId);
/frameworks/av/media/img_utils/include/img_utils/
H A DTagDefinitions.h35 const uint16_t tagId; member in struct:android::img_utils::TagDefinition
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java1127 public static String getUserTagsURL(String user, String tagId) { argument
1128 return "http://flickr.com/photos/" + user + "/tags/" + tagId;
/frameworks/base/services/core/java/com/android/server/stats/
H A DStatsCompanionService.java606 private void pullKernelWakelock(int tagId, List<StatsLogEventWrapper> pulledData) { argument
613 StatsLogEventWrapper e = new StatsLogEventWrapper(elapsedNanos, tagId, 4);
622 private void pullWifiBytesTransfer(int tagId, List<StatsLogEventWrapper> pulledData) { argument
636 addNetworkStats(tagId, pulledData, stats, false);
644 private void pullWifiBytesTransferByFgBg(int tagId, List<StatsLogEventWrapper> pulledData) { argument
655 addNetworkStats(tagId, pulledData, stats, true);
663 private void pullMobileBytesTransfer(int tagId, List<StatsLogEventWrapper> pulledData) { argument
676 addNetworkStats(tagId, pulledData, stats, false);
684 private void pullBluetoothBytesTransfer(int tagId, List<StatsLogEventWrapper> pulledData) { argument
689 StatsLogEventWrapper e = new StatsLogEventWrapper(elapsedNanos, tagId,
698 pullMobileBytesTransferByFgBg(int tagId, List<StatsLogEventWrapper> pulledData) argument
717 pullCpuTimePerFreq(int tagId, List<StatsLogEventWrapper> pulledData) argument
733 pullKernelUidCpuTime(int tagId, List<StatsLogEventWrapper> pulledData) argument
744 pullKernelUidCpuFreqTime(int tagId, List<StatsLogEventWrapper> pulledData) argument
759 pullKernelUidCpuClusterTime(int tagId, List<StatsLogEventWrapper> pulledData) argument
772 pullKernelUidCpuActiveTime(int tagId, List<StatsLogEventWrapper> pulledData) argument
782 pullWifiActivityInfo(int tagId, List<StatsLogEventWrapper> pulledData) argument
809 pullModemActivityInfo(int tagId, List<StatsLogEventWrapper> pulledData) argument
833 pullBluetoothActivityInfo(int tagId, List<StatsLogEventWrapper> pulledData) argument
857 pullSystemElapsedRealtime(int tagId, List<StatsLogEventWrapper> pulledData) argument
863 pullDiskSpace(int tagId, List<StatsLogEventWrapper> pulledData) argument
871 pullSystemUpTime(int tagId, List<StatsLogEventWrapper> pulledData) argument
877 pullProcessMemoryState(int tagId, List<StatsLogEventWrapper> pulledData) argument
900 pullData(int tagId) argument
[all...]

Completed in 324 milliseconds

12