/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | VoicemailProviderTest.java | 26 import android.provider.VoicemailContract.Status; 78 Status.buildSourceUri(mActor.packageName) : Status.CONTENT_URI; in statusUri() 418 assertSelection(uri, values, Status._ID, ContentUris.parseId(uri)); in testStatusInsert() 429 values.put(Status.DATA_CHANNEL_STATE, Status.DATA_CHANNEL_STATE_NO_CONNECTION); in testStatusInsertDuplicate() 434 values.put(Status.SOURCE_PACKAGE, "another.package"); in testStatusInsertDuplicate() 442 values.put(Status.DATA_CHANNEL_STATE, Status.DATA_CHANNEL_STATE_NO_CONNECTION); in testStatusUpdate() 443 values.put(Status.NOTIFICATION_CHANNEL_STATE, in testStatusUpdate() 444 Status.NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING); in testStatusUpdate() 452 int count = mResolver.delete(statusUri(), Status._ID + "=" in testStatusDelete() 461 assertEquals(Status.ITEM_TYPE, mResolver.getType(uri)); in testStatusGetType() [all …]
|
D | VoicemailCleanupServiceTest.java | 24 import android.provider.VoicemailContract.Status; 85 mResolver.insert(Status.buildSourceUri(sourcePackage), values); in insertDataForPackage() 99 Status.buildSourceUri(sourcePackage), null, null, null, null); in checkDataExistsForPackage() 108 Status.buildSourceUri(sourcePackage), null, null, null, null); in checkDataDoesNotExistForPackage()
|
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/ |
D | VoicemailStatusHelperImplTest.java | 19 import static android.provider.VoicemailContract.Status.CONFIGURATION_STATE; 20 import static android.provider.VoicemailContract.Status.CONFIGURATION_STATE_CAN_BE_CONFIGURED; 21 import static android.provider.VoicemailContract.Status.CONFIGURATION_STATE_NOT_CONFIGURED; 22 import static android.provider.VoicemailContract.Status.DATA_CHANNEL_STATE; 23 import static android.provider.VoicemailContract.Status.DATA_CHANNEL_STATE_NO_CONNECTION; 24 import static android.provider.VoicemailContract.Status.DATA_CHANNEL_STATE_OK; 25 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE; 26 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING; 27 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE_NO_CONNECTION; 28 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE_OK; [all …]
|
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
D | VoicemailStatusHelperImpl.java | 19 import static android.provider.VoicemailContract.Status.CONFIGURATION_STATE_CAN_BE_CONFIGURED; 20 import static android.provider.VoicemailContract.Status.CONFIGURATION_STATE_OK; 21 import static android.provider.VoicemailContract.Status.DATA_CHANNEL_STATE_NO_CONNECTION; 22 import static android.provider.VoicemailContract.Status.DATA_CHANNEL_STATE_OK; 23 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING; 24 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE_NO_CONNECTION; 25 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE_OK; 29 import android.provider.VoicemailContract.Status; 51 PROJECTION[SOURCE_PACKAGE_INDEX] = Status.SOURCE_PACKAGE; 52 PROJECTION[CONFIGURATION_STATE_INDEX] = Status.CONFIGURATION_STATE; [all …]
|
D | VoicemailStatusHelper.java | 21 import android.provider.VoicemailContract.Status;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailStatusTable.java | 30 import android.provider.VoicemailContract.Status; 40 .add(Status._ID) 41 .add(Status.CONFIGURATION_STATE) 42 .add(Status.DATA_CHANNEL_STATE) 43 .add(Status.NOTIFICATION_CHANNEL_STATE) 44 .add(Status.SETTINGS_URI) 45 .add(Status.SOURCE_PACKAGE) 46 .add(Status.VOICEMAIL_ACCESS_URI) 96 c.setNotificationUri(mContext.getContentResolver(), Status.CONTENT_URI); in query() 113 return Status.ITEM_TYPE; in getType() [all …]
|
D | VoicemailCleanupService.java | 22 import android.provider.VoicemailContract.Status; 52 contentResolver.delete(Status.buildSourceUri(packageUninstalled), null, null); in handleIntentInternal()
|
D | DbModifierWithNotification.java | 37 import android.provider.VoicemailContract.Status; 92 Status.CONTENT_URI : Voicemails.CONTENT_URI; in DbModifierWithNotification()
|
D | ContactsDatabaseHelper.java | 1283 VoicemailContract.Status._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + in onCreate() 1284 VoicemailContract.Status.SOURCE_PACKAGE + " TEXT UNIQUE NOT NULL," + in onCreate() 1285 VoicemailContract.Status.SETTINGS_URI + " TEXT," + in onCreate() 1286 VoicemailContract.Status.VOICEMAIL_ACCESS_URI + " TEXT," + in onCreate() 1287 VoicemailContract.Status.CONFIGURATION_STATE + " INTEGER," + in onCreate() 1288 VoicemailContract.Status.DATA_CHANNEL_STATE + " INTEGER," + in onCreate() 1289 VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE + " INTEGER" + in onCreate()
|
/packages/apps/Email/src/com/android/email/ |
D | RefreshManager.java | 91 /* package */ static class Status { class in RefreshManager 142 private final HashMap<Long, Status> mMap = new HashMap<Long, Status>(); 144 public Status get(long id) { in get() 145 Status s = mMap.get(id); in get() 147 s = new Status(); in get() 154 for (Status s : mMap.values()) { in isRefreshingAny() 213 final Status status = mMailboxListStatus.get(accountId); in refreshMailboxList() 251 final Status status = mMessageListStatus.get(mailboxId); in refreshMessageList() 347 /* package */ Status getMailboxListStatusForTest(long accountId) { in getMailboxListStatusForTest() 351 /* package */ Status getMessageListStatusForTest(long mailboxId) { in getMessageListStatusForTest()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | Contact.java | 50 private enum Status { enum in Contact 92 private final Contact.Status mStatus; 98 private Contact(Uri requestedUri, Contact.Status status, Exception exception) { in Contact() 99 if (status == Status.ERROR && exception == null) { in Contact() 129 return new Contact(requestedUri, Status.ERROR, exception); in forError() 133 return new Contact(requestedUri, Status.NOT_FOUND, null); in forNotFound() 144 mStatus = Status.LOADED; in Contact() 277 return mStatus == Status.ERROR; in isError() 291 return mStatus == Status.NOT_FOUND; in isNotFound() 299 return mStatus == Status.LOADED; in isLoaded()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupEditorFragment.java | 161 public enum Status { enum in GroupEditorFragment 176 private Status mStatus; 229 if (mStatus == Status.SELECTING_ACCOUNT) { in onActivityCreated() 231 } else if (mStatus == Status.LOADING) { in onActivityCreated() 261 mStatus = Status.LOADING; in startGroupMetaDataLoader() 291 mStatus = (Status) state.getSerializable(KEY_STATUS); in onRestoreInstanceState() 333 mStatus = Status.SELECTING_ACCOUNT; in selectAccountAndCreateGroup() 461 mStatus = Status.EDITING; in setupEditorForAccount() 535 mStatus = Status.CLOSING; in doRevertAction() 572 if (!hasValidGroupName() || mStatus != Status.EDITING) { in save() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorFragment.java | 170 private interface Status { interface in ContactEditorFragment 360 if (!getActivity().isChangingConfigurations() && mStatus == Status.EDITING) { in onStop() 630 mStatus = Status.SUB_ACTIVITY; in selectAccountAndCreateContact() 723 mStatus = Status.EDITING; in bindEditorsForNewContact() 1117 if (!hasValidState() || mStatus != Status.EDITING) { in save() 1126 mStatus = Status.SAVING; in save() 1132 mStatus = Status.EDITING; in save() 1195 mStatus = Status.CLOSING; in doRevertAction() 1247 mStatus = Status.CLOSING; in onSaveCompleted() 1263 mStatus = Status.LOADING; in onSaveCompleted() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ProviderStatusWatcher.java | 50 public static class Status { class in ProviderStatusWatcher 57 public Status(int status, String data) { in Status() method in ProviderStatusWatcher.Status 85 private Status mProviderStatus; 188 public Status getProviderStatus() { in getProviderStatus() 192 return new Status(ProviderStatus.STATUS_UPGRADING, null); in getProviderStatus() 237 mProviderStatus = new ProviderStatusWatcher.Status( in doInBackground()
|
D | ContactsUnavailableFragment.java | 53 private ProviderStatusWatcher.Status mProviderStatus; 90 public void updateStatus(ProviderStatusWatcher.Status providerStatus) { in updateStatus()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | Status.java | 70 public class Status extends PreferenceActivity { class 141 private WeakReference<Status> mStatus; 143 public MyHandler(Status activity) { in MyHandler() 144 mStatus = new WeakReference<Status>(activity); in MyHandler() 149 Status status = mStatus.get(); in handleMessage()
|
/packages/apps/Dialer/src/com/android/dialer/ |
D | CallDetailActivityQueryHandler.java | 21 import android.provider.VoicemailContract.Status; 73 Status.buildSourceUri(getSourcePackage(cursor)), in onNotNullableQueryComplete()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | FlipperDreamSettings.java | 22 import android.os.AsyncTask.Status; 62 if (mLoadingTask != null && mLoadingTask.getStatus() != Status.FINISHED) { in init()
|
D | PhotoTable.java | 202 mLoadOnDeckTasks[slot].getStatus() != AsyncTask.Status.FINISHED) { in clearSelection() 258 mLoadOnDeckTasks[slot].getStatus() != AsyncTask.Status.FINISHED) { in promoteSelection() 597 mPhotoLaunchTask.getStatus() == AsyncTask.Status.FINISHED) { in launch()
|
D | PhotoCarousel.java | 162 if (loader.getStatus() == AsyncTask.Status.FINISHED) { in maybeLoadMore()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallLogQueryHandler.java | 34 import android.provider.VoicemailContract.Status; 176 startQuery(QUERY_VOICEMAIL_STATUS_TOKEN, null, Status.CONTENT_URI, in fetchVoicemailStatus()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | WallpaperChooserDialogFragment.java | 86 if (mLoader != null && mLoader.getStatus() != WallpaperLoader.Status.FINISHED) { in cancelLoader() 181 if (mLoader != null && mLoader.getStatus() != WallpaperLoader.Status.FINISHED) { in onItemSelected()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | RefreshManagerTest.java | 80 RefreshManager.Status s = new RefreshManager.Status(); in testRefreshStatus()
|
/packages/apps/Dialer/tests/src/com/android/dialer/util/ |
D | FakeAsyncTaskExecutor.java | 194 if (submittedTask.getAsyncTask().getStatus() == AsyncTask.Status.FINISHED) { in runTask()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | PeopleActivity.java | 150 private ProviderStatusWatcher.Status mProviderStatus; 1026 ProviderStatusWatcher.Status providerStatus = mProviderStatusWatcher.getProviderStatus(); in updateViewConfiguration()
|