Home
last modified time | relevance | path

Searched refs:Status (Results 1 – 25 of 108) sorted by relevance

12345

/packages/apps/Dialer/java/com/android/voicemail/impl/
DDefaultOmtpEventHandler.java21 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 …]
DVoicemailStatus.java24 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/
DVoicemailProviderTest.java31 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 …]
DContactsDatabaseHelperUpgradeTest.java42 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/
DVoicemailStatusTable.java29 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 …]
DCallLogDatabaseHelper.java27 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/Dialer/java/com/android/dialer/voicemail/listui/error/
DOmtpVoicemailMessageCreator.java21 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 …]
DVoicemailStatus.java28 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/modules/NetworkStack/common/networkstackclient/src/android/net/
DIpMemoryStoreClient.java30 import android.net.ipmemorystore.Status;
97 () -> listener.onComplete(new Status(Status.ERROR_UNKNOWN))); in storeNetworkAttributes()
122 () -> listener.onComplete(new Status(Status.ERROR_UNKNOWN))); in storeBlob()
148 () -> listener.onL2KeyResponse(new Status(Status.ERROR_UNKNOWN), in findL2Key()
170 () -> listener.onSameL3NetworkResponse(new Status(Status.ERROR_UNKNOWN), in isSameNetwork()
192 () -> listener.onNetworkAttributesRetrieved(new Status(Status.ERROR_UNKNOWN), in retrieveNetworkAttributes()
216 () -> listener.onBlobRetrieved(new Status(Status.ERROR_UNKNOWN), in retrieveBlob()
244 () -> listener.onComplete(new Status(Status.ERROR_UNKNOWN), in delete()
276 () -> listener.onComplete(new Status(Status.ERROR_UNKNOWN), in deleteCluster()
/packages/apps/Dialer/java/com/android/dialer/voicemailstatus/
DVoicemailStatusQuery.java21 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/
DVoicemailStatusQueryHelper.java23 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/
DVoicemailPopulator.java24 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/
DUserSpamListStatus.java32 @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()
DGlobalSpamListStatus.java31 @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/
DphFriNfc_SmtCrdFmt.cpp38 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()
DphFriNfc_MifStdFormat.cpp36 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 …]
DphFriNfc_MifareStdMap.cpp612 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/
DTranscriptionResponse.java20 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/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreDatabase.java32 import android.net.ipmemorystore.Status;
378 return Status.SUCCESS; in storeNetworkAttributes()
385 return Status.ERROR_STORAGE; in storeNetworkAttributes()
394 return (res == -1) ? Status.ERROR_STORAGE : Status.SUCCESS; in storeBlob()
640 return new StatusAndCount(Status.ERROR_UNKNOWN, 0); in deleteEntriesWithColumn()
648 if (Status.SUCCESS != vacuumStatus) return new StatusAndCount(vacuumStatus, deleted); in deleteEntriesWithColumn()
650 return new StatusAndCount(Status.SUCCESS, deleted); in deleteEntriesWithColumn()
665 return Status.ERROR_STORAGE; in dropAllExpiredRecords()
677 return Status.SUCCESS; in dropAllExpiredRecords()
684 return Status.ERROR_ILLEGAL_ARGUMENT; in dropNumberOfRecords()
[all …]
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java43 import android.net.ipmemorystore.Status;
183 private IOnStatusListener onStatus(Consumer<Status> functor) { in onStatus()
187 functor.accept(new Status(statusParcelable)); in onStatus()
208 private IOnStatusAndCountListener onDeleteStatus(BiConsumer<Status, Integer> functor) {
213 functor.accept(new Status(statusParcelable), deletedCount);
235 void onBlobRetrieved(Status status, String l2Key, String name, byte[] data);
242 functor.onBlobRetrieved(new Status(statusParcelable), l2Key, name,
265 void onNetworkAttributesRetrieved(Status status, String l2Key, NetworkAttributes attr);
274 functor.onNetworkAttributesRetrieved(new Status(status), l2Key,
297 void onSameL3NetworkResponse(Status status, SameL3NetworkResponse answer);
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContact.java63 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/
DContact.java51 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/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarImporterTest.java91 Attendee.Status.ACCEPTED, Attendee.Type.REQUIRED); in setUp()
92 mAttendeeProtoBuilder2 = newAttendee("Q", "q@gmail.com", Attendee.Status.DECLINED, in setUp()
181 CalendarImporter.convertAttendeeStatus(Attendee.Status.NONE_STATUS)); in convertAttendeeStatus()
183 CalendarImporter.convertAttendeeStatus(Attendee.Status.ACCEPTED)); in convertAttendeeStatus()
185 CalendarImporter.convertAttendeeStatus(Attendee.Status.DECLINED)); in convertAttendeeStatus()
187 CalendarImporter.convertAttendeeStatus(Attendee.Status.INVITED)); in convertAttendeeStatus()
189 CalendarImporter.convertAttendeeStatus(Attendee.Status.TENTATIVE)); in convertAttendeeStatus()
191 CalendarImporter.convertAttendeeStatus(Attendee.Status.UNSPECIFIED_STATUS)); in convertAttendeeStatus()
268 private Attendee.Builder newAttendee(String name, String email, Attendee.Status status,
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugStorageUtils.java176 Integer.toString(Status.STATUS_UPLOAD_PENDING.getValue())}; in getUploadPendingBugReports()
270 setBugReportStatus(context, bugReport, Status.STATUS_UPLOAD_SUCCESS, in setUploadSuccess()
280 setBugReportStatus(context, bugReport, Status.STATUS_UPLOAD_PENDING, in setUploadRetry()
290 setBugReportStatus(context, bugReport, Status.STATUS_UPLOAD_PENDING, msg); in setUploadRetry()
302 context, metaBugReport, Status.STATUS_EXPIRED, "Expired on " + expiredAt); in expireBugReport()
303 if (metaBugReport.getStatus() != Status.STATUS_EXPIRED.getValue()) { in expireBugReport()
334 Context context, MetaBugReport bugReport, Status status, String message) { in setBugReportStatus()
350 Context context, MetaBugReport bugReport, Status status, Exception e) { in setBugReportStatus()
/packages/services/Car/tools/keventreader/server/
Deventprovider.cpp42 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()

12345