Home
last modified time | relevance | path

Searched refs:function (Results 1 – 25 of 227) sorted by relevance

12345678910

/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/
DLiveDataFunctions.java33 import java.util.function.BiConsumer;
34 import java.util.function.BiFunction;
35 import java.util.function.BiPredicate;
36 import java.util.function.Predicate;
539 @NonNull BiFunction<T, U, LiveData<V>> function) {
542 return function.apply(null, null);
544 return function.apply(pair.first, pair.second);
557 @NonNull BiFunction<T, U, R> function) {
558 return new BinaryOperation<>(tData, uData, function);
577 @NonNull BiFunction<T, U, R> function) {
[all …]
/packages/apps/Gallery2/src/com/android/photos/views/
DBlockingGLTextureView.java288 private void throwEglException(String function) { in throwEglException() argument
289 throwEglException(function, mEgl.eglGetError()); in throwEglException()
292 public static void throwEglException(String function, int error) { in throwEglException() argument
293 String message = formatEglError(function, error); in throwEglException()
297 public static void logEglErrorAsWarning(String tag, String function, int error) { in logEglErrorAsWarning() argument
298 Log.w(tag, formatEglError(function, error)); in logEglErrorAsWarning()
301 public static String formatEglError(String function, int error) { in formatEglError() argument
302 return function + " failed: " + error; in formatEglError()
/packages/services/Car/evs/app/
DEvsStateControl.cpp81 if (info.function.find("reverse") != std::string::npos) { in EvsStateControl()
84 if (info.function.find("right") != std::string::npos) { in EvsStateControl()
87 if (info.function.find("left") != std::string::npos) { in EvsStateControl()
90 if (info.function.find("park") != std::string::npos) { in EvsStateControl()
108 if (info.function.find("reverse") != std::string::npos) { in EvsStateControl()
111 if (info.function.find("right") != std::string::npos) { in EvsStateControl()
114 if (info.function.find("left") != std::string::npos) { in EvsStateControl()
117 if (info.function.find("park") != std::string::npos) { in EvsStateControl()
DConfigManager.cpp132 const char *function = usageNode.asCString(); in initialize() local
180 info.function = function; in initialize()
/packages/providers/CalendarProvider/tests/
DEMMA_README1 # This defines a shell function called run_emma_calp() that rebuilds
18 # This also defines a no_emma_calp() function that rebuilds the provider
23 function run_emma_calp()
57 function no_emma_calp()
63 function _build_install_calp()
/packages/apps/Camera2/src/com/android/camera/async/
DObservables.java52 final Function<F, T> function) { in transform() argument
57 return function.apply(input.get()); in transform()
83 Function<List<F>, T> function) {
84 return ObservableCombiner.transform(input, function);
DObservableCombiner.java63 final Function<List<I>, O> function) { in transform() argument
71 return function.apply(deps); in transform()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDetailsFunctionsController.java112 final long function = UsbBackend.usbFunctionsFromString(preference.getKey()); in onRadioButtonClicked() local
114 if (function != previousFunction && !Utils.isMonkeyRunning()) { in onRadioButtonClicked()
117 if (function == UsbManager.FUNCTION_RNDIS) { in onRadioButtonClicked()
132 mUsbBackend.setCurrentFunctions(function); in onRadioButtonClicked()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/
DUsbDetailsFunctionsController.java112 final long function = UsbBackend.usbFunctionsFromString(preference.getKey()); in onRadioButtonClicked() local
114 if (function != previousFunction && !Utils.isMonkeyRunning()) { in onRadioButtonClicked()
117 if (function == UsbManager.FUNCTION_RNDIS) { in onRadioButtonClicked()
132 mUsbBackend.setCurrentFunctions(function); in onRadioButtonClicked()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragHoverListener.java30 import java.util.function.BooleanSupplier;
31 import java.util.function.IntConsumer;
32 import java.util.function.IntSupplier;
33 import java.util.function.Predicate;
DThumbnailLoader.java37 import java.util.function.BiConsumer;
38 import java.util.function.Consumer;
DHorizontalBreadcrumb.java38 import java.util.function.Consumer;
39 import java.util.function.IntConsumer;
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DUtils.java52 java.util.function.BiFunction<Integer, VehiclePropValue, Boolean> f) { in readVhalProperty()
73 java.util.function.BiFunction<Integer, VehiclePropValue, Boolean> f) { in readVhalProperty()
81 java.util.function.BiFunction<Integer, VehiclePropValue, Boolean> f) { in readVhalProperty()
/packages/services/Car/evs/sampleDriver/
DVideoCapture.h33 bool startStream(std::function<void(VideoCapture*, imageBuffer*, void*)> callback = nullptr);
65 std::function<void(VideoCapture*, imageBuffer*, void*)> mCallback;
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestCopyJobProcessTracker.java27 import java.util.function.Function;
28 import java.util.function.LongSupplier;
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DFallbackActivityControllerHelper.java32 import java.util.function.BiPredicate;
33 import java.util.function.Consumer;
DLauncherActivityControllerHelper.java29 import java.util.function.BiPredicate;
30 import java.util.function.Consumer;
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DActivityControlHelper.java41 import java.util.function.BiPredicate;
42 import java.util.function.Consumer;
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsStore.java32 import java.util.function.Consumer;
33 import java.util.function.Predicate;
/packages/inputmethods/LatinIME/native/jni/
DAndroid.bp131 "-Wno-unused-function",
166 "-Wno-unused-function",
183 "-Wno-unused-function",
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DAnalyticsUtils.java57 import java.util.function.Function;
58 import java.util.function.LongSupplier;
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DFallbackActivityControllerHelper.java43 import java.util.function.BiPredicate;
44 import java.util.function.Consumer;
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dinternals.md15 …M according to the events. `Value` supports a `Value::Accept(Handler&)` function, which traverses …
153 Note that `Malloc()` and `Realloc()` are member functions but `Free()` is static member function.
221 Parsing string into `double` is difficult. The standard library function `strtod()` can do the job …
223 …, the parsers calls `internal::StrtodFullPrecision()` instead, and this function actually implemen…
247 The header-only conversion function has been evaluated in [dtoa-benchmark](https://github.com/miloy…
Dtutorial.md329 …dopts move semantics using assignment operator, and all other modifying function like `AddMember()…
333 … objects can't be converted to proper Value references, the convenience function `Move()` is avail…
367 …ng()` overloaded function without the length parameter. And it assumes the input is null-terminate…
377 …it as safe before using it without copying. This can be achieved by using the `StringRef` function:
446 The name parameter with `StringRefType` is similar to the interface of `SetString` function for str…
Dsax.md98 …e showed, user needs to implement a handler, which consumes the events (function calls) from `Read…
122 …number, it chooses a suitable C++ type mapping. And then it calls *one* function out of `Int(int)`…
163 The one and only one function of `Reader` is to parse JSON.
272 …Writer` provides a `SetIndent(Ch indentChar, unsigned indentCharCount)` function. The default is 4…
391 …ill be called. However, at that moment `state_ = kExpectValue`, so that function returns `false` a…

12345678910