Home
last modified time | relevance | path

Searched full:when (Results 1 – 25 of 19110) sorted by relevance

12345678910>>...765

/external/perfetto/src/trace_processor/stdlib/android/
Dbattery_stats.sql29 WHEN ($track = "battery_stats.wifi_scan" OR
39 WHEN 0 THEN "inactive"
40 WHEN 1 THEN "active"
43 WHEN $track = "battery_stats.wifi"
46 WHEN 0 THEN "off"
47 WHEN 1 THEN "on"
50 WHEN $track = "battery_stats.phone_state"
53 WHEN 0 THEN "in"
54 WHEN 1 THEN "out"
55 WHEN 2 THEN "emergency"
[all …]
/external/libchrome-gestures/tools/logs/cr48/
Dreport-291598469-system_logs.mini.txt10 "when": 0.016999999999995907
30 "when": 0.0024599999999850297
36 "when": 0.00018774299999790856
42 "when": 0.01354120899998179
70 "when": 0.004586999999986574
76 "when": 2.9366000006803006e-05
82 "when": 0.01128439699999717
102 "when": 0.004541000000017448
108 "when": 0.0003085609999970984
114 "when": 0.011617204999993191
[all …]
Dreport-291598177-system_logs.mini.txt10 "when": 0.016999999999995907
16 "when": 0.01169491400000311
22 "when": 0.010522209000001226
42 "when": 0.00243399999999383
48 "when": 8.575699999369135e-05
54 "when": 0.01350838599999804
82 "when": 0.004620000000002733
88 "when": 0.0001664649999923995
94 "when": 0.011384166999988565
114 "when": 0.004580999999987512
[all …]
Dcursor_freeze.dat21 "when": 0.016999999999825377
49 "when": 0.004459999999653519
55 "when": 0.012481691999710165
75 "when": 0.004785999999967316
81 "when": 0.00046745999998165644
87 "when": 0.011519322999447468
107 "when": 0.004444999999577703
113 "when": 0.0001618269998289179
119 "when": 0.011534865999692556
125 "when": 0.0003221490001124039
[all …]
/external/strace/tests/
Dqual_fault-syntax.test44 chdir:42:when=7 \
46 chdir:invalid:when=8 \
48 chdir:error=:when=10 \
50 chdir:error=invalid_error_name:when=11 \
52 chdir:error=-1:when=12 \
54 chdir:error=-2:when=13 \
56 chdir:error=3+:when=14 \
58 chdir:error=4096:when=15 \
59 chdir:when=7:error=invalid_error_name \
60 chdir:when= \
[all …]
Dqual_inject-syntax.test45 chdir:42:when=7 \
47 chdir:invalid:when=8 \
49 chdir:error=:when=10 \
51 chdir:error=invalid_error_name:when=11 \
53 chdir:error=-1:when=12 \
55 chdir:error=-2:when=13 \
57 chdir:error=3+:when=14 \
59 chdir:error=4096:when=15 \
60 chdir:when=7:error=invalid_error_name \
61 chdir:when= \
[all …]
/external/strace/tests-mx32/
Dqual_fault-syntax.test44 chdir:42:when=7 \
46 chdir:invalid:when=8 \
48 chdir:error=:when=10 \
50 chdir:error=invalid_error_name:when=11 \
52 chdir:error=-1:when=12 \
54 chdir:error=-2:when=13 \
56 chdir:error=3+:when=14 \
58 chdir:error=4096:when=15 \
59 chdir:when=7:error=invalid_error_name \
60 chdir:when= \
[all …]
Dqual_inject-syntax.test45 chdir:42:when=7 \
47 chdir:invalid:when=8 \
49 chdir:error=:when=10 \
51 chdir:error=invalid_error_name:when=11 \
53 chdir:error=-1:when=12 \
55 chdir:error=-2:when=13 \
57 chdir:error=3+:when=14 \
59 chdir:error=4096:when=15 \
60 chdir:when=7:error=invalid_error_name \
61 chdir:when= \
[all …]
/external/strace/tests-m32/
Dqual_fault-syntax.test44 chdir:42:when=7 \
46 chdir:invalid:when=8 \
48 chdir:error=:when=10 \
50 chdir:error=invalid_error_name:when=11 \
52 chdir:error=-1:when=12 \
54 chdir:error=-2:when=13 \
56 chdir:error=3+:when=14 \
58 chdir:error=4096:when=15 \
59 chdir:when=7:error=invalid_error_name \
60 chdir:when= \
[all …]
Dqual_inject-syntax.test45 chdir:42:when=7 \
47 chdir:invalid:when=8 \
49 chdir:error=:when=10 \
51 chdir:error=invalid_error_name:when=11 \
53 chdir:error=-1:when=12 \
55 chdir:error=-2:when=13 \
57 chdir:error=3+:when=14 \
59 chdir:error=4096:when=15 \
60 chdir:when=7:error=invalid_error_name \
61 chdir:when= \
[all …]
/external/mockito/src/test/java/org/mockitousage/matchers/
DMatchersTest.java61 import static org.mockito.Mockito.when;
70 when(mock.oneArg(and(eq(false), eq(false)))).thenReturn("0"); in and_overloaded()
71 when(mock.oneArg(and(eq((byte) 1), eq((byte) 1)))).thenReturn("1"); in and_overloaded()
72 when(mock.oneArg(and(eq('a'), eq('a')))).thenReturn("2"); in and_overloaded()
73 when(mock.oneArg(and(eq(1D), eq(1D)))).thenReturn("3"); in and_overloaded()
74 when(mock.oneArg(and(eq(1F), eq(1F)))).thenReturn("4"); in and_overloaded()
75 when(mock.oneArg(and(eq(1), eq(1)))).thenReturn("5"); in and_overloaded()
76 when(mock.oneArg(and(eq(1L), eq(1L)))).thenReturn("6"); in and_overloaded()
77 when(mock.oneArg(and(eq((short) 1), eq((short) 1)))).thenReturn("7"); in and_overloaded()
78 when(mock.oneArg(and(contains("a"), contains("d")))).thenReturn("8"); in and_overloaded()
[all …]
/external/mesa3d/.gitlab-ci/
Dtest-source-dep.yml47 when: never
55 when: on_success
58 when: on_success
62 when: on_success
63 - when: never
71 when: on_success
74 when: on_success
78 when: on_success
79 - when: never
93 when: on_success
[all …]
/external/clang/test/SemaCXX/
Duninitialized.cpp24 int b = b + 1; // expected-warning {{variable 'b' is uninitialized when used within its own initial…
25 int c = (c + c); // expected-warning 2 {{variable 'c' is uninitialized when used within its own ini…
26 int e = static_cast<long>(e) + 1; // expected-warning {{variable 'e' is uninitialized when used wit…
27 int f = foo(f); // expected-warning {{variable 'f' is uninitialized when used within its own initia…
37 int l = k ? l : l; // expected-warning 2{{variable 'l' is uninitialized when used within its own i…
38 int m = 1 + (k ? m : m); // expected-warning 2{{variable 'm' is uninitialized when used within its…
39 int n = -n; // expected-warning {{variable 'n' is uninitialized when used within its own initializ…
40 int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its own …
41 const int p = std::move(p); // expected-warning {{variable 'p' is uninitialized when used within it…
42 int q = moved(std::move(q)); // expected-warning {{variable 'q' is uninitialized when used within i…
[all …]
/external/perfetto/src/trace_processor/metrics/sql/chrome/
Devent_latency_to_breakdowns.sql54 WHEN
100 …max(CASE WHEN name = "GenerationToRendererCompositor" THEN dur END) AS GenerationToRendererComposi…
101 max(CASE WHEN name = "GenerationToBrowserMain" THEN dur END) AS GenerationToBrowserMainNs,
102 …max(CASE WHEN name = "BrowserMainToRendererCompositor" THEN dur END) AS BrowserMainToRendererCompo…
103 …max(CASE WHEN name = "RendererCompositorQueueingDelay" THEN dur END) AS RendererCompositorQueueing…
104 …max(CASE WHEN name = "RendererCompositorProcessing" THEN dur END) AS RendererCompositorProcessingN…
105 max(CASE WHEN name = "RendererCompositorToMain" THEN dur END) AS RendererCompositorToMainNs,
106 max(CASE WHEN name = "RendererMainProcessing" THEN dur END) AS RendererMainProcessingNs,
108 …max(CASE WHEN name = "ArrivedInRendererCompositorToTermination" THEN dur END) AS ArrivedInRenderer…
109 …max(CASE WHEN name = "RendererCompositorStartedToTermination" THEN dur END) AS RendererCompositorS…
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/
DFromJsonTest.java144 .patternJs("match {$foo} when (1) {one} when * {other}")
145 .pattern("match {$foo :select} when (1) {one} when * {other}")
150 .pattern("match {$foo :plural} when 1 {one} when * {other}")
156 .pattern("match {$foo :select} when (1) {one} when * {other}")
161 .patternJs("match {$foo} when 1 {one} when * {other}")
162 .pattern("match {$foo :plural} when 1 {one} when * {other}")
167 .pattern("match {$foo :plural} when 1 {one} when * {other}")
172 .pattern("match {$foo} when 1 {one} when * {other}")
177 .patternJs("match {$foo} when 1 {one} when * {other}")
178 .pattern("match {$foo :plural} when 1 {one} when * {other}")
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/message2/
DFromJsonTest.java147 .patternJs("match {$foo} when (1) {one} when * {other}")
148 .pattern("match {$foo :select} when (1) {one} when * {other}")
153 .pattern("match {$foo :plural} when 1 {one} when * {other}")
159 .pattern("match {$foo :select} when (1) {one} when * {other}")
164 .patternJs("match {$foo} when 1 {one} when * {other}")
165 .pattern("match {$foo :plural} when 1 {one} when * {other}")
170 .pattern("match {$foo :plural} when 1 {one} when * {other}")
175 .pattern("match {$foo} when 1 {one} when * {other}")
180 .patternJs("match {$foo} when 1 {one} when * {other}")
181 .pattern("match {$foo :plural} when 1 {one} when * {other}")
[all …]
/external/perfetto/src/trace_processor/metrics/sql/android/
Dandroid_batt.sql115 WHEN 1 THEN 'Screen off'
116 WHEN 2 THEN 'Screen on'
117 WHEN 3 THEN 'Always-on display (doze)'
129 WHEN 0 THEN 'active'
130 WHEN 1 THEN 'inactive'
131 WHEN 4 THEN 'idle'
132 WHEN 5 THEN 'waiting_for_network'
133 WHEN 6 THEN 'idle_maintenance'
134 WHEN 7 THEN 'override'
144 WHEN 0 THEN 'active'
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DDrawableResourceLoaderNoRunnerTest.java5 import static org.mockito.Mockito.when;
59 when(mockTestFile.getName()).thenReturn("foo.png"); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
60 when(mockTestFile.getBaseName()).thenReturn("foo"); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
63 when(mockTestDir.toString()).thenReturn(JAR_PATH_ON_UNIX); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
64 when(mockTestDir.getName()).thenReturn(DRAWABLE_DIR); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
65 when(mockTestDir.listFiles()).thenReturn(new FsFile[]{mockTestFile}); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
66 when(mockTestDir.isDirectory()).thenReturn(true); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
68 when(mockTestBaseDir.listFiles()).thenReturn(new FsFile[]{mockTestDir}); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
82 when(mockTestFile.getName()).thenReturn("foo.png"); in shouldFindDrawableResourcesWorkWithUnixFilePath()
83 when(mockTestFile.getBaseName()).thenReturn("foo"); in shouldFindDrawableResourcesWorkWithUnixFilePath()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DSdkPickerTest.java6 import static org.mockito.Mockito.when;
31 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withDefaultSdkConfig_shouldUseTargetSdkFromAndroidManifest()
38 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest()
39 when(usesSdk.getMinSdkVersion()).thenReturn(19); in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest()
40 when(usesSdk.getMaxSdkVersion()).thenReturn(23); in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest()
47 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
48 when(usesSdk.getMinSdkVersion()).thenReturn(1); in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
49 when(usesSdk.getMaxSdkVersion()).thenReturn(22); in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
57 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfigAndNoMaxSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
58 when(usesSdk.getMinSdkVersion()).thenReturn(19); in withAllSdksConfigAndNoMaxSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
[all …]
/external/autotest/client/common_lib/
Derror.py81 when various conditions are such that the test is inappropriate."""
186 """This exception is raised when an autotest test exceeds the timeout
197 and server side versions of it when the distinction is useful.
222 This is equivalent to CmdError when raised from a Host object instead of
238 This is equivalent to CmdTimeoutError when raised from a Host object instead
266 """Error raised when you try to use an unsupported optional feature"""
360 'Raised when there is an error uploading the package'
364 'Raised when there is an error fetching the package'
368 'Raised when there is an error removing the package'
372 'Raised when there is an error installing the package'
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/plugins/
DDefaultSdkPickerTest.java6 import static org.mockito.Mockito.when;
41 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withDefaultSdk_shouldUseTargetSdkFromAndroidManifest()
48 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest()
49 when(usesSdk.getMinSdkVersion()).thenReturn(19); in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest()
50 when(usesSdk.getMaxSdkVersion()).thenReturn(23); in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest()
58 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
59 when(usesSdk.getMinSdkVersion()).thenReturn(1); in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
60 when(usesSdk.getMaxSdkVersion()).thenReturn(22); in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
69 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfigAndNoMaxSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
70 when(usesSdk.getMinSdkVersion()).thenReturn(19); in withAllSdksConfigAndNoMaxSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
[all …]
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingWithThrowablesTest.java18 import static org.mockito.Mockito.when;
56 when(mock.add("")).thenThrow(new ExceptionOne()); in throws_same_exception_consecutively()
77 doThrow(new ExceptionOne()).when(mock).clear(); in throws_same_exception_consecutively_with_doThrow()
99 when(mock.add("throw")).thenThrow(expected); in shouldStubWithThrowable()
109 doThrow(expected).when(mock).clear(); in shouldSetThrowableToVoidMethod()
119 doThrow(new ExceptionOne()).when(mock).clear(); in shouldLastStubbingVoidBeImportant()
120 doThrow(new ExceptionTwo()).when(mock).clear(); in shouldLastStubbingVoidBeImportant()
129 when(mock.size()).thenThrow(new ExceptionOne()); in shouldFailStubbingThrowableOnTheSameInvocationDueToAcceptableLimitation()
133 when(mock.size()).thenThrow(new ExceptionTwo()); in shouldFailStubbingThrowableOnTheSameInvocationDueToAcceptableLimitation()
141 when(reader.read()).thenThrow(ioException); in shouldAllowSettingCheckedException()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/utils/libcxx/test/
Dfeatures.py40 when=lambda cfg: hasCompileFlag(cfg, '-Werror=thread-safety'),
44 when=lambda cfg: hasCompileFlag(cfg, '-Wuser-defined-warnings'),
54 when=lambda cfg: hasCompileFlag(cfg, '-fconstexpr-steps=1')),
57 when=lambda cfg: hasCompileFlag(cfg, '-fconstexpr-ops-limit=1')),
59 Feature(name='has-fblocks', when=lambda cfg: hasCompileFlag(cfg, '-fblocks')),
60 …Feature(name='-fsized-deallocation', when=lambda cfg: hasCompileFlag(cfg, '-fsized-deallo…
61 …Feature(name='-faligned-allocation', when=lambda cfg: hasCompileFlag(cfg, '-faligned-allo…
62 …Feature(name='fdelayed-template-parsing', when=lambda cfg: hasCompileFlag(cfg, '-fdelayed-temp…
63 …Feature(name='libcpp-no-coroutines', when=lambda cfg: featureTestMacros(cfg).get('__cpp_i…
64 …Feature(name='has-fobjc-arc', when=lambda cfg: hasCompileFlag(cfg, '-xobjective-c+…
[all …]
/external/mockito/src/test/java/org/mockitousage/basicapi/
DMocksSerializationForAnnotationTest.java46 when(barMock.doSomething()).thenAnswer(new ThrowsException(new RuntimeException())); in should_allow_throws_exception_to_be_serializable()
48 //when-serialize then-deserialize in should_allow_throws_exception_to_be_serializable()
54 // when-serialize then-deserialize in should_allow_mock_to_be_serializable()
61 when(imethodsMock.booleanReturningMethod()).thenReturn(true); in should_allow_mock_and_boolean_value_to_serializable()
63 // when in should_allow_mock_and_boolean_value_to_serializable()
75 when(imethodsMock.stringReturningMethod()).thenReturn(value); in should_allow_mock_and_string_value_to_be_serializable()
77 // when in should_allow_mock_and_string_value_to_be_serializable()
89 when(imethodsMock.objectReturningMethodNoArgs()).thenReturn(value); in should_all_mock_and_serializable_value_to_be_serialized()
91 // when in should_all_mock_and_serializable_value_to_be_serialized()
102 when(imethodsMock.objectArgMethod(value)).thenReturn(value); in should_serialize_method_call_with_parameters_that_are_serializable()
[all …]
/external/javaparser/javaparser-core-testing-bdd/src/test/resources/com/github/javaparser/
Dpretty_printing_scenarios.story1 Scenario: When printing the instantiation we should use the right amount of spaces
7 When the class is parsed by the Java parser
15 Scenario: When printing the lambda expression we should use the right indentation
22 When the class is parsed by the Java parser
46 When the class is parsed by the Java parser
69 When the class is parsed by the Java parser
89 When the class is parsed by the Java parser
112 When the class is parsed by the Java parser
129 When the class is parsed by the Java parser
139 When the class is parsed by the Java parser
[all …]

12345678910>>...765