/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioSettings.java | 51 int getStoredVolumeGainIndexForUser(@UserIdInt int userId, int zoneId, int configId, in getStoredVolumeGainIndexForUser() argument 53 return getIntForUser(getVolumeSettingsKeyForGroup(zoneId, configId, groupId), in getStoredVolumeGainIndexForUser() 57 void storeVolumeGainIndexForUser(@UserIdInt int userId, int zoneId, int configId, int groupId, in storeVolumeGainIndexForUser() argument 59 putIntForUser(getVolumeSettingsKeyForGroup(zoneId, configId, groupId), in storeVolumeGainIndexForUser() 75 void storeVolumeGroupMuteForUser(@UserIdInt int userId, int zoneId, int configId, int groupId, in storeVolumeGroupMuteForUser() argument 77 putIntForUser(getMuteSettingsKeyForGroup(zoneId, configId, groupId), in storeVolumeGroupMuteForUser() 81 boolean getVolumeGroupMuteForUser(@UserIdInt int userId, int zoneId, int configId, in getVolumeGroupMuteForUser() argument 83 return getIntForUser(getMuteSettingsKeyForGroup(zoneId, configId, groupId), in getVolumeGroupMuteForUser() 113 private static String getVolumeSettingsKeyForGroup(int zoneId, int configId, int groupId) { in getVolumeSettingsKeyForGroup() argument 115 configId, groupId); in getVolumeSettingsKeyForGroup() [all …]
|
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/localdrive/ |
D | LocalDrive.java | 185 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/statsd/tests/ |
D | ConfigManager_test.cpp | 167 const int64_t configId = 123; in TEST() local 177 manager->SetRestrictedMetricsChangedReceiver(configPackage, configId, callingUid, pir); in TEST() 179 manager->SendRestrictedMetricsBroadcast({configPackage}, configId, {callingUid}, metricIds); in TEST() 184 const int64_t configId = 123; in TEST() local 220 manager->SetRestrictedMetricsChangedReceiver(package1, configId, callingUid1, pir1); in TEST() 221 manager->SetRestrictedMetricsChangedReceiver(package2, configId, callingUid2, pir2); in TEST() 222 manager->SetRestrictedMetricsChangedReceiver(package1, configId, callingUid2, pir3); in TEST() 223 manager->SetRestrictedMetricsChangedReceiver(package2, configId, callingUid1, pir4); in TEST() 224 manager->SetRestrictedMetricsChangedReceiver(package3, configId, callingUid3, pir5); in TEST() 227 manager->SendRestrictedMetricsBroadcast({package1, package2}, configId, in TEST() [all …]
|
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/ |
D | BluetoothCodecConfigTest.java | 102 private int selectCodecType(int configId) { in selectCodecType() argument 105 int index = configId / right; in selectCodecType() 110 private int selectCodecPriority(int configId) { in selectCodecPriority() argument 113 int index = configId / right; in selectCodecPriority() 118 private int selectSampleRate(int configId) { in selectSampleRate() argument 121 int index = configId / right; in selectSampleRate() 126 private int selectBitsPerSample(int configId) { in selectBitsPerSample() argument 133 int index = configId / right; in selectBitsPerSample() 138 private int selectChannelMode(int configId) { in selectChannelMode() argument 146 int index = configId / right; in selectChannelMode() [all …]
|
/packages/modules/StatsD/service/java/com/android/server/stats/ |
D | StatsManagerService.java | 90 ConfigKey(int uid, long configId) { in ConfigKey() argument 92 mConfigId = configId; in ConfigKey() 122 ConfigKeyWithPackage(String configPackage, long configId) { in ConfigKeyWithPackage() argument 124 mConfigId = configId; in ConfigKeyWithPackage() 279 public void setDataFetchOperation(long configId, PendingIntent pendingIntent, in setDataFetchOperation() argument 285 ConfigKey key = new ConfigKey(callingUid, configId); in setDataFetchOperation() 293 statsd.setDataFetchOperation(configId, pir, callingUid); in setDataFetchOperation() 303 public void removeDataFetchOperation(long configId, String packageName) { in removeDataFetchOperation() argument 307 ConfigKey key = new ConfigKey(callingUid, configId); in removeDataFetchOperation() 314 statsd.removeDataFetchOperation(configId, callingUid); in removeDataFetchOperation() [all …]
|
/packages/modules/StatsD/apex/tests/libstatspull/src/com/android/internal/os/statsd/libstats/ |
D | StatsConfigUtils.java | 54 public static StatsdConfig.Builder getSimpleTestConfig(long configId) { in getSimpleTestConfig() argument 55 return StatsdConfig.newBuilder().setId(configId) in getSimpleTestConfig() 60 public static boolean verifyValidConfigExists(StatsManager statsManager, long configId) { in verifyValidConfigExists() argument 70 if (configStats.getId() == configId && configStats.getIsValid() in verifyValidConfigExists() 93 long configId) { in getConfigMetricsReport() argument 97 .parseFrom(statsManager.getReports(configId)); in getConfigMetricsReport() 129 public static List<Atom> getGaugeMetricDataList(StatsManager statsManager, long configId) { in getGaugeMetricDataList() argument 130 ConfigMetricsReport report = getConfigMetricsReport(statsManager, configId); in getGaugeMetricDataList()
|
/packages/modules/StatsD/aidl/android/os/ |
D | IStatsd.aidl | 117 void addConfiguration(in long configId, in byte[] config, in int callingUid); in addConfiguration() argument 126 void setDataFetchOperation(long configId, in IPendingIntentRef pendingIntentRef, in setDataFetchOperation() argument 134 void removeDataFetchOperation(long configId, int callingUid); in removeDataFetchOperation() argument 159 void removeConfiguration(in long configId, in int callingUid); in removeConfiguration() argument 176 void setBroadcastSubscriber(long configId, long subscriberId, in IPendingIntentRef pir, in setBroadcastSubscriber() argument 186 void unsetBroadcastSubscriber(long configId, long subscriberId, int callingUid); in unsetBroadcastSubscriber() argument
|
D | IStatsManagerService.aidl | 37 void setDataFetchOperation(long configId, in PendingIntent pendingIntent, in setDataFetchOperation() argument 45 void removeDataFetchOperation(long configId, in String packageName); in removeDataFetchOperation() argument 122 void addConfiguration(in long configId, in byte[] config, in String packageName); in addConfiguration() argument 130 void removeConfiguration(in long configId, in String packageName); in removeConfiguration() argument
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioConfigurationTestFragment.java | 155 int configId = INVALID_CONFIG_ID; in setUpAutoConnectConfiguration() local 158 configId = preferences.getInt(getConfigIdKeyForZone(zoneId), INVALID_CONFIG_ID); in setUpAutoConnectConfiguration() 162 if (zoneId == INVALID_AUDIO_ZONE || configId == INVALID_CONFIG_ID) { in setUpAutoConnectConfiguration() 169 getCarAudioZoneConfigInfoOrNull(configurations, zoneId, configId); in setUpAutoConnectConfiguration() 189 int configId = INVALID_CONFIG_ID; in setAutoConnectConfiguration() local 200 configId = info.getConfigId(); in setAutoConnectConfiguration() 203 editor.putInt(getConfigIdKeyForZone(zoneId), configId).apply(); in setAutoConnectConfiguration() 229 int configId = preferences.getInt(getConfigIdKeyForZone(zoneId), INVALID_CONFIG_ID); in configsUpdatedListener() local 230 if (configId == INVALID_CONFIG_ID) { in configsUpdatedListener() 233 CarAudioZoneConfigInfo info = getCarAudioZoneConfigInfoOrNull(configs, zoneId, configId); in configsUpdatedListener()
|
D | AudioUtils.java | 42 List<CarAudioZoneConfigInfo> configs, int zoneId, int configId) { in getCarAudioZoneConfigInfoOrNull() argument 44 .filter(c -> c.getZoneId() == zoneId && c.getConfigId() == configId) in getCarAudioZoneConfigInfoOrNull()
|
/packages/services/Car/cpp/computepipe/aidl/aidl_api/android.automotive.computepipe.runner/1/android/automotive/computepipe/runner/ |
D | IPipeRunner.aidl | 23 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
|
/packages/services/Car/cpp/computepipe/aidl/aidl_api/android.automotive.computepipe.runner/current/android/automotive/computepipe/runner/ |
D | IPipeRunner.aidl | 23 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
|
/packages/services/Car/cpp/computepipe/aidl/android/automotive/computepipe/runner/ |
D | IPipeRunner.aidl | 49 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
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | RestrictedEventMetric_e2e_test.cpp | 39 const int64_t configId = 12345; variable 44 const ConfigKey configKey(config_app_uid, configId); 131 dbutils::deleteDb(ConfigKey(config_app_uid + 1, configId)); in TearDown() 152 /*configKey=*/configId, /*configPackage=*/config_package_name, in TEST_F() 204 /*configKey=*/configId, /*configPackage=*/config_package_name, in TEST_F() 250 /*configKey=*/configId, /*configPackage=*/config_package_name, in TEST_F() 296 /*configKey=*/configId, /*configPackage=*/config_package_name, in TEST_F() 321 /*configKey=*/configId, /*configPackage=*/config_package_name, in TEST_F() 354 /*configKey=*/configId, /*configPackage=*/config_package_name, in TEST_F() 392 /*configKey=*/configId, /*configPackage=*/config_package_name, in TEST_F() [all …]
|
D | Anomaly_count_e2e_test.cpp | 253 int64_t configId = 1000; in TEST() local 254 ConfigKey cfgKey(configUid, configId); in TEST() 278 int64_t configId = 1000; in TEST() local 279 ConfigKey cfgKey(configUid, configId); in TEST() 311 EXPECT_EQ(statsMetadata.config_key().config_id(), configId); in TEST() 341 int64_t configId = 1000; in TEST() local 342 ConfigKey cfgKey(configUid, configId); in TEST()
|
/packages/modules/StatsD/statsd/src/external/ |
D | Perfetto.cpp | 50 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/car-lib/src/android/car/media/ |
D | CarAudioZoneConfigInfo.java | 65 public CarAudioZoneConfigInfo(String name, int zoneId, int configId) { in CarAudioZoneConfigInfo() argument 66 this(name, EMPTY_LIST, zoneId, configId, /* isActive= */ true, /* isSelected= */ false, in CarAudioZoneConfigInfo() 84 int configId, boolean isActive, boolean isSelected, boolean isDefault) { in CarAudioZoneConfigInfo() argument 89 mConfigId = configId; in CarAudioZoneConfigInfo() 332 public Builder(@NonNull String name, int zoneId, int configId) { in Builder() argument 335 mConfigId = configId; in Builder()
|
/packages/services/Car/cpp/computepipe/tests/runner/client_interface/ |
D | PipeOptionsConverterTest.cpp | 91 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/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/ |
D | Utils.java | 130 @UwbConfigId int configId, RangingTimingParams params) { in setRangingTimingParams() 131 CONFIG_RANGING_INTERVAL_MAP.put(configId, params); in setRangingTimingParams() 135 public static RangingTimingParams getRangingTimingParams(@UwbConfigId int configId) { in getRangingTimingParams() argument 136 return CONFIG_RANGING_INTERVAL_MAP.get(configId); in getRangingTimingParams()
|
D | ConfigurationManager.java | 603 @Utils.UwbConfigId int configId, in createReconfigureParams() 609 UwbConfiguration configuration = sConfigs.get(configId); in createReconfigureParams() 626 @Utils.UwbConfigId int configId, in createControleeParams() 632 UwbConfiguration configuration = sConfigs.get(configId); in createControleeParams() 672 public static boolean isUnicast(@Utils.UwbConfigId int configId) { in isUnicast() argument 673 return sConfigs.get(configId).getMultiNodeMode() == MULTI_NODE_MODE_UNICAST; in isUnicast()
|
/packages/modules/StatsD/statsd/src/config/ |
D | ConfigManager.h | 121 void SetRestrictedMetricsChangedReceiver(const string& configPackage, int64_t configId, 128 void RemoveRestrictedMetricsChangedReceiver(const string& configPackage, int64_t configId, 135 const int64_t configId,
|
D | ConfigManager.cpp | 156 const int64_t configId, in SetRestrictedMetricsChangedReceiver() argument 160 ConfigKeyWithPackage configKey(configPackage, configId); in SetRestrictedMetricsChangedReceiver() 165 const int64_t configId, in RemoveRestrictedMetricsChangedReceiver() argument 168 ConfigKeyWithPackage configKey(configPackage, configId); in RemoveRestrictedMetricsChangedReceiver() 195 const int64_t configId, in SendRestrictedMetricsBroadcast() argument 204 ConfigKeyWithPackage key(configPackage, configId); in SendRestrictedMetricsBroadcast()
|
/packages/services/Car/cpp/computepipe/runner/client_interface/ |
D | AidlClientImpl.cpp | 204 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()
|
D | AidlClientImpl.h | 62 ndk::ScopedAStatus setPipeInputSource(int32_t configId) override; 63 ndk::ScopedAStatus setPipeOffloadOptions(int32_t configId) override; 64 ndk::ScopedAStatus setPipeTermination(int32_t configId) override;
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | CarAudioZoneConfigInfoTestBuilder.java | 52 public CarAudioZoneConfigInfoTestBuilder setConfigId(int configId) { in setConfigId() argument 53 mConfigId = configId; in setConfigId()
|