Home
last modified time | relevance | path

Searched refs:failureCode (Results 1 – 8 of 8) sorted by relevance

/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminBugreportFailedEvent.java120 Context context, Intent intent, int failureCode) { in logger() argument
122 deviceAdminReceiver, context, intent, failureCode); in logger()
130 Context context, Intent intent, int failureCode) { in DeviceAdminBugreportFailedEventLogger() argument
133 mEvent.mFailureCode = failureCode; in DeviceAdminBugreportFailedEventLogger()
167 public DeviceAdminBugreportFailedEventLogger setFailureCode(int failureCode) { in setFailureCode() argument
168 mEvent.mFailureCode = failureCode; in setFailureCode()
197 public int failureCode() { in failureCode() method in DeviceAdminBugreportFailedEvent
/cts/tests/musicrecognition/src/android/musicrecognition/cts/
DCtsMusicRecognitionService.java57 if (sWatcher.failureCode != 0) { in onRecognize()
58 callback.onRecognitionFailed(sWatcher.failureCode); in onRecognize()
98 public int failureCode = 0; field in CtsMusicRecognitionService.Watcher
DMusicRecognitionManagerTest.java134 mWatcher.failureCode = MusicRecognitionManager.RECOGNITION_FAILED_NO_CONNECTIVITY; in testOnRecognitionFailed()
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/
DConnectivityManagerLegacyTest.java210 final int failureCode = -1; in testStartUsingNetworkFeature() local
218 assertEquals(failureCode, mCm.stopUsingNetworkFeature(TYPE_MOBILE, invalidFeature)); in testStartUsingNetworkFeature()
231 assertEquals(failureCode, mCm.stopUsingNetworkFeature(TYPE_WIFI, in testStartUsingNetworkFeature()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminBugreportFailedEventTest.java167 assertThat(eventLogs.poll().failureCode()).isEqualTo(FAILURE_CODE); in whereFailureCode_works()
181 assertThat(eventLogs.poll().failureCode()).isEqualTo(FAILURE_CODE); in whereFailureCode_skipsNonMatching()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DBaseTestAppDeviceAdminReceiver.java131 public void onBugreportFailed(Context context, Intent intent, int failureCode) { in onBugreportFailed() argument
132 super.onBugreportFailed(context, intent, failureCode); in onBugreportFailed()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiver.kt208 override fun onBugreportFailed(context: Context, intent: Intent, failureCode: Int) { in onBugreportFailed()
209 val logger = DeviceAdminBugreportFailedEvent.logger(this, context, intent, failureCode) in onBugreportFailed()
212 super.onBugreportFailed(context, intent, failureCode) in onBugreportFailed()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceAdminTestReceiver.java132 public void onBugreportFailed(Context context, Intent intent, int failureCode) { in onBugreportFailed() argument
133 Log.i(TAG, "Bugreport collection operation failed, code: " + failureCode); in onBugreportFailed()