/frameworks/native/services/surfaceflinger/ |
H A D | EventControlThread.cpp | 33 EventControlThread::EventControlThread(EventControlThread::SetVSyncEnabledFunction function) argument 34 : mSetVSyncEnabled(function) {
|
H A D | LayerVector.h | 50 using Visitor = std::function<void(Layer*)>;
|
/frameworks/base/core/java/com/android/internal/util/function/pooled/ |
H A D | PooledLambdaImpl.java | 17 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 D | EventMetric.h | 110 // 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 D | EventMetric.h | 110 // 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 D | HalDeathHandler.h | 34 typedef std::function<void()> AtExitHandler;
|
/frameworks/av/media/libaudiohal/include/media/audiohal/hidl/ |
H A D | HalDeathHandler.h | 34 typedef std::function<void()> AtExitHandler;
|
/frameworks/base/core/java/com/android/internal/textservice/ |
H A D | LazyIntToIntMap.java | 24 import java.util.function.IntUnaryOperator;
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
H A D | JavaRef.h | 29 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 D | ShadowAppBackupUtils.java | 28 import java.util.function.Function;
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | epoll_event_dispatcher.h | 24 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 D | UsbManager.java | 71 * 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 D | SkiaDisplayList.h | 99 * 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 D | AnimatableProperty.java | 25 import java.util.function.BiConsumer; 26 import java.util.function.Function;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 288 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 D | performance_service.h | 51 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 D | EmbeddingLookupTest.cpp | 128 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 D | ListCommand.h | 69 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 D | Timeout.h | 32 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 D | GenerateDocumentation.cpp | 155 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 D | CollectionUtils.java | 31 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 D | PositionalDataSource.java | 140 * 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 D | AlarmMonitor.cpp | 29 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 D | DisplayList.cpp | 101 void DisplayList::updateChildren(std::function<void(RenderNode*)> updateFn) { 109 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn) {
|
H A D | DisplayList.h | 123 virtual void updateChildren(std::function<void(RenderNode*)> updateFn); 126 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn);
|