Home
last modified time | relevance | path

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

12

/cts/tests/tests/hardware/jni/
DHardwareBufferTestService.cpp33 static auto ok() { in ok() function in ServiceImpl
45 return ok(); in getId()
61 return ok(); in createBuffer()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0479/
Dpoc.cpp37 return binder::Status::ok(); in controlStatusChanged()
41 return binder::Status::ok(); in enableStatusChanged()
47 return binder::Status::ok(); in commandExecuted()
51 return binder::Status::ok(); in framesProcessed()
/cts/tests/tests/widget/src/android/widget/cts/
DTextClockTest.java137 final MutableBoolean ok = new MutableBoolean(false); in testUpdate12_24() local
141 ok.value = hour >= 1 && hour < 12; in testUpdate12_24()
146 return ok.value; in testUpdate12_24()
156 final MutableBoolean ok = new MutableBoolean(false); in testUpdate12_24() local
160 ok.value = hour > 12 && hour < 24; in testUpdate12_24()
162 return ok.value; in testUpdate12_24()
DViewAnimatorTest.java102 final View v1 = mActivity.findViewById(R.id.ok); in testShowNext()
149 final View v1 = mActivity.findViewById(R.id.ok); in testAccessDisplayedChild()
184 final View v1 = mActivity.findViewById(R.id.ok); in testAccessDisplayedChildBoundary()
213 final View v1 = mActivity.findViewById(R.id.ok); in testGetBaseline()
240 final View v1 = mActivity.findViewById(R.id.ok); in testShowPrevious()
300 final View v1 = mActivity.findViewById(R.id.ok); in testAddView()
342 final View v1 = mActivity.findViewById(R.id.ok); in testRemoveViews()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioNativeTest.java244 boolean ok = track.open(channelCount, in testOutputChannelMasks()
247 assertEquals(expectSuccess, ok); in testOutputChannelMasks()
288 boolean ok = recorder.open(channelCount, in testInputChannelMasksPreQ()
291 assertEquals(expectSuccess, ok); in testInputChannelMasksPreQ()
336 boolean ok = recorder.open(channelCount, in testInputChannelMasksPostQ()
340 assertEquals(expectSuccess, ok); in testInputChannelMasksPostQ()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DAbstractTimePickerActivity.java72 mOk = (Button) findViewById(R.id.ok); in onCreate()
73 mOk.setOnClickListener((v) -> ok()); in onCreate()
81 private void ok() { in ok() method in AbstractTimePickerActivity
DAbstractDatePickerActivity.java72 mOk = (Button) findViewById(R.id.ok); in onCreate()
73 mOk.setOnClickListener((v) -> ok()); in onCreate()
85 private void ok() { in ok() method in AbstractDatePickerActivity
/cts/tests/signature/tests/src/android/signature/cts/tests/
DApiPresenceCheckerTest.java209 boolean ok = count == 1; in checkFailures()
210 if (ok) { in checkFailures()
213 ok = false; in checkFailures()
217 if (!ok) { in checkFailures()
/cts/tests/mediapc/requirements/
Drequirements.pb.go621 if x, ok := x.GetValue().(*RequiredValue_StringValue); ok {
628 if x, ok := x.GetValue().(*RequiredValue_IntValue); ok {
635 if x, ok := x.GetValue().(*RequiredValue_DoubleValue); ok {
642 if x, ok := x.GetValue().(*RequiredValue_BoolValue); ok {
649 if x, ok := x.GetValue().(*RequiredValue_LongValue); ok {
/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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DScreenshotTestActivity.java75 boolean ok = bundle.getBoolean(ScreenshotCaptureActivity.EXTRA_SUCCESS, false); in startCaptureActivity()
76 if (ok) { in startCaptureActivity()
DRecentsRedactionActivity.java135 .setPositiveButton(android.R.string.ok, (DialogInterface dialog, int which) -> { in requestRemovePassword()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DWebLinkActivity.java43 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in onCreate()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java358 boolean ok = message.contains("does not own the device") in assertDeviceOwnerMessage()
362 if (!ok && UserManager.isHeadlessSystemUserMode() && !mUser.isSystem()) { in assertDeviceOwnerMessage()
363 ok = message.contains("was called from non-system user"); in assertDeviceOwnerMessage()
366 assertTrue("message is: "+ message, ok); in assertDeviceOwnerMessage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DTagVerifierActivity.java344 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in createTestableTagDiscoveredDialog()
366 .setPositiveButton(android.R.string.ok, null)
388 .setPositiveButton(android.R.string.ok, null)
/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/apps/CtsVerifier/src/com/android/cts/verifier/instantapps/
DBaseTestActivity.java89 .setPositiveButton(android.R.string.ok, null) in onClick()
/cts/tests/tests/neuralnetworks/java_test/jni/
Dandroid_neuralnetworks_cts_ModelAssetTest.cpp117 ASSERT_OR_RETURN_NULL(assetFd.ok()); in createMemoryFromAsset()
132 ASSERT_OR_RETURN_NULL(ashmemFd.ok()); in createMemoryFromAshmem()
/cts/tests/tests/view/src/android/view/cts/
DView_IdsTest.java62 Button buttonOk = (Button) activity.findViewById(R.id.ok); in testIds()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DScreenLockTestActivity.java129 .setPositiveButton(android.R.string.ok, null) in onReceive()
/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/tv/
DAppLinkTestActivity.java119 android.R.string.ok, this); in createTestItems()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DMessageTestActivity.java262 .setPositiveButton(android.R.string.ok, null) in showInstructionsDialog()
346 .setPositiveButton(android.R.string.ok, in showPairingErrorDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralButtonsActivity.java55 builder.setPositiveButton(android.R.string.ok, in showDisableAssistantDialog()

12