Home
last modified time | relevance | path

Searched refs:precondition (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/
H A DLockscreenPreconditionTest.kt63 val precondition = LockscreenPrecondition(deviceProvisionedController, execution) in testFullyEnabled() constant
64 precondition.addListener(listener) in testFullyEnabled()
67 assertThat(precondition.conditionsMet()).isTrue() in testFullyEnabled()
77 val precondition = in testProvisioning() constant
79 precondition.addListener(listener) in testProvisioning()
82 assertThat(precondition.conditionsMet()).isFalse() in testProvisioning()
93 assertThat(precondition.conditionsMet()).isTrue() in testProvisioning()
103 val precondition = in testUserSetup() constant
105 precondition.addListener(listener) in testUserSetup()
108 assertThat(precondition.conditionsMet()).isFalse() in testUserSetup()
[all …]
H A DCommunalSmartspaceControllerTest.kt70 @Mock private lateinit var precondition: SmartspacePrecondition variable in com.android.systemui.smartspace.CommunalSmartspaceControllerTest
132 precondition, in setup()
141 `when`(precondition.conditionsMet()).thenReturn(true) in testConnectOnListen()
170 `when`(precondition.conditionsMet()).thenReturn(false) in testConnectOnPreconditionMet()
177 `when`(precondition.conditionsMet()).thenReturn(true) in testConnectOnPreconditionMet()
178 verify(precondition).addListener(preconditionListenerCaptor.capture()) in testConnectOnPreconditionMet()
192 `when`(precondition.conditionsMet()).thenReturn(true) in testDisconnect_emitsEmptyListAndRemovesNotifier()
H A DDreamSmartspaceControllerTest.kt83 @Mock private lateinit var precondition: SmartspacePrecondition variable in com.android.systemui.smartspace.DreamSmartspaceControllerTest
155 precondition, in setup()
165 `when`(precondition.conditionsMet()).thenReturn(true) in testConnectOnListen()
193 `when`(precondition.conditionsMet()).thenReturn(true) in testConnectOnViewCreate()
202 `when`(precondition.conditionsMet()).thenReturn(true) in testConnectOnViewCreate()
216 `when`(precondition.conditionsMet()).thenReturn(true) in testConnectOnWeatherViewCreate()
240 `when`(precondition.conditionsMet()).thenReturn(true) in testAddListenerInController_registersListenerForWeatherPlugin()
262 `when`(precondition.conditionsMet()).thenReturn(true) in testDisconnect_emitsEmptyListAndRemovesNotifier()
/aosp_15_r20/external/pytorch/torch/_inductor/autoheuristic/
H A Dautoheuristic.py63 precondition: Optional[Callable[[AHMetadata, AHContext], bool]] = None,
91 self.precondition = precondition
108 return self.precondition is None or self.precondition(
231 precondition: Optional[Callable[[AHMetadata, AHContext], bool]] = None,
259 precondition,
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/mlir/transforms/runtime/tests/
H A Drt_to_llvm.mlir29 // CHECK-DAG: llvm.mlir.global {{.*}} @[[ERR0:.*]]("Failed precondition #0\00")
30 // CHECK-DAG: llvm.mlir.global {{.*}} @[[ERR1:.*]]("Failed precondition #1\00")
39 rt.set_error %arg0, "Failed precondition #0"
43 rt.set_error %arg0, "Failed precondition #1"
49 // CHECK: llvm.mlir.global {{.*}} @[[ERR:.*]]("Failed precondition\00")
50 // CHECK-NOT: Failed precondition
57 rt.set_error %arg0, "Failed precondition"
59 rt.set_error %arg0, "Failed precondition"
H A Dconvert_to_entrypoint.mlir44 // CHECK: rt.set_error %[[CTX]], "Failed precondition"
46 cf.assert %arg0, "Failed precondition"
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/smartspace/
H A DDreamSmartspaceController.kt56 @Named(LOCKSCREEN_SMARTSPACE_PRECONDITION) private val precondition: SmartspacePrecondition, in <lambda>() constant in com.android.systemui.dreams.smartspace.DreamSmartspaceController
89 precondition.addListener(preconditionListener) in <lambda>()
154 if (!precondition.conditionsMet()) { in <lambda>()
205 if (!precondition.conditionsMet()) { in <lambda>()
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/mediaprojection/devicepolicy/
H A DScreenCaptureDevicePolicyResolverTest.kt35 abstract class BaseScreenCaptureDevicePolicyResolverTest(private val precondition: Preconditions) : constant in com.android.systemui.mediaprojection.devicepolicy.BaseScreenCaptureDevicePolicyResolverTest
70 .thenReturn(precondition.personalScreenCaptureDisabled) in setUpPolicies()
73 .thenReturn(precondition.workScreenCaptureDisabled) in setUpPolicies()
81 .thenReturn(precondition.disallowShareIntoManagedProfile) in setUpPolicies()
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/smartspace/
H A DCommunalSmartspaceController.kt48 @Named(LOCKSCREEN_SMARTSPACE_PRECONDITION) private val precondition: SmartspacePrecondition, in <lambda>() constant in com.android.systemui.communal.smartspace.CommunalSmartspaceController
79 precondition.addListener(preconditionListener) in <lambda>()
121 if (!precondition.conditionsMet()) { in <lambda>()
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math3/optim/nonlinear/scalar/gradient/
H A DNonLinearConjugateGradientOptimizer.java262 double[] steepestDescent = preconditioner.precondition(point, r); in doOptimize()
298 final double[] newSteepestDescent = preconditioner.precondition(point, r); in doOptimize()
350 public double[] precondition(double[] variables, double[] r) { in precondition() method in NonLinearConjugateGradientOptimizer.IdentityPreconditioner
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
H A DNonLinearConjugateGradientOptimizer.java134 double[] steepestDescent = preconditioner.precondition(point, r); in doOptimize()
179 final double[] newSteepestDescent = preconditioner.precondition(point, r); in doOptimize()
243 public double[] precondition(double[] variables, double[] r) { in precondition() method in NonLinearConjugateGradientOptimizer.IdentityPreconditioner
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math3/optimization/general/
H A DNonLinearConjugateGradientOptimizer.java162 double[] steepestDescent = preconditioner.precondition(point, r); in doOptimize()
207 final double[] newSteepestDescent = preconditioner.precondition(point, r); in doOptimize()
266 public double[] precondition(double[] variables, double[] r) { in precondition() method in NonLinearConjugateGradientOptimizer.IdentityPreconditioner
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/src/
H A Derror.md63 to developers debugging the panic ("expect as precondition").
81 In the "expect as precondition" style, we would instead describe the
105 The "expect as precondition" style instead focuses on source code
123 expect-as-precondition style error messages remember to focus on the word
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/src/
H A Derror.md63 to developers debugging the panic ("expect as precondition").
81 In the "expect as precondition" style, we would instead describe the
105 The "expect as precondition" style instead focuses on source code
123 expect-as-precondition style error messages remember to focus on the word
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/src/
H A Derror.md63 to developers debugging the panic ("expect as precondition").
81 In the "expect as precondition" style, we would instead describe the
105 The "expect as precondition" style instead focuses on source code
123 expect-as-precondition style error messages remember to focus on the word
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/src/
H A Derror.md63 to developers debugging the panic ("expect as precondition").
81 In the "expect as precondition" style, we would instead describe the
105 The "expect as precondition" style instead focuses on source code
123 expect-as-precondition style error messages remember to focus on the word
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/
H A Derror.md63 to developers debugging the panic ("expect as precondition").
81 In the "expect as precondition" style, we would instead describe the
105 The "expect as precondition" style instead focuses on source code
123 expect-as-precondition style error messages remember to focus on the word
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/mlir/ir/runtime/tests/
H A Dops.mlir22 // CHECK: rt.set_error %[[CTX]], "Failed precondition"
23 rt.set_error %arg0, "Failed precondition"
/aosp_15_r20/out/soong/.intermediates/build/make/tools/releasetools/ota_metadata_proto_cc/android_recovery_arm64_armv8-2a_cortex-a55_static/gen/proto/
Dota_metadata.pb.h1094 const ::build::tools::releasetools::DeviceState& precondition() const; in Swap()
1097 void set_allocated_precondition(::build::tools::releasetools::DeviceState* precondition); in Swap()
1103 ::build::tools::releasetools::DeviceState* precondition); in Swap()
2090 inline const ::build::tools::releasetools::DeviceState& OtaMetadata::precondition() const { in precondition() function
2095 ::build::tools::releasetools::DeviceState* precondition) { in unsafe_arena_set_allocated_precondition() argument
2099 _impl_.precondition_ = precondition; in unsafe_arena_set_allocated_precondition()
2137 … OtaMetadata::set_allocated_precondition(::build::tools::releasetools::DeviceState* precondition) { in set_allocated_precondition() argument
2142 if (precondition) { in set_allocated_precondition()
2144 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(precondition); in set_allocated_precondition()
2146 precondition = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( in set_allocated_precondition()
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/mlir/ir/runtime/
H A Drt_ops.td111 %precondition = arith.cmpi ...
112 cond_br %precondition, ^ok, ^err
120 rt.set_error %ctx, "Failed precondition"
/aosp_15_r20/external/googleapis/google/rpc/
H A Derror_details.proto145 // A message type used to describe a single precondition failure.
148 // enum type to define the supported precondition violation subjects. For
157 // A description of how the precondition failed. Developers can use this
164 // Describes all precondition violations.
/aosp_15_r20/external/sdk-platform-java/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/
H A Derror_details.proto145 // A message type used to describe a single precondition failure.
148 // enum type to define the supported precondition violation subjects. For
157 // A description of how the precondition failed. Developers can use this
164 // Describes all precondition violations.
/aosp_15_r20/external/googleapis/google/firestore/v1beta1/
H A Dcommon.proto41 // A precondition on a document, used for conditional operations.
43 // The type of precondition.
/aosp_15_r20/external/pytorch/torchgen/_autoheuristic/
H A DREADME.md23 precondition=pad_mm_precondition,
38 precondition=precondition,
/aosp_15_r20/external/googleapis/google/firestore/v1/
H A Dcommon.proto43 // A precondition on a document, used for conditional operations.
45 // The type of precondition.

12345678910>>...12