/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/ |
D | FeatureUtil.java | 36 public static boolean isConfigLocationSupported(Context context) { in isConfigLocationSupported() 43 public static boolean isConfigLockScreenSupported(Context context) { in isConfigLockScreenSupported() 50 public static boolean isCustomizeLockScreenMessageSupported(Context context) { in isCustomizeLockScreenMessageSupported() 57 public static boolean isPasswordSupported(Context context) { in isPasswordSupported() 64 public static boolean isHighPasswordComplexitySupported(Context context) { in isHighPasswordComplexitySupported() 71 public static boolean isFunSupported(Context context) { in isFunSupported() 78 public static boolean isScreenTimeoutSupported(Context context) { in isScreenTimeoutSupported() 85 public static boolean isThirdPartyAccessibilityServiceSupported(Context context) { in isThirdPartyAccessibilityServiceSupported() 92 public static boolean isConfigVpnSupported(Context context) { in isConfigVpnSupported() 98 public static boolean isDisableKeyguardSupported(Context context) { in isDisableKeyguardSupported() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | AudioSystemFlags.java | 30 public static boolean claimsOutput(Context context) { in claimsOutput() 34 public static boolean claimsInput(Context context) { in claimsInput() 38 public static boolean claimsProAudio(Context context) { in claimsProAudio() 42 public static boolean claimsLowLatencyAudio(Context context) { in claimsLowLatencyAudio() 47 public static boolean claimsMIDI(Context context) { in claimsMIDI() 52 public static boolean claimsUSBHostMode(Context context) { in claimsUSBHostMode() 56 public static boolean claimsUSBPeripheralMode(Context context) { in claimsUSBPeripheralMode() 67 public static boolean claimsHeadTrackingLowLatency(Context context) { in claimsHeadTrackingLowLatency() 81 public static boolean isWatch(Context context) { in isWatch() 89 public static boolean supportsWebView(Context context) { in supportsWebView() [all …]
|
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/ |
D | BaseTestAppDeviceAdminReceiver.java | 35 public void onEnabled(Context context, Intent intent) { in onEnabled() 40 public CharSequence onDisableRequested(Context context, Intent intent) { in onDisableRequested() 45 public void onDisabled(Context context, Intent intent) { in onDisabled() 50 public void onPasswordChanged(Context context, Intent intent) { in onPasswordChanged() 55 public void onPasswordChanged(Context context, Intent intent, UserHandle user) { in onPasswordChanged() 60 public void onPasswordFailed(Context context, Intent intent) { in onPasswordFailed() 65 public void onPasswordFailed(Context context, Intent intent, UserHandle user) { in onPasswordFailed() 70 public void onPasswordSucceeded(Context context, Intent intent) { in onPasswordSucceeded() 75 public void onPasswordSucceeded(Context context, Intent intent, UserHandle user) { in onPasswordSucceeded() 80 public void onPasswordExpiring(Context context, Intent intent) { in onPasswordExpiring() [all …]
|
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/ |
D | ShortcutManagerThrottlingTestReceiver.java | 42 public ShortcutManager getManager(Context context) { in getManager() 50 public void onReceive(Context context, Intent intent) { in onReceive() 90 public void testSetDynamicShortcuts(Context context, String replyAction) { in testSetDynamicShortcuts() 99 public void testAddDynamicShortcuts(Context context, String replyAction) { in testAddDynamicShortcuts() 108 public void testUpdateShortcuts(Context context, String replyAction) { in testUpdateShortcuts() 117 public void testBgServiceThrottled(Context context, String replyAction) { in testBgServiceThrottled() 124 public void testActivityUnthrottled(Context context, String replyAction) { in testActivityUnthrottled() 139 public void testFgServiceUnthrottled(Context context, String replyAction) { in testFgServiceUnthrottled() 149 public void testInlineReplyShow(Context context, String replyAction) { in testInlineReplyShow() 158 public void testInlineReplyCheck(Context context, String replyAction) { in testInlineReplyCheck()
|
/cts/tests/credentials/src/android/credentials/cts/testcore/ |
D | CtsCredentialManagerUtils.java | 37 public static boolean isWatch(Context context) { in isWatch() 43 public static boolean isAuto(Context context) { in isAuto() 49 public static boolean isTv(Context context) { in isTv() 58 public static void enableCredentialManagerDeviceConfigFlag(@NonNull Context context) { in enableCredentialManagerDeviceConfigFlag() 62 public static void disableCredentialManagerDeviceFeature(@NonNull Context context) { in disableCredentialManagerDeviceFeature() 67 public static void setCredentialManagerFeature(@NonNull Context context, boolean enabled) { in setCredentialManagerFeature() 72 public static void setDeviceConfig( in setDeviceConfig()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BlockingBroadcastReceiver.java | 81 public static BlockingBroadcastReceiver create(Context context, String expectedAction) { in create() 85 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter) { in create() 89 public static BlockingBroadcastReceiver create(Context context, String expectedAction, in create() 94 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter, in create() 99 public static BlockingBroadcastReceiver create(Context context, in create() 104 public static BlockingBroadcastReceiver create(Context context, Set<IntentFilter> intentFilters, in create() 112 public BlockingBroadcastReceiver(Context context) { in BlockingBroadcastReceiver() 116 public BlockingBroadcastReceiver(Context context, String expectedAction) { in BlockingBroadcastReceiver() 120 public BlockingBroadcastReceiver(Context context, IntentFilter intentFilter) { in BlockingBroadcastReceiver() 124 public BlockingBroadcastReceiver(Context context, IntentFilter intentFilter, in BlockingBroadcastReceiver() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockingBroadcastReceiver.java | 74 public static BlockingBroadcastReceiver create(Context context, String expectedAction) { in create() 78 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter) { in create() 82 public static BlockingBroadcastReceiver create(Context context, String expectedAction, in create() 87 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter, in create() 92 public static BlockingBroadcastReceiver create(Context context, in create() 97 public static BlockingBroadcastReceiver create(Context context, Set<IntentFilter> intentFilters, in create() 105 public BlockingBroadcastReceiver(Context context) { in BlockingBroadcastReceiver() 109 public BlockingBroadcastReceiver(Context context, String expectedAction) { in BlockingBroadcastReceiver() 113 public BlockingBroadcastReceiver(Context context, IntentFilter intentFilter) { in BlockingBroadcastReceiver() 117 public BlockingBroadcastReceiver(Context context, IntentFilter intentFilter, in BlockingBroadcastReceiver() [all …]
|
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/ |
D | WifiFeature.java | 23 public static boolean isWifiSupported(Context context) { in isWifiSupported() 28 public static boolean isP2pSupported(Context context) { in isP2pSupported() 33 public static boolean isTelephonySupported(Context context) { in isTelephonySupported() 38 public static boolean isRttSupported(Context context) { in isRttSupported() 43 public static boolean isAwareSupported(Context context) { in isAwareSupported()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiFeature.java | 23 public static boolean isWifiSupported(Context context) { in isWifiSupported() 28 public static boolean isP2pSupported(Context context) { in isP2pSupported() 33 public static boolean isTelephonySupported(Context context) { in isTelephonySupported() 38 public static boolean isRttSupported(Context context) { in isRttSupported() 43 public static boolean isAwareSupported(Context context) { in isAwareSupported()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | Version.java | 43 static String getVersionName(Context context) { in getVersionName() 47 static int getVersionCode(Context context) { in getVersionCode() 51 static private String[] getVersionNameStrings(Context context) { in getVersionNameStrings() 55 static PackageInfo getPackageInfo(Context context) { in getPackageInfo()
|
/cts/hostsidetests/media/app/MediaMetricsTest/src/android/media/metrics/cts/ |
D | MediaMetricsAtomHostSideTests.java | 95 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testPlaybackStateEvent_default() local 108 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testPlaybackStateEvent() local 124 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testPlaybackErrorEvent_default() local 138 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testPlaybackErrorEvent() local 156 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testTrackChangeEvent_default() local 168 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testTrackChangeEvent_text() local 190 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testTrackChangeEvent_audio() local 214 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testTrackChangeEvent_video() local 240 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testNetworkEvent_default() local 252 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testNetworkEvent() local [all …]
|
/cts/tests/tests/os/src/android/os/health/cts/ |
D | SystemHealthManagerTest.java | 40 final Context context = getInstrumentation().getTargetContext(); in testTakeMyUidSnapshot() local 64 final Context context = getInstrumentation().getTargetContext(); in testTakeUidSnapshotWithMe() local 75 final Context context = getInstrumentation().getTargetContext(); in testTakeMyUidSnapshotWithSystem() local 93 final Context context = getInstrumentation().getTargetContext(); in testTakeUidSnapshotsWithEmptyArray() local 105 final Context context = getInstrumentation().getTargetContext(); in testTakeUidSnapshotsWithMe() local 122 final Context context = getInstrumentation().getTargetContext(); in testTakeMyUidSnapshotsWithSystem() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | PhoneAccountUtils.java | 89 public static void registerTestPhoneAccount(Context context) { in registerTestPhoneAccount() 100 public static PhoneAccount getPhoneAccount(Context context) { in getPhoneAccount() 112 public static PhoneAccount getSpecificPhoneAccount(Context context, PhoneAccountHandle pah) { in getSpecificPhoneAccount() 122 public static void unRegisterTestPhoneAccount(Context context) { in unRegisterTestPhoneAccount() 132 public static void registerTestSelfManagedPhoneAccount(Context context) { in registerTestSelfManagedPhoneAccount() 143 public static void unRegisterTestSelfManagedPhoneAccount(Context context) { in unRegisterTestSelfManagedPhoneAccount() 155 public static PhoneAccount getSelfManagedPhoneAccount(Context context) { in getSelfManagedPhoneAccount() 166 public static PhoneAccountHandle getDefaultOutgoingPhoneAccount(Context context) { in getDefaultOutgoingPhoneAccount() 177 public static PhoneAccount getSelfManagedPhoneAccount2(Context context) { in getSelfManagedPhoneAccount2() 187 public static void cleanupConnectionServices(Context context) { in cleanupConnectionServices()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BasicAdminReceiver.java | 46 public static ComponentName getComponentName(Context context) { in getComponentName() 51 public void onReceive(Context context, Intent intent) { in onReceive() 60 public void onUserAdded(Context context, Intent intent, UserHandle userHandle) { in onUserAdded() 65 public void onUserRemoved(Context context, Intent intent, UserHandle userHandle) { in onUserRemoved() 70 public void onUserStarted(Context context, Intent intent, UserHandle userHandle) { in onUserStarted() 75 public void onUserStopped(Context context, Intent intent, UserHandle userHandle) { in onUserStopped() 80 public void onUserSwitched(Context context, Intent intent, UserHandle userHandle) { in onUserSwitched() 85 public void onNetworkLogsAvailable(Context context, Intent intent, long batchToken, in onNetworkLogsAvailable() 98 public void onOperationSafetyStateChanged(Context context, int reason, boolean isSafe) { in onOperationSafetyStateChanged() 107 private void sendUserBroadcast(Context context, String action, UserHandle userHandle) { in sendUserBroadcast()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/ |
D | AppWidgetProviderCallbacks.java | 36 public abstract void onUpdate(Context context, AppWidgetManager appWidgetManager, in onUpdate() 39 public abstract void onAppWidgetOptionsChanged(Context context, in onAppWidgetOptionsChanged() 42 public abstract void onDeleted(Context context, int[] appWidgetIds); in onDeleted() 44 public abstract void onEnabled(Context context); in onEnabled() 46 public abstract void onDisabled(Context context); in onDisabled() 48 public abstract void onRestored(Context context, int[] oldWidgetIds, int[] newWidgetIds); in onRestored()
|
D | StubbableAppWidgetProvider.java | 26 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() 34 public void onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, in onAppWidgetOptionsChanged() 43 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted() 51 public void onEnabled(Context context) { in onEnabled() 59 public void onDisabled(Context context) { in onDisabled() 67 public void onRestored(Context context, int[] oldWidgetIds, int[] newWidgetIds) { in onRestored()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | MultiWindowAvailabilityTests.java | 112 private static boolean supportsFreeform(@NonNull Context context) { in supportsFreeform() 117 private static boolean supportsPictureInPicture(@NonNull Context context) { in supportsPictureInPicture() 122 private static boolean supportsExpandedPictureInPicture(@NonNull Context context) { in supportsExpandedPictureInPicture() 130 public static boolean supportsMultiDisplay(@NonNull Context context) { in supportsMultiDisplay()
|
/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/cts/ |
D | SharedConnectivityTest.java | 162 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in registerCallback_withoutPermission_throwsSecurityException() local 184 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in registerCallback_onServiceConnectedCallbackReceived() local 201 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in unregisterCallback_beforeRegister_unregisterUnsuccessful() local 216 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in unregisterCallback_unregisterSuccessful() local 252 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in setHotspotNetworks_managerCallbackReceivedWithCorrectData() local 282 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in setKnownNetworks_managerCallbackReceivedWithCorrectData() local 311 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in setSettingsState_managerCallbackReceivedWithCorrectData() local 342 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in updateHotspotNetworkConnectionStatus_managerCallbackReceivedWithCorrectData() local 373 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in updateKnownNetworkConnectionStatus_managerCallbackReceivedWithCorrectData() local 403 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in connectHotspotNetwork_serviceCallbackReceivedWithCorrectData() local [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | IntentLaunchActivity.java | 59 public static Intent getUnsafeIntentLaunchTestIntent(Context context) { in getUnsafeIntentLaunchTestIntent() 68 public static Intent getUnsafeDataCopyFromIntentTestIntent(Context context) { in getUnsafeDataCopyFromIntentTestIntent() 79 public static Intent getUnsafeDataCopyFromExtrasTestIntent(Context context) { in getUnsafeDataCopyFromExtrasTestIntent() 90 Context context) { in getDataCopyFromDeliveredIntentWithUnparceledExtrasTestIntent() 103 private static Intent getTestIntentWithExtrasInParceledIntent(Context context, String action) { in getTestIntentWithExtrasInParceledIntent() 117 public static Intent getUnsafeIntentFromUriLaunchTestIntent(Context context) { in getUnsafeIntentFromUriLaunchTestIntent() 127 public static Intent getSafeIntentFromUriLaunchTestIntent(Context context) { in getSafeIntentFromUriLaunchTestIntent() 135 private static Intent getTestIntentWithUriIntentInExtras(Context context, String action) { in getTestIntentWithUriIntentInExtras() 150 private static Intent getTestIntent(Context context, String action) { in getTestIntent()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | AtomTests.java | 120 TestSSLContext context = TestSSLContext.create(); in testTlsHandshake() local 135 Context context = InstrumentationRegistry.getContext(); in testIsolatedProcessService() local 145 Context context = InstrumentationRegistry.getContext(); in testAudioState() local 277 Context context = InstrumentationRegistry.getContext(); in testCameraState() local 322 Context context = InstrumentationRegistry.getContext(); in testFlashlight() local 343 Context context = InstrumentationRegistry.getContext(); in testForegroundService() local 353 Context context = InstrumentationRegistry.getContext(); in testForegroundServiceAccessAppOp() local 384 Context context = InstrumentationRegistry.getContext(); in testAppOps() local 410 public boolean checkIfServiceRunning(Context context, String serviceName) { in checkIfServiceRunning() 422 Context context = InstrumentationRegistry.getContext(); in testGpsScan() local [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AutoCompleteTextViewNoIme.java | 31 public AutoCompleteTextViewNoIme(Context context) { in AutoCompleteTextViewNoIme() 35 public AutoCompleteTextViewNoIme(Context context, AttributeSet attrs) { in AutoCompleteTextViewNoIme() 39 public AutoCompleteTextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr) { in AutoCompleteTextViewNoIme() 43 public AutoCompleteTextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr, in AutoCompleteTextViewNoIme() 48 public AutoCompleteTextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr, in AutoCompleteTextViewNoIme()
|
/cts/tests/credentials/src/android/credentials/cts/ |
D | CtsCredentialDescriptionRegistryApiTest.java | 123 public static void enableCredentialManagerDeviceFeature(@NonNull Context context) { in enableCredentialManagerDeviceFeature() 127 public static void disableCredentialManagerDeviceFeature(@NonNull Context context) { in disableCredentialManagerDeviceFeature() 134 public static void enableCredentialDescriptionRegistryApiDeviceFeature( in enableCredentialDescriptionRegistryApiDeviceFeature() 139 public static void disableCredentialDescriptionRegistryApiDeviceFeature( in disableCredentialDescriptionRegistryApiDeviceFeature() 147 public static void setCredentialManagerFeature(@NonNull Context context, boolean enabled) { in setCredentialManagerFeature() 155 public static void setCredentialDescriptionRegistryApiFeature(@NonNull Context context, in setCredentialDescriptionRegistryApiFeature() 164 public static void setDeviceConfig( in setDeviceConfig()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | Utils.java | 68 static void requestDeleteManagedProfile(Context context) { in requestDeleteManagedProfile() 89 static void showBugreportNotification(Context context, String msg, int notificationId) { in showBugreportNotification() 108 private static NotificationManager getNotificationManager(Context context) { in getNotificationManager() 123 static void showToast(Context context, int messageId) { in showToast() 174 static Intent getManagedSettingsIntent(Context context) { in getManagedSettingsIntent() 189 static boolean isLockScreenManagedOrgNameSupported(Context context) { in isLockScreenManagedOrgNameSupported() 194 static boolean isLockscreenSupported(Context context) { in isLockscreenSupported() 199 static boolean isTV(Context context) { in isTV() 204 static boolean isWatch(Context context) { in isWatch()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | Version.java | 32 static String getVersionName(Context context) { in getVersionName() 36 static int getVersionCode(Context context) { in getVersionCode() 40 static PackageInfo getPackageInfo(Context context) { in getPackageInfo() 50 static String getMetadata(Context context, String name) { in getMetadata()
|
/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/src/com/android/cts/context/ |
D | ContextCrossProfileDeviceTest.java | 85 final Context context = InstrumentationRegistry.getContext(); in testBindServiceAsUser_differentUser_bindsServiceToCorrectUser() local 105 final Context context = InstrumentationRegistry.getContext(); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossUsersPermission_bindsService() local 121 final Context context = InstrumentationRegistry.getContext(); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossUsersPermission_bindsService() local 137 final Context context = InstrumentationRegistry.getContext(); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesPermission_bindsService() local 158 final Context context = InstrumentationRegistry.getContext(); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesPermission_throwsException() local 179 final Context context = InstrumentationRegistry.getContext(); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesAppOp_bindsService() local 199 final Context context = InstrumentationRegistry.getContext(); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesAppOp_throwsException() local 224 final Context context = InstrumentationRegistry.getContext(); in testBindServiceAsUser_differentProfileGroup_samePackage_withAcrossUsersPermission_bindsService() local 240 final Context context = InstrumentationRegistry.getContext(); in testBindServiceAsUser_differentProfileGroup_differentPackage_withAcrossUsersPermission_throwsException() local 261 final Context context = InstrumentationRegistry.getContext(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesPermission_throwsException() local [all …]
|