Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 75) sorted by relevance

123

/cts/tests/app/src/android/app/cts/
DWallpaperManagerTest.java118 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 …]
DAlertDialog_BuilderCursorTest.java80 public void onClick(DialogInterface dialog, int which, in onClick() argument
84 mCursor.moveToPosition(which); in onClick()
91 mCheckedTracker[which] = isChecked; in onClick()
DInstrumentation_ActivityMonitorTest.java81 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/
Dgpylint_rcfile74 # 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/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java104 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/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNfcDialogs.java37 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/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DWebLinkActivity.java44 public void onClick(DialogInterface dialog, int which) { in onCreate()
52 public void onClick(DialogInterface dialog, int which) { in onCreate()
/cts/hostsidetests/appsecurity/res/pkgsigverify/
DREADME.md15 - 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/
DBiometricPromptTest.java87 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/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayCutoutTests.java179 (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/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DBiometricStrongTests.java138 (dialog, which) -> { in onCreate()
139 if (which == DialogInterface.BUTTON_POSITIVE) { in onCreate()
221 builder.setNegativeButton("Cancel", mExecutor, (dialog, which) -> { in testBiometricBoundEncryption()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAttentionManagementVerifierActivity.java985 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/tests/tests/dynamic_linker/
DREADME.md7 gtests from bionic/tests/, which includes the vast majority of dynamic linker
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DConnectionAccessServerActivity.java160 public void onClick(DialogInterface dialog, int which) { in onReceive()
167 public void onClick(DialogInterface dialog, int which) { in onReceive()
/cts/tests/framework/base/biometrics/apps/biometrics/src/android/server/biometrics/
DClass3BiometricActivity.java45 .setNegativeButton("Negative Button", executor, (dialog, which) -> { in onCreate()
DClass2BiometricActivity.java49 .setNegativeButton("Negative Button", executor, (dialog, which) -> { in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUtils.java121 .setPositiveButton(R.string.go_button_text, (DialogInterface dialog, int which) -> in setScreenLock()
139 .setPositiveButton(R.string.go_button_text, (DialogInterface dialog, int which) -> in removeScreenLock()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DTestListActivity.java142 public void onClick(DialogInterface dialog, int which) { in showWifiAndLocationEnableDialog()
149 public void onClick(DialogInterface dialog, int which) { in showWifiAndLocationEnableDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/
DLap2Dialog.java52 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
/cts/tests/tests/provider/
DAndroid.bp33 // TODO: remove testng once Android migrates to JUnit 4.12, which provides assertThrows
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DRequesterTestActivity.java297 public void onClick(DialogInterface dialog, int which) { in showSelectTargetDialog()
300 if (i == which) { in showSelectTargetDialog()
/cts/common/device-side/util-axt/tests/
DAndroid.bp27 "testng", // TODO: remove once Android migrates to JUnit 4.12, which provide assertThrows
/cts/hostsidetests/sustainedperf/dhrystone/
DLICENSE.TXT49 have its own individual LICENSE.TXT file in the directory in which it appears.
50 This file will describe the copyrights, license, and restrictions which apply
/cts/tests/contentsuggestions/
DAndroid.bp28 // which provides assertThrows
/cts/tests/location/location_none/
DAndroid.bp29 // TODO: remove once Android migrates to JUnit 4.12, which provides assertThrows:

123