/cts/tests/tests/text/src/android/text/method/cts/ |
D | BaseKeyListenerTest.java | 51 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace() local 54 prepTextViewSync(content, mockBaseKeyListener, false, 0, 0); in testBackspace() 55 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in testBackspace() 56 assertEquals("123456", content.toString()); in testBackspace() 59 prepTextViewSync(content, mockBaseKeyListener, false, 0, 3); in testBackspace() 60 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in testBackspace() 61 assertEquals("456", content.toString()); in testBackspace() 64 prepTextViewSync(content, mockBaseKeyListener, false, 2, 2); in testBackspace() 65 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in testBackspace() 66 assertEquals("46", content.toString()); in testBackspace() [all …]
|
D | MetaKeyKeyListenerTest.java | 39 final Editable content = Editable.Factory.getInstance().newEditable(str); in testPressKey() local 41 content.setSpan(Selection.SELECTION_START, 0, 0, Spanned.SPAN_POINT_POINT); in testPressKey() 42 content.setSpan(Selection.SELECTION_END, 0, 0, Spanned.SPAN_POINT_POINT); in testPressKey() 43 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_0, in testPressKey() 45 assertEquals('0', content.charAt(0)); in testPressKey() 47 content.setSpan(Selection.SELECTION_START, 1, 1, Spanned.SPAN_POINT_POINT); in testPressKey() 48 content.setSpan(Selection.SELECTION_END, 1, 1, Spanned.SPAN_POINT_POINT); in testPressKey() 49 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_2, in testPressKey() 51 assertEquals('2', content.charAt(1)); in testPressKey() 53 content.setSpan(Selection.SELECTION_START, 3, 3, Spanned.SPAN_POINT_POINT); in testPressKey() [all …]
|
D | QwertyKeyListenerTest.java | 170 SpannableStringBuilder content = new SpannableStringBuilder("123456"); in testMarkAsReplaced() local 172 Object[] repl = content.getSpans(0, content.length(), Object.class); in testMarkAsReplaced() 175 QwertyKeyListener.markAsReplaced(content, 0, content.length(), "abcd"); in testMarkAsReplaced() 176 repl = content.getSpans(0, content.length(), Object.class); in testMarkAsReplaced() 178 assertEquals(0, content.getSpanStart(repl[0])); in testMarkAsReplaced() 179 assertEquals(content.length(), content.getSpanEnd(repl[0])); in testMarkAsReplaced() 180 assertEquals(Spannable.SPAN_EXCLUSIVE_EXCLUSIVE, content.getSpanFlags(repl[0])); in testMarkAsReplaced() 182 QwertyKeyListener.markAsReplaced(content, 1, 2, "abcd"); in testMarkAsReplaced() 183 repl = content.getSpans(0, content.length(), Object.class); in testMarkAsReplaced() 185 assertEquals(1, content.getSpanStart(repl[0])); in testMarkAsReplaced() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SlidingDrawerTest.java | 26 import android.content.Context; 93 View content = drawer.getContent(); in testGetContent() local 94 assertTrue(content instanceof TextView); in testGetContent() 95 assertEquals(R.id.content, content.getId()); in testGetContent() 101 View content = drawer.getContent(); in testOpenAndClose() local 103 assertEquals(View.GONE, content.getVisibility()); in testOpenAndClose() 107 assertEquals(View.VISIBLE, content.getVisibility()); in testOpenAndClose() 111 assertEquals(View.GONE, content.getVisibility()); in testOpenAndClose() 116 View content = drawer.getContent(); in testAnimateOpenAndClose() local 119 assertEquals(View.GONE, content.getVisibility()); in testAnimateOpenAndClose() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | SyncStorageEngineTest.java | 17 package android.content.cts; 20 import android.content.ComponentName; 21 import android.content.ContentResolver; 22 import android.content.Context; 23 import android.content.ContextWrapper; 24 import android.content.Intent; 25 import android.content.PeriodicSync; 26 import android.content.res.Resources; 27 import android.content.SyncStatusInfo; 37 import com.android.server.content.SyncStorageEngine;
|
D | ClipboardManagerListenerActivity.java | 17 package android.content.cts; 20 import android.content.ClipData; 21 import android.content.ClipboardManager; 22 import android.content.Context; 23 import android.content.ClipboardManager.OnPrimaryClipChangedListener;
|
D | MockReceiverDisableable.java | 17 package android.content.cts; 19 import android.content.BroadcastReceiver; 20 import android.content.Context; 21 import android.content.Intent;
|
D | ResultReceiver.java | 17 package android.content.cts; 19 import android.content.BroadcastReceiver; 20 import android.content.Context; 21 import android.content.Intent;
|
D | MockReceiverAbort.java | 17 package android.content.cts; 19 import android.content.BroadcastReceiver; 20 import android.content.Context; 21 import android.content.Intent;
|
D | MockReceiverFirst.java | 17 package android.content.cts; 19 import android.content.BroadcastReceiver; 20 import android.content.Context; 21 import android.content.Intent;
|
D | Intent_ShortcutIconResourceTest.java | 17 package android.content.cts; 19 import android.content.Context; 20 import android.content.Intent; 21 import android.content.Intent.ShortcutIconResource; 32 final int resourceId = android.content.cts.R.string.notify; 66 android.content.cts.R.string.notify); in testWriteToParcel()
|
D | MockReceiver.java | 17 package android.content.cts; 19 import android.content.BroadcastReceiver; 20 import android.content.Context; 21 import android.content.Intent;
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageItemInfo_DisplayNameComparatorTest.java | 17 package android.content.pm.cts; 20 import android.content.ComponentName; 21 import android.content.pm.ActivityInfo; 22 import android.content.pm.PackageItemInfo; 23 import android.content.pm.PackageManager; 24 import android.content.pm.PackageItemInfo.DisplayNameComparator; 25 import android.content.pm.PackageManager.NameNotFoundException;
|
D | FeatureTest.java | 16 package android.content.pm.cts; 19 import android.content.Context; 20 import android.content.pm.FeatureGroupInfo; 21 import android.content.pm.FeatureInfo; 22 import android.content.pm.PackageInfo; 23 import android.content.pm.PackageManager;
|
D | ServiceInfoTest.java | 17 package android.content.pm.cts; 20 import android.content.ComponentName; 21 import android.content.pm.PackageManager; 22 import android.content.pm.ServiceInfo; 23 import android.content.pm.PackageManager.NameNotFoundException;
|
D | PackageItemInfoTest.java | 17 package android.content.pm.cts; 19 import android.content.cts.R; 22 import android.content.ComponentName; 23 import android.content.pm.ActivityInfo; 24 import android.content.pm.PackageItemInfo; 25 import android.content.pm.PackageManager; 26 import android.content.pm.PackageManager.NameNotFoundException; 27 import android.content.res.XmlResourceParser;
|
D | ApplicationInfo_DisplayNameComparatorTest.java | 17 package android.content.pm.cts; 19 import android.content.pm.ApplicationInfo; 20 import android.content.pm.PackageManager; 21 import android.content.pm.ApplicationInfo.DisplayNameComparator; 22 import android.content.pm.PackageManager.NameNotFoundException;
|
/cts/tests/tests/os/src/android/os/cts/ |
D | RequiredComponentsTest.java | 22 import android.content.Intent; 23 import android.content.pm.ApplicationInfo; 24 import android.content.pm.PackageInfo; 25 import android.content.pm.PackageManager; 26 import android.content.pm.ResolveInfo; 36 import static android.content.pm.PackageManager.MATCH_DIRECT_BOOT_AWARE; 37 import static android.content.pm.PackageManager.MATCH_DIRECT_BOOT_UNAWARE; 38 import static android.content.pm.PackageManager.MATCH_SYSTEM_ONLY;
|
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/src/com/android/cts/privilegedupdate/ |
D | PrivilegedAppDisableTest.java | 21 import android.content.ComponentName; 22 import android.content.Intent; 23 import android.content.pm.ApplicationInfo; 24 import android.content.pm.PackageManager; 25 import android.content.pm.ResolveInfo; 26 import android.content.pm.PackageManager.NameNotFoundException;
|
/cts/tests/tests/security/src/android/security/cts/ |
D | IntentSenderRemovalTest.java | 19 import android.content.Context; 20 import android.content.Intent; 21 import android.content.pm.PackageManager; 22 import android.content.pm.ResolveInfo;
|
/cts/hostsidetests/systemui/app/src/android/systemui/cts/ |
D | TestActiveTileService.java | 17 import android.content.BroadcastReceiver; 18 import android.content.ComponentName; 19 import android.content.Context; 20 import android.content.Intent;
|
/cts/hostsidetests/services/activitymanager/app/src/android/server/app/ |
D | LaunchToSideActivity.java | 3 import static android.content.Intent.FLAG_ACTIVITY_LAUNCH_ADJACENT; 4 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK; 5 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK; 8 import android.content.Intent; 9 import android.content.ComponentName;
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | BroadcastIntentReceiver.java | 19 import android.content.BroadcastReceiver; 20 import android.content.Context; 21 import android.content.Intent; 22 import android.content.SharedPreferences;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | Version.java | 19 import android.content.Context; 20 import android.content.pm.PackageInfo; 21 import android.content.pm.PackageManager; 22 import android.content.pm.PackageManager.NameNotFoundException;
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CrossProfileWidgetTest.java | 21 import android.content.BroadcastReceiver; 22 import android.content.ComponentName; 23 import android.content.Context; 24 import android.content.Intent; 25 import android.content.IntentFilter;
|