Searched
refs:when (Results
451 -
475 of
5168) sorted by null
<<11121314151617181920>>
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiControllerTest.java | 81 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); 82 when(mSettingsStore.isWifiToggleEnabled()).thenReturn(false); 83 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(false); 84 when(mSettingsStore.getLocationModeSetting(eq(mContext))) 147 when(mSettingsStore.isWifiToggleEnabled()).thenReturn(true); 154 * Test verifying that we can enter scan mode when the scan mode changes 158 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(true); 169 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(true); 192 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); 193 when(mSettingsStore.isWifiToggleEnabled()).thenReturn(false) [all...] |
/build/kati/testcase/ |
wildcard_with_commas.mk | 8 # when foo,bar doesn't exit, "make test2" report empty.
|
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/util/ |
CameraExt.kt | 23 val degrees = when (rotation) {
|
/developers/samples/android/system/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/util/ |
CameraExt.kt | 23 val degrees = when (rotation) {
|
/device/google/wahoo/folio_daemon/ |
Android.mk | 3 # Disabling when building with PDK (b/68767391)
|
/external/curl/docs/cmdline-opts/ |
append.d | 3 Help: Append to target file when uploading 6 When used in an upload, this makes curl append to the target file instead of
|
delegation.d | 6 Set LEVEL to tell the server what it is allowed to delegate when it
|
proxy-digest.d | 5 Tells curl to use HTTP Digest authentication when communicating with the given
|
proxy-ntlm.d | 5 Tells curl to use HTTP NTLM authentication when communicating with the given
|
/external/jsr305/sampleUses/src/main/java/edu/umd/cs/findbugs/examples/ |
Test.java | 3 import javax.annotation.meta.When; 24 public void foo5(@SlashedClassName(when=When.MAYBE) String foo) { 27 public void foo6(@SlashedClassName(when=When.UNKNOWN) String foo) {
|
/external/llvm/test/MC/MachO/ARM/ |
llvm-objdump-macho-stripped.s | 4 # We are checking that disassembly happens when there are no symbols.
|
/external/llvm/test/MC/Mips/ |
set-mips16-directive.s | 2 # FIXME: Update this test when we have a more mature implementation of Mips16 in the IAS.
|
/external/mockito/src/test/java/org/concurrentmockito/ |
ThreadsShareGenerouslyStubbedMockTest.java | 13 import static org.mockito.Mockito.when; 31 when(mock.simpleMethod("foo"))
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
ConfusedSignatureTest.java | 9 import static org.mockito.Mockito.when; 20 // when() requires an argument which has to be 'a method call on a mock'. 22 when(mock.getFoo()).thenReturn("Hello");
|
IOOBExceptionShouldNotBeThrownWhenNotCodingFluentlyTest.java | 17 import static org.mockito.Mockito.when; 27 OngoingStubbing<String> mapOngoingStubbing = when(map.get(anyString()));
|
/external/mockito/src/test/java/org/mockitousage/misuse/ |
CleaningUpPotentialStubbingTest.java | 42 doReturn(false).when(mock).booleanReturningMethod(); 50 when(null).thenReturn("anything");
|
ExplicitFrameworkValidationTest.java | 20 import static org.mockito.Mockito.when; 37 when(mock.simpleMethod());
|
/external/mockito/src/test/java/org/mockitousage/performance/ |
LoadsOfMocksTest.java | 30 when(mock.simpleMethod(1)).thenReturn("one"); 31 when(mock.simpleMethod(2)).thenReturn("two");
|
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/ |
TraceLoggerTest.java | 25 import static org.mockito.Mockito.when; 38 when(android.os.Process.myPid()).thenReturn(42);
|
/frameworks/base/core/proto/android/os/ |
message.proto | 26 optional int64 when = 1;
|
/frameworks/base/libs/androidfw/tests/ |
ZipUtils_test.cpp | 41 long when = 0x3EDD7514; local 43 ZipUtils::zipTimeToTimespec(when, &t);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
DozeWallpaperStateTest.java | 24 import static org.mockito.Mockito.when; 58 when(mDozeParameters.getAlwaysOn()).thenReturn(true); 66 // Make sure we're sending false when AoD is off 75 when(mDozeParameters.getDisplayNeedsBlanking()).thenReturn(false); 76 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); 77 when(mDozeParameters.getAlwaysOn()).thenReturn(true); 90 when(mDozeParameters.getDisplayNeedsBlanking()).thenReturn(true); 91 when(mDozeParameters.getAlwaysOn()).thenReturn(true); 92 when(mDozeParameters.shouldControlScreenOff()).thenReturn(false);
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
SliceManagerServiceTest.java | 31 import static org.mockito.Mockito.when; 82 doReturn(mCreatedSliceState).when(mService).createPinnedSlice(eq(TEST_URI), anyString()); 92 doReturn("pkg").when(mService).getDefaultHome(anyInt()); 101 doReturn("pkg").when(mService).getDefaultHome(anyInt()); 105 when(mCreatedSliceState.unpin(eq("pkg"), eq(mToken))).thenReturn(false); 116 when(mContextSpy.checkUriPermission(any(), anyInt(), anyInt(), anyInt())) 118 when(mContextSpy.checkPermission("perm1", Process.myPid(), Process.myUid())) 120 when(mContextSpy.checkPermission("perm2", Process.myPid(), Process.myUid()))
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
DateUtils.java | 38 public static String getKMLTimestamp(long when) { 41 c.setTimeInMillis(when);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
IccSmsInterfaceManagerTest.java | 99 Mockito.doThrow(new SecurityException(MESSAGE)).when(mMockContext) 112 Mockito.when(mMockAppOps.noteOp( 123 Mockito.doThrow(new SecurityException(MESSAGE)).when(mMockContext) 125 Mockito.doThrow(new SecurityException(MESSAGE)).when(mMockContext) 127 Mockito.when(mMockAppOps.noteOp( 143 Mockito.doThrow(new SecurityException(MESSAGE)).when(mMockContext) 156 Mockito.doThrow(new SecurityException(MESSAGE)).when(mMockContext) 169 Mockito.when(mMockAppOps.noteOp(
|
Completed in 1101 milliseconds
<<11121314151617181920>>