/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 isFunSupported(Context context) { in isFunSupported() 57 public static boolean isScreenTimeoutSupported(Context context) { in isScreenTimeoutSupported() 64 public static boolean isThirdPartyAccessibilityServiceSupported(Context context) { in isThirdPartyAccessibilityServiceSupported() 71 public static boolean isConfigVpnSupported(Context context) { in isConfigVpnSupported() 78 public static boolean isInstallUnknownSourcesSupported(Context context) { in isInstallUnknownSourcesSupported() 85 public static boolean isUsbFileTransferSupported(Context context) { in isUsbFileTransferSupported() 92 private static boolean isWatch(Context context) { in isWatch() 100 public static boolean isWatchOrAutomotive(Context context) { in isWatchOrAutomotive() [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/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | AudioSystemFlags.java | 27 public static boolean claimsOutput(Context context) { in claimsOutput() 31 public static boolean claimsInput(Context context) { in claimsInput() 35 public static boolean claimsProAudio(Context context) { in claimsProAudio() 39 public static boolean claimsLowLatencyAudio(Context context) { in claimsLowLatencyAudio() 44 public static boolean claimsMIDI(Context context) { in claimsMIDI() 49 public static boolean claimsUSBHostMode(Context context) { in claimsUSBHostMode() 53 public static boolean claimsUSBPeripheralMode(Context context) { in claimsUSBPeripheralMode()
|
/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/tests/os/src/android/os/health/cts/ |
D | SystemHealthManagerTest.java | 37 final Context context = getInstrumentation().getTargetContext(); in testTakeMyUidSnapshot() local 48 final Context context = getInstrumentation().getTargetContext(); in testTakeUidSnapshotWithMe() local 59 final Context context = getInstrumentation().getTargetContext(); in testTakeMyUidSnapshotWithSystem() local 77 final Context context = getInstrumentation().getTargetContext(); in testTakeUidSnapshotsWithEmptyArray() local 89 final Context context = getInstrumentation().getTargetContext(); in testTakeUidSnapshotsWithMe() local 106 final Context context = getInstrumentation().getTargetContext(); in testTakeMyUidSnapshotsWithSystem() local
|
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockingBroadcastReceiver.java | 73 public static BlockingBroadcastReceiver create(Context context, String expectedAction) { in create() 77 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter) { in create() 81 …public static BlockingBroadcastReceiver create(Context context, String expectedAction, Function<In… in create() 85 …public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter, Functio… in create() 89 … public static BlockingBroadcastReceiver create(Context context, Set<IntentFilter> intentFilters) { in create() 93 …public static BlockingBroadcastReceiver create(Context context, Set<IntentFilter> intentFilters, F… in create() 100 public BlockingBroadcastReceiver(Context context, String expectedAction) { in BlockingBroadcastReceiver() 104 public BlockingBroadcastReceiver(Context context, IntentFilter intentFilter) { in BlockingBroadcastReceiver() 108 public BlockingBroadcastReceiver(Context context, IntentFilter intentFilter, in BlockingBroadcastReceiver() 113 public BlockingBroadcastReceiver(Context context, String expectedAction, in BlockingBroadcastReceiver() [all …]
|
/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/bluetooth/src/android/bluetooth/cts/ |
D | TestUtils.java | 69 static int getLocationMode(Context context) { in getLocationMode() 77 static void setLocationMode(Context context, int mode) { in setLocationMode() 85 static boolean isLocationOn(Context context) { in isLocationOn() 92 static void enableLocation(Context context) { in enableLocation() 99 static void disableLocation(Context context) { in disableLocation() 108 static boolean isBleSupported(Context context) { in isBleSupported()
|
/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/hostsidetests/media/app/MediaMetricsTest/src/android/media/metrics/cts/ |
D | MediaMetricsAtomHostSideTests.java | 88 Context context = InstrumentationRegistry.getContext(); in testPlaybackStateEvent_default() local 101 Context context = InstrumentationRegistry.getContext(); in testPlaybackStateEvent() local 117 Context context = InstrumentationRegistry.getContext(); in testPlaybackErrorEvent_default() local 131 Context context = InstrumentationRegistry.getContext(); in testPlaybackErrorEvent() local 149 Context context = InstrumentationRegistry.getContext(); in testTrackChangeEvent_default() local 161 Context context = InstrumentationRegistry.getContext(); in testTrackChangeEvent_text() local 183 Context context = InstrumentationRegistry.getContext(); in testTrackChangeEvent_audio() local 207 Context context = InstrumentationRegistry.getContext(); in testTrackChangeEvent_video() local 233 Context context = InstrumentationRegistry.getContext(); in testNetworkEvent_default() local 245 Context context = InstrumentationRegistry.getContext(); in testNetworkEvent() 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/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | PhoneAccountUtils.java | 87 public static void registerTestPhoneAccount(Context context) { in registerTestPhoneAccount() 98 public static PhoneAccount getPhoneAccount(Context context) { in getPhoneAccount() 108 public static void unRegisterTestPhoneAccount(Context context) { in unRegisterTestPhoneAccount() 118 public static void registerTestSelfManagedPhoneAccount(Context context) { in registerTestSelfManagedPhoneAccount() 129 public static void unRegisterTestSelfManagedPhoneAccount(Context context) { in unRegisterTestSelfManagedPhoneAccount() 141 public static PhoneAccount getSelfManagedPhoneAccount(Context context) { in getSelfManagedPhoneAccount() 152 public static PhoneAccountHandle getDefaultOutgoingPhoneAccount(Context context) { in getDefaultOutgoingPhoneAccount() 163 public static PhoneAccount getSelfManagedPhoneAccount2(Context context) { in getSelfManagedPhoneAccount2()
|
/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/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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | DeviceAdminTestReceiver.java | 74 public void onReceive(Context context, Intent intent) { in onReceive() 98 public void onProfileProvisioningComplete(Context context, Intent intent) { in onProfileProvisioningComplete() 105 public void onBugreportSharingDeclined(Context context, Intent intent) { in onBugreportSharingDeclined() 112 public void onBugreportShared(Context context, Intent intent, String bugreportFileHash) { in onBugreportShared() 119 public void onBugreportFailed(Context context, Intent intent, int failureCode) { in onBugreportFailed() 126 public void onLockTaskModeEntering(Context context, Intent intent, String pkg) { in onLockTaskModeEntering() 133 public void onLockTaskModeExiting(Context context, Intent intent) { in onLockTaskModeExiting() 140 public void onEnabled(Context context, Intent intent) { in onEnabled() 170 private void setupProfile(Context context) { in setupProfile() 245 private void wipeIfNecessary(Context context, Intent intent) { in wipeIfNecessary() [all …]
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ |
D | ContentCaptureContextTest.java | 84 final ContentCaptureContext context = mBuilder.build(); in testGetId() local 93 final ContentCaptureContext context = builder.build(); in testSetGetBundle() local 103 final ContentCaptureContext context = builder.build(); in testParcel() local 117 final ContentCaptureContext context = ContentCaptureContext.forLocusId(ID); in testForLocus_valid() local 125 private void assertEverything(@NonNull ContentCaptureContext context) { in assertEverything() 137 private ContentCaptureContext cloneThroughParcel(@NonNull ContentCaptureContext context) { in cloneThroughParcel()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | EditTextNoIme.java | 30 public EditTextNoIme(Context context) { in EditTextNoIme() 34 public EditTextNoIme(Context context, AttributeSet attrs) { in EditTextNoIme() 38 public EditTextNoIme(Context context, AttributeSet attrs, int defStyleAttr) { in EditTextNoIme() 42 public EditTextNoIme(Context context, AttributeSet attrs, int defStyleAttr, in EditTextNoIme()
|
D | TextViewNoIme.java | 30 public TextViewNoIme(Context context) { in TextViewNoIme() 34 public TextViewNoIme(Context context, AttributeSet attrs) { in TextViewNoIme() 38 public TextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr) { in TextViewNoIme() 42 public TextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr, in TextViewNoIme()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/ |
D | UnclippedBlueView.java | 26 public UnclippedBlueView(Context context) { in UnclippedBlueView() 30 public UnclippedBlueView(Context context, AttributeSet attrs) { in UnclippedBlueView() 34 public UnclippedBlueView(Context context, AttributeSet attrs, int defStyleAttr) { in UnclippedBlueView() 38 public UnclippedBlueView(Context context, AttributeSet attrs, in UnclippedBlueView()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | ServReqTestSuite.java | 27 public static ArrayList<ReqTestCase> getTestSuite(Context context) { in getTestSuite() 32 public static ReqTestCase getTestCase(Context context, in getTestCase() 44 private static void initialize(Context context) { in initialize()
|
D | P2pClientTestSuite.java | 36 public static ArrayList<ReqTestCase> getTestSuite(Context context) { in getTestSuite() 47 public static ReqTestCase getTestCase(Context context, in getTestCase() 59 private static void initialize(Context context) { in initialize()
|
D | P2pClientWithConfigFixedFrequencyTestSuite.java | 35 public static ArrayList<ReqTestCase> getTestSuite(Context context) { in getTestSuite() 46 public static ReqTestCase getTestCase(Context context, in getTestCase() 58 private static void initialize(Context context) { in initialize()
|
D | P2pClientWithConfig2gBandTestSuite.java | 36 public static ArrayList<ReqTestCase> getTestSuite(Context context) { in getTestSuite() 47 public static ReqTestCase getTestCase(Context context, in getTestCase() 59 private static void initialize(Context context) { in initialize()
|