Home
last modified time | relevance | path

Searched refs:ok (Results 1 – 25 of 98) sorted by relevance

1234

/cts/tests/tests/widget/src/android/widget/cts/
DTextClockTest.java125 final MutableBoolean ok = new MutableBoolean(false); in testUpdate12_24() local
129 ok.value = hour >= 1 && hour < 12; in testUpdate12_24()
134 return ok.value; in testUpdate12_24()
146 final MutableBoolean ok = new MutableBoolean(false); in testUpdate12_24() local
150 ok.value = hour > 12 && hour < 24; in testUpdate12_24()
152 return ok.value; in testUpdate12_24()
DViewAnimatorTest.java93 final View v1 = mActivity.findViewById(R.id.ok); in testShowNext()
140 final View v1 = mActivity.findViewById(R.id.ok); in testAccessDisplayedChild()
175 final View v1 = mActivity.findViewById(R.id.ok); in testAccessDisplayedChildBoundary()
204 final View v1 = mActivity.findViewById(R.id.ok); in testGetBaseline()
231 final View v1 = mActivity.findViewById(R.id.ok); in testShowPrevious()
291 final View v1 = mActivity.findViewById(R.id.ok); in testAddView()
333 final View v1 = mActivity.findViewById(R.id.ok); in testRemoveViews()
/cts/tests/tests/media/src/android/media/cts/
DAudioNativeTest.java234 boolean ok = track.open(channelCount, in testOutputChannelMasks()
237 assertEquals(expectSuccess, ok); in testOutputChannelMasks()
277 boolean ok = recorder.open(channelCount, in testInputChannelMasksPreQ()
280 assertEquals(expectSuccess, ok); in testInputChannelMasksPreQ()
325 boolean ok = recorder.open(channelCount, in testInputChannelMasksPostQ()
329 assertEquals(expectSuccess, ok); in testInputChannelMasksPostQ()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAbstractTimePickerActivity.java68 mOk = (Button) findViewById(R.id.ok); in onCreate()
69 mOk.setOnClickListener((v) -> ok()); in onCreate()
77 private void ok() { in ok() method in AbstractTimePickerActivity
DAbstractDatePickerActivity.java68 mOk = (Button) findViewById(R.id.ok); in onCreate()
69 mOk.setOnClickListener((v) -> ok()); in onCreate()
81 private void ok() { in ok() method in AbstractDatePickerActivity
/cts/tests/tests/mediastress/jni/
Dnative-media-jni.cpp134 int ok; in AndroidBufferQueueCallback() local
140 ok = pthread_mutex_lock(&mutex); in AndroidBufferQueueCallback()
141 assert(0 == ok); in AndroidBufferQueueCallback()
192 ok = pthread_mutex_unlock(&mutex); in AndroidBufferQueueCallback()
193 assert(0 == ok); in AndroidBufferQueueCallback()
/cts/tests/app/src/android/app/cts/
DWallpaperManagerTest.java345 boolean ok = false; in verifyColorListenerInvoked()
349 ok = true; in verifyColorListenerInvoked()
354 ok = true; in verifyColorListenerInvoked()
356 if (!ok) { in verifyColorListenerInvoked()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DTagVerifierActivity.java315 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in createTestableTagDiscoveredDialog()
335 .setPositiveButton(android.R.string.ok, null)
357 .setPositiveButton(android.R.string.ok, null)
DNdefPushReceiverActivity.java128 .setPositiveButton(android.R.string.ok, null) in onCreateDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DGyroscopeTestActivity.java234 .setPositiveButton(android.R.string.ok, null) in showNoGyroscopeWarningDialog()
248 .setPositiveButton(android.R.string.ok, null) in showDegreesWarningDialog()
DHeartRateMonitorTestActivity.java80 .setPositiveButton(android.R.string.ok, null) in showNoHeartRateWarningDialog()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DCannedAugmentedFillResponse.java143 boolean ok = fillWindow.update(strip, rootView, 0); in asFillResponse()
144 if (!ok) { in asFillResponse()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCompTestActivity.java45 .setPositiveButton(android.R.string.ok, in onCreate()
DRecentsRedactionActivity.java137 .setPositiveButton(android.R.string.ok, (DialogInterface dialog, int which) -> { in requestRemovePassword()
DWifiLockdownTestActivity.java127 .setPositiveButton(android.R.string.ok, null) in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DView_IdsTest.java51 Button buttonOk = (Button) activity.findViewById(R.id.ok); in testIds()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/instantapps/
DBaseTestActivity.java89 .setPositiveButton(android.R.string.ok, null) in onClick()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DMessageTestActivity.java260 .setPositiveButton(android.R.string.ok, null) in showInstructionsDialog()
344 .setPositiveButton(android.R.string.ok, in showPairingErrorDialog()
DBluetoothToggleActivity.java117 .setPositiveButton(android.R.string.ok, null) in disableBluetooth()
DConnectionAccessServerActivity.java158 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in onReceive()
DBleConnectionPriorityServerBaseActivity.java148 … .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DReportExporter.java106 .setPositiveButton(android.R.string.ok, null) in onPostExecute()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DScreenLockTestActivity.java124 .setPositiveButton(android.R.string.ok, null) in onReceive()
DPolicySerializationTestActivity.java180 .setPositiveButton(android.R.string.ok, null) in showRebootDialog()
209 .setPositiveButton(android.R.string.ok, null) in onListItemClick()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DHifiUltrasoundSpeakerTestActivity.java224 Button okButton = (Button)instruView.findViewById(R.id.ok); in onCreate()
402 Button okButton = (Button)instruView.findViewById(R.id.ok); in onPostExecute()

1234