Home
last modified time | relevance | path

Searched refs:content (Results 1 – 25 of 3865) sorted by relevance

12345678910>>...155

/cts/tests/tests/text/src/android/text/method/cts/
DBaseKeyListenerTest.java59 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in verifyBackspace() local
62 prepTextViewSync(content, mockBaseKeyListener, false, 0, 0); in verifyBackspace()
63 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in verifyBackspace()
64 assertEquals("123456", content.toString()); in verifyBackspace()
67 prepTextViewSync(content, mockBaseKeyListener, false, 0, 3); in verifyBackspace()
68 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in verifyBackspace()
69 assertEquals("456", content.toString()); in verifyBackspace()
72 prepTextViewSync(content, mockBaseKeyListener, false, 2, 2); in verifyBackspace()
73 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in verifyBackspace()
74 assertEquals("46", content.toString()); in verifyBackspace()
[all …]
DMetaKeyKeyListenerTest.java56 final Editable content = Editable.Factory.getInstance().newEditable(str); in testPressKey() local
58 content.setSpan(Selection.SELECTION_START, 0, 0, Spanned.SPAN_POINT_POINT); in testPressKey()
59 content.setSpan(Selection.SELECTION_END, 0, 0, Spanned.SPAN_POINT_POINT); in testPressKey()
60 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_0, in testPressKey()
62 assertEquals('0', content.charAt(0)); in testPressKey()
64 content.setSpan(Selection.SELECTION_START, 1, 1, Spanned.SPAN_POINT_POINT); in testPressKey()
65 content.setSpan(Selection.SELECTION_END, 1, 1, Spanned.SPAN_POINT_POINT); in testPressKey()
66 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_2, in testPressKey()
68 assertEquals('2', content.charAt(1)); in testPressKey()
70 content.setSpan(Selection.SELECTION_START, 3, 3, Spanned.SPAN_POINT_POINT); in testPressKey()
[all …]
/cts/common/device-side/bedstead/testapisreflection/java/apis/
Dallowlisted-test-fields.txt1 android.content.pm.UserInfo,id,int
2 android.content.pm.UserInfo,name,String
3 android.content.pm.UserInfo,iconPath,String
4 android.content.pm.UserInfo,flags,int
5 android.content.pm.UserInfo,userType,String
6 android.content.pm.UserInfo,serialNumber,int
7 android.content.pm.UserInfo,creationTime,long
8 android.content.pm.UserInfo,lastLoggedInTime,long
9 android.content.pm.UserInfo,lastLoggedInFingerprint,String
10 android.content.pm.UserInfo,partial,boolean
[all …]
Dallowlisted-test-methods.txt2 android.app.admin.DevicePolicyManager,public boolean setDeviceOwnerOnly(android.content.ComponentNa…
6 android.app.admin.DevicePolicyManager,public void setActiveAdmin(android.content.ComponentName, boo…
16 android.app.admin.DevicePolicyManager,public boolean isRemovingAdmin(android.content.ComponentName,…
17 android.app.admin.DevicePolicyManager,public void setDeviceOwnerType(android.content.ComponentName,…
18 android.app.admin.DevicePolicyManager,public int getDeviceOwnerType(android.content.ComponentName)
19 android.app.admin.DevicePolicyManager,public void forceRemoveActiveAdmin(android.content.ComponentN…
20 …licyManager,public void setProfileOwnerOnOrganizationOwnedDevice(android.content.ComponentName, bo…
23 android.app.admin.DevicePolicyManager,public void forceRemoveActiveAdmin(android.content.ComponentN…
25 android.app.admin.DevicePolicyManager,public void setDeviceOwnerType(android.content.ComponentName,…
28 android.content.pm.CrossProfileApps,public boolean canConfigureInteractAcrossProfiles(java.lang.Str…
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9466/
Dpoc-CVE-2017-9048.c26 xmlElementContent content; in main() local
27 content.type = XML_ELEMENT_CONTENT_ELEMENT; in main()
28 content.prefix = (const xmlChar *)"1234567890123456789012345678901"; in main()
29 content.name = (const xmlChar *)"1234567890123456789012345678901"; in main()
30 content.ocur = XML_ELEMENT_CONTENT_PLUS; in main()
31 content.c1 = NULL; in main()
32 content.c2 = NULL; in main()
33 content.parent = NULL; in main()
35 xmlSnprintfElementContent(buf, BUFFER_SIZE, &content, 1); in main()
Dpoc-CVE-2017-9047.c26 xmlElementContent content; in main() local
27 content.type = XML_ELEMENT_CONTENT_ELEMENT; in main()
28 content.prefix = in main()
30 content.name = in main()
32 content.ocur = XML_ELEMENT_CONTENT_PLUS; in main()
33 content.c1 = NULL; in main()
34 content.c2 = NULL; in main()
35 content.parent = NULL; in main()
37 xmlSnprintfElementContent(buf, BUFFER_SIZE, &content, 1); in main()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtype-blocklist.txt23 android.content.BroadcastReceiver
24 android.content.ComponentCallbacks
25 android.content.ContentProviderClient
26 android.content.ContentResolver
27 android.content.ContentResolver.MimeTypeInfo
28 android.content.Context
29 android.content.ContextParams
30 android.content.pm.ArchivedPackageInfo
31 android.content.pm.LauncherActivityInfo
32 android.content.pm.LauncherApps.ArchiveCompatibilityParams
[all …]
Dframework-classes.txt5 android.content.pm.PackageManager
6 android.content.pm.CrossProfileApps
7 android.content.pm.LauncherApps
10 android.content.Context
11 android.content.ContentResolver
17 android.content.RestrictionsManager
/cts/tests/tests/content/src/android/content/cts/
DAccountAccessSameCertTest.java17 package android.content.cts;
19 import static com.android.cts.content.Utils.ALWAYS_SYNCABLE_AUTHORITY;
20 import static com.android.cts.content.Utils.SYNC_TIMEOUT_MILLIS;
21 import static com.android.cts.content.Utils.allowSyncAdapterRunInBackgroundAndDataInBackground;
22 import static com.android.cts.content.Utils.disallowSyncAdapterRunInBackgroundAndDataInBackground;
23 import static com.android.cts.content.Utils.hasDataConnection;
24 import static com.android.cts.content.Utils.requestSync;
25 import static com.android.cts.content.Utils.withAccount;
32 import android.content.AbstractThreadedSyncAdapter;
39 import com.android.cts.content.AlwaysSyncableSyncService;
[all …]
DClipboardManagerListenerActivity.java17 package android.content.cts;
20 import android.content.ClipData;
21 import android.content.ClipboardManager;
22 import android.content.ClipboardManager.OnPrimaryClipChangedListener;
23 import android.content.Context;
/cts/tests/tests/widget/src/android/widget/cts/
DSlidingDrawerTest.java120 View content = mDrawer.getContent(); in testGetContent() local
121 assertTrue(content instanceof TextView); in testGetContent()
122 assertEquals(R.id.content, content.getId()); in testGetContent()
128 View content = mDrawer.getContent(); in testOpenAndClose() local
130 assertEquals(View.GONE, content.getVisibility()); in testOpenAndClose()
134 assertEquals(View.VISIBLE, content.getVisibility()); in testOpenAndClose()
138 assertEquals(View.GONE, content.getVisibility()); in testOpenAndClose()
143 View content = mDrawer.getContent(); in testAnimateOpenAndClose() local
146 assertEquals(View.GONE, content.getVisibility()); in testAnimateOpenAndClose()
150 assertEquals(View.GONE, content.getVisibility()); in testAnimateOpenAndClose()
[all …]
/cts/tests/tests/appenumeration/app/target/src/android/appenumeration/testapp/
DDummyActivity.java19 import static android.content.Intent.EXTRA_RETURN_RESULT;
22 import android.content.ActivityNotFoundException;
23 import android.content.ComponentName;
24 import android.content.Intent;
25 import android.content.pm.PackageInfo;
26 import android.content.pm.PackageManager;
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/context/
DContext.java20 import android.content.pm.PackageManager;
32 private static final android.content.Context sInstrumentedContext =
34 private static final android.content.Context sInstrumentationContext =
46 public android.content.Context instrumentedContext() { in instrumentedContext()
54 public android.content.Context instrumentedContextAsUser(UserReference user) { in instrumentedContextAsUser()
61 public android.content.Context instrumentationContext() { in instrumentationContext()
69 public android.content.Context instrumentationContextAsUser(UserReference user) { in instrumentationContextAsUser()
78 public android.content.Context androidContextAsUser(UserReference user) { in androidContextAsUser()
/cts/tests/tests/content/
DAndroid.bp30 "src/android/content/cts/**/DummyProvider.java",
31 "src/android/content/cts/**/Mock*.java",
32 "src/android/content/cts/**/ResultReceiver.java",
33 "src/android/content/cts/util/**/*.java",
121 "src/android/content/cts/**/*.java",
143 "android.content.res.flags-aconfig-java",
146 "src/android/content/om/**/*.java",
147 "src/android/content/res/**/*.java",
161 "src/android/content/wm/**/*.java",
175 "android.content.pm.flags-aconfig-java",
[all …]
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageItemInfo_DisplayNameComparatorTest.java17 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;
DInstantAppTest.java17 package android.content.pm.cts;
20 import static android.content.pm.PackageManager.MATCH_DIRECT_BOOT_AWARE;
21 import static android.content.pm.PackageManager.MATCH_DIRECT_BOOT_UNAWARE;
22 import static android.content.pm.PackageManager.MATCH_SYSTEM_ONLY;
24 import android.content.Intent;
25 import android.content.pm.PackageManager;
26 import android.content.pm.ResolveInfo;
/cts/tests/tests/match_flags/app/b/src/android/matchflags/cts/app/
DTestActivity.java19 import static android.content.Intent.EXTRA_RETURN_RESULT;
22 import android.content.ComponentName;
23 import android.content.Intent;
24 import android.content.pm.PackageInfo;
25 import android.content.pm.PackageManager;
/cts/tests/tests/match_flags/app/a/src/android/matchflags/cts/app/
DTestActivity.java19 import static android.content.Intent.EXTRA_RETURN_RESULT;
22 import android.content.ComponentName;
23 import android.content.Intent;
24 import android.content.pm.PackageInfo;
25 import android.content.pm.PackageManager;
/cts/hostsidetests/media/app/MediaRouteProviderApps/src/android/media/router/cts/
DPackageManagerSpammingMediaRoute2ProviderService.java19 import android.content.BroadcastReceiver;
20 import android.content.ComponentName;
21 import android.content.Context;
22 import android.content.Intent;
23 import android.content.IntentFilter;
24 import android.content.pm.PackageManager;
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DVintfFilesCollector.java61 for (String content : VintfObject.report()) { in collect()
62 String fileName = guessFileName(content); in collect()
64 writeStringToFile(content, new File(dir, fileName)); in collect()
69 private static void writeStringToFile(String content, File file) throws Exception { in writeStringToFile() argument
70 if (content == null || content.isEmpty()) { in writeStringToFile()
74 os.write(content); in writeStringToFile()
80 private static String guessFileName(String content) throws Exception { in guessFileName() argument
83 parser.setInput(new StringReader(content)); in guessFileName()
/cts/tests/tests/security/testdata/src/android/security/cts/packageinstallertestapp/
DBackgroundReceiver.java19 import static android.content.Intent.EXTRA_COMPONENT_NAME;
20 import static android.content.Intent.EXTRA_REMOTE_CALLBACK;
21 import static android.content.pm.PackageInstaller.SessionParams.MODE_FULL_INSTALL;
26 import android.content.BroadcastReceiver;
27 import android.content.ComponentName;
28 import android.content.Context;
29 import android.content.Intent;
30 import android.content.IntentSender;
31 import android.content.pm.PackageInstaller;
32 import android.content.pm.PackageInstaller.Session;
[all …]
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/
DInlineReply.java16 package android.content.pm.cts.shortcutmanager.throttling;
18 import static android.content.pm.cts.shortcutmanager.common.Constants.INLINE_REPLY_REMOTE_INPUT_CAP…
19 import static android.content.pm.cts.shortcutmanager.common.Constants.INLINE_REPLY_TITLE;
27 import android.content.BroadcastReceiver;
28 import android.content.ComponentName;
29 import android.content.Context;
30 import android.content.Intent;
DBgService.java16 package android.content.pm.cts.shortcutmanager.throttling;
21 import android.content.ComponentName;
22 import android.content.Context;
23 import android.content.Intent;
24 import android.content.pm.ShortcutManager;
25 import android.content.pm.cts.shortcutmanager.common.Constants;
26 import android.content.pm.cts.shortcutmanager.common.ReplyUtil;
/cts/tests/tests/packageinstaller/install_appop_denied/src/android/packageinstaller/install_appop_denied/cts/
DPackageInstallerTestBase.kt21 import android.content.BroadcastReceiver in <lambda>()
22 import android.content.Context in <lambda>()
23 import android.content.Intent in <lambda>()
24 import android.content.Intent.EXTRA_INTENT in <lambda>()
25 import android.content.Intent.FLAG_ACTIVITY_CLEAR_TASK in <lambda>()
26 import android.content.Intent.FLAG_ACTIVITY_NEW_TASK in <lambda>()
27 import android.content.IntentFilter in <lambda>()
28 import android.content.pm.PackageInstaller in <lambda>()
29 import android.content.pm.PackageInstaller.EXTRA_STATUS in <lambda>()
30 import android.content.pm.PackageInstaller.STATUS_FAILURE_INVALID in <lambda>()
[all …]
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/
DPackageInstallerTestBase.kt21 import android.content.BroadcastReceiver in <lambda>()
22 import android.content.Context in <lambda>()
23 import android.content.Intent in <lambda>()
24 import android.content.Intent.EXTRA_INTENT in <lambda>()
25 import android.content.Intent.FLAG_ACTIVITY_CLEAR_TASK in <lambda>()
26 import android.content.Intent.FLAG_ACTIVITY_NEW_TASK in <lambda>()
27 import android.content.IntentFilter in <lambda>()
28 import android.content.pm.PackageInstaller in <lambda>()
29 import android.content.pm.PackageInstaller.EXTRA_STATUS in <lambda>()
30 import android.content.pm.PackageInstaller.STATUS_FAILURE_INVALID in <lambda>()
[all …]

12345678910>>...155