/packages/modules/NeuralNetworks/tools/systrace_parser/parser/ |
D | naming.py | 98 function = mark.split("|")[2] 99 if "[NN_" in function: 100 function = function.replace(MARKER_SUBTRACT, "") 101 function = function.replace(MARKER_SWITCH, "") 102 function = function.split("]")[1] 103 function = function.replace("[", "") 104 function = function.replace("]", "") 105 return function
|
D | tracker.py | 130 function = node.app_phase + "::" + get_function_name_from_mark(node.mark) 131 self.begins_and_ends_ms[function] = (self.begins_and_ends_ms.get(function, []) + 238 def get_begins(self, app_phase, function): argument 239 name = app_phase + "::" + function 241 def get_ends(self, app_phase, function): argument 242 name = app_phase + "::" + function
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbDetailsFunctionsController.java | 132 final long function = UsbBackend.usbFunctionsFromString(preference.getKey()); in onRadioButtonClicked() local 135 Log.d(TAG, "onRadioButtonClicked() function : " + function + ", toString() : " in onRadioButtonClicked() 136 + UsbManager.usbFunctionsToString(function) + ", previousFunction : " in onRadioButtonClicked() 140 if (function != previousFunction && !Utils.isMonkeyRunning() in onRadioButtonClicked() 141 && !isClickEventIgnored(function, previousFunction)) { in onRadioButtonClicked() 153 if (function == UsbManager.FUNCTION_RNDIS || function == UsbManager.FUNCTION_NCM) { in onRadioButtonClicked() 160 mUsbBackend.setCurrentFunctions(function); in onRadioButtonClicked() 165 private boolean isClickEventIgnored(long function, long previousFunction) { in isClickEventIgnored() argument 166 return isAccessoryMode(previousFunction) && function == UsbManager.FUNCTION_MTP; in isClickEventIgnored() 169 private boolean isAccessoryMode(long function) { in isAccessoryMode() argument [all …]
|
/packages/services/Car/cpp/computepipe/runner/engine/ |
D | DefaultEngine.h | 302 const std::function<void()>&& eos, const std::function<void(std::string)>&& errorCb, 303 const std::function<Status(const std::shared_ptr<MemHandle>&)>&& packetHandler); 310 std::function<void(std::string)> mErrorHandler; 311 std::function<void()> mEndOfStreamHandler; 312 std::function<Status(const std::shared_ptr<MemHandle>&)> mPacketHandler; 321 explicit InputCallback(int id, const std::function<void(int)>&& cb, 322 const std::function<Status(int, int64_t, const InputFrame&)>&& packetCb); 328 std::function<void(int)> mErrorCallback; 329 std::function<Status(int, int64_t, const InputFrame&)> mPacketHandler;
|
D | DefaultEngine.cpp | 527 std::function<Status(std::shared_ptr<MemHandle>)> packetCb = in populateStreamManagers() 532 std::function<void(std::string)> errorCb = [this, streamId](std::string m) { in populateStreamManagers() 537 std::function<void()> eos = [this, streamId]() { in populateStreamManagers() 732 int id, const std::function<void(int)>&& cb, in InputCallback() 733 const std::function<Status(int, int64_t timestamp, const InputFrame&)>&& packetCb) in InputCallback() 749 const std::function<void()>&& eos, const std::function<void(std::string)>&& errorCb, in StreamCallback() 750 const std::function<Status(const std::shared_ptr<MemHandle>&)>&& packetHandler) in StreamCallback()
|
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/ |
D | LiveDataFunctions.java | 32 import java.util.function.BiConsumer; 33 import java.util.function.BiFunction; 34 import java.util.function.BiPredicate; 35 import java.util.function.Predicate; 538 @NonNull BiFunction<T, U, LiveData<V>> function) { 541 return function.apply(null, null); 543 return function.apply(pair.first, pair.second); 556 @NonNull BiFunction<T, U, R> function) { 557 return new BinaryOperation<>(tData, uData, function); 576 @NonNull BiFunction<T, U, R> function) { [all …]
|
/packages/modules/NeuralNetworks/common/include/ |
D | OperationResolver.h | 33 std::function<Result<Version>(const IOperationValidationContext*)> validate; 38 std::function<bool(IOperationExecutionContext*)> prepare; 42 std::function<bool(IOperationExecutionContext*)> execute; 53 std::function<Result<Version>(const IOperationValidationContext*)> validate, in OperationRegistration() 54 std::function<bool(IOperationExecutionContext*)> prepare, in OperationRegistration() 55 std::function<bool(IOperationExecutionContext*)> execute, Flag flags) in OperationRegistration()
|
D | LegacyUtils.h | 243 std::function<bool(const Operand&)> isValidSubgraphReference; 245 std::function<uint32_t(const Operand&)> getSubgraphInputCount; 247 std::function<uint32_t(const Operand&)> getSubgraphOutputCount; 249 std::function<const Operand*(const Operand&, uint32_t)> getSubgraphInputOperand; 251 std::function<const Operand*(const Operand&, uint32_t)> getSubgraphOutputOperand;
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 288 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/modules/StatsD/statsd/src/anomaly/ |
D | AlarmMonitor.h | 30 using std::function; 69 const function<void(const shared_ptr<IStatsCompanionService>&, int64_t)>& 71 const function<void(const shared_ptr<IStatsCompanionService>&)>& cancelAlarm); 153 std::function<void(const shared_ptr<IStatsCompanionService>, int64_t)> mUpdateAlarm; 156 std::function<void(const shared_ptr<IStatsCompanionService>)> mCancelAlarm;
|
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include_legacy/ |
D | TestHarness.h | 97 std::function<void(int, const std::vector<T>&)> execute) { in for_each() 106 std::function<void(int, std::vector<T>&)> execute) { in for_each() 116 std::function<void(int, const std::vector<T>&, std::vector<T>&)> execute) { in for_each() 127 std::function<void(int, const std::vector<T>&, const std::vector<T>&)> execute) { in for_each() 138 std::function<void(int, void*, size_t)> execute_this) { in for_all_internal() 147 std::function<void(int, void*, size_t)> execute_this) { in for_all() 164 std::function<void(int, const void*, size_t)> execute_this) { in for_all_internal() 173 std::function<void(int, const void*, size_t)> execute_this) { in for_all() 222 std::map<int, std::vector<T>>* filtered, std::function<bool(int)> is_ignored) { in filter_internal() 229 inline MixedTyped filter(const MixedTyped& golden, std::function<bool(int)> is_ignored) { in filter() [all …]
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | OperationManager.h | 41 std::function<void(test_helper::TestOperandType, uint32_t, RandomOperand*)> constructor = 46 std::function<void(RandomOperand*)> finalizer = nullptr; 84 std::function<void(test_helper::TestOperandType, uint32_t, RandomOperation*)> constructor = 90 std::function<void(RandomOperation*)> finalizer = nullptr;
|
/packages/apps/Camera2/src/com/android/camera/async/ |
D | Observables.java | 52 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);
|
/packages/providers/CalendarProvider/tests/ |
D | EMMA_README | 1 # 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/modules/Permission/framework-s/api/ |
D | system-current.txt | 23 ….UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lan… 25 ….UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lan… 29 …Null String, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lan… 31 …Null String, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lan… 33 ….UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lan…
|
/packages/modules/adb/ |
D | transport.h | 113 using ReadCallback = std::function<bool(Connection*, std::unique_ptr<apacket>)>; 120 using ErrorCallback = std::function<void(Connection*, const std::string&)>; 262 using ReconnectCallback = std::function<ReconnectResult(atransport*)>; 439 bool iterate_transports(std::function<bool(const atransport*)> fn); 485 void close_usb_devices(std::function<bool(const atransport*)> predicate, bool reset = false); 493 void server_socket_thread(std::function<unique_fd(std::string_view, std::string*)> listen_func,
|
/packages/apps/Settings/src/com/android/settings/network/helper/ |
D | SelectableSubscriptions.java | 35 import java.util.function.Function; 36 import java.util.function.Predicate; 37 import java.util.function.Supplier; 38 import java.util.function.UnaryOperator;
|
/packages/services/Car/cpp/evs/apps/default/ |
D | ConfigManager.cpp | 102 info.function = node.get("function", "").asCString(); in initialize() 143 const char *function = usageNode.asCString(); in initialize() local 198 info.function = function; in initialize()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DragHoverListener.java | 30 import java.util.function.BooleanSupplier; 31 import java.util.function.IntConsumer; 32 import java.util.function.IntSupplier; 33 import java.util.function.Predicate;
|
/packages/services/Car/cpp/computepipe/tests/runner/graph/includes/ |
D | PrebuiltEngineInterfaceImpl.h | 39 typedef std::function<void(int, int64_t, const runner::InputFrame&)> PixelCallback; 40 typedef std::function<void(int, int64_t, std::string&&)> SerializedStreamCallback; 41 typedef std::function<void(Status, std::string&&)> GraphTerminationCallback;
|
/packages/modules/GeoTZ/common/src/test/java/com/android/timezone/location/common/ |
D | PiiLoggablesTest.java | 36 import java.util.function.Function; 90 Function<PiiLoggable, String> function = PiiLoggables.toPiiStringFunction(); in toPiiStringFunction() local 91 assertEquals(NULL_STRING, function.apply(null)); in toPiiStringFunction() 92 assertEquals(piiValue, function.apply(piiLoggable)); in toPiiStringFunction()
|
/packages/modules/adb/tools/ |
D | check_ms_os_desc.cpp | 147 ms_os_desc_v1_function function; in check_ms_os_desc_v1() local 148 memcpy(&function, in check_ms_os_desc_v1() 150 sizeof(function)); in check_ms_os_desc_v1() 151 if (memcmp("WINUSB\0\0", function.compatibleID, 8) == 0) { in check_ms_os_desc_v1()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | IoOveruseConfigs.h | 150 const std::function<void(const std::string&)>& maybeAppendVendorPackagePrefixes); 156 const std::function<void(const std::string&)>& maybeAppendVendorPackagePrefixes); 271 using ParseXmlFileFunction = std::function<android::base::Result< 273 using WriteXmlFileFunction = std::function<android::base::Result<
|
/packages/modules/adb/fdevent/ |
D | fdevent.h | 116 void Run(std::function<void()> fn); 135 std::deque<std::function<void()>> run_queue_ GUARDED_BY(run_queue_mutex_); 153 void fdevent_run_on_main_thread(std::function<void()> fn);
|
/packages/services/Car/cpp/computepipe/example/ |
D | FaceTracker.h | 46 explicit RemoteState(std::function<void(bool, std::string)>& cb); 55 std::function<void(bool, std::string)> mTerminationCb; 90 ndk::ScopedAStatus init(std::function<void(bool, std::string)>&& termination);
|