Home
last modified time | relevance | path

Searched refs:app (Results 1 – 25 of 3985) sorted by relevance

12345678910>>...160

/cts/tests/app/WallpaperTest/
DTEST_MAPPING7 "include-filter": "android.app.cts.wallpapers.WallpaperColorsTest#equalsTest"
10 "include-filter": "android.app.cts.wallpapers.WallpaperColorsTest#fromBitmapTest"
13 … "include-filter": "android.app.cts.wallpapers.WallpaperColorsTest#fromDrawableDoesntMutateBounds"
16 "include-filter": "android.app.cts.wallpapers.WallpaperColorsTest#fromDrawableTest"
19 "include-filter": "android.app.cts.wallpapers.WallpaperColorsTest#getWallpaperColorsTest"
22 "include-filter": "android.app.cts.wallpapers.WallpaperColorsTest#parcelTest"
25 … "include-filter": "android.app.cts.wallpapers.WallpaperColorsTest#wallpaperColorsHints_ctor"
28 … "include-filter": "android.app.cts.wallpapers.WallpaperColorsTest#wallpaperColorsHints_default"
31 …"include-filter": "android.app.cts.wallpapers.WallpaperInfoTest#test_defaultUnfoldTransitionDisabl…
34 "include-filter": "android.app.cts.wallpapers.WallpaperInfoTest#test_wallpaperInfoOptions"
[all …]
/cts/common/device-side/bedstead/testapisreflection/java/apis/
Dallowlisted-test-methods.txt1 android.app.admin.DevicePolicyManager,public boolean isCurrentInputMethodSetByOwner()
2 android.app.admin.DevicePolicyManager,public boolean setDeviceOwnerOnly(android.content.ComponentNa…
3 android.app.admin.DevicePolicyManager,public java.util.List<java.lang.String> getOwnerInstalledCaCe…
4 android.app.admin.DevicePolicyManager,public void clearOrganizationId()
5 android.app.admin.DevicePolicyManager,public void setNextOperationSafety(int, int)
6 android.app.admin.DevicePolicyManager,public void setActiveAdmin(android.content.ComponentName, boo…
7 android.app.admin.DevicePolicyManager,public long forceNetworkLogs()
8 android.app.admin.DevicePolicyManager,public boolean isNewUserDisclaimerAcknowledged()
9 android.app.admin.DevicePolicyManager,public void resetShouldAllowBypassingDevicePolicyManagementRo…
10 android.app.admin.DevicePolicyManager,public java.util.Set<String> getDefaultCrossProfilePackages()
[all …]
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DLauncherAppsTest.java99 try (TestAppInstance app = sTestApp.install(sDeviceState.dpc().user())) { in getActivityList_activityIsDisabled_isNotIncludedInList() argument
100 disableMainActivity(app); in getActivityList_activityIsDisabled_isNotIncludedInList()
103 app.packageName(), app.user().userHandle()); in getActivityList_activityIsDisabled_isNotIncludedInList()
115 try (TestAppInstance app = sTestApp.install()) { in getActivityList_launcherActivityIsDisabled_syntheticActivityIsIncluded() argument
116 disableMainActivity(app); in getActivityList_launcherActivityIsDisabled_syntheticActivityIsIncluded()
119 app.packageName(), app.user().userHandle()); in getActivityList_launcherActivityIsDisabled_syntheticActivityIsIncluded()
129 try (TestAppInstance app = sTestApp.install()) { in setSyntheticAppDetailsActivityEnabled_noPermission_throwsException() argument
132 app.packageName(), /* enabled= */ false)); in setSyntheticAppDetailsActivityEnabled_noPermission_throwsException()
140 try (TestAppInstance app = sTestApp.install()) { in setSyntheticAppDetailsActivityEnabled_true_isEnabled() argument
141 disableMainActivity(app); in setSyntheticAppDetailsActivityEnabled_true_isEnabled()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DDevicePolicySafetyCheckerIntegrationTest.java18 import static android.app.admin.DevicePolicyManager.OPERATION_CREATE_AND_MANAGE_USER;
19 import static android.app.admin.DevicePolicyManager.OPERATION_REBOOT;
20 import static android.app.admin.DevicePolicyManager.OPERATION_REMOVE_USER;
21 import static android.app.admin.DevicePolicyManager.OPERATION_REQUEST_BUGREPORT;
22 import static android.app.admin.DevicePolicyManager.OPERATION_SET_APPLICATION_HIDDEN;
23 import static android.app.admin.DevicePolicyManager.OPERATION_SET_APPLICATION_RESTRICTIONS;
24 import static android.app.admin.DevicePolicyManager.OPERATION_SET_CAMERA_DISABLED;
25 import static android.app.admin.DevicePolicyManager.OPERATION_SET_FACTORY_RESET_PROTECTION_POLICY;
26 import static android.app.admin.DevicePolicyManager.OPERATION_SET_GLOBAL_PRIVATE_DNS;
27 import static android.app.admin.DevicePolicyManager.OPERATION_SET_KEEP_UNINSTALLED_PACKAGES;
[all …]
/cts/tests/tests/app/test-apps/TestComponentCallerApp/src/android/app/cts/testcomponentcaller/
DTestInitialCallerActivity.java17 package android.app.cts.testcomponentcaller;
19 import static android.app.cts.testcomponentcaller.Constants.TEST_ACTION_ID;
20 import static android.app.cts.testcomponentcaller.Constants.EXTRA_CHECK_CONTENT_URI_PERMISSION_RESU…
21 import static android.app.cts.testcomponentcaller.Constants.EXTRA_ILLEGAL_ARG_EXCEPTION_CAUGHT;
22 import static android.app.cts.testcomponentcaller.Constants.EXTRA_UNKNOWN;
23 import static android.app.cts.testcomponentcaller.Constants.IS_NEW_INTENT;
24 import static android.app.cts.testcomponentcaller.Constants.IS_RESULT;
25 import static android.app.cts.testcomponentcaller.Constants.MODE_FLAGS_TO_CHECK;
26 import static android.app.cts.testcomponentcaller.Constants.EXTRA_SECURITY_EXCEPTION_CAUGHT;
27 import static android.app.cts.testcomponentcaller.Constants.INVALID_PERMISSION_RESULT;
[all …]
/cts/tests/tests/app/test-apps/TestShareIdentityApp/src/android/app/cts/testshareidentity/
DTestShareIdentityReceiver.java16 package android.app.cts.testshareidentity;
18 import static android.app.cts.testshareidentity.TestShareIdentityActivity.DEFAULT_SHARING_TEST_CASE…
19 import static android.app.cts.testshareidentity.TestShareIdentityActivity.DEFAULT_SHARING_TEST_CASE…
20 import static android.app.cts.testshareidentity.TestShareIdentityActivity.EXPLICIT_OPT_IN_TEST_CASE…
21 import static android.app.cts.testshareidentity.TestShareIdentityActivity.EXPLICIT_OPT_IN_TEST_CASE…
22 import static android.app.cts.testshareidentity.TestShareIdentityActivity.EXPLICIT_OPT_OUT_TEST_CAS…
23 import static android.app.cts.testshareidentity.TestShareIdentityActivity.EXPLICIT_OPT_OUT_TEST_CAS…
24 import static android.app.cts.testshareidentity.TestShareIdentityActivity.TEST_CASE_KEY;
25 import static android.app.cts.testshareidentity.TestShareIdentityActivity.TEST_ID_KEY;
26 import static android.app.cts.testshareidentity.TestShareIdentityActivity.getShareIdentityActivity;
[all …]
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DPipActivity.java17 package android.server.wm.app;
19 import static android.server.wm.app.Components.PipActivity.ACTION_CHANGE_ASPECT_RATIO;
20 import static android.server.wm.app.Components.PipActivity.ACTION_ENTER_PIP;
21 import static android.server.wm.app.Components.PipActivity.ACTION_ENTER_PIP_AND_WAIT_FOR_UI_STATE;
22 import static android.server.wm.app.Components.PipActivity.ACTION_EXPAND_PIP;
23 import static android.server.wm.app.Components.PipActivity.ACTION_FINISH;
24 import static android.server.wm.app.Components.PipActivity.ACTION_LAUNCH_TRANSLUCENT_ACTIVITY;
25 import static android.server.wm.app.Components.PipActivity.ACTION_MOVE_TO_BACK;
26 import static android.server.wm.app.Components.PipActivity.ACTION_ON_PIP_REQUESTED;
27 import static android.server.wm.app.Components.PipActivity.ACTION_SET_ON_PAUSE_REMOTE_CALLBACK;
[all …]
DHandleSplashScreenExitActivity.java17 package android.server.wm.app;
19 import static android.app.UiModeManager.MODE_NIGHT_AUTO;
20 import static android.server.wm.app.Components.TestStartingWindowKeys.CANCEL_HANDLE_EXIT;
21 import static android.server.wm.app.Components.TestStartingWindowKeys.CENTER_VIEW_IS_SURFACE_VIEW;
22 import static android.server.wm.app.Components.TestStartingWindowKeys.CONTAINS_BRANDING_VIEW;
23 import static android.server.wm.app.Components.TestStartingWindowKeys.CONTAINS_CENTER_VIEW;
24 import static android.server.wm.app.Components.TestStartingWindowKeys.DELAY_RESUME;
25 import static android.server.wm.app.Components.TestStartingWindowKeys.GET_NIGHT_MODE_ACTIVITY_CHANG…
26 import static android.server.wm.app.Components.TestStartingWindowKeys.HANDLE_SPLASH_SCREEN_EXIT;
27 import static android.server.wm.app.Components.TestStartingWindowKeys.ICON_ANIMATION_DURATION;
[all …]
DLandscapeOrientationActivity.java17 package android.server.wm.app;
19 import static android.server.wm.app.Components.LandscapeOrientationActivity.EXTRA_APP_CONFIG_INFO;
20 import static android.server.wm.app.Components.LandscapeOrientationActivity.EXTRA_CONFIG_INFO_IN_ON…
21 import static android.server.wm.app.Components.LandscapeOrientationActivity.EXTRA_DISPLAY_REAL_SIZE;
22 import static android.server.wm.app.Components.LandscapeOrientationActivity.EXTRA_SYSTEM_RESOURCES_…
24 import android.app.Application;
49 final Application app = getApplication(); in onCreate()
50 extras.putParcelable(EXTRA_APP_CONFIG_INFO, new ConfigInfo(app, in onCreate()
53 app.getSystemService(DisplayManager.class) in onCreate()
/cts/tests/tests/dreams/CtsDreamOverlayTestApp/src/android/app/dream/cts/app/
DIDreamProxy.aidl16 package android.app.dream.cts.app;
18 import android.app.dream.cts.app.IControlledDream;
19 import android.app.dream.cts.app.IDreamListener;
/cts/tests/appsearch/src/com/android/cts/appsearch/app/
DGlobalSearchSessionCtsTest.java16 package android.app.appsearch.cts.app;
18 import android.app.appsearch.AppSearchManager;
19 import android.app.appsearch.AppSearchSessionShim;
20 import android.app.appsearch.GlobalSearchSessionShim;
21 import android.app.appsearch.testutil.AppSearchSessionShimImpl;
22 import android.app.appsearch.testutil.GlobalSearchSessionShimImpl;
DGlobalSearchSessionPlatformServiceCtsTest.java17 package android.app.appsearch.cts.app;
19 import android.app.appsearch.AppSearchManager;
20 import android.app.appsearch.AppSearchSessionShim;
21 import android.app.appsearch.GlobalSearchSessionShim;
22 import android.app.appsearch.testutil.AppSearchSessionShimImpl;
23 import android.app.appsearch.testutil.GlobalSearchSessionShimImpl;
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/
DEnterpriseGlobalSearchSessionShimImpl.java17 package android.app.appsearch.testutil;
20 import android.app.appsearch.AppSearchBatchResult;
21 import android.app.appsearch.AppSearchManager;
22 import android.app.appsearch.AppSearchResult;
23 import android.app.appsearch.EnterpriseGlobalSearchSession;
24 import android.app.appsearch.EnterpriseGlobalSearchSessionShim;
25 import android.app.appsearch.Features;
26 import android.app.appsearch.GenericDocument;
27 import android.app.appsearch.GetByDocumentIdRequest;
28 import android.app.appsearch.GetSchemaResponse;
[all …]
DGlobalSearchSessionShimImpl.java17 package android.app.appsearch.testutil;
20 import android.app.appsearch.AppSearchBatchResult;
21 import android.app.appsearch.AppSearchManager;
22 import android.app.appsearch.AppSearchResult;
23 import android.app.appsearch.Features;
24 import android.app.appsearch.GenericDocument;
25 import android.app.appsearch.GetByDocumentIdRequest;
26 import android.app.appsearch.GetSchemaResponse;
27 import android.app.appsearch.GlobalSearchSession;
28 import android.app.appsearch.GlobalSearchSessionShim;
[all …]
DAppSearchSessionShimImpl.java17 package android.app.appsearch.testutil;
21 import android.app.appsearch.AppSearchBatchResult;
22 import android.app.appsearch.AppSearchManager;
23 import android.app.appsearch.AppSearchResult;
24 import android.app.appsearch.AppSearchSession;
25 import android.app.appsearch.AppSearchSessionShim;
26 import android.app.appsearch.Features;
27 import android.app.appsearch.GenericDocument;
28 import android.app.appsearch.GetByDocumentIdRequest;
29 import android.app.appsearch.GetSchemaResponse;
[all …]
/cts/hostsidetests/scopedstorage/bypassdatabase/src/android/scopedstorage/cts/bypassdatabase/
DBypassDatabaseOperationsTest.java19 import static android.app.AppOpsManager.permissionToOp;
38 import android.app.AppOpsManager;
231 private void testAppDoesntBypassDatabaseOps(TestApp app) throws Exception { in testAppDoesntBypassDatabaseOps() argument
235 assertThat(createFileAs(app, file.getAbsolutePath())).isTrue(); in testAppDoesntBypassDatabaseOps()
237 assertThat(TestUtils.checkDatabaseRowExistsAs(app, file)).isTrue(); in testAppDoesntBypassDatabaseOps()
239 assertThat(renameFileAs(app, file, renamedFile)).isTrue(); in testAppDoesntBypassDatabaseOps()
241 assertThat(TestUtils.checkDatabaseRowExistsAs(app, file)).isFalse(); in testAppDoesntBypassDatabaseOps()
242 assertThat(TestUtils.checkDatabaseRowExistsAs(app, renamedFile)).isTrue(); in testAppDoesntBypassDatabaseOps()
244 assertThat(deleteFileAs(app, renamedFile.getAbsolutePath())).isTrue(); in testAppDoesntBypassDatabaseOps()
246 assertThat(TestUtils.checkDatabaseRowExistsAs(app, renamedFile)).isFalse(); in testAppDoesntBypassDatabaseOps()
[all …]
/cts/tests/app/src/android/app/cts/
DLaunchTest.java17 package android.app.cts;
19 import android.app.stubs.ActivityTestsBase;
20 import android.app.stubs.ClearTop;
21 import android.app.stubs.LaunchpadActivity;
22 import android.app.stubs.LocalActivity;
23 import android.app.stubs.LocalScreen;
24 import android.app.stubs.TestedActivity;
25 import android.app.stubs.TestedScreen;
DApplicationTest.java17 package android.app.cts;
23 import android.app.Activity;
24 import android.app.Application;
25 import android.app.Instrumentation;
26 import android.app.stubs.MockApplication;
27 import android.app.stubs.MockApplicationActivity;
66 Application app = new Application(); in testOnTrimMemory() local
68 app.registerComponentCallbacks(mockCallBack2); in testOnTrimMemory()
70 app.onTrimMemory(level); in testOnTrimMemory()
DActivityManagerApi29Test.java16 package android.app.cts;
19 import static android.app.ActivityManager.PROCESS_CAPABILITY_FOREGROUND_CAMERA;
20 import static android.app.ActivityManager.PROCESS_CAPABILITY_FOREGROUND_LOCATION;
21 import static android.app.ActivityManager.PROCESS_CAPABILITY_FOREGROUND_MICROPHONE;
22 import static android.app.ActivityManager.PROCESS_CAPABILITY_NONE;
23 import static android.app.ActivityManager.PROCESS_CAPABILITY_POWER_RESTRICTED_NETWORK;
24 import static android.app.AppOpsManager.MODE_ALLOWED;
25 import static android.app.AppOpsManager.MODE_FOREGROUND;
26 import static android.app.AppOpsManager.MODE_IGNORED;
27 import static android.app.AppOpsManager.OPSTR_CAMERA;
[all …]
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/policies/
DKeyguardDisableFeatures.java19 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_FACE;
20 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_FINGERPRINT;
21 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_IRIS;
22 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_REMOTE_INPUT;
23 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_SECURE_CAMERA;
24 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_SECURE_NOTIFICATIONS;
25 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_TRUST_AGENTS;
26 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS;
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityTestBase.java19 import static android.app.AppOpsManager.MODE_ERRORED;
20 import static android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD;
21 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
35 import android.app.PendingIntent;
139 for (Components app : ALL_APPS) { in setUp()
140 assertNull(mWmState.getTaskByActivity(app.BACKGROUND_ACTIVITY)); in setUp()
141 assertNull(mWmState.getTaskByActivity(app.FOREGROUND_ACTIVITY)); in setUp()
143 + app.APP_PACKAGE_NAME); in setUp()
151 for (Components app : ALL_APPS) { in tearDown()
154 + app.SIMPLE_ADMIN_RECEIVER.flattenToString()); in tearDown()
[all …]
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtype-blocklist.txt3 android.app.ActionBar
4 android.app.Activity.ScreenCaptureCallback
5 android.app.admin.DevicePolicyManager
6 android.app.Application
7 android.app.Application.ActivityLifecycleCallbacks
8 android.app.ComponentCaller
9 android.app.Dialog
10 android.app.Fragment
11 android.app.FragmentManager
12 android.app.LoaderManager
[all …]
/cts/tests/tests/app.usage/TestApp1/src/android/app/usage/cts/test1/
DTestService.java17 package android.app.usage.cts.test1;
19 import android.app.Notification;
20 import android.app.NotificationChannel;
21 import android.app.NotificationManager;
22 import android.app.Service;
23 import android.app.usage.UsageStatsManager;
24 import android.app.usage.cts.ITestReceiver;
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/functions/
DTestAppFunctionService.java17 package android.app.appsearch.testutil.functions;
19 import static android.app.appsearch.AppSearchResult.RESULT_NOT_FOUND;
20 import static android.app.appsearch.AppSearchResult.newFailedResult;
21 import static android.app.appsearch.AppSearchResult.newSuccessfulResult;
22 import static android.app.appsearch.functions.ExecuteAppFunctionResponse.PROPERTY_RESULT;
24 import android.app.appsearch.AppSearchResult;
25 import android.app.appsearch.GenericDocument;
26 import android.app.appsearch.functions.AppFunctionService;
27 import android.app.appsearch.functions.ExecuteAppFunctionRequest;
28 import android.app.appsearch.functions.ExecuteAppFunctionResponse;
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWaitForValidActivityState.java19 import static android.app.ActivityTaskManager.INVALID_STACK_ID;
20 import static android.app.WindowConfiguration.ACTIVITY_TYPE_ASSISTANT;
21 import static android.app.WindowConfiguration.ACTIVITY_TYPE_HOME;
22 import static android.app.WindowConfiguration.ACTIVITY_TYPE_RECENTS;
23 import static android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD;
24 import static android.app.WindowConfiguration.ACTIVITY_TYPE_UNDEFINED;
25 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
26 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN;
27 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW;
28 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
[all …]

12345678910>>...160