Home
last modified time | relevance | path

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

12

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java26 import android.provider.VoicemailContract.Status;
78 Status.buildSourceUri(mActor.packageName) : Status.CONTENT_URI; in statusUri()
486 assertSelection(uri, values, Status._ID, ContentUris.parseId(uri)); in testStatusInsert()
497 values.put(Status.DATA_CHANNEL_STATE, Status.DATA_CHANNEL_STATE_NO_CONNECTION); in testStatusInsertDuplicate()
502 values.put(Status.SOURCE_PACKAGE, "another.package"); in testStatusInsertDuplicate()
510 values.put(Status.DATA_CHANNEL_STATE, Status.DATA_CHANNEL_STATE_NO_CONNECTION); in testStatusUpdate()
511 values.put(Status.NOTIFICATION_CHANNEL_STATE, in testStatusUpdate()
512 Status.NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING); in testStatusUpdate()
520 int count = mResolver.delete(statusUri(), Status._ID + "=" in testStatusDelete()
529 assertEquals(Status.ITEM_TYPE, mResolver.getType(uri)); in testStatusGetType()
[all …]
DVoicemailCleanupServiceTest.java24 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/
DVoicemailStatusHelperImplTest.java19 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/
DVoicemailStatusHelperImpl.java19 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 …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailStatusTable.java30 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 …]
DVoicemailCleanupService.java22 import android.provider.VoicemailContract.Status;
52 contentResolver.delete(Status.buildSourceUri(packageUninstalled), null, null); in handleIntentInternal()
DDbModifierWithNotification.java37 import android.provider.VoicemailContract.Status;
92 Status.CONTENT_URI : Voicemails.CONTENT_URI; in DbModifierWithNotification()
DContactsDatabaseHelper.java1509 VoicemailContract.Status._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + in onCreate()
1510 VoicemailContract.Status.SOURCE_PACKAGE + " TEXT UNIQUE NOT NULL," + in onCreate()
1511 VoicemailContract.Status.SETTINGS_URI + " TEXT," + in onCreate()
1512 VoicemailContract.Status.VOICEMAIL_ACCESS_URI + " TEXT," + in onCreate()
1513 VoicemailContract.Status.CONFIGURATION_STATE + " INTEGER," + in onCreate()
1514 VoicemailContract.Status.DATA_CHANNEL_STATE + " INTEGER," + in onCreate()
1515 VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE + " INTEGER" + in onCreate()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DContact.java51 private enum Status { enum in Contact
97 private final Contact.Status mStatus;
103 private Contact(Uri requestedUri, Contact.Status status, Exception exception) { in Contact()
104 if (status == Status.ERROR && exception == null) { in Contact()
133 return new Contact(requestedUri, Status.ERROR, exception); in forError()
137 return new Contact(requestedUri, Status.NOT_FOUND, null); in forNotFound()
148 mStatus = Status.LOADED; in Contact()
283 return mStatus == Status.ERROR; in isError()
297 return mStatus == Status.NOT_FOUND; in isNotFound()
305 return mStatus == Status.LOADED; in isLoaded()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkActivity.java40 import com.android.tv.settings.dialog.Layout.Status;
200 .add(new Status.Builder(mRes)
214 .add(new Status.Builder(mRes).title(R.string.title_internet_connection)
216 .add(new Status.Builder(mRes)
220 .add(new Status.Builder(mRes)
231 .add(new Status.Builder(mRes)
266 .add(new Status.Builder(mRes)
269 .add(new Status.Builder(mRes)
272 .add(new Status.Builder(mRes)
275 .add(new Status.Builder(mRes)
[all …]
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupEditorFragment.java163 public enum Status { enum in GroupEditorFragment
178 private Status mStatus;
231 if (mStatus == Status.SELECTING_ACCOUNT) { in onActivityCreated()
233 } else if (mStatus == Status.LOADING) { in onActivityCreated()
263 mStatus = Status.LOADING; in startGroupMetaDataLoader()
293 mStatus = (Status) state.getSerializable(KEY_STATUS); in onRestoreInstanceState()
335 mStatus = Status.SELECTING_ACCOUNT; in selectAccountAndCreateGroup()
463 mStatus = Status.EDITING; in setupEditorForAccount()
537 mStatus = Status.CLOSING; in doRevertAction()
574 if (!hasValidGroupName() || mStatus != Status.EDITING) { in save()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java184 private interface Status { interface in ContactEditorFragment
384 if (!getActivity().isChangingConfigurations() && mStatus == Status.EDITING) { in onStop()
679 mStatus = Status.SUB_ACTIVITY; in selectAccountAndCreateContact()
772 mStatus = Status.EDITING; in bindEditorsForNewContact()
1229 if (!hasValidState() || mStatus != Status.EDITING) { in save()
1238 mStatus = Status.SAVING; in save()
1244 mStatus = Status.EDITING; in save()
1347 mStatus = Status.CLOSING; in doRevertAction()
1400 mStatus = Status.CLOSING; in onSaveCompleted()
1416 mStatus = Status.LOADING; in onSaveCompleted()
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DProviderStatusWatcher.java50 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()
DContactsUnavailableFragment.java53 private ProviderStatusWatcher.Status mProviderStatus;
90 public void updateStatus(ProviderStatusWatcher.Status providerStatus) { in updateStatus()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStatus.java59 public class Status extends PreferenceActivity { class
102 private WeakReference<Status> mStatus;
104 public MyHandler(Status activity) { in MyHandler()
105 mStatus = new WeakReference<Status>(activity); in MyHandler()
110 Status status = mStatus.get(); in handleMessage()
227 Status.this, in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageResetActivity.java48 import com.android.tv.settings.dialog.Layout.Status;
188 .add(new Status.Builder(mRes) in createLayout()
193 .add(new Status.Builder(mRes) in createLayout()
198 .add(new Status.Builder(mRes) in createLayout()
208 .add(new Status.Builder(mRes) in createLayout()
213 .add(new Status.Builder(mRes) in createLayout()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DLayout.java169 } else if (node instanceof Status) { in LayoutRow()
170 a = ((Status) node).mAppearence; in LayoutRow()
541 public static class Status extends LayoutTreeNode { class in Layout
546 private Status mStatus = new Status();
583 public Status build() { in build()
/packages/apps/Dialer/src/com/android/dialer/
DCallDetailActivityQueryHandler.java21 import android.provider.VoicemailContract.Status;
73 Status.buildSourceUri(getSourcePackage(cursor)), in onNotNullableQueryComplete()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DFlipperDreamSettings.java22 import android.os.AsyncTask.Status;
62 if (mLoadingTask != null && mLoadingTask.getStatus() != Status.FINISHED) { in init()
DPhotoTable.java205 mLoadOnDeckTasks[slot].getStatus() != AsyncTask.Status.FINISHED) { in clearSelection()
261 mLoadOnDeckTasks[slot].getStatus() != AsyncTask.Status.FINISHED) { in promoteSelection()
604 mPhotoLaunchTask.getStatus() == AsyncTask.Status.FINISHED) { in launch()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogQueryHandler.java34 import android.provider.VoicemailContract.Status;
131 startQuery(QUERY_VOICEMAIL_STATUS_TOKEN, null, Status.CONTENT_URI, in fetchVoicemailStatus()
DCallLogFragment.java36 import android.provider.VoicemailContract.Status;
206 Status.CONTENT_URI, true, mVoicemailStatusObserver); in onCreate()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DContactResolver.java22 import android.os.AsyncTask.Status;
90 if (mTask != null && mTask.getStatus() == Status.RUNNING) { in run()
/packages/apps/Launcher2/src/com/android/launcher2/
DWallpaperChooserDialogFragment.java87 if (mLoader != null && mLoader.getStatus() != WallpaperLoader.Status.FINISHED) { in cancelLoader()
182 if (mLoader != null && mLoader.getStatus() != WallpaperLoader.Status.FINISHED) { in onItemSelected()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfileActivity.java274 || mAppLoadingTask.getStatus() == AsyncTask.Status.FINISHED)) { in onResume()
479 if (AsyncTask.Status.PENDING == mAddUserAsyncTask.getStatus()) { in addRestrictedUser()

12