Home
last modified time | relevance | path

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

123

/cts/tests/app/src/android/app/cts/
DWallpaperManagerTest.java87 int which = WallpaperManager.FLAG_SYSTEM; in setBitmapTest() local
89 int oldWallpaperId = mWallpaperManager.getWallpaperId(which); in setBitmapTest()
92 int newWallpaperId = mWallpaperManager.getWallpaperId(which); in setBitmapTest()
104 int which = WallpaperManager.FLAG_SYSTEM; in setResourceTest() local
105 int oldWallpaperId = mWallpaperManager.getWallpaperId(which); in setResourceTest()
107 int newWallpaperId = mWallpaperManager.getWallpaperId(which); in setResourceTest()
329 private void verifyColorListenerInvoked(int which, int whichExpected) { in verifyColorListenerInvoked() argument
365 mWallpaperManager.setResource(R.drawable.robot, which); in verifyColorListenerInvoked()
383 private void verifyColorListenerInvokedClearing(int which) { in verifyColorListenerInvokedClearing() argument
397 mWallpaperManager.clear(which); in verifyColorListenerInvokedClearing()
[all …]
DAlertDialog_BuilderCursorTest.java81 public void onClick(DialogInterface dialog, int which, in onClick() argument
85 mCursor.moveToPosition(which); in onClick()
92 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_rcfile72 # Python expression which should return a note less than 10 (10 is the highest
73 # note). You have access to the variables errors warning, statement which
106 # Regular expression which should only match correct argument names
109 # Regular expression which should only match correct instance attribute names
115 # Bad variable names which should always be refused, separated by a comma
118 # Regular expression which should only match correct attribute names in class
122 # Regular expression which should only match correct class names
125 # Regular expression which should only match correct module level names
132 # Regular expression which should only match correct function names
136 # 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()
183 public Uri makeActiveFile(int which, File file, InputStream source) throws IOException, in makeActiveFile() argument
185 mActiveFiles[which] = file; in makeActiveFile()
186 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/res/pkgsigverify/
DREADME.txt11 version: denotes which APK Signature Scheme (v1, v2, and/or v3) was used
17 which test certificates were used to generate a proof-of-rotation object,
22 which lives at tools/apksig/src/apksigner/java/com/android/apksigner/ in the
/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/apps/CtsVerifier/src/com/android/cts/verifier/security/
DBiometricPromptBoundKeysTest.java107 (DialogInterface dialogInterface, int which) -> { in showAuthenticationScreen()
108 if (which == DialogInterface.BUTTON_NEGATIVE) { in showAuthenticationScreen()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayCutoutTests.java114 runTest(LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT, (activity, insets, displayCutout, which) -> { in testDisplayCutout_default_portrait()
118 if (which == ROOT) { in testDisplayCutout_default_portrait()
121 } else if (which == DISPATCHED) { in testDisplayCutout_default_portrait()
135 runTest(LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES, (a, insets, displayCutout, which) -> { in testDisplayCutout_shortEdges_portrait()
136 if (which == ROOT) { in testDisplayCutout_shortEdges_portrait()
145 runTest(LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER, (a, insets, displayCutout, which) -> { in testDisplayCutout_never_portrait()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAttentionManagementVerifierActivity.java994 private void sendNotifications(int which, int uriMode, boolean usePriorities, boolean noisy) { in sendNotifications() argument
1007 if ((which & SEND_B) != 0) { in sendNotifications()
1018 if ((which & SEND_C) != 0) { in sendNotifications()
1030 if ((which & SEND_A) != 0) { in sendNotifications()
1043 private void sendEventAlarmReminderNotifications(int which) { in sendEventAlarmReminderNotifications() argument
1048 if ((which & SEND_A) != 0) { in sendEventAlarmReminderNotifications()
1059 if ((which & SEND_B) != 0) { in sendEventAlarmReminderNotifications()
1070 if ((which & SEND_C) != 0) { in sendEventAlarmReminderNotifications()
1082 private void sendAlarmOtherMediaNotifications(int which) { in sendAlarmOtherMediaNotifications() argument
1087 if ((which & SEND_A) != 0) { in sendAlarmOtherMediaNotifications()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUtils.java119 .setPositiveButton(R.string.go_button_text, (DialogInterface dialog, int which) -> in setScreenLock()
137 .setPositiveButton(R.string.go_button_text, (DialogInterface dialog, int which) -> in removeScreenLock()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DTestListActivity.java129 public void onClick(DialogInterface dialog, int which) { in showWifiAndLocationEnableDialog()
136 public void onClick(DialogInterface dialog, int which) { in showWifiAndLocationEnableDialog()
/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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/
DLap2Dialog.java52 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
/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/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DBiometricTest.java146 private DialogInterface.OnClickListener mBiometricPromptButtonListener = (dialog, which) -> {
288 public void onClick(DialogInterface dialog, int which) { in showInstructionDialogForStringsTest()
329 public void onClick(DialogInterface dialog, int which) { in showCheckStringsDialog()
/cts/common/device-side/util/tests/
DAndroid.bp23 "testng", // TODO: remove once Android migrates to JUnit 4.12, which provide assertThrows
/cts/common/device-side/util-axt/tests/
DAndroid.bp23 "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/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java126 for (int which = DevicePolicyManager.KEYGUARD_DISABLE_FEATURES_NONE; in testKeyguardDisabledFeatures()
127 which < 2 * DevicePolicyManager.KEYGUARD_DISABLE_IRIS; ++which) { in testKeyguardDisabledFeatures()
128 mDevicePolicyManager.setKeyguardDisabledFeatures(mComponent, which); in testKeyguardDisabledFeatures()
129 assertEquals(which, mDevicePolicyManager.getKeyguardDisabledFeatures(mComponent)); in testKeyguardDisabledFeatures()
/cts/tests/app/app/src/android/app/stubs/
DDialogStubActivity.java396 public void onClick(DialogInterface dialog, int which) { in onClick() argument
425 public void onClick(DialogInterface dialog, int which) { in onClick() argument
427 super.onClick(dialog, which); in onClick()
/cts/common/device-side/test-app/
DAndroid.bp15 // Build an APK which contains the device-side libraries and their tests,
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/
DBiometricPromptTest.java90 public void onClick(DialogInterface dialog, int which) { in test_authenticate_fingerprint()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayer_info.rsh18 // A scale factor =1.0f/(1+dilation_radius), which is used to normalize a

123