OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:instrumentation
(Results
26 - 50
of
1688
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/cts/hostsidetests/appsecurity/test-apps/InstrumentationAppDiffCert/
AndroidManifest.xml
20
A simple app to test that an
instrumentation
cannot target an app signed with a different
29
<
instrumentation
android:name="android.app.
Instrumentation
"
31
android:label="
Instrumentation
that targets app with different cert" />
34
A self-instrumenting test runner, that will try to start the above
instrumentation
and
37
<
instrumentation
android:name="android.test.InstrumentationTestRunner"
39
android:label="Test for
instrumentation
with different cert" />
/packages/apps/Camera/tests/
AndroidManifest.xml
26
<
instrumentation
android:name="com.android.camera.CameraLaunchPerformance"
29
</
instrumentation
>
31
<
instrumentation
android:name="com.android.camera.stress.CameraStressTestRunner"
34
</
instrumentation
>
36
<
instrumentation
android:name="com.android.camera.CameraTestRunner"
39
</
instrumentation
>
41
<
instrumentation
android:name="android.test.InstrumentationTestRunner"
/cts/tests/tests/app/src/android/app/cts/
Instrumentation_ActivityMonitorTest.java
20
import android.app.
Instrumentation
;
21
import android.app.
Instrumentation
.ActivityMonitor;
22
import android.app.
Instrumentation
.ActivityResult;
40
Instrumentation
instrumentation
= getInstrumentation();
local
41
ActivityMonitor am =
instrumentation
.addMonitor(
43
Context context =
instrumentation
.getTargetContext();
59
instrumentation
.waitForIdleSync();
69
instrumentation
.removeMonitor(am);
ApplicationTest.java
22
import android.app.
Instrumentation
;
34
final
Instrumentation
instrumentation
= getInstrumentation();
local
35
final Context targetContext =
instrumentation
.getTargetContext();
40
final Activity activity =
instrumentation
.startActivitySync(intent);
57
instrumentation
.waitForIdleSync();
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/
InstrumentationDriver.java
17
package com.google.android.droiddriver.
instrumentation
;
20
import android.app.
Instrumentation
;
31
* Implementation of a UiDriver that is driven via
instrumentation
.
36
public InstrumentationDriver(
Instrumentation
instrumentation
) {
37
super(
instrumentation
);
38
this.context = new InstrumentationContext(
instrumentation
);
68
instrumentation
.waitForIdleSync();
102
instrumentation
.runOnMainSync(screenshotRunnable);
InstrumentationContext.java
17
package com.google.android.droiddriver.
instrumentation
;
19
import android.app.
Instrumentation
;
38
InstrumentationContext(final
Instrumentation
instrumentation
) {
43
instrumentation
.sendPointerSync((MotionEvent) event);
45
instrumentation
.sendKeySync((KeyEvent) event);
/frameworks/base/core/java/android/test/
InstrumentationTestCase.java
20
import android.app.
Instrumentation
;
34
* A test case that has access to {@link
Instrumentation
}.
38
private
Instrumentation
mInstrumentation;
41
* Injects
instrumentation
into this test case. This method is
44
* @param
instrumentation
the
instrumentation
to use with this instance
46
public void injectInstrumentation(
Instrumentation
instrumentation
) {
47
mInstrumentation =
instrumentation
;
51
* Injects
instrumentation
into this test case. This method i
251
final Instrumentation
instrumentation
= getInstrumentation();
local
301
final Instrumentation
instrumentation
= getInstrumentation();
local
330
final Instrumentation
instrumentation
= getInstrumentation();
local
[
all
...]
/cts/hostsidetests/appsecurity/test-apps/InstrumentationAppDiffCert/src/com/android/cts/instrumentationdiffcertapp/
InstrumentationFailToRunTest.java
19
import android.app.
Instrumentation
;
26
* Test that a
instrumentation
targeting another app with a different cert fails.
32
// assumes android.app.
Instrumentation
has been defined in this app's AndroidManifest.xml
35
Instrumentation
.class);
39
fail("could launch
instrumentation
");
/packages/apps/LegacyCamera/tests/
AndroidManifest.xml
26
<
instrumentation
android:name="com.android.camera.CameraLaunchPerformance"
29
</
instrumentation
>
31
<
instrumentation
android:name="com.android.camera.stress.CameraStressTestRunner"
34
</
instrumentation
>
36
<
instrumentation
android:name="android.test.InstrumentationTestRunner"
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/
InstrumentationRunnerValidator.java
20
import com.android.ide.common.xml.ManifestData.
Instrumentation
;
32
* Provides validation for Android
instrumentation
test runner
74
Instrumentation
[] instrumentations = manifestData.getInstrumentations();
99
* Return the set of
instrumentation
names for the Android project.
102
* of
instrumentation
class names
109
* Helper method to get the first
instrumentation
that can be used as a test runner.
111
* @return fully qualified
instrumentation
class name. <code>null</code> if no valid
112
*
instrumentation
can be found.
115
for (String
instrumentation
: getInstrumentationNames()) {
116
if (validateInstrumentationRunner(
instrumentation
) == INSTRUMENTATION_OK)
[
all
...]
AndroidJUnitLaunchShortcut.java
35
* Creates a default Android JUnit launch configuration. Sets the
instrumentation
runner to the
36
* first
instrumentation
found in the AndroidManifest.
42
// just get first valid
instrumentation
runner
43
String
instrumentation
= new InstrumentationRunnerValidator(element.getJavaProject()).
local
45
if (
instrumentation
!= null) {
47
instrumentation
);
/frameworks/testing/androidtestlib/tests/src/com/android/test/
MyInstrumentationTestCase.java
18
import android.app.
Instrumentation
;
23
* Placeholder test to verify {@link
Instrumentation
} gets injected to
33
assertNotNull("
instrumentation
was not injected", getInstrumentation());
/cts/tests/src/android/widget/cts/util/
ListUtil.java
19
import android.app.
Instrumentation
;
24
* Various useful stuff for
instrumentation
testing listview.
29
private final
Instrumentation
mInstrumentation;
33
* @param
instrumentation
The
instrumentation
to use.
35
public ListUtil(ListView listView,
Instrumentation
instrumentation
) {
37
mInstrumentation =
instrumentation
;
/development/apps/launchperf/
AndroidManifest.xml
44
<
instrumentation
android:name="SimpleActivityLaunchPerformance"
47
</
instrumentation
>
49
<
instrumentation
android:name="ComplexActivityLaunchPerformance"
52
</
instrumentation
>
54
<
instrumentation
android:name="EmptyActivityLaunchPerformance"
57
</
instrumentation
>
59
<
instrumentation
android:name="HelloWorldLaunchPerformance"
62
</
instrumentation
>
/external/chromium_org/chrome/tools/build/win/
win-syzyasan-filter.txt
6
# Syzygy ASAN
instrumentation
to chrome.dll. It is intended to be used for
7
# disabling
instrumentation
of functions with known and deferred bugs, allowing
/frameworks/base/core/tests/coretests/src/android/util/
ListUtil.java
19
import android.app.
Instrumentation
;
25
* Various useful stuff for
instrumentation
testing listview.
31
private final
Instrumentation
mInstrumentation;
35
* @param
instrumentation
The
instrumentation
to use.
37
public ListUtil(ListView listView,
Instrumentation
instrumentation
) {
39
mInstrumentation =
instrumentation
;
/frameworks/base/tests/MemoryUsage/
AndroidManifest.xml
5
<
instrumentation
android:label="Memory usage
instrumentation
"
/art/runtime/
instrumentation.cc
17
#include "
instrumentation
.h"
42
namespace
instrumentation
{
namespace in namespace:art
46
Instrumentation
*
instrumentation
= reinterpret_cast<
Instrumentation
*>(arg);
local
47
return
instrumentation
->InstallStubsForClass(klass);
50
bool
Instrumentation
::InstallStubsForClass(mirror::Class* klass) {
102
// Places the
instrumentation
exit pc as the return PC for every quick frame. This also allows
167
Instrumentation
*
instrumentation
= reinterpret_cast<Instrumentation*>(arg)
local
250
Instrumentation*
instrumentation
= reinterpret_cast<Instrumentation*>(arg);
local
[
all
...]
/cts/libs/deviceutil/src/android/cts/util/
DeviceReportLog.java
21
import android.app.
Instrumentation
;
39
public void deliverReportToHost(
Instrumentation
instrumentation
) {
45
instrumentation
.sendStatus(INST_STATUS_IN_PROGRESS, output);
/external/chromium_org/tools/valgrind/gtest_exclude/
base_unittests.gtest_win32.txt
11
# with
instrumentation
. See http://crbug.com/106829
/external/compiler-rt/lib/asan/
asan_blacklist.txt
1
# Blacklist for AddressSanitizer. Turns off
instrumentation
of particular
/external/compiler-rt/lib/msan/
msan_blacklist.txt
1
# Blacklist for MemorySanitizer. Turns off
instrumentation
of particular
/external/llvm/tools/bugpoint/
CMakeLists.txt
1
set(LLVM_LINK_COMPONENTS asmparser
instrumentation
scalaropts ipo
/external/llvm/tools/lli/
CMakeLists.txt
2
set(LLVM_LINK_COMPONENTS mcjit jit interpreter nativecodegen bitreader asmparser irreader selectiondag native
instrumentation
)
/external/objenesis/tck-android/src/org/objenesis/tck/android/
TckInstrumentation.java
20
import android.app.
Instrumentation
;
30
* Wraps the Objenesis TCK so that it can be invoked on Android as an {@link
Instrumentation
}.
34
public class TckInstrumentation extends
Instrumentation
{
49
bundle.putString(
Instrumentation
.REPORT_KEY_STREAMRESULT, fromStdout);
Completed in 1631 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>