OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:monkey
(Results
1 - 25
of
238
) sorted by null
1
2
3
4
5
6
7
8
9
10
/development/cmds/monkey/
monkey
1
# Script to start "
monkey
" on the device, which has a very rudimentary
5
export CLASSPATH=$base/framework/
monkey
.jar
7
exec app_process $base/bin com.android.commands.
monkey
.
Monkey
$*
Android.mk
7
LOCAL_MODULE :=
monkey
12
ALL_PREBUILT += $(TARGET_OUT)/bin/
monkey
13
$(TARGET_OUT)/bin/
monkey
: $(LOCAL_PATH)/
monkey
| $(ACP)
README.NETWORK.txt
9
Monkey
only binds to localhost, so you will need to use adb to setup
19
Start the
monkey
server
21
$ adb shell
monkey
--port 1080
27
Individual commands are separated by newlines. The
Monkey
will
38
touch
monkey
39
ERROR:
monkey
not a number
54
KEYCODE_MENU (the name of the keycode), or just menu (and the
Monkey
103
This command lists all the vars that the
monkey
knows about. They are
113
Fully quit the
monkey
and accept no new sessions.
124
Lines starting with a # character are considered comments. The
Monkey
[
all
...]
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
CategoryTest.java
17
package com.android.cts.
monkey
;
23
assertTrue(out.contains("cmp=com.android.cts.
monkey
/.MonkeyActivity"));
24
assertTrue(out.contains("cmp=com.android.cts.
monkey
/.BaboonActivity"));
30
assertTrue(out.contains("cmp=com.android.cts.
monkey
/.MonkeyActivity"));
31
assertFalse(out.contains("cmp=com.android.cts.
monkey
/.BaboonActivity"));
34
+ " -c android.intent.category.
MONKEY
5000");
35
assertFalse(out.contains("cmp=com.android.cts.
monkey
/.MonkeyActivity"));
36
assertTrue(out.contains("cmp=com.android.cts.
monkey
/.BaboonActivity"));
42
+ " -c android.intent.category.
MONKEY
5000");
43
assertTrue(out.contains("cmp=com.android.cts.
monkey
/.MonkeyActivity"))
[
all
...]
MonkeyTest.java
17
package com.android.cts.
monkey
;
25
private static final String
MONKEY
= "@(>.<)@";
35
+ "-n com.android.cts.
monkey
/com.android.cts.
monkey
.MonkeyActivity");
47
if (line.contains(isMonkey ?
MONKEY
: HUMAN)) {
AbstractMonkeyTest.java
1
package com.android.cts.
monkey
;
17
static final String[] PKGS = {"com.android.cts.
monkey
", "com.android.cts.monkey2"};
21
* Base
monkey
command with flags to avoid side effects like airplane mode.
23
static final String MONKEY_CMD = "
monkey
--pct-motion 0 --pct-majornav 0 --pct-syskeys 0 --pct-anyevent 0 --pct-rotation 0";
PackageTest.java
17
package com.android.cts.
monkey
;
25
Pattern.compile("^.*Allowing.*cmp=com\\.android\\.cts\\.
monkey
/\\.MonkeyActivity.*$",
35
assertTrue("
Monkey
not found in: " + error, ALLOW_MONKEY.matcher(out).find());
40
assertFalse("
Monkey
found in: " + error, ALLOW_MONKEY.matcher(out).find());
48
assertTrue("
Monkey
not found in: " + error, ALLOW_MONKEY.matcher(out).find());
/development/cmds/monkey/src/com/android/commands/monkey/
MonkeySourceNetworkVars.java
16
package com.android.commands.
monkey
;
24
import com.android.commands.
monkey
.MonkeySourceNetwork.CommandQueue;
25
import com.android.commands.
monkey
.MonkeySourceNetwork.MonkeyCommand;
26
import com.android.commands.
monkey
.MonkeySourceNetwork.MonkeyCommandReturn;
94
// until the first activity gets launched after the
monkey
has
98
return
Monkey
.currentPackage;
103
if (
Monkey
.currentIntent == null) {
106
return
Monkey
.currentIntent.getAction();
111
if (
Monkey
.currentIntent == null) {
114
return
Monkey
.currentIntent.getComponent().getClassName()
[
all
...]
MonkeyTouchEvent.java
17
package com.android.commands.
monkey
;
23
*
monkey
touch event
MonkeyTrackballEvent.java
17
package com.android.commands.
monkey
;
22
*
monkey
trackball event
MonkeyThrottleEvent.java
17
package com.android.commands.
monkey
;
26
*
monkey
throttle event
45
System.out.println("**
Monkey
interrupted in sleep.");
MonkeyWaitEvent.java
17
package com.android.commands.
monkey
;
24
*
monkey
throttle event
42
System.out.println("**
Monkey
interrupted in sleep.");
MonkeyEventQueue.java
17
package com.android.commands.
monkey
;
23
* class for keeping a
monkey
event queue
/hardware/qcom/msm8996/original-kernel-headers/linux/
msm_audio_ape.h
2
from
Monkey
's Audio SDK with permission*/
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
UiAutomationShellWrapper.java
36
* Enable or disable
monkey
test mode.
38
* Setting test as "
monkey
" indicates to some applications that a test framework is
39
* running as a "
monkey
" type. Such applications may choose not to perform actions that
40
* do submits so to avoid allowing
monkey
tests from doing harm or performing annoying
43
* @param isSet True to set as
monkey
test. False to set as regular functional test (default).
49
throw new RuntimeException("Can't manage
monkey
status; is the system running?");
/external/clang/test/Frontend/
warning-options.cpp
1
// RUN: %clang_cc1 -Wmonkey -Wno-
monkey
-Wno-unused-command-line-arguments \
4
// CHECK: unknown warning option '-Wno-
monkey
'
/external/dagger2/producers/src/test/java/dagger/producers/internal/
ProducersTest.java
40
ListenableFuture<String> future = Futures.immediateFuture("
monkey
");
43
assertThat(producedFuture.get().get()).isEqualTo("
monkey
");
47
ListenableFuture<String> future = Futures.immediateFailedFuture(new RuntimeException("
monkey
"));
50
assertThat(getProducedException(producedFuture.get()).getCause()).hasMessage("
monkey
");
81
ListenableFuture<String> future = Futures.immediateFuture("
monkey
");
84
assertThat(setFuture.get()).containsExactly("
monkey
");
88
ListenableFuture<String> future = Futures.immediateFailedFuture(new RuntimeException("
monkey
"));
95
assertThat(e.getCause()).hasMessage("
monkey
");
/external/dagger2/producers/src/test/java/dagger/producers/
ProducedTest.java
36
assertThat(Produced.successful("
monkey
").get()).isEqualTo("
monkey
");
41
RuntimeException cause = new RuntimeException("
monkey
");
51
RuntimeException e1 = new RuntimeException("
monkey
");
/external/chromium-trace/catapult/third_party/coverage/coverage/
monkey.py
4
"""
Monkey
-patching to make coverage.py work right in some cases."""
11
#
monkey
-patched.
16
"""
Monkey
-patch the multiprocessing module.
/development/tools/labpretest/
README
7
and reboots, sets up for a
monkey
run and finally runs a random
monkey
test.
21
script, it will detect the device and go through 100 cycles, running the
monkey
22
for 200 events each cycle. The script ignores normal
monkey
failures. If you
25
how many
monkey
events and finally -x to make it skip the
monkey
run portion
/cts/hostsidetests/monkey/test-apps/CtsMonkeyApp/src/com/android/cts/monkey/
BaboonActivity.java
17
package com.android.cts.
monkey
;
MonkeyActivity.java
17
package com.android.cts.
monkey
;
24
/** @(>.<)@ I'm a
monkey
! */
/external/mesa3d/scons/
fixes.py
3
#
Monkey
patch os.spawnve on windows to become thread safe
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
UiAutomatorTestCase.java
83
// check if this is a
monkey
test mode
84
String monkeyVal = mParams.getString("
monkey
");
86
// only if the
monkey
key is specified, we alter the state of
monkey
/cts/hostsidetests/monkey/test-apps/CtsMonkeyApp/
AndroidManifest.xml
17
package="com.android.cts.
monkey
">
35
<category android:name="android.intent.category.
MONKEY
" />
Completed in 146 milliseconds
1
2
3
4
5
6
7
8
9
10