Searched refs:function (Results 51 - 75 of 395) sorted by relevance

1234567891011>>

/frameworks/native/services/surfaceflinger/
H A DEventControlThread.cpp33 EventControlThread::EventControlThread(EventControlThread::SetVSyncEnabledFunction function) argument
34 : mSetVSyncEnabled(function) {
H A DLayerVector.h50 using Visitor = std::function<void(Layer*)>;
/frameworks/base/core/java/com/android/internal/util/function/pooled/
H A DPooledLambdaImpl.java17 package com.android.internal.util.function.pooled;
27 import com.android.internal.util.function.HexConsumer;
28 import com.android.internal.util.function.HexFunction;
29 import com.android.internal.util.function.HexPredicate;
30 import com.android.internal.util.function.QuadConsumer;
31 import com.android.internal.util.function.QuadFunction;
32 import com.android.internal.util.function.QuadPredicate;
33 import com.android.internal.util.function.QuintConsumer;
34 import com.android.internal.util.function.QuintFunction;
35 import com.android.internal.util.function
[all...]
/frameworks/av/include/media/
H A DEventMetric.h110 // Export the metrics to the provided |function|. Each value for Attribute
111 // has a separate set of stats. As such, |function| will be called once per
114 std::function<void (const AttributeType&,
115 const EventStatistics&)> function) const {
117 function(it->first, *(it->second));
/frameworks/av/media/libmedia/include/media/
H A DEventMetric.h110 // Export the metrics to the provided |function|. Each value for Attribute
111 // has a separate set of stats. As such, |function| will be called once per
114 std::function<void (const AttributeType&,
115 const EventStatistics&)> function) const {
117 function(it->first, *(it->second));
/frameworks/av/include/media/audiohal/hidl/
H A DHalDeathHandler.h34 typedef std::function<void()> AtExitHandler;
/frameworks/av/media/libaudiohal/include/media/audiohal/hidl/
H A DHalDeathHandler.h34 typedef std::function<void()> AtExitHandler;
/frameworks/base/core/java/com/android/internal/textservice/
H A DLazyIntToIntMap.java24 import java.util.function.IntUnaryOperator;
/frameworks/base/services/core/jni/BroadcastRadio/
H A DJavaRef.h29 using JavaRef = std::unique_ptr<typename std::remove_pointer<T>::type, std::function<void(T)>>;
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
H A DShadowAppBackupUtils.java28 import java.util.function.Function;
/frameworks/native/libs/vr/libvrflinger/
H A Depoll_event_dispatcher.h24 using Handler = std::function<void(int)>;
47 // references alive that may be bound in the std::function instances. It is
/frameworks/base/core/java/android/hardware/usb/
H A DUsbManager.java71 * adb function is enabled
73 * RNDIS ethernet function is enabled
75 * MTP function is enabled
77 * PTP function is enabled
79 * accessory function is enabled
81 * audio source function is enabled
83 * MIDI function is enabled
86 * USB is not configued, MTP function is enabled, and all the other functions are disabled.
195 * A placeholder indicating that no USB function is being specified.
196 * Used for compatibility with old init scripts to indicate no functions vs. charging function
476 getControlFd(long function) argument
648 isFunctionEnabled(String function) argument
[all...]
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaDisplayList.h99 * NOTE: This function can be folded into RenderNode when we no longer need
113 * NOTE: This function can be folded into RenderNode when we no longer need
119 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn) override;
122 * Calls the provided function once for each child of this DisplayList
124 void updateChildren(std::function<void(RenderNode*)> updateFn) override;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DAnimatableProperty.java25 import java.util.function.BiConsumer;
26 import java.util.function.Function;
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java288 private void throwEglException(String function) { argument
289 throwEglException(function, mEgl.eglGetError());
292 public static void throwEglException(String function, int error) { argument
293 String message = formatEglError(function, error);
297 public static void logEglErrorAsWarning(String tag, String function, int error) { argument
298 Log.w(tag, formatEglError(function, error));
301 public static String formatEglError(String function, int error) { argument
302 return function + " failed: " + error;
/frameworks/native/services/vr/performanced/
H A Dperformance_service.h51 std::function<bool(const pdx::Message& message, const Task& task)>
56 // permission check function is not set then operations are only allowed on
70 std::function<bool(const pdx::Message& message, const Task& task)>
/frameworks/ml/nn/common/operations/
H A DEmbeddingLookupTest.cpp128 void Set3DWeightMatrix(const std::function<float(int, int, int)>& function) { argument
132 Value_[(i * columns_ + j) * features_ + k] = function(i, j, k);
/frameworks/native/cmds/lshal/
H A DListCommand.h69 std::function<Status(ListCommand* thiz, const char* arg)> op;
95 // It is a virtual member function so that it can be mocked.
118 void forEachTable(const std::function<void(Table &)> &f);
119 void forEachTable(const std::function<void(const Table &)> &f) const;
H A DTimeout.h32 BackgroundTaskState(std::function<void(void)> &&func)
53 std::function<void(void)> mFunc;
64 bool timeout(std::chrono::duration<R, P> delay, std::function<void(void)> &&func) {
/frameworks/rs/script_api/
H A DGenerateDocumentation.cpp155 static bool getUnifiedFunctionPrototypes(Function* function, argument
157 for (auto f : function->getSpecifications()) {
554 static bool writeDetailedFunction(GeneratedFile* file, Function* function) { argument
555 if (function->hidden()) {
558 const string& name = function->getName();
564 *file << " <span class='normal'>: " << function->getSummary() << "</span>\n";
569 if (!getUnifiedFunctionPrototypes(function, &entries)) {
584 if (function->someParametersAreDocumented()) {
588 for (ParameterEntry* p : function->getParameters()) {
595 string ret = function
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DCollectionUtils.java31 import java.util.function.Function;
32 import java.util.function.Predicate;
51 java.util.function.Predicate<? super T> predicate) {
63 * @see #filter(List, java.util.function.Predicate)
66 java.util.function.Predicate<? super T> predicate) {
100 * Returns a list of items resulting from applying the given function to each element of the
140 * {@link #map(List, Function)} + {@link #filter(List, java.util.function.Predicate)}
219 java.util.function.Predicate<T> predicate) {
228 java.util.function.Predicate<T> predicate) {
/frameworks/support/paging/common/src/main/java/androidx/paging/
H A DPositionalDataSource.java140 * Call this method from your DataSource's {@code loadInitial} function to return data,
165 * Call this method from your DataSource's {@code loadInitial} function to return data,
354 * The value computed by this function will do bounds checking, page alignment, and positioning
414 * This function takes the requested load size, and bounds checks it against the value returned
495 @NonNull Function<List<Value>, List<ToValue>> function) {
503 @NonNull Function<Value, ToValue> function) {
558 @NonNull Function<List<T>, List<V>> function) {
559 return new WrapperPositionalDataSource<>(this, function);
564 public final <V> PositionalDataSource<V> map(@NonNull Function<T, V> function) { argument
565 return mapByPage(createListFunction(function));
494 mapByPage( @onNull Function<List<Value>, List<ToValue>> function) argument
502 map( @onNull Function<Value, ToValue> function) argument
557 mapByPage( @onNull Function<List<T>, List<V>> function) argument
[all...]
/frameworks/base/cmds/statsd/src/anomaly/
H A DAlarmMonitor.cpp29 const std::function<void(const sp<IStatsCompanionService>&, int64_t)>& updateAlarm,
30 const std::function<void(const sp<IStatsCompanionService>&)>& cancelAlarm)
/frameworks/base/libs/hwui/
H A DDisplayList.cpp101 void DisplayList::updateChildren(std::function<void(RenderNode*)> updateFn) {
109 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn) {
H A DDisplayList.h123 virtual void updateChildren(std::function<void(RenderNode*)> updateFn);
126 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn);

Completed in 2098 milliseconds

1234567891011>>