/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
WriteExternalStorageTest.java | 36 import android.os.Environment; 56 Environment.getExternalStorageDirectory(), "meow"); 65 new File(Environment.getExternalStorageDirectory(), "caek"), 81 assertEquals(Environment.MEDIA_MOUNTED, Environment.getExternalStorageState()); 86 Environment.getExternalStorageDirectory().list(); 99 Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM), 132 assertDirReadWriteAccess(Environment.getExternalStorageDirectory()); 145 assertEquals("Valid media must be inserted during CTS", Environment.MEDIA_MOUNTED [all...] |
/external/google-breakpad/src/testing/gtest/test/ |
gtest-param-test_test.cc | 564 // The use of environment object allows detection of the case where no test 568 class TestGenerationEnvironment : public ::testing::Environment { 631 typedef TestGenerationEnvironment<PARAMETER_COUNT> Environment; 634 Environment::Instance()->FixtureConstructorExecuted(); 638 Environment::Instance()->SetUpExecuted(); 642 Environment::Instance()->TearDownExecuted(); 689 Environment::Instance()->TestBodyExecuted(); 881 AddGlobalTestEnvironment(TestGenerationTest::Environment::Instance()); [all...] |
/external/gtest/test/ |
gtest-param-test_test.cc | 564 // The use of environment object allows detection of the case where no test 568 class TestGenerationEnvironment : public ::testing::Environment { 631 typedef TestGenerationEnvironment<PARAMETER_COUNT> Environment; 634 Environment::Instance()->FixtureConstructorExecuted(); 638 Environment::Instance()->SetUpExecuted(); 642 Environment::Instance()->TearDownExecuted(); 689 Environment::Instance()->TestBodyExecuted(); [all...] |
/external/llvm/lib/Support/ |
Triple.cpp | 605 Vendor(UnknownVendor), OS(UnknownOS), Environment(UnknownEnvironment), 618 Environment = parseEnvironment(Components[3]); 632 /// them into enum members. It leaves the environment unknown and omits it from 640 Environment(), ObjectFormat(Triple::UnknownObjectFormat) { 645 /// vendor, OS, and environment. 657 Environment(parseEnvironment(EnvironmentStr.str())), 688 EnvironmentType Environment = UnknownEnvironment; 690 Environment = parseEnvironment(Components[3]); 701 Found[3] = Environment != UnknownEnvironment; 735 Environment = parseEnvironment(Comp) [all...] |
/external/opencv3/3rdparty/jinja2/ |
ext.py | 19 from jinja2.environment import Environment 43 system at the parser level. Custom extensions are bound to an environment 44 but may not store environment specific data on `self`. The reason for 45 this is that an extension can be bound to another environment (for 46 overlays) by creating a copy and reassigning the `environment` attribute. 48 As extensions are created by the environment they cannot accept any 52 storing the configuration values on the environment. Because this way the 53 environment ends up acting as central configuration storage the 70 def __init__(self, environment) [all...] |
environment.py | 3 jinja2.environment 45 """Return a new spontaneous environment. A spontaneous environment is an 46 unnamed and unaccessible (in theory) environment that is used for 52 return Environment(*args) 55 _spontaneous_environments[args] = env = Environment(*args) 78 def load_extensions(environment, extensions): 79 """Load the extensions from the list and bind it to the environment. 86 result[extension.identifier] = extension(environment) 90 def _environment_sanity_check(environment) [all...] |
/external/v8/src/compiler/ |
bytecode-graph-builder.h | 31 class Environment; 62 void set_environment(Environment* env) { environment_ = env; } 63 const Environment* environment() const { return environment_; } function in class:v8::internal::compiler::BytecodeGraphBuilder 64 Environment* environment() { return environment_; } function in class:v8::internal::compiler::BytecodeGraphBuilder 226 Environment* environment_; 229 // Merge environments are snapshots of the environment at a particular 230 // bytecode offset to be merged into a later environment. 231 ZoneMap<int, Environment*> merge_environments_ [all...] |
ast-graph-builder.h | 73 class Environment; 81 Environment* environment_; 132 Environment* environment() const { return environment_; } function in class:v8::internal::compiler::AstGraphBuilder 152 void set_environment(Environment* env) { environment_ = env; } 256 // other dependencies tracked by the environment might be mutated though. 446 // The abstract execution environment for generated code consists of 448 // environment will perform proper SSA-renaming of all tracked nodes 454 class AstGraphBuilder::Environment : public ZoneObject { 456 Environment(AstGraphBuilder* builder, Scope* scope, Node* control_dependency) [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest-param-test_test.cc | 564 // The use of environment object allows detection of the case where no test 568 class TestGenerationEnvironment : public ::testing::Environment { 631 typedef TestGenerationEnvironment<PARAMETER_COUNT> Environment; 634 Environment::Instance()->FixtureConstructorExecuted(); 638 Environment::Instance()->SetUpExecuted(); 642 Environment::Instance()->TearDownExecuted(); 689 Environment::Instance()->TestBodyExecuted(); [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest-param-test_test.cc | 564 // The use of environment object allows detection of the case where no test 568 class TestGenerationEnvironment : public ::testing::Environment { 631 typedef TestGenerationEnvironment<PARAMETER_COUNT> Environment; 634 Environment::Instance()->FixtureConstructorExecuted(); 638 Environment::Instance()->SetUpExecuted(); 642 Environment::Instance()->TearDownExecuted(); 689 Environment::Instance()->TestBodyExecuted(); [all...] |
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
StorageTest.java | 28 import android.os.Environment; 185 IoUtils.deleteContents(Environment.getDownloadCacheDirectory()); 186 dirtyDir = Environment.getDownloadCacheDirectory();
|
/frameworks/base/core/java/com/android/server/ |
SystemConfig.java | 25 import android.os.Environment; 188 readPermissions(Environment.buildPath( 189 Environment.getRootDirectory(), "etc", "sysconfig"), ALLOW_ALL); 191 readPermissions(Environment.buildPath( 192 Environment.getRootDirectory(), "etc", "permissions"), ALLOW_ALL); 195 readPermissions(Environment.buildPath( 196 Environment.getOdmDirectory(), "etc", "sysconfig"), odmPermissionFlag); 197 readPermissions(Environment.buildPath( 198 Environment.getOdmDirectory(), "etc", "permissions"), odmPermissionFlag); 200 readPermissions(Environment.buildPath [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationData.java | 45 private final Environment mEnvironment; 238 public NotificationData(Environment environment) { 239 mEnvironment = environment; 240 mGroupManager = environment.getGroupManager(); 244 * Returns the sorted list of active notifications (depending on {@link Environment} 248 * when the environment changes. 353 // TODO: This should not be public. Instead the Environment should notify this class when 467 public interface Environment {
|
/external/google-breakpad/src/testing/gtest/include/gtest/ |
gtest.h | 896 // An Environment object is capable of setting up and tearing down an 897 // environment. The user should subclass this to define his own 898 // environment(s). 900 // An Environment object does the set-up and tear-down in virtual 910 class Environment { 912 // The d'tor is virtual as we need to subclass Environment. 913 virtual ~Environment() {} 915 // Override this to define how to set up the environment. 918 // Override this to define how to tear down the environment. [all...] |
/external/gtest/include/gtest/ |
gtest.h | 396 // SetUp/TearDown method of Environment objects registered with Google [all...] |
/external/mesa3d/src/gtest/include/gtest/ |
gtest.h | 896 // An Environment object is capable of setting up and tearing down an 897 // environment. The user should subclass this to define his own 898 // environment(s). 900 // An Environment object does the set-up and tear-down in virtual 910 class Environment { 912 // The d'tor is virtual as we need to subclass Environment. 913 virtual ~Environment() {} 915 // Override this to define how to set up the environment. 918 // Override this to define how to tear down the environment. [all...] |
/external/protobuf/gtest/include/gtest/ |
gtest.h | 821 // An Environment object is capable of setting up and tearing down an 822 // environment. The user should subclass this to define his own 823 // environment(s). 825 // An Environment object does the set-up and tear-down in virtual 835 class Environment { 837 // The d'tor is virtual as we need to subclass Environment. 838 virtual ~Environment() {} 840 // Override this to define how to set up the environment. 843 // Override this to define how to tear down the environment. 867 // Fired before environment set-up for each iteration of tests starts [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/ |
gtest.h | 396 // SetUp/TearDown method of Environment objects registered with Google [all...] |
/ndk/sources/third_party/googletest/googletest/include/gtest/ |
gtest.h | 396 // SetUp/TearDown method of Environment objects registered with Google 901 // An Environment object is capable of setting up and tearing down an 902 // environment. The user should subclass this to define his own 903 // environment(s). 905 // An Environment object does the set-up and tear-down in virtual [all...] |
/external/llvm/include/llvm/MC/ |
MCObjectFileInfo.h | 336 enum Environment { IsMachO, IsELF, IsCOFF }; 337 Environment getObjectFileType() const { return Env; } 342 Environment Env;
|
/frameworks/base/core/java/android/os/ |
Environment.java | 29 * Provides access to environment variables. 31 public class Environment { 32 private static final String TAG = "Environment"; [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
AppIdleHistory.java | 19 import android.os.Environment; 96 this(Environment.getDataSystemDirectory(), elapsedRealtime);
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiObjectManagementTests.cpp | 226 struct Environment 236 Environment (Context& context, deUint32 maxResourceConsumers_) 247 Environment (const PlatformInterface& vkp_, 271 Dependency (const Environment& env, const typename Case::Parameters& params) 333 const Environment env (context.getPlatformInterface(), 429 Resources (const Environment&, const Parameters&) {} 437 static Move<VkInstance> create (const Environment& env, const Resources&, const Parameters&) 487 Resources (const Environment& env, const Parameters& params) 526 static Move<VkDevice> create (const Environment& env, const Resources& res, const Parameters&) 578 Resources (const Environment&, const Parameters&) { [all...] |
/external/llvm/include/llvm/ADT/ |
Triple.h | 30 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM-ENVIRONMENT 207 /// The parsed Environment type. 208 EnvironmentType Environment; 219 Triple() : Data(), Arch(), Vendor(), OS(), Environment(), ObjectFormat() {} 229 Environment == Other.Environment && 262 /// hasEnvironment - Does this triple have the optional environment 268 /// getEnvironment - Get the parsed environment type of this triple. 269 EnvironmentType getEnvironment() const { return Environment; } 335 /// getEnvironmentName - Get the optional environment (fourth [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/ |
gtest.h | 896 // An Environment object is capable of setting up and tearing down an 897 // environment. The user should subclass this to define his own 898 // environment(s). 900 // An Environment object does the set-up and tear-down in virtual 910 class Environment { 912 // The d'tor is virtual as we need to subclass Environment. 913 virtual ~Environment(); 915 // Override this to define how to set up the environment. 918 // Override this to define how to tear down the environment. [all...] |