OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:clipboardManager
(Results
1 - 2
of
2
) sorted by null
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ClipboardManagerTest.java
4
import android.text.
ClipboardManager
;
19
private
ClipboardManager
clipboardManager
;
22
clipboardManager
= (
ClipboardManager
) Robolectric.application.getSystemService(Context.CLIPBOARD_SERVICE);
27
clipboardManager
.setText("BLARG!!!");
28
assertThat(
clipboardManager
.getText().toString(), equalTo("BLARG!!!"));
33
clipboardManager
.setText(null);
34
assertFalse(
clipboardManager
.hasText());
39
clipboardManager
.setText("")
[
all
...]
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
ClipboardTest.java
8
import android.content.
ClipboardManager
;
45
final
ClipboardManager
clipboardManager
= (
ClipboardManager
)
47
assertNotNull(
clipboardManager
);
50
clipboardManager
.setPrimaryClip(ClipData.newPlainText(null, ""));
51
assertFalse(hasPrimaryClip(
clipboardManager
));
63
return hasPrimaryClip(
clipboardManager
);
71
final ClipData clip =
clipboardManager
.getPrimaryClip();
88
private Boolean hasPrimaryClip(
ClipboardManager
clipboardManager)
[
all
...]
Completed in 883 milliseconds