Home
last modified time | relevance | path

Searched refs:environment (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ambient/touch/
DTouchMonitorTest.java218 final Environment environment = new Environment(Stream.of(touchHandler) in testConfigurationListenerUpdatesBounds() local
230 environment.publishInputEvent(initialEvent); in testConfigurationListenerUpdatesBounds()
240 final Environment environment = new Environment(Stream.of(touchHandler) in testReportedDisplayBounds() local
246 environment.publishInputEvent(initialEvent); in testReportedDisplayBounds()
250 eq(environment.getDisplayBounds()), any(), any()); in testReportedDisplayBounds()
257 .isEqualTo(environment.getDisplayBounds()); in testReportedDisplayBounds()
271 final Environment environment = new Environment(Stream.of(touchHandler) in testEntryTouchZone() local
278 environment.publishInputEvent(initialEvent); in testEntryTouchZone()
284 environment.publishInputEvent(initialEvent); in testEntryTouchZone()
300 final Environment environment = new Environment(Stream.of(touchHandler, unzonedTouchHandler) in testSessionCount() local
[all …]
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/
DDreamServiceTest.java119 final TestDreamEnvironment environment = new TestDreamEnvironment.Builder(mTestableLooper) in testCreate() local
122 assertTrue(environment.advance(TestDreamEnvironment.DREAM_STATE_CREATE)); in testCreate()
130 final TestDreamEnvironment environment = new TestDreamEnvironment.Builder(mTestableLooper) in testBind() local
133 assertTrue(environment.advance(TestDreamEnvironment.DREAM_STATE_BIND)); in testBind()
142 final TestDreamEnvironment environment = new TestDreamEnvironment.Builder(mTestableLooper) in testDreamActivityCreate() local
145 assertTrue(environment.advance(TestDreamEnvironment.DREAM_STATE_DREAM_ACTIVITY_CREATED)); in testDreamActivityCreate()
153 final TestDreamEnvironment environment = new TestDreamEnvironment.Builder(mTestableLooper) in testStart() local
156 assertTrue(environment.advance(TestDreamEnvironment.DREAM_STATE_STARTED)); in testStart()
164 final TestDreamEnvironment environment = new TestDreamEnvironment.Builder(mTestableLooper) in testWake() local
167 assertTrue(environment.advance(TestDreamEnvironment.DREAM_STATE_WOKEN)); in testWake()
[all …]
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dlit.cfg42 ## Set up environment variables
46 config.environment['LD_LIBRARY_PATH'] = \
48 config.environment['LD_LIBRARY_PATH']
51 config.environment['DEBUGGER'] = config.gdb
52 config.environment['DEBUGGER_ARGS'] = '-q -batch -n --args ' \
58 lit.note('LD_LIBRARY_PATH is %r' % config.environment['LD_LIBRARY_PATH'])
/frameworks/base/media/mca/filterfw/java/android/filterfw/
DGraphEnvironment.java68 public AsyncRunner getAsyncRunner(FilterContext environment) { in getAsyncRunner() argument
70 mAsyncRunner = new AsyncRunner(environment, RoundRobinScheduler.class); in getAsyncRunner()
76 public GraphRunner getSyncRunner(FilterContext environment) { in getSyncRunner() argument
78 mSyncRunner = new SyncRunner(environment, mGraph, RoundRobinScheduler.class); in getSyncRunner()
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dlit.cfg69 ## Set up environment variables
72 # Propagate ANDROID_PRODUCT_OUT to child environment
73 config.environment['ANDROID_PRODUCT_OUT'] = os.getenv('ANDROID_PRODUCT_OUT')
74 config.environment['ANDROID_BUILD_TOP'] = os.getenv('ANDROID_BUILD_TOP')
76 config.environment['DEBUGGER'] = config.gdb
77 config.environment['DEBUGGER_ARGS'] = "-d " + config.gdb_plugin_directory + ' '
/frameworks/compile/libbcc/tests/debuginfo/
Dlit.site.cfg29 # If the user set the overriding environment variable, use it
38 , try setting " + env_var + " in your environment")
42 # Get the base build directory for the android source tree from environment.
62 config.environment['PATH'])
71 config.perl = inferTool(lit, 'perl', 'PERL', config.environment['PATH'])
72 config.sh = inferTool(lit, 'bash', 'BASH', config.environment['PATH'])
DREADME29 the build environment variables set (i.e. ANDROID_BUILD_TOP)
41 set the following environment variables:
/frameworks/base/services/core/java/com/android/server/location/gnss/
DNetworkTimeHelper.java59 TimeDetectorNetworkTimeHelper.Environment environment = in create() local
61 return new TimeDetectorNetworkTimeHelper(environment, injectTimeCallback); in create()
DTimeDetectorNetworkTimeHelper.java131 @NonNull Environment environment, @NonNull InjectTimeCallback injectTimeCallback) { in TimeDetectorNetworkTimeHelper()
133 mEnvironment = Objects.requireNonNull(environment); in TimeDetectorNetworkTimeHelper()
/frameworks/base/ravenwood/
DREADME.md3 Ravenwood is an officially-supported lightweight unit testing environment for Android platform code…
11environment mitigates these issues by running directly from build artifacts (no flashing required)…
16 …for tests to compile against and/or mock, but they throw when called under a Ravenwood environment.
21 …* _Contrasted with Robolectric, which has limited (and forked) testing of their environment, incre…
Dapi-maintainers.md3 …’t opted-in to Ravenwood, and they default to throwing when called under the Ravenwood environment.
9 …ool during a post-processing step that generates the Ravenwood runtime environment. Teams that ow…
79 …less-common usages of JNI should instead wait for offical JNI support in the Ravenwood environment.
/frameworks/compile/slang/lit-tests/
Dlit.cfg15 # Get the base build directory for the android source tree from environment.
33 # If the user set the overriding environment variable, use it
43 + env_var + " in your environment")
50 config.filecheck = inferTool('FileCheck', 'FILECHECK', config.environment['PATH'])
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterContext.java58 public void initGLEnvironment(GLEnvironment environment) { in initGLEnvironment() argument
60 mGLEnvironment = environment; in initGLEnvironment()
/frameworks/proto_logging/stats/enums/media/drm/
Denums.proto91 * backed trusted execution environment.
97 * performed within a hardware backed trusted execution environment.
104 * hardware backed trusted execution environment.
/frameworks/base/startop/apps/ColorChanging/
Dgradlew.bat29 echo Please set the JAVA_HOME variable in your environment to match the
43 echo Please set the JAVA_HOME variable in your environment to match the
Dgradle.properties5 # For more details on how to configure your build environment visit
/frameworks/av/media/tests/SampleVideoEncoder/
Dgradlew.bat29 echo Please set the JAVA_HOME variable in your environment to match the
43 echo Please set the JAVA_HOME variable in your environment to match the
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/
Dgradlew.bat29 echo Please set the JAVA_HOME variable in your environment to match the
43 echo Please set the JAVA_HOME variable in your environment to match the
Dgradle.properties7 # For more details on how to configure your build environment visit
/frameworks/base/services/core/java/com/android/server/storage/
DDiskStatsLoggingService.java74 UserEnvironment environment = new UserEnvironment(userId); in onStartJob() local
77 environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)); in onStartJob()
/frameworks/base/services/fakes/
DAndroid.bp11 // deviceless test environment, and should *not* be included in the build
/frameworks/base/tests/SmokeTest/tests/
DAndroid.bp16 // automatically get all of its classes loaded into our environment.
/frameworks/base/tests/TouchLatency/
Dgradlew.bat48 echo Please set the JAVA_HOME variable in your environment to match the
62 echo Please set the JAVA_HOME variable in your environment to match the
Dgradle.properties7 # For more details on how to configure your build environment visit
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DLocationTimeZoneManagerService.java289 LocationTimeZoneProviderControllerEnvironmentImpl environment = in startOnDomainThread() local
294 controller.initialize(environment, callback); in startOnDomainThread()
296 mLocationTimeZoneProviderControllerEnvironment = environment; in startOnDomainThread()

123