/cts/tests/app/src/android/app/cts/ |
D | WallpaperManagerTest.java | 118 int which = WallpaperManager.FLAG_SYSTEM; in setBitmapTest() local 120 int oldWallpaperId = mWallpaperManager.getWallpaperId(which); in setBitmapTest() 123 int newWallpaperId = mWallpaperManager.getWallpaperId(which); in setBitmapTest() 135 int which = WallpaperManager.FLAG_SYSTEM; in setResourceTest() local 136 int oldWallpaperId = mWallpaperManager.getWallpaperId(which); in setResourceTest() 138 int newWallpaperId = mWallpaperManager.getWallpaperId(which); in setResourceTest() 442 private void verifyColorListenerInvoked(int which, int whichExpected) { in verifyColorListenerInvoked() argument 478 mWallpaperManager.setResource(R.drawable.robot, which); in verifyColorListenerInvoked() 496 private void verifyColorListenerInvokedClearing(int which) { in verifyColorListenerInvokedClearing() argument 510 mWallpaperManager.clear(which); in verifyColorListenerInvokedClearing() [all …]
|
D | AlertDialog_BuilderCursorTest.java | 80 public void onClick(DialogInterface dialog, int which, in onClick() argument 84 mCursor.moveToPosition(which); in onClick() 91 mCheckedTracker[which] = isChecked; in onClick()
|
D | Instrumentation_ActivityMonitorTest.java | 81 IntentFilter which = new IntentFilter(); in testActivityMonitor() local 82 am = new ActivityMonitor(which, result, false); in testActivityMonitor() 83 assertSame(which, am.getFilter()); in testActivityMonitor()
|
/cts/apps/CameraITS/build/scripts/ |
D | gpylint_rcfile | 74 # Python expression which should return a note less than 10 (10 is the highest 75 # note). You have access to the variables errors warning, statement which 108 # Regular expression which should only match correct argument names 111 # Regular expression which should only match correct instance attribute names 117 # Bad variable names which should always be refused, separated by a comma 120 # Regular expression which should only match correct attribute names in class 124 # Regular expression which should only match correct class names 127 # Regular expression which should only match correct module level names 134 # Regular expression which should only match correct function names 138 # Good variable names which should always be accepted, separated by a comma [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
D | NfcDialogs.java | 37 public void onClick(DialogInterface dialog, int which) { in createNotEnabledDialog() 52 public void onClick(DialogInterface dialog, int which) { 77 public void onClick(DialogInterface dialog, int which) {
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TriggerContentTest.java | 104 private void cleanupActive(int which) { in cleanupActive() argument 105 if (mActiveUris[which] != null) { in cleanupActive() 106 getContext().getContentResolver().delete(mActiveUris[which], null, null); in cleanupActive() 107 mActiveUris[which] = null; in cleanupActive() 109 if (mActiveFiles[which] != null) { in cleanupActive() 110 mActiveFiles[which].delete(); in cleanupActive() 111 mActiveFiles[which] = null; in cleanupActive() 181 public Uri makeActiveFile(int which, File file, InputStream source) throws IOException, in makeActiveFile() argument 183 mActiveFiles[which] = file; in makeActiveFile() 184 mActiveUris[which] = createAndAddImage(file, source); in makeActiveFile() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
D | WebLinkActivity.java | 44 public void onClick(DialogInterface dialog, int which) { in onCreate() 52 public void onClick(DialogInterface dialog, int which) { in onCreate()
|
/cts/hostsidetests/appsecurity/res/pkgsigverify/ |
D | README.md | 15 - version: denotes which APK Signature Scheme (v1, v2, and/or v3) was used 21 which test certificates were used to generate a proof-of-rotation object, 26 which lives at `tools/apksig/src/apksigner/java/com/android/apksigner/` in the
|
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/ |
D | BiometricPromptTest.java | 87 builder.setNegativeButton(negativeButtonText, mExecutor, (dialog, which) -> { in test_authenticate_fingerprint() 112 .setNegativeButton("Cancel", mExecutor, (dialog, which) -> { in test_isConfirmationRequired() 124 .setNegativeButton("Cancel", mExecutor, (dialog, which) -> { in test_setAllowedAuthenticators_withoutDeviceCredential()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
D | BiometricStrongTests.java | 138 (dialog, which) -> { in onCreate() 139 if (which == DialogInterface.BUTTON_POSITIVE) { in onCreate() 221 builder.setNegativeButton("Cancel", mExecutor, (dialog, which) -> { in testBiometricBoundEncryption()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DisplayCutoutTests.java | 179 (activity, insets, displayCutout, which) -> { in testDisplayCutout_default() 183 if (which == ROOT) { in testDisplayCutout_default() 186 } else if (which == DISPATCHED) { in testDisplayCutout_default() 195 runTest(LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES, (a, insets, cutout, which) -> { in testDisplayCutout_shortEdges() 196 if (which == ROOT) { in testDisplayCutout_shortEdges() 219 runTest(LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER, (a, insets, displayCutout, which) -> { in testDisplayCutout_never() 226 runTest(LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS, (a, insets, displayCutout, which) -> { in testDisplayCutout_always() 227 if (which == ROOT) { in testDisplayCutout_always() 236 runTest(LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS, (a, insets, displayCutout, which) -> { in testDisplayCutout_CutoutPaths()
|
/cts/tests/tests/dynamic_linker/ |
D | README.md | 7 gtests from bionic/tests/, which includes the vast majority of dynamic linker
|
/cts/tests/framework/base/biometrics/apps/biometrics/src/android/server/biometrics/ |
D | Class3BiometricActivity.java | 45 .setNegativeButton("Negative Button", executor, (dialog, which) -> { in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/ |
D | Lap2Dialog.java | 52 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | ConnectionAccessServerActivity.java | 160 public void onClick(DialogInterface dialog, int which) { in onReceive() 167 public void onClick(DialogInterface dialog, int which) { in onReceive()
|
/cts/tests/tests/provider/ |
D | Android.bp | 33 // TODO: remove testng once Android migrates to JUnit 4.12, which provides assertThrows
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | AttentionManagementVerifierActivity.java | 985 private void sendNotifications(int which, int uriMode, boolean usePriorities, boolean noisy) { in sendNotifications() argument 998 if ((which & SEND_B) != 0) { in sendNotifications() 1009 if ((which & SEND_C) != 0) { in sendNotifications() 1021 if ((which & SEND_A) != 0) { in sendNotifications() 1034 private void sendEventAlarmReminderNotifications(int which) { in sendEventAlarmReminderNotifications() argument 1039 if ((which & SEND_A) != 0) { in sendEventAlarmReminderNotifications() 1050 if ((which & SEND_B) != 0) { in sendEventAlarmReminderNotifications() 1061 if ((which & SEND_C) != 0) { in sendEventAlarmReminderNotifications() 1073 private void sendAlarmOtherMediaNotifications(int which) { in sendAlarmOtherMediaNotifications() argument 1078 if ((which & SEND_A) != 0) { in sendAlarmOtherMediaNotifications() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/ |
D | TestListActivity.java | 142 public void onClick(DialogInterface dialog, int which) { in showWifiAndLocationEnableDialog() 149 public void onClick(DialogInterface dialog, int which) { in showWifiAndLocationEnableDialog()
|
/cts/common/device-side/util-axt/tests/ |
D | Android.bp | 27 "testng", // TODO: remove once Android migrates to JUnit 4.12, which provide assertThrows
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | Utils.java | 134 .setPositiveButton(R.string.go_button_text, (DialogInterface dialog, int which) -> in setScreenLock() 152 .setPositiveButton(R.string.go_button_text, (DialogInterface dialog, int which) -> in removeScreenLock()
|
/cts/tests/contentsuggestions/ |
D | Android.bp | 28 // which provides assertThrows
|
/cts/tests/location/location_none/ |
D | Android.bp | 29 // TODO: remove once Android migrates to JUnit 4.12, which provides assertThrows:
|
/cts/tests/contentcaptureservice/ |
D | Android.bp | 29 // which provides assertThrows
|
/cts/hostsidetests/devicepolicy/app/common/ |
D | Android.bp | 31 "testng", // TODO: remove once Android migrates to JUnit 4.13, which has assertThrows
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
D | RequesterTestActivity.java | 297 public void onClick(DialogInterface dialog, int which) { in showSelectTargetDialog() 300 if (i == which) { in showSelectTargetDialog()
|