/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | DefaultOmtpEventHandler.java | 21 import android.provider.VoicemailContract.Status; 58 .setConfigurationState(VoicemailContract.Status.CONFIGURATION_STATE_OK) in handleConfigurationEvent() 59 .setNotificationChannelState(Status.NOTIFICATION_CHANNEL_STATE_OK) in handleConfigurationEvent() 66 .setConfigurationState(Status.CONFIGURATION_STATE_CONFIGURING) in handleConfigurationEvent() 67 .setNotificationChannelState(Status.NOTIFICATION_CHANNEL_STATE_OK) in handleConfigurationEvent() 68 .setDataChannelState(Status.DATA_CHANNEL_STATE_OK) in handleConfigurationEvent() 73 .setConfigurationState(Status.CONFIGURATION_STATE_OK) in handleConfigurationEvent() 74 .setNotificationChannelState(Status.NOTIFICATION_CHANNEL_STATE_OK) in handleConfigurationEvent() 75 .setDataChannelState(Status.DATA_CHANNEL_STATE_OK) in handleConfigurationEvent() 79 status.setConfigurationState(Status.CONFIGURATION_STATE_FAILED).apply(); in handleConfigurationEvent() [all …]
|
D | VoicemailStatus.java | 24 import android.provider.VoicemailContract.Status; 57 values.put(Status.SOURCE_TYPE, type); in setType() 62 values.put(Status.CONFIGURATION_STATE, configurationState); in setConfigurationState() 67 values.put(Status.DATA_CHANNEL_STATE, dataChannelState); in setDataChannelState() 72 values.put(Status.NOTIFICATION_CHANNEL_STATE, notificationChannelState); in setNotificationChannelState() 77 if (occupied == VoicemailContract.Status.QUOTA_UNAVAILABLE in setQuota() 78 && total == VoicemailContract.Status.QUOTA_UNAVAILABLE) { in setQuota() 82 values.put(Status.QUOTA_OCCUPIED, occupied); in setQuota() 83 values.put(Status.QUOTA_TOTAL, total); in setQuota() 97 Status.PHONE_ACCOUNT_COMPONENT_NAME, in apply() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | VoicemailProviderTest.java | 31 import android.provider.VoicemailContract.Status; 106 Status.buildSourceUri(mActor.packageName) : Status.CONTENT_URI; in statusUri() 726 assertSelection(uri, values, Status._ID, ContentUris.parseId(uri)); in testStatusInsert() 732 values.put(Status.DATA_CHANNEL_STATE, Status.DATA_CHANNEL_STATE_NO_CONNECTION); in testStatusUpdate() 733 values.put(Status.NOTIFICATION_CHANNEL_STATE, in testStatusUpdate() 734 Status.NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING); in testStatusUpdate() 735 values.put(Status.SOURCE_TYPE, in testStatusUpdate() 746 values2.put(Status.CONFIGURATION_STATE, Status.CONFIGURATION_STATE_NOT_CONFIGURED); in testStatusUpsert() 747 values.put(Status.CONFIGURATION_STATE, Status.CONFIGURATION_STATE_NOT_CONFIGURED); in testStatusUpsert() 750 assertSelection(uri, values, Status._ID, ContentUris.parseId(uri)); in testStatusUpsert() [all …]
|
D | ContactsDatabaseHelperUpgradeTest.java | 42 import android.provider.VoicemailContract.Status; 142 voicemailStatus.assertHasColumn(Status.QUOTA_OCCUPIED, INTEGER, false, "-1"); in upgradeTo1109() 143 voicemailStatus.assertHasColumn(Status.QUOTA_TOTAL, INTEGER, false, "-1"); in upgradeTo1109() 483 new TableColumn(Status._ID, INTEGER, false, null), 484 new TableColumn(Status.SOURCE_PACKAGE, TEXT, true, null), 485 new TableColumn(Status.PHONE_ACCOUNT_COMPONENT_NAME, TEXT, false, null), 486 new TableColumn(Status.PHONE_ACCOUNT_ID, TEXT, false, null), 487 new TableColumn(Status.SETTINGS_URI, TEXT, false, null), 488 new TableColumn(Status.VOICEMAIL_ACCESS_URI, TEXT, false, null), 489 new TableColumn(Status.CONFIGURATION_STATE, INTEGER, false, null), [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailStatusTable.java | 29 import android.provider.VoicemailContract.Status; 44 .add(Status._ID) 45 .add(Status.PHONE_ACCOUNT_COMPONENT_NAME) 46 .add(Status.PHONE_ACCOUNT_ID) 47 .add(Status.CONFIGURATION_STATE) 48 .add(Status.DATA_CHANNEL_STATE) 49 .add(Status.NOTIFICATION_CHANNEL_STATE) 50 .add(Status.SETTINGS_URI) 51 .add(Status.SOURCE_PACKAGE) 52 .add(Status.VOICEMAIL_ACCESS_URI) [all …]
|
D | CallLogDatabaseHelper.java | 27 import android.provider.VoicemailContract.Status; 173 VoicemailContract.Status._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + in onCreate() 174 VoicemailContract.Status.SOURCE_PACKAGE + " TEXT NOT NULL," + in onCreate() 175 VoicemailContract.Status.PHONE_ACCOUNT_COMPONENT_NAME + " TEXT," + in onCreate() 176 VoicemailContract.Status.PHONE_ACCOUNT_ID + " TEXT," + in onCreate() 177 VoicemailContract.Status.SETTINGS_URI + " TEXT," + in onCreate() 178 VoicemailContract.Status.VOICEMAIL_ACCESS_URI + " TEXT," + in onCreate() 179 VoicemailContract.Status.CONFIGURATION_STATE + " INTEGER," + in onCreate() 180 VoicemailContract.Status.DATA_CHANNEL_STATE + " INTEGER," + in onCreate() 181 VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE + " INTEGER," + in onCreate() [all …]
|
/packages/apps/Bluetooth/jni/ |
D | bluetooth_socket_manager.cc | 24 using ::android::binder::Status; 31 Status BluetoothSocketManagerBinderServer::connectSocket( in connectSocket() 37 return Status::fromExceptionCode( in connectSocket() 38 Status::EX_SECURITY, String8("Not allowed for non-active users")); in connectSocket() 56 return Status::ok(); in connectSocket() 61 return Status::ok(); in connectSocket() 64 Status BluetoothSocketManagerBinderServer::createSocketChannel( in createSocketChannel() 70 return Status::fromExceptionCode( in createSocketChannel() 71 Status::EX_SECURITY, String8("Not allowed for non-active users")); in createSocketChannel() 96 return Status::ok(); in createSocketChannel() [all …]
|
D | permission_helpers.cc | 27 using ::android::binder::Status; 37 Status checkPermission(const char* permission) { in checkPermission() 42 return Status::ok(); in checkPermission() 47 return Status::fromExceptionCode(Status::EX_SECURITY, String8(err.c_str())); in checkPermission()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/ |
D | OmtpVoicemailMessageCreator.java | 21 import android.provider.VoicemailContract.Status; 56 if (Status.CONFIGURATION_STATE_OK == status.configurationState in create() 57 && Status.DATA_CHANNEL_STATE_OK == status.dataChannelState in create() 58 && Status.NOTIFICATION_CHANNEL_STATE_OK == status.notificationChannelState) { in create() 63 if (Status.CONFIGURATION_STATE_CONFIGURING == status.configurationState in create() 64 && Status.DATA_CHANNEL_STATE_OK == status.dataChannelState in create() 65 && Status.NOTIFICATION_CHANNEL_STATE_OK == status.notificationChannelState) { in create() 72 if (Status.NOTIFICATION_CHANNEL_STATE_NO_CONNECTION == status.notificationChannelState) { in create() 76 if (Status.CONFIGURATION_STATE_FAILED == status.configurationState) { in create() 84 if (Status.DATA_CHANNEL_STATE_NO_CONNECTION == status.dataChannelState) { in create() [all …]
|
D | VoicemailStatus.java | 28 import android.provider.VoicemailContract.Status; 87 Status.CONFIGURATION_STATE_NOT_CONFIGURED); in VoicemailStatus() 92 Status.DATA_CHANNEL_STATE_NO_CONNECTION); in VoicemailStatus() 108 Status.NOTIFICATION_CHANNEL_STATE_NO_CONNECTION); in VoicemailStatus() 113 getInt(statusCursor, VoicemailStatusQuery.QUOTA_OCCUPIED_INDEX, Status.QUOTA_UNAVAILABLE); in VoicemailStatus() 115 getInt(statusCursor, VoicemailStatusQuery.QUOTA_TOTAL_INDEX, Status.QUOTA_UNAVAILABLE); in VoicemailStatus() 142 return Status.NOTIFICATION_CHANNEL_STATE_NO_CONNECTION; in getNotificationChannelStateFormTelephony() 146 return Status.NOTIFICATION_CHANNEL_STATE_OK; in getNotificationChannelStateFormTelephony() 148 return Status.NOTIFICATION_CHANNEL_STATE_NO_CONNECTION; in getNotificationChannelStateFormTelephony() 163 private int configurationState = Status.CONFIGURATION_STATE_NOT_CONFIGURED; [all …]
|
/packages/apps/Dialer/java/com/android/dialer/voicemailstatus/ |
D | VoicemailStatusQuery.java | 21 import android.provider.VoicemailContract.Status; 53 Status.SOURCE_PACKAGE, // 0 54 Status.SETTINGS_URI, // 1 55 Status.VOICEMAIL_ACCESS_URI, // 2 56 Status.CONFIGURATION_STATE, // 3 57 Status.DATA_CHANNEL_STATE, // 4 58 Status.NOTIFICATION_CHANNEL_STATE, // 5 59 Status.QUOTA_OCCUPIED, // 6 60 Status.QUOTA_TOTAL // 7 68 projectionList.add(Status.PHONE_ACCOUNT_COMPONENT_NAME); // 8 [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
D | VoicemailStatusQueryHelper.java | 23 import android.provider.VoicemailContract.Status; 31 Status._ID, // 0 32 Status.CONFIGURATION_STATE, // 1 33 Status.NOTIFICATION_CHANNEL_STATE, // 2 34 Status.SOURCE_PACKAGE // 3 49 sourceUri = VoicemailContract.Status.buildSourceUri(this.context.getPackageName()); in VoicemailStatusQueryHelper() 61 return isFieldEqualTo(phoneAccount, CONFIGURATION_STATE, Status.CONFIGURATION_STATE_OK); in isVoicemailSourceConfigured() 72 phoneAccount, NOTIFICATION_CHANNEL_STATE, Status.NOTIFICATION_CHANNEL_STATE_OK); in isNotificationsChannelActive() 94 Status.PHONE_ACCOUNT_COMPONENT_NAME in isFieldEqualTo() 96 + Status.PHONE_ACCOUNT_ID in isFieldEqualTo() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/ |
D | VoicemailPopulator.java | 24 import android.provider.VoicemailContract.Status; 120 values.put(Status.SOURCE_PACKAGE, handle.getComponentName().getPackageName()); in enableVoicemail() 122 values.put(Status.SOURCE_TYPE, "vvm_type_vvm3"); // mark populated voice mail as vvm3 in enableVoicemail() 124 values.put(Status.PHONE_ACCOUNT_COMPONENT_NAME, handle.getComponentName().flattenToString()); in enableVoicemail() 125 values.put(Status.PHONE_ACCOUNT_ID, handle.getId()); in enableVoicemail() 126 values.put(Status.CONFIGURATION_STATE, Status.CONFIGURATION_STATE_OK); in enableVoicemail() 127 values.put(Status.DATA_CHANNEL_STATE, Status.DATA_CHANNEL_STATE_OK); in enableVoicemail() 128 values.put(Status.NOTIFICATION_CHANNEL_STATE, Status.NOTIFICATION_CHANNEL_STATE_OK); in enableVoicemail() 129 context.getContentResolver().insert(Status.buildSourceUri(context.getPackageName()), values); in enableVoicemail()
|
/packages/apps/Dialer/java/com/android/dialer/spam/status/ |
D | UserSpamListStatus.java | 32 @IntDef({Status.NOT_ON_LIST, Status.WHITELISTED, Status.BLACKLISTED}) 33 public @interface Status { annotation in UserSpamListStatus 39 public abstract @Status int getStatus(); in getStatus() 48 return new AutoValue_UserSpamListStatus(Status.NOT_ON_LIST, Optional.absent()); in notOnList() 52 return new AutoValue_UserSpamListStatus(Status.WHITELISTED, Optional.of(timestampMillis)); in whitelisted() 56 return new AutoValue_UserSpamListStatus(Status.BLACKLISTED, Optional.of(timestampMillis)); in blacklisted()
|
D | GlobalSpamListStatus.java | 31 @IntDef({Status.NOT_ON_LIST, Status.ON_LIST}) 32 public @interface Status { annotation in GlobalSpamListStatus 37 public abstract @Status int getStatus(); in getStatus() 46 return new AutoValue_GlobalSpamListStatus(Status.NOT_ON_LIST, Optional.absent()); in notOnList() 50 return new AutoValue_GlobalSpamListStatus(Status.ON_LIST, Optional.of(timestampMillis)); in onList()
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
D | phFriNfc_SmtCrdFmt.cpp | 38 NFCSTATUS Status) { in phFriNfc_SmtCrdFmt_HCrHandler() argument 44 .CompletionRoutine(NdefSmtCrdFmt->CompletionRoutine->Context, Status); in phFriNfc_SmtCrdFmt_HCrHandler() 176 void phFriNfc_NdefSmtCrd_Process(void* Context, NFCSTATUS Status) { in phFriNfc_NdefSmtCrd_Process() argument 188 phFriNfc_MfStd_Process(NdefSmtCrdFmt, Status); in phFriNfc_NdefSmtCrd_Process() 191 Status = PHNFCSTVAL(CID_FRI_NFC_NDEF_SMTCRDFMT, in phFriNfc_NdefSmtCrd_Process() 199 Status = PHNFCSTVAL(CID_FRI_NFC_NDEF_SMTCRDFMT, in phFriNfc_NdefSmtCrd_Process() 207 Status); in phFriNfc_NdefSmtCrd_Process() 211 Status = in phFriNfc_NdefSmtCrd_Process()
|
D | phFriNfc_MifStdFormat.cpp | 36 phFriNfc_sNdefSmtCrdFmt_t* NdefSmtCrdFmt, NFCSTATUS Status); 203 void phFriNfc_MfStd_Process(void* Context, NFCSTATUS Status) { in phFriNfc_MfStd_Process() argument 207 NdefSmtCrdFmt->FmtProcStatus = Status; in phFriNfc_MfStd_Process() 209 if (Status == NFCSTATUS_SUCCESS) { in phFriNfc_MfStd_Process() 212 Status = phFriNfc_MfStd_H_ProAuth(NdefSmtCrdFmt); in phFriNfc_MfStd_Process() 216 Status = phFriNfc_MfStd_H_CallCon(NdefSmtCrdFmt); in phFriNfc_MfStd_Process() 225 Status = phFriNfc_MfStd_H_ProCon(NdefSmtCrdFmt); in phFriNfc_MfStd_Process() 229 Status = phFriNfc_MfStd_H_ProRdSectTr(NdefSmtCrdFmt); in phFriNfc_MfStd_Process() 233 Status = phFriNfc_MfStd_H_ProWrSectTr(NdefSmtCrdFmt); in phFriNfc_MfStd_Process() 237 Status = phFriNfc_MfStd_H_ProWrMADBlk(NdefSmtCrdFmt); in phFriNfc_MfStd_Process() [all …]
|
D | phFriNfc_MifareStdMap.cpp | 612 void phFriNfc_MifareStdMap_Process(void* Context, NFCSTATUS Status) { in phFriNfc_MifareStdMap_Process() argument 618 if ((Status & PHNFCSTBLOWER) == (NFCSTATUS_SUCCESS & PHNFCSTBLOWER)) { in phFriNfc_MifareStdMap_Process() 621 Status = phFriNfc_MifStd_H_ProChkNdef(NdefMap); in phFriNfc_MifareStdMap_Process() 622 CRFlag = (uint8_t)((Status != NFCSTATUS_PENDING) in phFriNfc_MifareStdMap_Process() 637 Status = in phFriNfc_MifareStdMap_Process() 639 CRFlag = (uint8_t)((Status != NFCSTATUS_PENDING) in phFriNfc_MifareStdMap_Process() 648 Status = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP, in phFriNfc_MifareStdMap_Process() 655 Status = phFriNfc_MifStd_H_ProWrABlock(NdefMap); in phFriNfc_MifareStdMap_Process() 656 CRFlag = (uint8_t)((Status != NFCSTATUS_PENDING) in phFriNfc_MifareStdMap_Process() 668 Status = phFriNfc_MifStd_H_ProAuth(NdefMap); in phFriNfc_MifareStdMap_Process() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/ |
D | TranscriptionResponse.java | 20 import io.grpc.Status; 21 import io.grpc.Status.Code; 28 @Nullable public final Status status; 34 TranscriptionResponse(Status status) { in TranscriptionResponse() 41 return status.getCode() == Status.Code.UNAVAILABLE; in hasRecoverableError() 57 return status.getCode() != Status.Code.OK && status.getCode() != Status.Code.UNAVAILABLE; in hasFatalError()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/ |
D | IpMemoryStoreServiceTest.java | 41 import android.net.ipmemorystore.Status; 156 private IOnStatusListener onStatus(Consumer<Status> functor) { in onStatus() 160 functor.accept(new Status(statusParcelable)); in onStatus() 177 void onBlobRetrieved(Status status, String l2Key, String name, byte[] data); 184 functor.onBlobRetrieved(new Status(statusParcelable), l2Key, name, 202 void onNetworkAttributesRetrieved(Status status, String l2Key, NetworkAttributes attr); 211 functor.onNetworkAttributesRetrieved(new Status(status), l2Key, 229 void onSameL3NetworkResponse(Status status, SameL3NetworkResponse answer); 238 functor.onSameL3NetworkResponse(new Status(status), 256 void onL2KeyResponse(Status status, String key); [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | Contact.java | 63 private final Contact.Status mStatus; 81 private Contact(Uri requestedUri, Contact.Status status, Exception exception) { in Contact() 82 if (status == Status.ERROR && exception == null) { in Contact() 129 mStatus = Status.LOADED; in Contact() 190 return new Contact(requestedUri, Status.ERROR, exception); in forError() 194 return new Contact(requestedUri, Status.NOT_FOUND, null); in forNotFound() 245 return mStatus == Status.ERROR; in isError() 254 return mStatus == Status.LOADED; in isLoaded() 376 private enum Status { enum in Contact
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | Contact.java | 51 private enum Status { enum in Contact 96 private final Contact.Status mStatus; 102 private Contact(Uri requestedUri, Contact.Status status, Exception exception) { in Contact() 103 if (status == Status.ERROR && exception == null) { in Contact() 131 return new Contact(requestedUri, Status.ERROR, exception); in forError() 135 return new Contact(requestedUri, Status.NOT_FOUND, null); in forNotFound() 146 mStatus = Status.LOADED; in Contact() 279 return mStatus == Status.ERROR; in isError() 293 return mStatus == Status.NOT_FOUND; in isNotFound() 301 return mStatus == Status.LOADED; in isLoaded()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/ |
D | IpMemoryStoreDatabase.java | 34 import android.net.ipmemorystore.Status; 372 return Status.SUCCESS; in storeNetworkAttributes() 379 return Status.ERROR_STORAGE; in storeNetworkAttributes() 388 return (res == -1) ? Status.ERROR_STORAGE : Status.SUCCESS; in storeBlob() 609 return Status.ERROR_STORAGE; in dropAllExpiredRecords() 621 return Status.SUCCESS; in dropAllExpiredRecords() 628 return Status.ERROR_ILLEGAL_ARGUMENT; in dropNumberOfRecords() 640 if (cursor == null || cursor.getCount() <= 0) return Status.ERROR_GENERIC; in dropNumberOfRecords() 656 return Status.ERROR_STORAGE; in dropNumberOfRecords() 668 return Status.SUCCESS; in dropNumberOfRecords()
|
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/ |
D | BugStorageProvider.java | 92 + COLUMN_STATUS + " INTEGER DEFAULT " + Status.STATUS_WRITE_PENDING.getValue() + "," 259 if (status != null && status.equals(Status.STATUS_UPLOAD_PENDING.getValue())) { in update() 312 Status status; in openFile() 316 status = JobSchedulingUtils.uploadByDefault() ? Status.STATUS_UPLOAD_PENDING in openFile() 317 : Status.STATUS_PENDING_USER_ACTION; in openFile() 321 status = Status.STATUS_WRITE_FAILED; in openFile() 328 if (status == Status.STATUS_UPLOAD_PENDING) { in openFile()
|
/packages/services/Car/tools/keventreader/server/ |
D | eventprovider.cpp | 42 Status EventProviderImpl::registerCallback(const sp<IEventCallback>& cb) { in registerCallback() 45 return Status::ok(); in registerCallback() 48 Status EventProviderImpl::unregisterCallback(const sp<IEventCallback>& cb) { in unregisterCallback() 51 return Status::ok(); in unregisterCallback()
|