/developers/build/prebuilts/gradle/PictureInPicture/app/src/androidTest/java/com/example/android/pictureinpicture/ |
MediaSessionPlaybackActivityTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 46 import static org.hamcrest.core.Is.is; 69 // The Activity is paused. We cannot use Espresso to test paused activities. 148 "MediaSession is not in the correct state", 150 is(equalTo(expectedState))); 162 description.appendText("MovieView is playing");
|
/developers/samples/android/media/PictureInPicture/app/src/androidTest/java/com/example/android/pictureinpicture/ |
MediaSessionPlaybackActivityTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 46 import static org.hamcrest.core.Is.is; 69 // The Activity is paused. We cannot use Espresso to test paused activities. 148 "MediaSession is not in the correct state", 150 is(equalTo(expectedState))); 162 description.appendText("MovieView is playing");
|
/external/autotest/frontend/afe/ |
control_file.py | 73 @param is_server bool, Is this a server side test? 96 # 'return locals()' is always appended in case the user forgot, it 97 # is necessary to allow for nested step engine execution to work. 153 if profile_only is not None: 183 @param is_server bool, Is this a server control file rather than a client?
|
/frameworks/support/transition/tests/src/android/support/transition/ |
VisibilityTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 19 import static org.hamcrest.core.Is.is; 55 assertThat(visibility.getMode(), is(Visibility.MODE_IN | Visibility.MODE_OUT)); 57 assertThat(visibility.getMode(), is(Visibility.MODE_IN)); method 64 assertThat(visibility.getName(), is(equalTo(CustomVisibility.class.getName()))); 72 assertThat((float) startValues.values.get(CustomVisibility.PROPNAME_SCALE_X), is(0.5f)); 84 assertThat(animator.getPropertyName(), is(equalTo("scaleX"))); 90 assertThat((float) animator.getAnimatedValue(), is(0.25f)) [all...] |
/external/v8/src/compiler/mips64/ |
instruction-selector-mips64.cc | 2 // Use of this source code is governed by a BSD-style license that can be 196 if (m.left().IsLoad() && m.right().Is(32) && 293 // to achieve that is to declare the output register as same-as-first. 502 // Select Ext for And(Shr(x, imm), mask) where the mask is in the least 552 // Select Dext for And(Shr(x, imm), mask) where the mask is in the least 608 m.right().Is(-1)) { 618 if (m.right().Is(-1)) { 632 m.right().Is(-1)) { 642 if (m.right().Is(-1)) { 659 // Match Word32Shl(Word32And(x, mask), imm) to Shl where the mask is [all...] |
/external/v8/src/crankshaft/arm64/ |
lithium-codegen-arm64.cc | 2 // Use of this source code is governed by a BSD-style license that can be 97 // converting the comparison to Cbz/Cbnz if the right-hand side is 0. 127 // If the condition is 'eq' or 'ne' this will use MacroAssembler's 156 // The inverse of "all clear" is "any set" and vice versa. 177 // Test the input and branch if it is non-zero and not a NaN. 186 // Compare with 0.0. Because scratch_ is positive, the result can be one of 204 // Test the input and branch if it is a heap number. 223 // Test the input and branch if it is the specified root value. 387 DCHECK(ToRegister(instr->context()).is(cp)); 388 DCHECK(ToRegister(instr->constructor()).is(x1)) [all...] |
/art/compiler/optimizing/ |
intrinsics_arm_vixl.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 78 // sub-optimal (compared to a direct pointer call), but this is a slow-path. 120 // The instruction where this slow path is happening. 132 // This routine is only used by the SystemArrayCopy intrinsic at the 155 // This routine is only used by the SystemArrayCopy intrinsic at the 211 // entrypoint. Also, there is no need to update the stack mask, 218 // IP is used internally by the ReadBarrierMarkRegX entry point 221 DCHECK(!src_curr_addr.Is(ip)); 222 DCHECK(!dst_curr_addr.Is(ip)) [all...] |
/art/compiler/linker/arm/ |
relative_patcher_thumb2.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 33 // PC displacement from patch location; Thumb2 PC is always at instruction address + 4. 61 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch. 199 // Note: The fake dependency is unnecessary for the slow path. 210 // The register where the read barrier introspection entrypoint is loaded 211 // is fixed: `Thumb2RelativePatcher::kBakerCcEntrypointRegister` (R4). 226 // Check if the holder is gray and, if not, add fake dependency to the base register 241 if (holder_reg.Is(base_reg)) { 271 if (holder_reg.Is(base_reg)) [all...] |
/build/soong/bpfix/bpfix/ |
bpfix.go | 10 // distributed under the License is distributed on an "AS IS" BASIS, 44 // until there is no fix that affects the tree 69 return nil, fmt.Errorf("Applied fixes %s times and yet the tree continued to change. Is there an infinite loop?", i)
|
/external/ltp/testcases/realtime/ |
00_Descriptions.txt | 5 /* This program is free software; you can redistribute it and/or modify */ 10 /* This program is distributed in the hope that it will be useful, */ 38 Below is the decription of what each testcase tests. 45 is scheduled. 49 thread is created that goes to sleep waiting to be woken up to do some 50 work. A user thread is created that simulates the firing of an event by 54 - Is similar to the above two i.e. it measures latencies involved in 62 - Designed to run forever. It must manually be killed so it is 63 not suited to be part of functional validation suite of tests. It is 85 SCHED_FIFO priority. It is bound to a single processor and its address spac [all...] |
/external/mesa3d/docs/specs/OLD/ |
MESA_packed_depth_stencil.spec | 41 1. Is this the right way to distinguish between 24/8 and 8/24 49 2. If not, is it correct to use _REV to indicate that stencil 78 One entry is added to table 3.5 (DrawPixels and ReadPixels formats). 79 The new table is: 171 The assignment of elements to fields in the packed pixel is as 187 The new format is added to the discussion of Obtaining Pixels from the 188 Framebuffer. It should read " If the <format> is one of RED, GREEN, 190 the GL is in color index mode, then the color index is obtained." 192 The new format is added to the discussion of Index Lookup. It shoul [all...] |
MESA_program_debug.spec | 28 OpenGL 1.4 is required 29 The extension is written against the OpenGL 1.4 specification. 31 or NV_fragment_program is required. 38 The concept is that vertex and fragment program debuggers will be 48 The main feature is the ProgramCallbackMESA function. It allows the 71 1. Is this the right model for a debugger? 91 The rule is that the callback function can only issue glGet*() 97 4. Is this extension amenable to hardware implementation? 185 When the callback function is called, <target> will either be 187 program is currently executing and <data> will be the valu [all...] |
/external/protobuf/examples/ |
add_person.go | 22 // An int32 field in the .proto file is represented as an int32 field 55 // The PhoneNumber message type is nested within the Person 64 fmt.Print("Is this a mobile, home, or work phone? ")
|
/external/protobuf/python/google/protobuf/internal/ |
well_known_types.py | 19 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 80 if not self.Is(descriptor): 87 # Only last part is to be used: b/25630112 90 def Is(self, descriptor): 102 A string converted from timestamp. The string is always Z-normalized 354 # Force nanos to be negative if the duration is negative. 364 # For some languanges, the sign of the remainder is implementation 365 # dependent if any of the operands is negative. Here we enforce 391 """Checks whether the FieldMask is valid for Message Descriptor."" [all...] |
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
SPIRVType.h | 5 // This file is distributed under the University of Illinois Open Source 10 // Permission is hereby granted, free of charge, to any person obtaining a 15 // Software is furnished to do so, subject to the following conditions: 25 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 39 /// SPIR-V type with op code name OpTypeInt is named as SPIRVTypeInt. This is 160 bool IsSigned; // Whether it is signed 735 bool Is = Ty->getOpCode() == T2::OC; 736 if (!Is) [all...] |
/external/v8/src/compiler/ |
access-info.cc | 2 // Use of this source code is governed by a BSD-style license that can be 157 this->field_type_->Is(that->field_type_) && 158 that->field_type_->Is(this->field_type_) && 206 // Check if it is safe to inline element access for the {map}. 268 // Check if it is safe to inline property access for the {map}. 322 // representation is TaggedPointer to reflect the heap object case). 327 // Store is not safe if the field type was cleared. 487 // The String::length property is always a smi in the range 493 // The JSArray::length property is a smi in the range 550 // representation is TaggedPointer to reflect the heap object case) [all...] |
/external/vixl/test/aarch64/ |
test-utils-aarch64.cc | 16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS CONTRIBUTORS "AS IS" AND 43 // This value is a signalling NaN as both a double and as a float (taking the 341 VIXL_ASSERT(!xn.Is(sp)); 344 // This is the first register we've hit, so construct the literal. 364 // This is the first register we've hit, so construct the literal. 391 VIXL_ASSERT(__ StackPointer().Is(sp));
|
/external/walt/docs/ |
AudioLatency.md | 3 Audio output latency as measured by WALT is the time that passes from the moment an application 4 decides to output a tone until it can be detected via the headphone jack. Microphone latency is 20 In order to avoid warm up latency during audio playback it is 26 and the latency reported by WALT app is the time from the 28 until there is a detectable signal on the wire. Note that this does not include the time between the moment the app decided to output a tone until the Enqueue() call. This is somewhat counterintuitive but this time is deliberately omitted. In case of the WALT app code this time is likely be uniformly distributed between 0 and the length of the buffer (5 ms in case of Nexus 5) and therefore would contribute considerable variance but little interesting information if included in the reported latency. 31 The reported latency is the time from the moment the last frame in a buffer was recorded until the 33 receiving that buffer is executed [all...] |
/prebuilts/go/darwin-x86/src/compress/zlib/ |
writer_test.go | 2 // Use of this source code is governed by a BSD-style 223 t.Errorf("result too large (got %d, want <= %d bytes). Is the dictionary being used?", len(output), expectedMaxSize)
|
/prebuilts/go/darwin-x86/src/go/types/ |
conversions.go | 2 // Use of this source code is governed by a BSD-style 12 // The result is in x. 28 // If codepoint < 0 the absolute value is too large (or unknown) for 29 // conversion. This is the same as converting any other out-of-range 67 // "x is assignable to T" 100 // "x is an integer or a slice of bytes or runes and T is a string type" 105 // "x is a string and T is a slice of bytes or runes" 129 // TODO(gri): Is this (typ.Underlying() instead of just typ) correct [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
os2_nacl.go | 2 // Use of this source code is governed by a BSD-style 24 // _ENOMEM is defined in mem_bsd.go for nacl. 33 _EISDIR = 21 /* Is a directory */ 75 _ENONET = 64 /* Machine is not on the network */ 77 _EREMOTE = 66 /* The object is remote */ 109 _ENETDOWN = 100 /* Network interface is not configured */ 110 _ENETUNREACH = 101 /* Network is unreachable */ 115 _EISCONN = 106 /* Socket is already connected */ 116 _ENOTCONN = 107 /* Socket is not connected */ 121 _EHOSTDOWN = 112 /* Host is down * [all...] |
/prebuilts/go/darwin-x86/src/runtime/race/testdata/ |
waitgroup_test.go | 2 // Use of this source code is governed by a BSD-style 81 // Incorrect usage: Add is too late. 217 // TODO: this is actually a panic-synchronization test, not a 219 // Is it possible to get a race by synchronization via panic?
|
/prebuilts/go/darwin-x86/src/sort/ |
search.go | 2 // Use of this source code is governed by a BSD-style 10 // in [0, n) at which f(i) is true, assuming that on the range [0, n), 11 // f(i) == true implies f(i+1) == true. That is, Search requires that 12 // f is false for some (possibly empty) prefix of the input range [0, n) 14 // the first true index. If there is no such index, Search returns n. 15 // (Note that the "not found" return value is not -1 as in, for instance, 19 // A common use of Search is to find the index i for a value x in 22 // to be searched for, and how the data structure is indexed and 28 // wants to find whether 23 is in the slice, it must test data[i] == 23 40 // // x is present at data[i [all...] |
/prebuilts/go/darwin-x86/src/strings/ |
example_test.go | 2 // Use of this source code is governed by a BSD-style 95 return unicode.Is(unicode.Han, c) 219 fmt.Println(r.Replace("This is <b>HTML</b>!")) 220 // Output: This is <b>HTML</b>!
|
/prebuilts/go/darwin-x86/src/unicode/ |
example_test.go | 2 // Use of this source code is governed by a BSD-style 12 // Functions starting with "Is" can be used to inspect which table of range a 66 // is control rune 67 // is not printable rune 69 // is digit rune 70 // is graphic rune 71 // is number rune 72 // is printable rune 74 // is graphic rune 75 // is letter run [all...] |