Home
last modified time | relevance | path

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

12345678910>>...79

/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DPipActivity.java17 package android.server.wm.app;
19 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
22 import static android.server.wm.app.Components.PipActivity.ACTION_ENTER_PIP;
23 import static android.server.wm.app.Components.PipActivity.ACTION_EXPAND_PIP;
24 import static android.server.wm.app.Components.PipActivity.ACTION_FINISH;
25 import static android.server.wm.app.Components.PipActivity.ACTION_MOVE_TO_BACK;
26 import static android.server.wm.app.Components.PipActivity.ACTION_SET_REQUESTED_ORIENTATION;
27 import static android.server.wm.app.Components.PipActivity.EXTRA_ASSERT_NO_ON_STOP_BEFORE_PIP;
28 import static android.server.wm.app.Components.PipActivity.EXTRA_DISMISS_KEYGUARD;
29 import static android.server.wm.app.Components.PipActivity.EXTRA_ENTER_PIP;
[all …]
DBroadcastReceiverActivity.java17 package android.server.wm.app;
19 import static android.server.wm.app.Components.BROADCAST_RECEIVER_ACTIVITY;
20 import static android.server.wm.app.Components.BroadcastReceiverActivity.ACTION_TRIGGER_BROADCAST;
21 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_BROADCAST_ORIENTATIO…
22 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_CUTOUT_EXISTS;
23 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_DISMISS_KEYGUARD;
24 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_DISMISS_KEYGUARD_MET…
25 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_FINISH_BROADCAST;
26 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_MOVE_BROADCAST_TO_BA…
31 import android.app.Activity;
[all …]
DAssistantActivity.java17 package android.server.wm.app;
19 import static android.app.WindowConfiguration.ACTIVITY_TYPE_ASSISTANT;
22 import static android.server.wm.app.Components.AssistantActivity.EXTRA_ASSISTANT_DISPLAY_ID;
23 import static android.server.wm.app.Components.AssistantActivity.EXTRA_ASSISTANT_ENTER_PIP;
24 import static android.server.wm.app.Components.AssistantActivity.EXTRA_ASSISTANT_FINISH_SELF;
25 import static android.server.wm.app.Components.AssistantActivity.EXTRA_ASSISTANT_LAUNCH_NEW_TASK;
27 import android.app.Activity;
28 import android.app.ActivityOptions;
DKeyguardDismissLoggerCallback.java17 package android.server.wm.app;
19 import static android.server.wm.app.Components.KeyguardDismissLoggerCallback.ENTRY_ON_DISMISS_CANCE…
20 import static android.server.wm.app.Components.KeyguardDismissLoggerCallback.ENTRY_ON_DISMISS_ERROR;
21 import static android.server.wm.app.Components.KeyguardDismissLoggerCallback.ENTRY_ON_DISMISS_SUCCE…
22 import static android.server.wm.app.Components.KeyguardDismissLoggerCallback.KEYGUARD_DISMISS_LOG_T…
24 import android.app.KeyguardManager;
25 import android.app.KeyguardManager.KeyguardDismissCallback;
DVirtualDisplayActivity.java17 package android.server.wm.app;
26 import static android.server.wm.app.Components.VirtualDisplayActivity.COMMAND_CREATE_DISPLAY;
27 import static android.server.wm.app.Components.VirtualDisplayActivity.COMMAND_DESTROY_DISPLAY;
28 import static android.server.wm.app.Components.VirtualDisplayActivity.COMMAND_RESIZE_DISPLAY;
29 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_CAN_SHOW_WITH_INSECURE_KE…
30 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_COMMAND;
31 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_COUNT;
32 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_DENSITY_DPI;
33 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_LAUNCH_TARGET_COMPONENT;
34 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_PRESENTATION_DISPLAY;
[all …]
/cts/tests/app/src/android/app/cts/
DActivityCallbacksTest.java17 package android.app.cts;
19 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_CREATE;
20 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_DESTROY;
21 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_PAUSE;
22 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_POST_CREATE;
23 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_POST_DESTROY;
24 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_POST_PAUSE;
25 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_POST_RESUME;
26 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_POST_START;
27 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_POST_STOP;
[all …]
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()
/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_PINNED;
28 import static android.app.WindowConfiguration.WINDOWING_MODE_SPLIT_SCREEN_PRIMARY;
[all …]
/cts/tests/tests/keystore/src/android/server/am/
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_PINNED;
28 import static android.app.WindowConfiguration.WINDOWING_MODE_SPLIT_SCREEN_PRIMARY;
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityVisibilityTests.java19 import static android.app.ActivityTaskManager.INVALID_STACK_ID;
20 import static android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD;
21 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN;
22 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY;
23 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
24 import static android.app.WindowConfiguration.WINDOWING_MODE_SPLIT_SCREEN_PRIMARY;
25 import static android.app.WindowConfiguration.WINDOWING_MODE_SPLIT_SCREEN_SECONDARY;
34 import static android.server.wm.app.Components.ALT_LAUNCHING_ACTIVITY;
35 import static android.server.wm.app.Components.ALWAYS_FOCUSABLE_PIP_ACTIVITY;
36 import static android.server.wm.app.Components.BROADCAST_RECEIVER_ACTIVITY;
[all …]
DAssistantStackTests.java19 import static android.app.WindowConfiguration.ACTIVITY_TYPE_ASSISTANT;
20 import static android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD;
21 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN;
22 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
23 import static android.app.WindowConfiguration.WINDOWING_MODE_SPLIT_SCREEN_PRIMARY;
24 import static android.app.WindowConfiguration.WINDOWING_MODE_SPLIT_SCREEN_SECONDARY;
25 import static android.app.WindowConfiguration.WINDOWING_MODE_UNDEFINED;
29 import static android.server.wm.app.Components.ANIMATION_TEST_ACTIVITY;
30 import static android.server.wm.app.Components.ASSISTANT_ACTIVITY;
31 import static android.server.wm.app.Components.ASSISTANT_VOICE_INTERACTION_SERVICE;
[all …]
DKeyguardTests.java19 import static android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD;
20 import static android.app.WindowConfiguration.WINDOWING_MODE_SPLIT_SCREEN_PRIMARY;
27 import static android.server.wm.app.Components.BROADCAST_RECEIVER_ACTIVITY;
28 import static android.server.wm.app.Components.DISMISS_KEYGUARD_ACTIVITY;
29 import static android.server.wm.app.Components.DISMISS_KEYGUARD_METHOD_ACTIVITY;
30 import static android.server.wm.app.Components.INHERIT_SHOW_WHEN_LOCKED_ADD_ACTIVITY;
31 import static android.server.wm.app.Components.INHERIT_SHOW_WHEN_LOCKED_ATTR_ACTIVITY;
32 import static android.server.wm.app.Components.INHERIT_SHOW_WHEN_LOCKED_REMOVE_ACTIVITY;
33 import static android.server.wm.app.Components.KEYGUARD_LOCK_ACTIVITY;
34 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
[all …]
DKeyguardLockedTests.java19 import static android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD;
20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
22 import static android.server.wm.app.Components.DISMISS_KEYGUARD_ACTIVITY;
23 import static android.server.wm.app.Components.DISMISS_KEYGUARD_METHOD_ACTIVITY;
24 import static android.server.wm.app.Components.PIP_ACTIVITY;
25 import static android.server.wm.app.Components.PipActivity.ACTION_ENTER_PIP;
26 import static android.server.wm.app.Components.PipActivity.EXTRA_DISMISS_KEYGUARD;
27 import static android.server.wm.app.Components.PipActivity.EXTRA_ENTER_PIP;
28 import static android.server.wm.app.Components.PipActivity.EXTRA_SHOW_OVER_KEYGUARD;
29 import static android.server.wm.app.Components.SHOW_WHEN_LOCKED_ACTIVITY;
[all …]
/cts/tests/backup/src/android/backup/cts/
DPermissionTest.java23 import static android.app.AppOpsManager.MODE_ALLOWED;
24 import static android.app.AppOpsManager.MODE_FOREGROUND;
25 import static android.app.AppOpsManager.MODE_IGNORED;
26 import static android.app.AppOpsManager.permissionToOp;
37 import android.app.AppOpsManager;
358 private void setFlag(String app, String permission, int flag) { in setFlag() argument
360 () -> sContext.getPackageManager().updatePermissionFlags(permission, app, in setFlag()
364 private void clearFlag(String app, String permission, int flag) { in clearFlag() argument
366 () -> sContext.getPackageManager().updatePermissionFlags(permission, app, in clearFlag()
370 private boolean isFlagSet(String app, String permission, int flag) { in isFlagSet() argument
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSecurityLoggingTest.java18 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_FINGERPRINT;
19 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_COMPLEX;
20 import static android.app.admin.SecurityLog.LEVEL_ERROR;
21 import static android.app.admin.SecurityLog.LEVEL_INFO;
22 import static android.app.admin.SecurityLog.LEVEL_WARNING;
23 import static android.app.admin.SecurityLog.TAG_ADB_SHELL_CMD;
24 import static android.app.admin.SecurityLog.TAG_ADB_SHELL_INTERACTIVE;
25 import static android.app.admin.SecurityLog.TAG_APP_PROCESS_START;
26 import static android.app.admin.SecurityLog.TAG_CERT_AUTHORITY_INSTALLED;
27 import static android.app.admin.SecurityLog.TAG_CERT_AUTHORITY_REMOVED;
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDevicePolicyLoggingTest.java20 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_FEATURES_NONE;
21 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_FINGERPRINT;
22 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_TRUST_AGENTS;
23 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED;
24 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT;
25 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED;
26 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED;
27 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_DENY;
28 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT;
29 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_PROMPT;
[all …]
/cts/tests/admin/src/android/admin/cts/
DDeviceAdminActivationTest.java19 import android.app.Activity;
20 import android.app.admin.DevicePolicyManager;
25 import android.admin.app.CtsDeviceAdminBrokenReceiver;
26 import android.admin.app.CtsDeviceAdminBrokenReceiver2;
27 import android.admin.app.CtsDeviceAdminBrokenReceiver3;
28 import android.admin.app.CtsDeviceAdminBrokenReceiver4;
29 import android.admin.app.CtsDeviceAdminBrokenReceiver5;
30 import android.admin.app.CtsDeviceAdminDeactivatedReceiver;
31 import android.admin.app.CtsDeviceAdminActivationTestActivity;
32 import android.admin.app.CtsDeviceAdminActivationTestActivity.OnActivityResultListener;
/cts/apps/CtsVerifier/
DAndroid.mk119 pre-installed-instant-app := CtsVerifierInstantApp
129 $(pre-installed-instant-app) \
138 cts-verifier: CtsVerifier adb $(pre-installed-apps) $(pre-installed-instant-app)
139 adb install -r $(PRODUCT_OUT)/data/app/CtsVerifier/CtsVerifier.apk \
140 $(foreach app,$(pre-installed-apps), \
141 && adb install -r -t $(call apk-location-for,$(app))) \
142 && adb install -r --instant $(call apk-location-for,$(pre-installed-instant-app)) \
175 $(verifier-zip) : $(foreach app,$(apps-to-include),$(call apk-location-for,$(app)))
179 $(foreach app,$(apps-to-include), \
180 $(ACP) -fp $(call apk-location-for,$(app)) $(verifier-dir)/$(app).apk;)
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DTestService.java16 package android.app.usage.cts;
18 import android.app.Notification;
19 import android.app.NotificationChannel;
20 import android.app.NotificationManager;
21 import android.app.PendingIntent;
22 import android.app.Service;
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/
DInlineReply.java21 import android.app.Notification;
22 import android.app.Notification.Action;
23 import android.app.Notification.Builder;
24 import android.app.NotificationManager;
25 import android.app.PendingIntent;
26 import android.app.RemoteInput;
/cts/tests/app/app/src/android/app/stubs/
DLocalForegroundServiceLocation.java17 package android.app.stubs;
21 import android.app.Notification;
22 import android.app.NotificationChannel;
23 import android.app.NotificationManager;
24 import android.app.Service;
31 import android.app.stubs.R;
DBubblesTestService.java17 package android.app.stubs;
19 import static android.app.Notification.CATEGORY_CALL;
21 import android.app.Notification;
22 import android.app.PendingIntent;
23 import android.app.Person;
24 import android.app.Service;
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DPermissionGrantDelegateTest.java18 import static android.app.admin.DevicePolicyManager.DELEGATION_PERMISSION_GRANT;
19 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT;
20 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_DENY;
21 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED;
22 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED;
25 import android.app.admin.DevicePolicyManager;
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DLegacyNotificationManagerTest.java17 package android.app.notification.legacy.cts;
19 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_FULL_SCREEN_INTENT;
20 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_LIGHTS;
21 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_NOTIFICATION_LIST;
22 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_PEEK;
23 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_SCREEN_OFF;
24 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_SCREEN_ON;
25 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_STATUS_BAR;
31 import android.app.ActivityManager;
32 import android.app.Instrumentation;
[all …]

12345678910>>...79