Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapCallLogComposerTest.java95 assertThat(mComposer.getErrorReason()).isEqualTo(NO_ERROR); in testInit_success()
105 assertThat(mComposer.getErrorReason()).isEqualTo(FAILURE_REASON_UNSUPPORTED_URI); in testInit_failWhenUriIsNotSupported()
115 assertThat(mComposer.getErrorReason()) in testInit_failWhenCursorIsNull()
124 assertThat(mComposer.getErrorReason()).isEqualTo(FAILURE_REASON_NO_ENTRY); in testInit_failWhenCursorRowCountIsZero()
133 assertThat(mComposer.getErrorReason()).isEqualTo(FAILURE_REASON_NO_ENTRY); in testInit_failWhenCursorMoveToFirstFails()
142 assertThat(mComposer.getErrorReason()).isEqualTo(NO_ERROR); in testCreateOneEntry_success()
149 assertThat(mComposer.getErrorReason()).isEqualTo(FAILURE_REASON_NOT_INITIALIZED); in testCreateOneEntry_failWhenNotInitialized()
DBluetoothPbapSimVcardManagerTest.java89 assertThat(mManager.getErrorReason()) in testInit_whenUriIsUnsupported()
100 assertThat(mManager.getErrorReason()) in testInit_whenCursorIsNull()
114 assertThat(mManager.getErrorReason()) in testInit_whenCursorHasNoEntry()
128 assertThat(mManager.getErrorReason()).isEqualTo(BluetoothPbapSimVcardManager.NO_ERROR); in testInit_success()
134 assertThat(mManager.getErrorReason()) in testCreateOneEntry_whenNotInitialized()
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DNoReceiveSmsPermissionTest.java239 String reason = getErrorReason(resultCode); in handleResultCode()
257 private String getErrorReason(int resultCode) { in getErrorReason() method in NoReceiveSmsPermissionTest.IllegalSmsReceiver
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapSimVcardManager.java247 public String getErrorReason() { in getErrorReason() method in BluetoothPbapSimVcardManager
434 + composer.getErrorReason() in composeAndSendSIMPhonebookVcards()
494 Log.e(TAG, "Failed to read a contact. Error reason: " + composer.getErrorReason()); in composeAndSendSIMPhonebookOneVcard()
DBluetoothPbapCallLogComposer.java324 public String getErrorReason() { in getErrorReason() method in BluetoothPbapCallLogComposer
DBluetoothPbapVcardManager.java1143 + composer.getErrorReason()); in composeCallLogsAndSendSelectedVCards()
1166 + composer.getErrorReason()); in composeCallLogsAndSendSelectedVCards()
DBluetoothPbapUtils.java216 + composer.getErrorReason()); in createProfileVCard()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportProcessor.java164 final String errorReason = composer.getErrorReason(); in runInternal()
192 final String errorReason = composer.getErrorReason(); in runInternal()