Home
last modified time | relevance | path

Searched refs:consumers (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/java/android/app/
DConfigurationChangedListenerController.java75 final List<ListenerContainer> consumers; in dispatchOnConfigurationChanged() local
77 consumers = new ArrayList<>(mListenerContainers); in dispatchOnConfigurationChanged()
79 for (int i = 0; i < consumers.size(); i++) { in dispatchOnConfigurationChanged()
80 consumers.get(i).accept(activityToken); in dispatchOnConfigurationChanged()
/frameworks/base/tools/aapt2/tools/
Dfix_resources.py13 from consumers.duplicates import DuplicateRemover
14 from consumers.positional_arguments import PositionalArgumentFixer
16 def do_it(res_path, consumers): argument
18 eligible_consumers = filter(lambda c: c.matches(file_path), consumers)
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DGlanceableHubContainerController.kt90 private val consumers: MutableSet<Consumer<Boolean>> = ArraySet() constant in com.android.systemui.shade.GlanceableHubContainerController
93 consumers.forEach { it.accept(disallowIntercept) } in requestDisallowInterceptTouchEvent()
101 disallowInterceptConsumer?.apply { consumers.add(this) } in dispatchTouchEvent()
106 consumers.clear() in dispatchTouchEvent()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerInfoHelper.java51 final List<UidBatteryConsumer> consumers = in makeBatteryConsumerInfo() local
53 for (UidBatteryConsumer consumer : consumers) { in makeBatteryConsumerInfo()
/frameworks/av/services/camera/libcameraservice/api2/
DCompositeStream.h44 status_t createStream(const std::vector<sp<Surface>>& consumers,
58 virtual status_t createInternalStreams(const std::vector<sp<Surface>>& consumers,
DCompositeStream.cpp47 status_t CompositeStream::createStream(const std::vector<sp<Surface>>& consumers, in createStream() argument
78 return createInternalStreams(consumers, hasDeferredConsumer, width, height, format, rotation, in createStream()
DJpegRCompositeStream.h49 status_t createInternalStreams(const std::vector<sp<Surface>>& consumers,
DDepthCompositeStream.h52 status_t createInternalStreams(const std::vector<sp<Surface>>& consumers,
DHeicCompositeStream.h47 status_t createInternalStreams(const std::vector<sp<Surface>>& consumers,
DDepthCompositeStream.cpp589 status_t DepthCompositeStream::createInternalStreams(const std::vector<sp<Surface>>& consumers, in createInternalStreams() argument
637 mOutputSurface = consumers[0]; in createInternalStreams()
DJpegRCompositeStream.cpp558 status_t JpegRCompositeStream::createInternalStreams(const std::vector<sp<Surface>>& consumers, in createInternalStreams() argument
594 mOutputSurface = consumers[0]; in createInternalStreams()
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp476 DisplayEventConsumers consumers; in threadMain() local
507 consumers.push_back(connection); in threadMain()
518 if (!consumers.empty()) { in threadMain()
519 dispatchEvent(*event, consumers); in threadMain()
520 consumers.clear(); in threadMain()
702 const DisplayEventConsumers& consumers) { in dispatchEvent() argument
703 for (const auto& consumer : consumers) { in dispatchEvent()
DEventThread.h197 const DisplayEventConsumers& consumers) REQUIRES(mMutex);
/frameworks/base/libs/hwui/
Dlibhwui.map.txt3 /* listing of all C APIs to be exposed by libhwui to consumers outside of the module */
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryExternalStatsWorkerTest.java247 final EnergyConsumer[] consumers = new EnergyConsumer[size]; in getEnergyConsumerInfo() local
249 consumers[i] = mEnergyConsumers.valueAt(i); in getEnergyConsumerInfo()
251 return consumers; in getEnergyConsumerInfo()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStreamInterface.h52 virtual status_t setConsumers(const std::vector<sp<Surface>>& consumers) = 0;
DCamera3FakeStream.h83 virtual status_t setConsumers(const std::vector<sp<Surface>>& consumers);
DCamera3SharedOutputStream.h60 virtual status_t setConsumers(const std::vector<sp<Surface>>& consumers);
DCamera3OutputStream.cpp1209 status_t Camera3OutputStream::setConsumers(const std::vector<sp<Surface>>& consumers) { in setConsumers() argument
1211 if (consumers.size() != 1) { in setConsumers()
1213 __FUNCTION__, consumers.size()); in setConsumers()
1216 if (consumers[0] == nullptr) { in setConsumers()
1226 mConsumer = consumers[0]; in setConsumers()
DCamera3Device.cpp1023 std::vector<sp<Surface>> consumers; in createStream() local
1024 consumers.push_back(consumer); in createStream()
1026 return createStream(consumers, /*hasDeferredConsumer*/ false, width, height, in createStream()
1044 status_t Camera3Device::createStream(const std::vector<sp<Surface>>& consumers, in createStream() argument
1098 if (consumers.size() == 0 && !hasDeferredConsumer) { in createStream()
1132 newStream = new Camera3OutputStream(mNextStreamId, consumers[0], in createStream()
1147 newStream = new Camera3OutputStream(mNextStreamId, consumers[0], in createStream()
1153 newStream = new Camera3SharedOutputStream(mNextStreamId, consumers, in createStream()
1158 } else if (consumers.size() == 0 && hasDeferredConsumer) { in createStream()
1165 newStream = new Camera3OutputStream(mNextStreamId, consumers[0], in createStream()
[all …]
DCamera3OutputStream.h182 virtual status_t setConsumers(const std::vector<sp<Surface>>& consumers);
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h202 virtual status_t createStream(const std::vector<sp<Surface>>& consumers,
401 const std::vector<sp<Surface>>& consumers, std::vector<int> *surfaceIds /*out*/) = 0;
/frameworks/base/core/java/android/os/
DBatteryUsageStats.java497 final List<UidBatteryConsumer> consumers = getUidBatteryConsumers(); in writeUidBatteryConsumersProto() local
499 consumers.sort(Comparator.comparingDouble(this::getUidBatteryConsumerWeight).reversed()); in writeUidBatteryConsumersProto()
501 final int size = consumers.size(); in writeUidBatteryConsumersProto()
503 final UidBatteryConsumer consumer = consumers.get(i); in writeUidBatteryConsumersProto()
/frameworks/native/services/surfaceflinger/FrontEnd/
Dreadme.md100 LayerHierarchy used to create them. They can be cloned and consumed freely. Other consumers
109 CompositionEngine to avoid needless work in the hotpath. For snapshot consumers not critical
/frameworks/minikin/doc/
Dhyb_file_format.md93 implementation for consumers of the data would be to build a hash table at load time.

12