Home
last modified time | relevance | path

Searched refs:configId (Results 1 – 25 of 34) sorted by relevance

12

/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/localdrive/
DLocalDrive.java185 long configId; in updateConfig() local
187 configId = getConfigId(argCount < 1, args, idx + 2); in updateConfig()
194 origConfigLocation, configId, binary, removeOldConfig)); in updateConfig()
200 Utils.SHELL_UID, String.valueOf(configId)); in updateConfig()
201 Utils.getReportList(configId, true /* clearData */, true /* SHELL_UID */, sLogger, in updateConfig()
237 Utils.CMD_UPDATE_CONFIG, Utils.SHELL_UID, String.valueOf(configId)); in updateConfig()
256 long configId; in cmdGetData() local
258 configId = getConfigId(argCount < 1, args, idx + 1); in cmdGetData()
265 configId, clearData, binary, noUidMap)); in cmdGetData()
271 reportList = Utils.getReportList(configId, clearData, true /* SHELL_UID */, sLogger, in cmdGetData()
[all …]
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsManagerService.java79 ConfigKey(int uid, long configId) { in ConfigKey() argument
81 mConfigId = configId; in ConfigKey()
235 public void setDataFetchOperation(long configId, PendingIntent pendingIntent, in setDataFetchOperation() argument
241 ConfigKey key = new ConfigKey(callingUid, configId); in setDataFetchOperation()
249 statsd.setDataFetchOperation(configId, pir, callingUid); in setDataFetchOperation()
259 public void removeDataFetchOperation(long configId, String packageName) { in removeDataFetchOperation() argument
263 ConfigKey key = new ConfigKey(callingUid, configId); in removeDataFetchOperation()
270 statsd.removeDataFetchOperation(configId, callingUid); in removeDataFetchOperation()
324 public void setBroadcastSubscriber(long configId, long subscriberId, in setBroadcastSubscriber() argument
330 ConfigKey key = new ConfigKey(callingUid, configId); in setBroadcastSubscriber()
[all …]
DStatsCompanion.java152 public void sendSubscriberBroadcast(long configUid, long configId, long subscriptionId, in sendSubscriberBroadcast() argument
160 .putExtra(StatsManager.EXTRA_STATS_CONFIG_KEY, configId) in sendSubscriberBroadcast()
175 configUid, configId, subscriptionId, subscriptionRuleId, in sendSubscriberBroadcast()
/packages/modules/StatsD/apex/tests/libstatspull/src/com/android/internal/os/statsd/libstats/
DStatsConfigUtils.java50 public static StatsdConfig.Builder getSimpleTestConfig(long configId) { in getSimpleTestConfig() argument
51 return StatsdConfig.newBuilder().setId(configId) in getSimpleTestConfig()
56 public static boolean verifyValidConfigExists(StatsManager statsManager, long configId) { in verifyValidConfigExists() argument
66 if (configStats.getId() == configId && configStats.getIsValid() in verifyValidConfigExists()
89 long configId) { in getConfigMetricsReport() argument
93 .parseFrom(statsManager.getReports(configId)); in getConfigMetricsReport()
119 public static List<Atom> getGaugeMetricDataList(StatsManager statsManager, long configId) { in getGaugeMetricDataList() argument
120 ConfigMetricsReport report = getConfigMetricsReport(statsManager, configId); in getGaugeMetricDataList()
/packages/modules/StatsD/aidl/android/os/
DIStatsd.aidl113 void addConfiguration(in long configId, in byte[] config, in int callingUid); in addConfiguration() argument
122 void setDataFetchOperation(long configId, in IPendingIntentRef pendingIntentRef, in setDataFetchOperation() argument
130 void removeDataFetchOperation(long configId, int callingUid); in removeDataFetchOperation() argument
155 void removeConfiguration(in long configId, in int callingUid); in removeConfiguration() argument
172 void setBroadcastSubscriber(long configId, long subscriberId, in IPendingIntentRef pir, in setBroadcastSubscriber() argument
182 void unsetBroadcastSubscriber(long configId, long subscriberId, int callingUid); in unsetBroadcastSubscriber() argument
DIStatsManagerService.aidl36 void setDataFetchOperation(long configId, in PendingIntent pendingIntent, in setDataFetchOperation() argument
44 void removeDataFetchOperation(long configId, in String packageName); in removeDataFetchOperation() argument
120 void addConfiguration(in long configId, in byte[] config, in String packageName); in addConfiguration() argument
128 void removeConfiguration(in long configId, in String packageName); in removeConfiguration() argument
/packages/services/Car/cpp/computepipe/aidl/aidl_api/android.automotive.computepipe.runner/current/android/automotive/computepipe/runner/
DIPipeRunner.aidl23 void setPipeInputSource(in int configId); in setPipeInputSource() argument
24 void setPipeOffloadOptions(in int configId); in setPipeOffloadOptions() argument
25 void setPipeTermination(in int configId); in setPipeTermination() argument
26 …void setPipeOutputConfig(in int configId, in int maxInFlightCount, in android.automotive.computepi… in setPipeOutputConfig() argument
DPipeInputConfig.aidl22 int configId;
DPipeTerminationConfig.aidl22 int configId;
DPipeOffloadConfig.aidl22 String configId;
/packages/services/Car/cpp/computepipe/aidl/aidl_api/android.automotive.computepipe.runner/1/android/automotive/computepipe/runner/
DIPipeRunner.aidl23 void setPipeInputSource(in int configId); in setPipeInputSource() argument
24 void setPipeOffloadOptions(in int configId); in setPipeOffloadOptions() argument
25 void setPipeTermination(in int configId); in setPipeTermination() argument
26 …void setPipeOutputConfig(in int configId, in int maxInFlightCount, in android.automotive.computepi… in setPipeOutputConfig() argument
DPipeTerminationConfig.aidl22 int configId;
DPipeInputConfig.aidl22 int configId;
/packages/services/Car/cpp/computepipe/aidl/android/automotive/computepipe/runner/
DIPipeRunner.aidl49 void setPipeInputSource(in int configId); in setPipeInputSource() argument
59 void setPipeOffloadOptions(in int configId); in setPipeOffloadOptions() argument
70 void setPipeTermination(in int configId); in setPipeTermination() argument
85 void setPipeOutputConfig(in int configId, in int maxInFlightCount, in IPipeStream handler); in setPipeOutputConfig() argument
DPipeInputConfig.aidl39 int configId;
/packages/services/Car/cpp/computepipe/tests/runner/client_interface/
DPipeOptionsConverterTest.cpp91 EXPECT_EQ(desc.inputConfig[0].configId, 0); in TEST()
97 EXPECT_EQ(desc.inputConfig[1].configId, 1); in TEST()
103 EXPECT_EQ(desc.inputConfig[2].configId, 2); in TEST()
109 EXPECT_EQ(desc.inputConfig[3].configId, 3); in TEST()
115 EXPECT_EQ(desc.inputConfig[4].configId, 4); in TEST()
121 EXPECT_EQ(desc.inputConfig[5].configId, 5); in TEST()
/packages/modules/StatsD/statsd/src/external/
DPerfetto.cpp50 char configId[25]; in CollectPerfettoTraceAndUploadToDropbox() local
54 snprintf(configId, sizeof(configId), "%" PRId64, configKey.GetId()); in CollectPerfettoTraceAndUploadToDropbox()
95 kDropboxTag, "--alert-id", alertId, "--config-id", configId, "--config-uid", in CollectPerfettoTraceAndUploadToDropbox()
/packages/services/Car/cpp/computepipe/runner/client_interface/
DAidlClientImpl.cpp204 ScopedAStatus AidlClientImpl::setPipeInputSource(int32_t configId) { in setPipeInputSource() argument
210 configurationCommand.mutable_set_input_source()->set_source_id(configId); in setPipeInputSource()
216 ScopedAStatus AidlClientImpl::setPipeOffloadOptions(int32_t configId) { in setPipeOffloadOptions() argument
222 configurationCommand.mutable_set_offload_offload()->set_offload_option_id(configId); in setPipeOffloadOptions()
228 ScopedAStatus AidlClientImpl::setPipeTermination(int32_t configId) { in setPipeTermination() argument
234 configurationCommand.mutable_set_termination_option()->set_termination_option_id(configId); in setPipeTermination()
DAidlClientImpl.h62 ndk::ScopedAStatus setPipeInputSource(int32_t configId) override;
63 ndk::ScopedAStatus setPipeOffloadOptions(int32_t configId) override;
64 ndk::ScopedAStatus setPipeTermination(int32_t configId) override;
DPipeOptionsConverter.cpp154 aidlConfig.configId = proto.config_id(); in ConvertInputConfigProto()
170 aidlConfig.configId = proto.config_id(); in ConvertOffloadConfigProto()
186 aidlConfig.configId = proto.config_id(); in ConvertTerminationConfigProto()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DDelegatingContentLimitingAdapter.java75 @IdRes int configId) { in DelegatingContentLimitingAdapter() argument
77 configId, in DelegatingContentLimitingAdapter()
100 @IdRes int configId, in DelegatingContentLimitingAdapter() argument
104 mConfigId = configId; in DelegatingContentLimitingAdapter()
/packages/modules/StatsD/statsd/tests/e2e/
DAnomaly_count_e2e_test.cpp254 int64_t configId = 1000; in TEST() local
255 ConfigKey cfgKey(configUid, configId); in TEST()
279 int64_t configId = 1000; in TEST() local
280 ConfigKey cfgKey(configUid, configId); in TEST()
312 EXPECT_EQ(statsMetadata.config_key().config_id(), configId); in TEST()
342 int64_t configId = 1000; in TEST() local
343 ConfigKey cfgKey(configUid, configId); in TEST()
DConfigUpdate_e2e_test.cpp1915 int64_t configUid = 123, configId = 987; in TEST_F() local
1916 ConfigKey key(configUid, configId); in TEST_F()
1925 EXPECT_CALL(*preserveBroadcast, sendSubscriberBroadcast(configUid, configId, preserveSub.id(), in TEST_F()
1939 EXPECT_CALL(*replaceBroadcast, sendSubscriberBroadcast(configUid, configId, replaceSub.id(), in TEST_F()
1945 EXPECT_CALL(*removeBroadcast, sendSubscriberBroadcast(configUid, configId, removeSub.id(), in TEST_F()
2030 sendSubscriberBroadcast(configUid, configId, newSub.id(), alertNew.id(), _, _)) in TEST_F()
2135 int64_t configUid = 123, configId = 987; in TEST_F() local
2136 ConfigKey key(configUid, configId); in TEST_F()
2145 EXPECT_CALL(*preserveBroadcast, sendSubscriberBroadcast(configUid, configId, preserveSub.id(), in TEST_F()
2159 EXPECT_CALL(*replaceBroadcast, sendSubscriberBroadcast(configUid, configId, replaceSub.id(), in TEST_F()
[all …]
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java89 public static ConfigMetricsReportList getReportList(long configId, boolean clearData, in getReportList() argument
104 String.valueOf(configId), in getReportList()
115 + "configId=" + configId in getReportList()
/packages/modules/StatsD/statsd/src/
DStatsService.h149 virtual Status setBroadcastSubscriber(int64_t configId,
157 virtual Status unsetBroadcastSubscriber(int64_t configId,

12