Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppArchiveButtonTest.kt76 isArchived = true in appArchiveButton_whenIsArchived_isDisabled()
89 isArchived = false in appArchiveButton_whenIsNotAppArchivable_isDisabled()
102 isArchived = false in appArchiveButton_whenIsHibernationSwitchDisabled_isDisabled()
116 isArchived = false in appArchiveButton_whenPackageIsNotFound_isDisabled()
129 isArchived = false in appArchiveButton_displaysRightTextAndIcon()
143 isArchived = false in appArchiveButton_clicked()
DAppRestoreButtonTest.kt71 isArchived = false in appRestoreButton_whenIsNotArchived_isDisabled()
83 isArchived = true in appRestoreButton_whenIsArchived_isEnabled()
95 isArchived = false in appRestoreButton_displaysRightTextAndIcon()
109 isArchived = true in appRestoreButton_clicked()
DAppButtonsTest.kt144 isArchived = true in uninstallButton_enabled_whenAppIsArchived()
159 isArchived = false in archiveButton_displayed_whenAppIsNotArchived()
175 isArchived = true in restoreButton_displayed_whenAppIsArchived()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DItemInfoWithIcon.java175 public boolean isArchived() { in isArchived() method in ItemInfoWithIcon
184 return isArchived() && (runtimeStatusFlags & FLAG_INSTALL_SESSION_ACTIVE) == 0; in isInactiveArchive()
203 || mProgressLevel == 100 || isArchived()); in isAppStartable()
215 || isArchived()) { in getProgressLevel()
DWorkspaceItemInfo.java161 || isArchived(); in isPromise()
DAppInfo.java197 if (lai.getActivityInfo().isArchived) { in updateRuntimeFlagsForActivityTarget()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DSyncManager.java66 public boolean isArchived() { in isArchived() method in SyncManager.ConversationCustomization
408 public synchronized boolean isArchived(final String conversationId) { in isArchived() method in SyncManager.ThreadInfoCache
439 customization.isArchived(), participants, customization.isMuted(), in getOrCreateConversation()
441 if (customization.isArchived()) { in getOrCreateConversation()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DUpdateConversationArchiveStatusAction.java55 final boolean isArchived = actionParameters.getBoolean(KEY_IS_ARCHIVE); in executeAction()
61 db, conversationId, isArchived); in executeAction()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DMultiSelectActionModeCallback.java54 public final boolean isArchived; field in MultiSelectActionModeCallback.SelectedConversation
63 isArchived = data.getIsArchived(); in SelectedConversation()
199 if (conversation.isArchived) { in updateActionIconsVisiblity()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageManagerHelper.java134 return info != null && info.isArchived; in isAppArchivedForUser()
147 return info.isArchived; in isAppArchived()
316 Flags.enableSupportForArchiving() && info.isArchived); in isPackageInstalledOrArchived()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageUpdatedTask.java267 || si.isArchived())) { in execute()
278 + ", isArchived=" + si.isArchived()); in execute()
317 0).getActivityInfo().isArchived; in execute()
318 if (newArchivalState != si.isArchived()) { in execute()
DAllAppsList.java212 && appInfo.isArchived())) { in updatePromiseInstallInfo()
215 && !appInfo.isArchived()) { in updatePromiseInstallInfo()
DWorkspaceItemProcessor.kt347 activityInfo.applicationInfo.isArchived) && !TextUtils.isEmpty(targetPkg) in processAppOrDeepShortcut()
358 activityInfo.applicationInfo.isArchived) in processAppOrDeepShortcut()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java1037 boolean isArchived = isThreadArchived(threadId);
1038 if (isArchived) {
1041 mThreadArchived.put(threadId, isArchived);
1079 boolean isArchived = false;
1099 isArchived = jsonReader.nextBoolean();
1118 archiveThread(threadId, isArchived);
1201 boolean isArchived = false;
1235 isArchived = jsonReader.nextBoolean();
1270 archiveThread(threadId, isArchived);
1277 private void archiveThread(long threadId, boolean isArchived) {
[all …]
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppRestoreButton.kt78 … if (app.isArchived && ::updateButtonTextJob.isInitialized && !updateButtonTextJob.isActive) { in <lambda>()
87 …enabled = app.isArchived && (!::updateButtonTextJob.isInitialized || !updateButtonTextJob.isActive) in <lambda>()
DAppButtons.kt77 if (app.isArchived) { in PackageInfoPresenter()
DAppButtonRepository.kt91 !app.hasFlag(ApplicationInfo.FLAG_INSTALLED) && !app.isArchived -> return false in <lambda>()
DAppArchiveButton.kt92 (!isArchived in <lambda>()
DHibernationSwitchPreference.kt109 if (app.isArchived) { in isArchivingEnabled()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/data/
DItemInfoWithIconTest.kt55 Truth.assertThat(itemInfoWithIcon.isArchived).isFalse() in itemInfoWithIconDefaultParamsTest()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/battery/
DBatteryOptimizationModeAppListPageProviderTest.kt212 app.isArchived = true in batteryOptimizationModeAppListModel_archivedApp()
238 isArchived = true in batteryOptimizationModeAppListModel_NoStorageSummary()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/
DAllAppListTest.kt229 app.isArchived = true in allAppListModel_archivedApp()
255 isArchived = true in allAppListModel_getSummaryWhenArchived()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DPackageManagerHelperTest.java77 applicationInfo.isArchived = true; in getApplicationInfo_archivedApp_appInfoIsNotNull()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java227 boolean preferPackageIcon = application.isArchived(); in updateTitleAndIcon()
254 && activityInfo.getActivityInfo().isArchived; in getTitleAndIcon()
336 true, useLowResIcon, info.isArchived()); in getTitleAndIcon()
/packages/apps/Settings/src/com/android/settings/spa/app/
DAllAppList.kt141 !record.app.installed && !record.app.isArchived -> { in getSummary()

12