Home
last modified time | relevance | path

Searched refs:reduce (Results 1 – 25 of 60) sorted by relevance

123

/packages/modules/NeuralNetworks/common/cpu_operations/
DReduce.cpp39 namespace reduce { namespace
194 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(REDUCE_PROD, reduce::prepare, reduce::executeProd);
195 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(REDUCE_SUM, reduce::prepare, reduce::executeSum);
196 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(REDUCE_MAX, reduce::prepare, reduce::executeMax);
197 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(REDUCE_MIN, reduce::prepare, reduce::executeMin);
198 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(REDUCE_ANY, reduce::prepare, reduce::executeAny);
199 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(REDUCE_ALL, reduce::prepare, reduce::executeAll);
/packages/modules/NeuralNetworks/common/types/operations/src/
DReduce.cpp22 namespace reduce { namespace
82 NN_DEFINE_VALIDATION_FUNCTION(REDUCE_ALL, reduce::validateLogical);
83 NN_DEFINE_VALIDATION_FUNCTION(REDUCE_ANY, reduce::validateLogical);
84 NN_DEFINE_VALIDATION_FUNCTION(REDUCE_MAX, reduce::validateMaxMin);
85 NN_DEFINE_VALIDATION_FUNCTION(REDUCE_MIN, reduce::validateMaxMin);
86 NN_DEFINE_VALIDATION_FUNCTION(REDUCE_PROD, reduce::validateProdSum);
87 NN_DEFINE_VALIDATION_FUNCTION(REDUCE_SUM, reduce::validateProdSum);
/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/
DReduce.cpp27 bool reduce[4] = {false, false, false, false}; in reduceOpConstructor() local
36 reduce[toPositiveAxis(dim, rank)] = true; in reduceOpConstructor()
48 if (!reduce[i]) { in reduceOpConstructor()
/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionUtil.java279 Size aspectRatio = reduce(size); in aspectRatioDescription()
290 public static Size reduce(Size aspectRatio) { in reduce() method in ResolutionUtil
306 Size aspectRatio = reduce(size); in aspectRatioNumerator()
319 Size aspectRatio = reduce(size); in getApproximateSize()
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/
DTestData.kt44 override fun reduce(menu: Menu, action: MenuAction): Menu { in reduce() method in com.android.car.customization.tool.domain.FakeMenuActionReducer
105 override fun reduce(panel: Panel, action: PanelAction): Panel = Panel(items = emptyList()) in build() method in com.android.car.customization.tool.domain.EmptyPanelReducer
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/menu/
DMenuActionReducer.kt35 fun reduce(menu: Menu, action: MenuAction): Menu method
DMenuController.kt55 else -> menuActionReducers[action::class.java]?.reduce( in handleAction()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/panel/
DPanelActionReducer.kt43 fun reduce(panel: Panel, action: PanelAction): Panel method
DPanelController.kt58 currentPanelActionReducer?.reduce(panel, action) in handleAction()
/packages/modules/NeuralNetworks/common/types/operations/include/
DReduce.h22 namespace android::nn::reduce {
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/
DStorageLifetimeFragment.java94 .reduce(0L, (x,y)->x+y);
98 .reduce(0L, (x,y)->x+y);
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/plugins/plugintoggle/
DPluginToggleReducer.kt40 override fun reduce(menu: Menu, action: MenuAction): Menu { in clone() method in com.android.car.customization.tool.features.plugins.plugintoggle.PluginToggleReducer
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/
DDockViewController.kt109 .reduce { res1, res2 -> res1 or res2 } in <lambda>()
114 .reduce { res1, res2 -> res1 or res2 } in <lambda>()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/cutouts/
DDisplayCutoutsReducer.kt39 override fun reduce(menu: Menu, action: MenuAction): Menu { in <lambda>() method in com.android.car.customization.tool.features.rro.systemui.cutouts.DisplayCutoutsReducer
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/oemtokens/oemtokenstoggle/
DOemTokensToggleReducer.kt43 override fun reduce(menu: Menu, action: MenuAction): Menu { in clone() method in com.android.car.customization.tool.features.oemtokens.oemtokenstoggle.OemTokensToggleReducer
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/systembarpresets/
DSystemBarPresetsReducer.kt39 override fun reduce(menu: Menu, action: MenuAction): Menu { in <lambda>() method in com.android.car.customization.tool.features.rro.systemui.systembarpresets.SystemBarPresetsReducer
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/themepresets/
DThemePresetsReducer.kt40 override fun reduce(menu: Menu, action: MenuAction): Menu { in <lambda>() method in com.android.car.customization.tool.features.rro.systemui.themepresets.ThemePresetsReducer
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DFreeUpStorageFragment.java88 app -> app.size).reduce(0L, in updateStorageUninstallAppsPrefSummary()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/unbundled/apprro/
DUnbundledRroPanelReducer.kt73 override fun reduce( in <lambda>() method in com.android.car.customization.tool.features.rro.unbundled.apprro.UnbundledRroPanelReducer
/packages/apps/Dialer/java/com/android/dialer/contacts/displaypreference/
DContactDisplayPreferences.java46 .reduce( in fromValue()
/packages/modules/Wifi/flags/
Dwifi_flags.aconfig14 description: "Control the feature delay the save to store in batch to reduce the blocking time"
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/
DIncompatibleChargerTipTest.java123 .reduce((first, second) -> second) in getLastErrorLog()
DBatteryDefenderTipTest.java149 .reduce((first, second) -> second) in getLastErrorLog()
/packages/apps/Settings/src/com/android/settings/spa/development/
DUsageStatsListModel.kt104 .groupingBy { it.packageName }.reduce { _, a, b -> a.add(b); a } in <lambda>()
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/menu/
DMenuControllerTest.kt155 verify(fakeMenuActionReducer, times(/*wantedNumberOfInvocations=*/1)).reduce( in when_an_additional_reducer_is_provided_the_menuController_uses_it()

123