Home
last modified time | relevance | path

Searched refs:REASON (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/
DAbstractSdkLevelSupportedRuleTest.java65 private static final String REASON = "Because I said so"; field in AbstractSdkLevelSupportedRuleTest
219 REASON, in testGetRequiredRange_annotatedTest() local
221 newAnnotationForAtLeast(R, REASON)); in testGetRequiredRange_annotatedTest()
224 REASON, in testGetRequiredRange_annotatedTest() local
226 newAnnotationForAtLeast(S, REASON)); in testGetRequiredRange_annotatedTest()
229 REASON, in testGetRequiredRange_annotatedTest() local
231 newAnnotationForAtLeast(S2, REASON)); in testGetRequiredRange_annotatedTest()
234 REASON, in testGetRequiredRange_annotatedTest() local
236 newAnnotationForAtLeast(T, REASON)); in testGetRequiredRange_annotatedTest()
239 REASON, in testGetRequiredRange_annotatedTest() local
[all …]
DRequiredRangeTest.java25 private static final String REASON = "To get to the other side."; field in RequiredRangeTest
31 var requiredRange = new RequiredRange(range, REASON); in testToString()
36 expect.that(toString).contains(REASON); in testToString()
44 expectEquals(new RequiredRange(range1, REASON), new RequiredRange(range1, REASON)); in testEqualsHashCode()
45 expectEquals(new RequiredRange(range1, REASON), new RequiredRange(range1, NULL_REASON)); in testEqualsHashCode()
47 expectNotEquals(new RequiredRange(range1, REASON), new RequiredRange(range2, REASON)); in testEqualsHashCode()
48 expectNotEquals(new RequiredRange(range1, REASON), new RequiredRange(range2, NULL_REASON)); in testEqualsHashCode()
/packages/modules/Uwb/framework/tests/src/android/uwb/
DRangingManagerTest.java57 private static final @RangingChangeReason int REASON = RangingChangeReason.UNKNOWN; field in RangingManagerTest
198 rangingManager.onRangingStartFailed(handle, REASON, PARAMS); in testCorrectCallbackInvoked()
199 verify(callback, times(1)).onStartFailed(eq(REASON), eq(PARAMS)); in testCorrectCallbackInvoked()
208 rangingManager.onRangingReconfigureFailed(handle, REASON, PARAMS); in testCorrectCallbackInvoked()
209 verify(callback, times(1)).onReconfigureFailed(eq(REASON), eq(PARAMS)); in testCorrectCallbackInvoked()
211 rangingManager.onRangingStopped(handle, REASON, PARAMS); in testCorrectCallbackInvoked()
212 verify(callback, times(1)).onStopped(eq(REASON), eq(PARAMS)); in testCorrectCallbackInvoked()
214 rangingManager.onRangingStopFailed(handle, REASON, PARAMS); in testCorrectCallbackInvoked()
215 verify(callback, times(1)).onStopFailed(eq(REASON), eq(PARAMS)); in testCorrectCallbackInvoked()
220 rangingManager.onControleeAddFailed(handle, REASON, PARAMS); in testCorrectCallbackInvoked()
[all …]
DRangingSessionTest.java65 private static final @RangingSession.Callback.Reason int REASON = field in RangingSessionTest
127 session.onRangingClosed(REASON, PARAMS); in testOnRangingOpened_CannotOpenClosedSession()
147 session.onRangingClosed(REASON, PARAMS); in testOnRangingClosed_OnClosedCalledWhenSessionNotOpen()
162 session.onRangingClosed(REASON, PARAMS); in testOnRangingClosed_OnClosedCalled()
166 session.onRangingClosed(REASON, PARAMS); in testOnRangingClosed_OnClosedCalled()
372 verify(callback, times(1)).onStopped(REASON, PARAMS); in testCallbacks_OnlyWhenOpened()
390 verify(callback, times(1)).onClosed(REASON, PARAMS); in testCallbacks_OnlyWhenOpened()
429 session.onRangingClosed(REASON, PARAMS); in testClose_NoCallbackUntilInvoked()
569 session.onRangingStopped(REASON, PARAMS); in testQueryMaxDataSizeBytes()
574 session.onRangingClosed(REASON, PARAMS); in testQueryMaxDataSizeBytes()
[all …]
/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/
Dbpf_helpers.h127 #define CRITICAL(REASON) char _critical[] SECTION("critical") = (REASON) argument
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/
DBluetoothManagerService.java251 proto.write(BluetoothManagerServiceDumpProto.ActiveLog.REASON, mReason); in dump()
/packages/modules/Bluetooth/framework/api/
Dsystem-current.txt255 field public static final String EXTRA_UNBOND_REASON = "android.bluetooth.device.extra.REASON";