Home
last modified time | relevance | path

Searched refs:Environment (Results 1 – 25 of 394) sorted by relevance

12345678910>>...16

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowEnvironmentTest.java12 import android.os.Environment;
27 ShadowEnvironment.setExternalStorageState(Environment.MEDIA_REMOVED); in tearDown()
32 assertThat(Environment.getExternalStorageState()).isEqualTo(Environment.MEDIA_REMOVED); in getExternalStorageState_shouldReturnStorageState()
33 ShadowEnvironment.setExternalStorageState(Environment.MEDIA_MOUNTED); in getExternalStorageState_shouldReturnStorageState()
34 assertThat(Environment.getExternalStorageState()).isEqualTo(Environment.MEDIA_MOUNTED); in getExternalStorageState_shouldReturnStorageState()
39 assertThat(Environment.getExternalStorageDirectory().exists()).isTrue(); in getExternalStorageDirectory_shouldReturnDirectory()
44 final File path = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MOVIES); in getExternalStoragePublicDirectory_shouldReturnDirectory()
46 …assertThat(path).isEqualTo(new File(ShadowEnvironment.EXTERNAL_FILES_DIR.toFile(), Environment.DIR… in getExternalStoragePublicDirectory_shouldReturnDirectory()
51 File path1 = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MOVIES); in getExternalStoragePublicDirectory_shouldReturnSameDirectory()
52 File path2 = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MOVIES); in getExternalStoragePublicDirectory_shouldReturnSameDirectory()
[all …]
/external/v8/tools/gcmole/
Dgcmole.cc275 class Environment;
289 static ExprEffect NoneWithEnv(Environment* env) { in NoneWithEnv()
298 Environment* env() { in env()
299 return reinterpret_cast<Environment*>(effect_ & ~kAllEffects); in env()
307 ExprEffect(int effect, Environment* env) in ExprEffect()
319 class Environment { class
321 Environment() = default;
323 static Environment Unreachable() { in Unreachable()
324 Environment env; in Unreachable()
329 static Environment Merge(const Environment& l, in Merge()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DEnvironment.h56 class Environment {
66 Environment(BindingsTy eb) in Environment() function
82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { in Profile()
92 bool operator==(const Environment& RHS) const {
105 typedef Environment::BindingsTy::Factory FactoryTy;
111 Environment getInitialEnvironment() { in getInitialEnvironment()
112 return Environment(F.getEmptyMap()); in getInitialEnvironment()
116 Environment bindExpr(Environment Env, const EnvironmentEntry &E, SVal V,
119 Environment removeDeadBindings(Environment Env,
/external/clang/lib/StaticAnalyzer/Core/
DEnvironment.cpp60 SVal Environment::lookupExpr(const EnvironmentEntry &E) const { in lookupExpr()
69 SVal Environment::getSVal(const EnvironmentEntry &Entry, in getSVal()
110 Environment EnvironmentManager::bindExpr(Environment Env, in bindExpr()
116 return Environment(F.remove(Env.ExprBindings, E)); in bindExpr()
120 return Environment(F.add(Env.ExprBindings, E, V)); in bindExpr()
146 Environment
147 EnvironmentManager::removeDeadBindings(Environment Env, in removeDeadBindings()
154 Environment NewEnv = getInitialEnvironment(); in removeDeadBindings()
164 for (Environment::iterator I = Env.begin(), E = Env.end(); in removeDeadBindings()
188 void Environment::print(raw_ostream &Out, const char *NL, in print()
[all …]
/external/libchrome/base/
Denvironment_unittest.cc30 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F()
37 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F()
65 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F()
70 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F()
85 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F()
Dbase_paths_posix.cc85 std::unique_ptr<Environment> env(Environment::Create()); in PathProviderPosix()
112 std::unique_ptr<Environment> env(Environment::Create()); in PathProviderPosix()
Denvironment.cc27 class EnvironmentImpl : public Environment {
133 Environment::~Environment() = default;
136 std::unique_ptr<Environment> Environment::Create() { in Create()
140 bool Environment::HasVar(StringPiece variable_name) { in HasVar()
/external/clang/lib/Format/
DTokenAnalyzer.h39 class Environment {
41 Environment(SourceManager &SM, FileID ID, ArrayRef<CharSourceRange> Ranges) in Environment() function
44 Environment(FileID ID, std::unique_ptr<FileManager> FileMgr, in Environment() function
54 static std::unique_ptr<Environment>
82 TokenAnalyzer(const Environment &Env, const FormatStyle &Style);
98 const Environment &Env;
/external/minijail/
Dtestrunner.cc17 class Environment : public ::testing::Environment { class
19 ~Environment() override = default;
30 ::testing::AddGlobalTestEnvironment(new Environment()); in main()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiObjectManagementTests.cpp233 struct Environment struct
245 Environment (Context& context, deUint32 maxResourceConsumers_) in Environment() function
258 Environment (const PlatformInterface& vkp_, in Environment() argument
286 Dependency (const Environment& env, const typename Case::Parameters& params) in Dependency()
351 const Environment env (context.getPlatformInterface(), in computeSystemMemoryUsage()
456 Resources (const Environment&, const Parameters&) {} in Resources()
464 static Move<VkInstance> create (const Environment& env, const Resources&, const Parameters& params) in create()
526 Resources (const Environment& env, const Parameters& params) in Resources()
565 static Move<VkDevice> create (const Environment& env, const Resources& res, const Parameters&) in create()
625 Resources (const Environment& env, const Parameters& params) in Resources()
[all …]
/external/v8/src/compiler/
Dbytecode-graph-builder.cc29 class BytecodeGraphBuilder::Environment : public ZoneObject { class in v8::internal::compiler::BytecodeGraphBuilder
31 Environment(BytecodeGraphBuilder* builder, int register_count,
79 Environment* Copy();
80 void Merge(Environment* other, const BytecodeLivenessState* liveness);
90 explicit Environment(const Environment* copy);
131 BytecodeGraphBuilder::Environment* parent_;
137 BytecodeGraphBuilder::Environment::Environment( in Environment() function in v8::internal::compiler::BytecodeGraphBuilder::Environment
191 BytecodeGraphBuilder::Environment::Environment( in Environment() function in v8::internal::compiler::BytecodeGraphBuilder::Environment
192 const BytecodeGraphBuilder::Environment* other) in Environment()
208 int BytecodeGraphBuilder::Environment::RegisterToValuesIndex( in RegisterToValuesIndex()
[all …]
/external/pdfium/testing/
Dunit_test_main.cpp22 class Environment : public testing::Environment { class
44 Environment* env_ = nullptr;
59 env_ = new Environment(); in main()
Dembedder_test_main.cpp31 class Environment : public testing::Environment { class
64 Environment* env_ = nullptr;
75 env_ = new Environment(); in main()
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
DSimpleThreadPool.h20 template <typename Environment>
24 explicit SimpleThreadPoolTempl(int num_threads, Environment env = Environment())
121 typedef typename Environment::Task Task;
122 typedef typename Environment::EnvThread Thread;
136 Environment env_;
/external/libchrome/mojo/public/tools/fuzzers/
Dmojo_parse_message_proto_fuzzer.cc48 struct Environment { struct
49 Environment() : message_loop(base::MessageLoop::TYPE_UI) { in Environment() function
63 static Environment* env = new Environment(); in DEFINE_PROTO_FUZZER()
Dmojo_parse_message_fuzzer.cc37 struct Environment { struct
38 Environment() : message_loop(base::MessageLoop::TYPE_UI) { in Environment() function
53 static Environment* env = new Environment(); in LLVMFuzzerTestOneInput() argument
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowEnvironment.java8 import android.os.Environment;
23 @Implements(Environment.class)
25 private static String externalStorageState = Environment.MEDIA_REMOVED;
187 Environment.UserEnvironment userEnvironment = in addExternalDir()
188 ReflectionHelpers.getStaticField(Environment.class, "sCurrentUser"); in addExternalDir()
193 Environment.UserEnvironment userEnvironment = in addExternalDir()
194 ReflectionHelpers.getStaticField(Environment.class, "sCurrentUser"); in addExternalDir()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/Misc/
DStats.cs38 using Environment = System.Environment; typedef
125 string personalFolder = Environment.GetFolderPath( Environment.SpecialFolder.Personal ); in GetAbsoluteFileName()
/external/apache-commons-bcel/src/examples/Mini/
DEnvironment.java34 public class Environment implements Cloneable { class
42 public Environment(int size) { in Environment() method in Environment
47 private Environment(Vector<EnvEntry>[] table) { in Environment() method in Environment
52 public Environment() { in Environment() method in Environment
175 return new Environment(copy); in clone()
/external/vulkan-validation-layers/tests/
Dtest_environment.h33 class Environment : public ::testing::Environment {
35 Environment();
Dtest_environment.cpp40 Environment::Environment() : default_dev_(0) { in Environment() function in vk_testing::Environment
50 bool Environment::parse_args(int argc, char **argv) { in parse_args()
77 void Environment::SetUp() { in SetUp()
150 void Environment::TearDown() { in TearDown()
/external/libchrome/base/test/
Dscoped_environment_variable_override.h13 class Environment; variable
25 base::Environment* GetEnv() { return environment_.get(); } in GetEnv()
30 std::unique_ptr<Environment> environment_;
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DFileUtils.java21 import android.os.Environment;
44 String state = Environment.getExternalStorageState(); in externalStorageMounted()
45 return Environment.MEDIA_MOUNTED.equals(state) in externalStorageMounted()
46 || Environment.MEDIA_MOUNTED_READ_ONLY.equals(state); in externalStorageMounted()
136 return new File(Environment.getExternalStorageDirectory(), "Download"); in getExternalDownload()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DJSystem.cs74 return Environment.NewLine; in getProperty()
80 return Environment.GetFolderPath( Environment.SpecialFolder.Personal ); in getProperty()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DJSystem.cs73 return Environment.NewLine; in getProperty()
79 return Environment.GetFolderPath( Environment.SpecialFolder.Personal ); in getProperty()

12345678910>>...16