/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/ |
D | DeviceAdminBugreportFailedEvent.java | 120 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/ |
D | CtsMusicRecognitionService.java | 57 if (sWatcher.failureCode != 0) { in onRecognize() 58 callback.onRecognitionFailed(sWatcher.failureCode); in onRecognize() 98 public int failureCode = 0; field in CtsMusicRecognitionService.Watcher
|
D | MusicRecognitionManagerTest.java | 134 mWatcher.failureCode = MusicRecognitionManager.RECOGNITION_FAILED_NO_CONNECTIVITY; in testOnRecognitionFailed()
|
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/ |
D | ConnectivityManagerLegacyTest.java | 210 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/ |
D | DeviceAdminBugreportFailedEventTest.java | 167 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/ |
D | BaseTestAppDeviceAdminReceiver.java | 131 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/ |
D | EventLibDeviceAdminReceiver.kt | 208 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/ |
D | DeviceAdminTestReceiver.java | 132 public void onBugreportFailed(Context context, Intent intent, int failureCode) { in onBugreportFailed() argument 133 Log.i(TAG, "Bugreport collection operation failed, code: " + failureCode); in onBugreportFailed()
|