/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/ |
ExternalStorageHelper.java | 19 import android.os.Environment; 29 String state = Environment.getExternalStorageState(); 30 return Environment.MEDIA_MOUNTED.equals(state); 35 String state = Environment.getExternalStorageState(); 36 return (Environment.MEDIA_MOUNTED.equals(state) || 37 Environment.MEDIA_MOUNTED_READ_ONLY.equals(state));
|
/external/minijail/ |
testrunner.cc | 17 class Environment : public ::testing::Environment { 19 ~Environment() override = default; 30 ::testing::AddGlobalTestEnvironment(new Environment());
|
/frameworks/base/core/tests/coretests/src/android/os/ |
EnvironmentTest.java | 19 import static android.os.Environment.HAS_ANDROID; 20 import static android.os.Environment.HAS_DCIM; 21 import static android.os.Environment.HAS_DOWNLOADS; 22 import static android.os.Environment.HAS_OTHER; 23 import static android.os.Environment.classifyExternalStorageDirectory; 64 Environment.buildPath(dir, "DCIM").mkdirs(); 65 Environment.buildPath(dir, "DCIM", "January").mkdirs(); 66 Environment.buildPath(dir, "Downloads").mkdirs(); 67 Environment.buildPath(dir, "LOST.DIR").mkdirs(); 73 Environment.buildPath(dir, "autorun.inf").createNewFile() [all...] |
/developers/build/prebuilts/gradle/AutoBackupForApps/Application/src/main/java/com/example/android/autobackupsample/ |
Utils.java | 19 import android.os.Environment; 30 String state = Environment.getExternalStorageState(); 31 if (!Environment.MEDIA_MOUNTED.equals(state)) {
|
/developers/samples/android/content/AutoBackupForApps/Application/src/main/java/com/example/android/autobackupsample/ |
Utils.java | 19 import android.os.Environment; 30 String state = Environment.getExternalStorageState(); 31 if (!Environment.MEDIA_MOUNTED.equals(state)) {
|
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/ |
Utils.java | 19 import android.os.Environment; 30 String state = Environment.getExternalStorageState(); 31 if (!Environment.MEDIA_MOUNTED.equals(state)) {
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowEnvironmentTest.java | 12 import android.os.Environment; 27 ShadowEnvironment.setExternalStorageState(Environment.MEDIA_REMOVED); 32 assertThat(Environment.getExternalStorageState()).isEqualTo(Environment.MEDIA_REMOVED); 33 ShadowEnvironment.setExternalStorageState(Environment.MEDIA_MOUNTED); 34 assertThat(Environment.getExternalStorageState()).isEqualTo(Environment.MEDIA_MOUNTED); 39 assertThat(Environment.getExternalStorageDirectory().exists()).isTrue(); 44 final File path = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MOVIES) [all...] |
/external/vulkan-validation-layers/tests/ |
test_environment.h | 33 class Environment : public ::testing::Environment { 35 Environment();
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/ |
test_environment.h | 33 class Environment : public ::testing::Environment { 35 Environment();
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
WorkDir.java | 20 import android.os.Environment; 32 Assert.assertEquals(Environment.getExternalStorageState(), Environment.MEDIA_MOUNTED); 33 return Environment.getExternalStorageDirectory();
|
/external/swiftshader/tests/unittests/ |
SwiftShaderTest.h | 20 class SwiftShaderTestEnvironment : public testing::Environment {
|
/frameworks/support/compat/src/main/java/androidx/core/os/ |
EnvironmentCompat.java | 20 import android.os.Environment; 27 * Helper for accessing features in {@link Environment}. 44 * @return one of {@link #MEDIA_UNKNOWN}, {@link Environment#MEDIA_REMOVED}, 45 * {@link Environment#MEDIA_UNMOUNTED}, 46 * {@link Environment#MEDIA_CHECKING}, 47 * {@link Environment#MEDIA_NOFS}, 48 * {@link Environment#MEDIA_MOUNTED}, 49 * {@link Environment#MEDIA_MOUNTED_READ_ONLY}, 50 * {@link Environment#MEDIA_SHARED}, 51 * {@link Environment#MEDIA_BAD_REMOVAL}, o [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Environment.h | 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==// 10 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 66 Environment(BindingsTy eb) 77 /// Environment. 80 /// Profile - Profile the contents of an Environment object for use 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 92 bool operator==(const Environment& RHS) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Environment.h | 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==// 10 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 66 Environment(BindingsTy eb) 77 /// Environment. 80 /// Profile - Profile the contents of an Environment object for use 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 92 bool operator==(const Environment& RHS) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Environment.h | 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==// 10 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 66 Environment(BindingsTy eb) 77 /// Environment. 80 /// Profile - Profile the contents of an Environment object for use 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 92 bool operator==(const Environment& RHS) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Environment.h | 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==// 10 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 66 Environment(BindingsTy eb) 77 /// Environment. 80 /// Profile - Profile the contents of an Environment object for use 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 92 bool operator==(const Environment& RHS) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Environment.h | 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==// 10 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 66 Environment(BindingsTy eb) 77 /// Environment. 80 /// Profile - Profile the contents of an Environment object for use 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 92 bool operator==(const Environment& RHS) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Environment.h | 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==// 10 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 66 Environment(BindingsTy eb) 77 /// Environment. 80 /// Profile - Profile the contents of an Environment object for use 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 92 bool operator==(const Environment& RHS) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Environment.h | 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==// 10 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 66 Environment(BindingsTy eb) 77 /// Environment. 80 /// Profile - Profile the contents of an Environment object for use 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 92 bool operator==(const Environment& RHS) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Environment.h | 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==// 10 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 66 Environment(BindingsTy eb) 77 /// Environment. 80 /// Profile - Profile the contents of an Environment object for use 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 92 bool operator==(const Environment& RHS) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Environment.h | 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==// 10 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 66 Environment(BindingsTy eb) 77 /// Environment. 80 /// Profile - Profile the contents of an Environment object for use 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 92 bool operator==(const Environment& RHS) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Environment.h | 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==// 10 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 66 Environment(BindingsTy eb) 77 /// Environment. 80 /// Profile - Profile the contents of an Environment object for use 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 92 bool operator==(const Environment& RHS) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Environment.h | 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==// 10 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 66 Environment(BindingsTy eb) 77 /// Environment. 80 /// Profile - Profile the contents of an Environment object for use 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 92 bool operator==(const Environment& RHS) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Environment.h | 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==// 10 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 66 Environment(BindingsTy eb) 77 /// Environment. 80 /// Profile - Profile the contents of an Environment object for use 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 92 bool operator==(const Environment& RHS) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Environment.h | 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==// 10 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 66 Environment(BindingsTy eb) 77 /// Environment. 80 /// Profile - Profile the contents of an Environment object for use 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { 92 bool operator==(const Environment& RHS) const [all...] |