/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/localdrive/ |
D | LocalDrive.java | 161 long configId; in updateConfig() local 163 configId = getConfigId(argCount < 1, args, 2); in updateConfig() 170 origConfigLocation, configId, binary, removeOldConfig)); in updateConfig() 176 Utils.SHELL_UID, String.valueOf(configId)); in updateConfig() 177 Utils.getReportList(configId, true /* clearData */, true /* SHELL_UID */, sLogger); in updateConfig() 212 Utils.CMD_UPDATE_CONFIG, Utils.SHELL_UID, String.valueOf(configId)); in updateConfig() 231 long configId; in cmdGetData() local 233 configId = getConfigId(argCount < 1, args, 1); in cmdGetData() 240 configId, clearData, binary, noUidMap)); in cmdGetData() 246 reportList = Utils.getReportList(configId, clearData, true /* SHELL_UID */, sLogger); in cmdGetData() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateConfigs.h | 44 int configId; member 81 if (refresh.configId == currentConfig) { in getCurrentRefreshRate() 90 const RefreshRate& getRefreshRateFromConfigId(int configId) const { in getRefreshRateFromConfigId() argument 91 LOG_ALWAYS_FATAL_IF(configId >= mRefreshRates.size()); in getRefreshRateFromConfigId() 92 return mRefreshRates[configId]; in getRefreshRateFromConfigId() 140 auto buildRefreshRate = [&](int configId) -> RefreshRate { in init() 141 const nsecs_t vsyncPeriod = configs[configId].vsyncPeriod; in init() 143 return {configId, base::StringPrintf("%2.ffps", fps), static_cast<uint32_t>(fps), in init() 144 vsyncPeriod, configs[configId].hwcId}; in init() 175 return std::pair<int, int>(sortedRefreshRates[0]->configId, in init() [all …]
|
D | EventThread.cpp | 82 event.header.displayId, event.config.configId); in toString() 104 DisplayEventReceiver::Event makeConfigChanged(PhysicalDisplayId displayId, int32_t configId) { in makeConfigChanged() argument 107 event.config.configId = configId; in makeConfigChanged() 305 void EventThread::onConfigChanged(PhysicalDisplayId displayId, int32_t configId) { in onConfigChanged() argument 308 mPendingEvents.push_back(makeConfigChanged(displayId, configId)); in onConfigChanged()
|
D | EventThread.h | 110 virtual void onConfigChanged(PhysicalDisplayId displayId, int32_t configId) = 0; 149 void onConfigChanged(PhysicalDisplayId displayId, int32_t configId) override;
|
D | Scheduler.cpp | 203 int32_t configId) { in onConfigChanged() argument 205 mConnections[handle->id]->thread->onConfigChanged(displayId, configId); in onConfigChanged()
|
D | Scheduler.h | 115 int32_t configId);
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothCodecConfigTest.java | 75 private int selectCodecType(int configId) { in selectCodecType() argument 78 int index = configId / right; in selectCodecType() 83 private int selectCodecPriority(int configId) { in selectCodecPriority() argument 86 int index = configId / right; in selectCodecPriority() 91 private int selectSampleRate(int configId) { in selectSampleRate() argument 94 int index = configId / right; in selectSampleRate() 99 private int selectBitsPerSample(int configId) { in selectBitsPerSample() argument 103 int index = configId / right; in selectBitsPerSample() 108 private int selectChannelMode(int configId) { in selectChannelMode() argument 112 int index = configId / right; in selectChannelMode() [all …]
|
/frameworks/base/cmds/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()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.cpp | 322 hwc2_config_t configId = 0; in getActiveConfig() local 323 auto intError = mComposer.getActiveConfig(mId, &configId); in getActiveConfig() 332 if (mConfigs.count(configId) != 0) { in getActiveConfig() 333 *outConfig = mConfigs.at(configId); in getActiveConfig() 336 configId); in getActiveConfig() 347 hwc2_config_t configId = 0; in getActiveConfigIndex() local 348 auto intError = mComposer.getActiveConfig(mId, &configId); in getActiveConfigIndex() 357 auto pos = mConfigs.find(configId); in getActiveConfigIndex() 361 ALOGE("[%" PRIu64 "] getActiveConfig returned unknown config %u", mId, configId); in getActiveConfigIndex() 736 int32_t Display::getAttribute(hwc2_config_t configId, Attribute attribute) in getAttribute() argument [all …]
|
D | HWComposer.cpp | 644 status_t HWComposer::setActiveConfig(DisplayId displayId, size_t configId) { in setActiveConfig() argument 648 if (displayData.configMap.count(configId) == 0) { in setActiveConfig() 649 LOG_DISPLAY_ERROR(displayId, ("Invalid config " + std::to_string(configId)).c_str()); in setActiveConfig() 653 auto error = displayData.hwcDisplay->setActiveConfig(displayData.configMap[configId]); in setActiveConfig()
|
D | HWComposer.h | 88 virtual status_t setActiveConfig(DisplayId displayId, size_t configId) = 0; 226 status_t setActiveConfig(DisplayId displayId, size_t configId) override;
|
/frameworks/base/core/java/android/view/ |
D | DisplayEventReceiver.java | 182 public void onConfigChanged(long timestampNanos, long physicalDisplayId, int configId) { in onConfigChanged() argument 215 private void dispatchConfigChanged(long timestampNanos, long physicalDisplayId, int configId) { in dispatchConfigChanged() argument 216 onConfigChanged(timestampNanos, physicalDisplayId, configId); in dispatchConfigChanged()
|
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/ |
D | Utils.java | 82 public static ConfigMetricsReportList getReportList(long configId, boolean clearData, in getReportList() argument 94 String.valueOf(configId), in getReportList() 105 + "configId=" + configId in getReportList()
|
/frameworks/base/native/android/ |
D | choreographer.cpp | 75 int32_t configId) override; 171 int32_t configId) { in dispatchConfigChanged() argument 174 this, displayId, toString(configId)); in dispatchConfigChanged()
|
/frameworks/base/core/jni/ |
D | android_view_DisplayEventReceiver.cpp | 67 int32_t configId) override; 125 int32_t configId) { in dispatchConfigChanged() argument 133 timestamp, displayId, configId); in dispatchConfigChanged()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateConfigsTest.cpp | 49 ASSERT_EQ(left.configId, right.configId); in assertRatesEqual()
|
/frameworks/base/core/java/android/os/ |
D | IStatsCompanionService.aidl | 81 oneway void sendSubscriberBroadcast(in IBinder intentSender, long configUid, long configId, in sendSubscriberBroadcast() argument
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | DisplayEventDispatcher.h | 45 int32_t configId) = 0;
|
/frameworks/native/libs/gui/include/gui/ |
D | DisplayEventReceiver.h | 75 int32_t configId; member
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.h | 151 virtual Status setBroadcastSubscriber(int64_t configId, 159 virtual Status unsetBroadcastSubscriber(int64_t configId,
|
D | StatsLogProcessor.cpp | 238 int64_t configId = pair.first.GetId(); in OnLogEvent() local 246 activeConfigs->second.push_back(configId); in OnLogEvent() 249 newActiveConfigs.push_back(configId); in OnLogEvent()
|
/frameworks/base/libs/androidfw/ |
D | DisplayEventDispatcher.cpp | 140 dispatchConfigChanged(ev.header.timestamp, ev.header.displayId, ev.config.configId); in processPendingEvents()
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | XmlConfigTests.java | 381 private void testBadConfig(int configId) throws Exception { in testBadConfig() argument 383 XmlConfigSource source = new XmlConfigSource(getContext(), configId, in testBadConfig() 387 fail("Bad config " + getContext().getResources().getResourceName(configId) in testBadConfig()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.h | 513 int configId = 0; member 517 return type != other.type || configId != other.configId || event != other.event; 822 bool isDisplayConfigAllowed(int32_t configId) REQUIRES(mStateLock);
|
D | SurfaceFlinger.cpp | 578 if (isDisplayConfigAllowed(performanceRefreshRate.configId)) { in bootFinished() 951 mRefreshRateConfigs->setCurrentConfig(mUpcomingActiveConfig.configId); in setActiveConfigInternal() 952 mRefreshRateStats->setConfigMode(mUpcomingActiveConfig.configId); in setActiveConfigInternal() 954 display->setActiveConfig(mUpcomingActiveConfig.configId); in setActiveConfigInternal() 960 ATRACE_INT("ActiveConfigMode", mUpcomingActiveConfig.configId); in setActiveConfigInternal() 964 mUpcomingActiveConfig.configId); in setActiveConfigInternal() 1007 if (!display || display->getActiveConfig() == desiredActiveConfig.configId) { in performSetActiveConfig() 1017 if (!isDisplayConfigAllowed(desiredActiveConfig.configId)) { in performSetActiveConfig() 1026 ATRACE_INT("ActiveConfigModeHWC", mUpcomingActiveConfig.configId); in performSetActiveConfig() 1027 getHwComposer().setActiveConfig(*displayId, mUpcomingActiveConfig.configId); in performSetActiveConfig() [all …]
|