Home
last modified time | relevance | path

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

12

/cts/tests/app/src/android/app/cts/
DWallpaperManagerTest.java88 int which = WallpaperManager.FLAG_SYSTEM; in setBitmapTest() local
90 int oldWallpaperId = mWallpaperManager.getWallpaperId(which); in setBitmapTest()
93 int newWallpaperId = mWallpaperManager.getWallpaperId(which); in setBitmapTest()
105 int which = WallpaperManager.FLAG_SYSTEM; in setResourceTest() local
106 int oldWallpaperId = mWallpaperManager.getWallpaperId(which); in setResourceTest()
108 int newWallpaperId = mWallpaperManager.getWallpaperId(which); in setResourceTest()
273 private void verifyColorListenerInvoked(int which, int whichExpected) { in verifyColorListenerInvoked() argument
309 mWallpaperManager.setResource(R.drawable.robot, which); in verifyColorListenerInvoked()
327 private void verifyColorListenerInvokedClearing(int which) { in verifyColorListenerInvokedClearing() argument
341 mWallpaperManager.clear(which); in verifyColorListenerInvokedClearing()
[all …]
DAlertDialog_BuilderCursorTest.java79 public void onClick(DialogInterface dialog, int which, in onClick() argument
83 mCursor.moveToPosition(which); in onClick()
90 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_rcfile69 # Python expression which should return a note less than 10 (10 is the highest
70 # note). You have access to the variables errors warning, statement which
103 # Regular expression which should only match correct argument names
106 # Regular expression which should only match correct instance attribute names
112 # Bad variable names which should always be refused, separated by a comma
115 # Regular expression which should only match correct attribute names in class
119 # Regular expression which should only match correct class names
122 # Regular expression which should only match correct module level names
129 # Regular expression which should only match correct function names
133 # Good variable names which should always be accepted, separated by a comma
[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/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java115 private void cleanupActive(int which) { in cleanupActive() argument
116 if (mActiveUris[which] != null) { in cleanupActive()
117 getContext().getContentResolver().delete(mActiveUris[which], null, null); in cleanupActive()
118 mActiveUris[which] = null; in cleanupActive()
120 if (mActiveFiles[which] != null) { in cleanupActive()
121 mActiveFiles[which].delete(); in cleanupActive()
122 mActiveFiles[which] = null; in cleanupActive()
193 public Uri makeActiveFile(int which, File file, InputStream source) throws IOException, in makeActiveFile() argument
195 mActiveFiles[which] = file; in makeActiveFile()
196 mActiveUris[which] = createAndAddImage(file, source); in makeActiveFile()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DBiometricPromptBoundKeysTest.java68 (DialogInterface dialogInterface, int which) -> { in showAuthenticationScreen()
69 if (which == DialogInterface.BUTTON_NEGATIVE) { in showAuthenticationScreen()
/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.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/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayCutoutTests.java88 runTest(LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT, (activity, insets, displayCutout, which) -> { in testDisplayCutout_default_portrait()
92 if (which == ROOT) { in testDisplayCutout_default_portrait()
95 } else if (which == DISPATCHED) { in testDisplayCutout_default_portrait()
109 runTest(LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES, (a, insets, displayCutout, which) -> { in testDisplayCutout_shortEdges_portrait()
116 runTest(LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER, (a, insets, displayCutout, which) -> { in testDisplayCutout_never_portrait()
/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/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/managedprovisioning/
DUtils.java117 .setPositiveButton(R.string.go_button_text, (DialogInterface dialog, int which) -> in setScreenLock()
135 .setPositiveButton(R.string.go_button_text, (DialogInterface dialog, int which) -> in removeScreenLock()
DRecentsRedactionActivity.java112 .setPositiveButton(android.R.string.ok, (DialogInterface dialog, int which) -> { in requestRemovePassword()
/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/p2p/
DRequesterTestActivity.java278 public void onClick(DialogInterface dialog, int which) { in showSelectTargetDialog()
281 if (i == which) { in showSelectTargetDialog()
DP2pTestListActivity.java148 public void onClick(DialogInterface dialog, int which) { in showP2pEnableDialog()
/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
Dlayer_info_fast.rsh18 // A scale factor =1.0f/(1+dilation_radius), which is used to normalize a
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/
DBiometricPromptTest.java90 public void onClick(DialogInterface dialog, int which) { in test_authenticate_fingerprint()
/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
DRationale16 performance indication which is more meaningful than MIPS numbers
17 which, in their literal meaning (million instructions per second),
83 The initialization and UNIX instrumentation part - which had been
126 on the distribution statistics which have been updated for this
166 variable (Bool_Loc); Bool_Loc would be a "dead variable" which is not
228 Obviously, a C library which includes efficiently coded "strcpy" and
265 unit) which may prevent its general use in practical programming. I
305 indicate which compiler optimization levels have been used, and
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java120 for (int which = DevicePolicyManager.KEYGUARD_DISABLE_FEATURES_NONE; in testKeyguardDisabledFeatures()
121 which < 2 * DevicePolicyManager.KEYGUARD_DISABLE_FINGERPRINT; ++which) { in testKeyguardDisabledFeatures()
122 mDevicePolicyManager.setKeyguardDisabledFeatures(mComponent, which); in testKeyguardDisabledFeatures()
123 assertEquals(which, mDevicePolicyManager.getKeyguardDisabledFeatures(mComponent)); in testKeyguardDisabledFeatures()
/cts/tests/app/app/src/android/app/stubs/
DDialogStubActivity.java395 public void onClick(DialogInterface dialog, int which) { in onClick() argument
424 public void onClick(DialogInterface dialog, int which) { in onClick() argument
426 super.onClick(dialog, which); in onClick()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DDialogTestListActivity.java152 public void onClick(DialogInterface dialog, int which) { in showManualTestDialog()
158 public void onClick(DialogInterface dialog, int which) { in showManualTestDialog()

12