/frameworks/base/cmds/statsd/src/subscriber/ |
D | SubscriberReporter.cpp | 31 BroadcastSubscriberDeathCookie(const ConfigKey& configKey, int64_t subscriberId, in BroadcastSubscriberDeathCookie() 33 mConfigKey(configKey), in BroadcastSubscriberDeathCookie() 44 ConfigKey& configKey = cookie_->mConfigKey; in broadcastSubscriberDied() local 53 auto subscriberMapIt = thiz.mIntentMap.find(configKey); in broadcastSubscriberDied() 60 thiz.mIntentMap.erase(configKey); in broadcastSubscriberDied() 74 void SubscriberReporter::setBroadcastSubscriber(const ConfigKey& configKey, in setBroadcastSubscriber() argument 80 mIntentMap[configKey][subscriberId] = pir; in setBroadcastSubscriber() 83 new BroadcastSubscriberDeathCookie(configKey, subscriberId, pir)); in setBroadcastSubscriber() 86 void SubscriberReporter::unsetBroadcastSubscriber(const ConfigKey& configKey, in unsetBroadcastSubscriber() argument 90 auto subscriberMapIt = mIntentMap.find(configKey); in unsetBroadcastSubscriber() [all …]
|
D | SubscriberReporter.h | 59 void setBroadcastSubscriber(const ConfigKey& configKey, 66 void unsetBroadcastSubscriber(const ConfigKey& configKey, int64_t subscriberId); 73 void alertBroadcastSubscriber(const ConfigKey& configKey, 77 shared_ptr<IPendingIntentRef> getBroadcastSubscriber(const ConfigKey& configKey, 93 const ConfigKey& configKey,
|
D | IncidentdReporter.cpp | 58 int64_t metricValue, const ConfigKey& configKey, const string& reason, in getProtoData() argument 65 headerProto.write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_KEY_UID, configKey.GetUid()); in getProtoData() 66 headerProto.write(FIELD_TYPE_INT64 | FIELD_ID_CONFIG_KEY_ID, (long long)configKey.GetId()); in getProtoData() 126 const ConfigKey& configKey) { in GenerateIncidentReport() argument 129 configKey.GetUid(), (long long)configKey.GetId()); in GenerateIncidentReport() 136 getProtoData(rule_id, metricId, dimensionKey, metricValue, configKey, in GenerateIncidentReport()
|
D | IncidentdReporter.h | 32 const ConfigKey& configKey);
|
/frameworks/base/apex/statsd/framework/java/android/app/ |
D | StatsManager.java | 145 public void addConfig(long configKey, byte[] config) throws StatsUnavailableException { in addConfig() argument 150 service.addConfiguration(configKey, config, mContext.getOpPackageName()); in addConfig() 169 public boolean addConfiguration(long configKey, byte[] config) { in addConfiguration() argument 171 addConfig(configKey, config); in addConfiguration() 185 public void removeConfig(long configKey) throws StatsUnavailableException { in removeConfig() argument 189 service.removeConfiguration(configKey, mContext.getOpPackageName()); in removeConfig() 208 public boolean removeConfiguration(long configKey) { in removeConfiguration() argument 210 removeConfig(configKey); in removeConfiguration() 248 PendingIntent pendingIntent, long configKey, long subscriberId) in setBroadcastSubscriber() argument 254 service.setBroadcastSubscriber(configKey, subscriberId, pendingIntent, in setBroadcastSubscriber() [all …]
|
/frameworks/base/cmds/statsd/src/external/ |
D | StatsPullerManager.cpp | 94 bool StatsPullerManager::Pull(int tagId, const ConfigKey& configKey, const int64_t eventTimeNs, in Pull() argument 97 return PullLocked(tagId, configKey, eventTimeNs, data, useUids); in Pull() 106 bool StatsPullerManager::PullLocked(int tagId, const ConfigKey& configKey, in PullLocked() argument 111 auto uidProviderIt = mPullUidProviders.find(configKey); in PullLocked() 114 configKey.ToString().c_str()); in PullLocked() 121 configKey.ToString().c_str()); in PullLocked() 200 void StatsPullerManager::RegisterReceiver(int tagId, const ConfigKey& configKey, in RegisterReceiver() argument 204 auto& receivers = mReceivers[{.atomTag = tagId, .configKey = configKey}]; in RegisterReceiver() 236 void StatsPullerManager::UnRegisterReceiver(int tagId, const ConfigKey& configKey, in UnRegisterReceiver() argument 239 auto receiversIt = mReceivers.find({.atomTag = tagId, .configKey = configKey}); in UnRegisterReceiver() [all …]
|
D | Perfetto.cpp | 40 const ConfigKey& configKey) { in CollectPerfettoTraceAndUploadToDropbox() argument 54 snprintf(configId, sizeof(configId), "%" PRId64, configKey.GetId()); in CollectPerfettoTraceAndUploadToDropbox() 55 snprintf(configUid, sizeof(configUid), "%d", configKey.GetUid()); in CollectPerfettoTraceAndUploadToDropbox()
|
D | Perfetto.h | 33 const ConfigKey& configKey);
|
/frameworks/wilhelm/src/itf/ |
D | IAndroidConfiguration.cpp | 35 const SLchar *configKey, in IAndroidConfiguration_SetConfiguration() argument 42 if (NULL == configKey || NULL == pConfigValue || valueSize == 0) { in IAndroidConfiguration_SetConfiguration() 53 configKey, valueSize); in IAndroidConfiguration_SetConfiguration() 54 result = android_audioRecorder_setConfig((CAudioRecorder *) thiz->mThis, configKey, in IAndroidConfiguration_SetConfiguration() 59 configKey, valueSize); in IAndroidConfiguration_SetConfiguration() 60 result = android_audioPlayer_setConfig((CAudioPlayer *) thiz->mThis, configKey, in IAndroidConfiguration_SetConfiguration() 76 const SLchar *configKey, in IAndroidConfiguration_GetConfiguration() argument 84 if (NULL == configKey || NULL == pValueSize) { in IAndroidConfiguration_GetConfiguration() 93 result = android_audioRecorder_getConfig((CAudioRecorder *) thiz->mThis, configKey, in IAndroidConfiguration_GetConfiguration() 97 result = android_audioPlayer_getConfig((CAudioPlayer *) thiz->mThis, configKey, in IAndroidConfiguration_GetConfiguration()
|
/frameworks/base/cmds/statsd/src/anomaly/ |
D | subscriber_util.cpp | 29 int64_t metricValue, const ConfigKey& configKey, in triggerSubscribers() argument 48 dimensionKey, metricValue, configKey)) { in triggerSubscribers() 54 subscription.id(), ruleId, configKey)) { in triggerSubscribers() 59 SubscriberReporter::getInstance().alertBroadcastSubscriber(configKey, subscription, in triggerSubscribers()
|
D | AlarmTracker.cpp | 34 const Alarm& alarm, const ConfigKey& configKey, in AlarmTracker() argument 37 mConfigKey(configKey), in AlarmTracker()
|
D | DurationAnomalyTracker.cpp | 27 DurationAnomalyTracker::DurationAnomalyTracker(const Alert& alert, const ConfigKey& configKey, in DurationAnomalyTracker() argument 29 : AnomalyTracker(alert, configKey), mAlarmMonitor(alarmMonitor) { in DurationAnomalyTracker()
|
D | subscriber_util.h | 29 const ConfigKey& configKey, const std::vector<Subscription>& subscriptions);
|
/frameworks/base/cmds/statsd/tests/external/ |
D | StatsPullerManager_test.cpp | 41 ConfigKey configKey(50, 12345); variable 121 pullerManager->RegisterPullUidProvider(configKey, uidProvider); in TEST() 130 pullerManager->RegisterPullUidProvider(configKey, uidProvider); in TEST() 133 EXPECT_TRUE(pullerManager->Pull(pullTagId1, configKey, /*timestamp =*/1, &data, true)); in TEST() 142 pullerManager->RegisterPullUidProvider(configKey, uidProvider); in TEST() 145 EXPECT_FALSE(pullerManager->Pull(pullTagId2, configKey, /*timestamp =*/1, &data, true)); in TEST()
|
/frameworks/wilhelm/src/android/ |
D | AudioRecorder_to_android.h | 31 extern SLresult android_audioRecorder_setConfig(CAudioRecorder* ar, const SLchar *configKey, 43 extern SLresult android_audioRecorder_getConfig(CAudioRecorder* ar, const SLchar *configKey,
|
D | AudioPlayer_to_android.h | 52 extern SLresult android_audioPlayer_setConfig(CAudioPlayer *pAudioPlayer, const SLchar *configKey, 64 extern SLresult android_audioPlayer_getConfig(CAudioPlayer *pAudioPlayer, const SLchar *configKey,
|
D | AudioRecorder_to_android.cpp | 433 SLresult android_audioRecorder_setConfig(CAudioRecorder* ar, const SLchar *configKey, in android_audioRecorder_setConfig() argument 438 assert(NULL != ar && NULL != configKey && NULL != pConfigValue); in android_audioRecorder_setConfig() 439 if (strcmp((const char*)configKey, (const char*)SL_ANDROID_KEY_RECORDING_PRESET) == 0) { in android_audioRecorder_setConfig() 449 } else if (strcmp((const char*)configKey, (const char*)SL_ANDROID_KEY_PERFORMANCE_MODE) == 0) { in android_audioRecorder_setConfig() 468 SLresult android_audioRecorder_getConfig(CAudioRecorder* ar, const SLchar *configKey, in android_audioRecorder_getConfig() argument 473 assert(NULL != ar && NULL != configKey && NULL != pValueSize); in android_audioRecorder_getConfig() 474 if (strcmp((const char*)configKey, (const char*)SL_ANDROID_KEY_RECORDING_PRESET) == 0) { in android_audioRecorder_getConfig() 487 } else if (strcmp((const char*)configKey, (const char*)SL_ANDROID_KEY_PERFORMANCE_MODE) == 0) { in android_audioRecorder_getConfig()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.cpp | 267 for (const ConfigKey& configKey : mConfigManager->GetAllConfigKeys()) { in dumpIncidentSection() local 273 mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in dumpIncidentSection() 1100 ConfigKey configKey(callingUid, key); in getData() local 1110 mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), false /* include_current_bucket*/, in getData() 1137 ConfigKey configKey(uid, key); in addConfigurationChecked() local 1144 mConfigManager->UpdateConfig(configKey, cfg); in addConfigurationChecked() 1151 ConfigKey configKey(callingUid, key); in removeDataFetchOperation() local 1152 mConfigManager->RemoveConfigReceiver(configKey); in removeDataFetchOperation() 1161 ConfigKey configKey(callingUid, key); in setDataFetchOperation() local 1162 mConfigManager->SetConfigReceiver(configKey, pir); in setDataFetchOperation() [all …]
|
/frameworks/base/apex/statsd/aidl/android/os/ |
D | IStatsManagerService.aidl | 78 void setBroadcastSubscriber(long configKey, long subscriberId, in PendingIntent pendingIntent, in setBroadcastSubscriber() argument 88 void unsetBroadcastSubscriber(long configKey, long subscriberId, in String packageName); in unsetBroadcastSubscriber() argument
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | IpConfigStoreTestWriter.java | 48 public static boolean writeConfig(DataOutputStream out, String configKey, in writeConfig() argument 131 out.writeInt(Integer.valueOf(configKey)); in writeConfig() 133 out.writeUTF(configKey); in writeConfig()
|
D | WifiNetworkSelectorTestUtil.java | 271 String configKey = ssids[index] + Integer.toString(securities[index]); in generateWifiConfigurations() local 274 id = netIdMap.get(configKey); in generateWifiConfigurations() 277 netIdMap.put(configKey, id); in generateWifiConfigurations() 318 public WifiConfiguration answer(String configKey) { in prepareConfigStore() 320 if (TextUtils.equals(config.getKey(), configKey)) { in prepareConfigStore() 380 public boolean answer(int netId, String configKey) { in prepareConfigStore() 382 configs[netId].getNetworkSelectionStatus().setConnectChoice(configKey); in prepareConfigStore()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | metrics_test_helper.h | 47 void(const ConfigKey& configKey, wp<PullUidProvider> provider)); 49 void(const ConfigKey& configKey, wp<PullUidProvider> provider));
|
/frameworks/base/cmds/statsd/src/config/ |
D | ConfigManager.cpp | 46 ConfigReceiverDeathCookie(const wp<ConfigManager>& configManager, const ConfigKey& configKey, in ConfigReceiverDeathCookie() 48 mConfigManager(configManager), mConfigKey(configKey), mPir(pir) { in ConfigReceiverDeathCookie() 63 ConfigKey& configKey = cookie_->mConfigKey; in configReceiverDied() local 69 auto it = thiz->mConfigReceivers.find(configKey); in configReceiverDied() 71 thiz->mConfigReceivers.erase(configKey); in configReceiverDied()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssConfiguration.java | 323 for (String configKey : configs.keySet()) { in loadPropertiesFromCarrierConfig() 324 if (configKey.startsWith(CarrierConfigManager.Gps.KEY_PREFIX)) { in loadPropertiesFromCarrierConfig() 325 String key = configKey in loadPropertiesFromCarrierConfig() 328 Object value = configs.get(configKey); in loadPropertiesFromCarrierConfig()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | IpConfigStore.java | 73 private static boolean writeConfig(DataOutputStream out, String configKey, in writeConfig() argument 75 return writeConfig(out, configKey, config, IPCONFIG_FILE_VERSION); in writeConfig() 79 public static boolean writeConfig(DataOutputStream out, String configKey, in writeConfig() argument 162 out.writeInt(Integer.valueOf(configKey)); in writeConfig() 164 out.writeUTF(configKey); in writeConfig()
|