/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppStateUsageStatsBridgeTest.java | 19 import android.app.usage.UsageStats; 20 import android.app.usage.UsageStatsManager; 82 ShadowApplication app = Shadows.shadowOf(RuntimeEnvironment.application); in setUp() local 83 app.setSystemService(Context.USAGE_STATS_SERVICE, mUsageStatsManager); in setUp() 99 ApplicationsState.AppEntry app = in test_appInstalledSameDayNeverUsed_isInvalid() local 102 mBridge.updateExtraInfo(app, PACKAGE_NAME, 0); in test_appInstalledSameDayNeverUsed_isInvalid() 103 UsageStatsState stats = (UsageStatsState) app.extraInfo; in test_appInstalledSameDayNeverUsed_isInvalid() 105 assertThat(app.extraInfo).isNotNull(); in test_appInstalledSameDayNeverUsed_isInvalid() 108 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_appInstalledSameDayNeverUsed_isInvalid() 113 ApplicationsState.AppEntry app = in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid() local [all …]
|
D | AppsAsyncLoaderTest.java | 19 import android.app.usage.UsageStats; 20 import android.app.usage.UsageStatsManager; 79 ShadowApplication app = Shadows.shadowOf(RuntimeEnvironment.application); in setUp() local 80 app.setSystemService(Context.USAGE_STATS_SERVICE, mUsageStatsManager); in setUp() 117 AppsAsyncLoader.PackageInfo app = in test_appInstalledSameDayNeverUsed_isInvalid() local 120 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_appInstalledSameDayNeverUsed_isInvalid() 125 AppsAsyncLoader.PackageInfo app = in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid() local 128 assertThat(AppsAsyncLoader.FILTER_NO_THRESHOLD.filterApp(app)).isTrue(); in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid() 133 AppsAsyncLoader.PackageInfo app = in test_unusedApp_isValid() local 136 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isTrue(); in test_unusedApp_isValid() [all …]
|
D | AppDeletionPreferenceTest.java | 49 PackageInfo app = in testPreferenceSummary() local 57 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testPreferenceSummary() 68 PackageInfo app = in testTwoDayPreferenceSummary() local 76 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testTwoDayPreferenceSummary() 87 PackageInfo app = in testYesterdayPreferenceSummary() local 95 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testYesterdayPreferenceSummary() 106 PackageInfo app = in testTodayPreferenceSummary() local 114 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testTodayPreferenceSummary() 125 PackageInfo app = in testNeverUsedPreferenceSummary() local 133 AppDeletionPreference preference = new AppDeletionPreference(mContext, app); in testNeverUsedPreferenceSummary() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 22 import android.app.AppOpsManager; 23 import android.app.PendingIntent; 24 import android.app.Service; 315 private boolean permissionCheck(ClientMap.App app, int connId, int handle) { in permissionCheck() argument 321 if (!app.hasBluetoothPrivilegedPermission in permissionCheck() 323 app.hasBluetoothPrivilegedPermission = true; in permissionCheck() 326 return app.hasBluetoothPrivilegedPermission; in permissionCheck() 1049 ScannerMap.App app = mScannerMap.getById(client.scannerId); in onScanResult() local 1050 if (app == null) { in onScanResult() 1101 app.appScanStats.addResult(client.scannerId); in onScanResult() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapAppObserver.java | 74 for (BluetoothMapAccountItem app : mFullList.keySet()) { in getApp() 76 Log.d(TAG, " Comparing: " + app.getProviderAuthority()); in getApp() 78 if (app.getProviderAuthority().equals(authoritiesName)) { in getApp() 80 Log.d(TAG, " found " + app.mBase_uri_no_account); in getApp() 82 return app; in getApp() 98 BluetoothMapAccountItem app = getApp(packageNameWithProvider); in handleAccountChanges() local 99 if (app != null) { in handleAccountChanges() 100 ArrayList<BluetoothMapAccountItem> newAccountList = mLoader.parseAccounts(app); in handleAccountChanges() 101 ArrayList<BluetoothMapAccountItem> oldAccountList = mFullList.get(app); in handleAccountChanges() 105 ArrayList<BluetoothMapAccountItem> removedAccountList = mFullList.get(app); in handleAccountChanges() [all …]
|
D | BluetoothMapAccountLoader.java | 96 BluetoothMapAccountItem app = createAppItem(rInfo, includeIcon, msgType); in parsePackages() local 97 if (app != null) { in parsePackages() 98 ArrayList<BluetoothMapAccountItem> accounts = parseAccounts(app); in parsePackages() 103 app.mIsChecked = true; in parsePackages() 106 app.mIsChecked = false; in parsePackages() 110 groups.put(app, accounts); in parsePackages() 139 BluetoothMapAccountItem app = in createAppItem() local 143 return app; in createAppItem() 154 public ArrayList<BluetoothMapAccountItem> parseAccounts(BluetoothMapAccountItem app) { in parseAccounts() argument 157 Log.d(TAG, "Finding accounts for app " + app.getPackageName()); in parseAccounts() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ |
D | ExtrasProvisioningDataParser.java | 19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_FINANCED_DEVICE; 20 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE; 21 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SO… 22 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE; 23 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_SHAREABLE_DEVICE; 24 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_USER; 25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE; 26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE; 27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME; 28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION… [all …]
|
D | PropertiesProvisioningDataParser.java | 19 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE; 20 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME; 21 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION… 22 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSU… 23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA… 24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA… 25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME; 26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECK… 27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLE… 28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LOCALE; [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RecentNotifyingAppsPreferenceController.java | 19 import android.app.Application; 20 import android.app.settings.SettingsEnums; 21 import android.app.usage.IUsageStatsManager; 22 import android.app.usage.UsageEvents; 41 import com.android.settings.notification.app.AppNotificationSettings; 56 import androidx.fragment.app.Fragment; 93 Application app, Fragment host) { in RecentNotifyingAppsPreferenceController() argument 95 app == null ? null : ApplicationsState.getInstance(app), host); in RecentNotifyingAppsPreferenceController() 181 NotifyingApp app = in reloadData() local 183 if (app == null) { in reloadData() [all …]
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | KotlinUtils.kt | 21 import android.app.ActivityManager in <lambda>() 22 import android.app.AppOpsManager in <lambda>() 23 import android.app.AppOpsManager.MODE_ALLOWED in <lambda>() 24 import android.app.AppOpsManager.MODE_FOREGROUND in <lambda>() 25 import android.app.AppOpsManager.MODE_IGNORED in <lambda>() 26 import android.app.AppOpsManager.OPSTR_AUTO_REVOKE_PERMISSIONS_IF_UNUSED in <lambda>() 27 import android.app.AppOpsManager.permissionToOp in <lambda>() 28 import android.app.Application in <lambda>() 284 app: Application, in <lambda>() 289 val userContext = Utils.getUserContext(app, user) in <lambda>() [all …]
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/ |
D | PermissionApps.java | 118 for (PermissionApp app : mPermApps) { in getGrantedCount() 119 if (!app.getAppInfo().enabled) { in getGrantedCount() 122 if (!Utils.shouldShowPermission(mContext, app.getPermissionGroup())) { in getGrantedCount() 125 if (!Utils.isGroupOrBgGroupUserSensitive(app.mAppPermissionGroup)) { in getGrantedCount() 129 if (app.areRuntimePermissionsGranted()) { in getGrantedCount() 138 for (PermissionApp app : mPermApps) { in getTotalCount() 139 if (!app.getAppInfo().enabled) { in getTotalCount() 142 if (!Utils.shouldShowPermission(mContext, app.getPermissionGroup())) { in getTotalCount() 145 if (!Utils.isGroupOrBgGroupUserSensitive(app.mAppPermissionGroup)) { in getTotalCount() 185 final PackageInfo app = apps.get(i); in getPackageInfos() local [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | RecentNotifyingAppsPreferenceControllerTest.java | 36 import android.app.usage.IUsageStatsManager; 37 import android.app.usage.UsageEvents; 38 import android.app.usage.UsageEvents.Event; 70 import androidx.fragment.app.Fragment; 71 import androidx.fragment.app.FragmentActivity; 157 Event app = new Event(); in display_showRecents() local 158 app.mEventType = Event.NOTIFICATION_INTERRUPTION; in display_showRecents() 159 app.mPackage = "a"; in display_showRecents() 160 app.mTimeStamp = System.currentTimeMillis(); in display_showRecents() 161 events.add(app); in display_showRecents() [all …]
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | PermissionAppsFragment.java | 20 import android.app.ActionBar; 21 import android.app.AlertDialog; 176 for (PermissionApp app : permissionApps.getApps()) { in onPermissionsLoaded() 177 if (!Utils.shouldShowPermission(getContext(), app.getPermissionGroup())) { in onPermissionsLoaded() 181 boolean isSystemApp = !Utils.isGroupOrBgGroupUserSensitive(app.getPermissionGroup()); in onPermissionsLoaded() 187 systemScreenApps.add(app); in onPermissionsLoaded() 189 mainScreenApps.add(app); in onPermissionsLoaded() 267 PermissionApp app = apps.valueAt(i); in updateCategories() local 268 String key = app.getKey(); in updateCategories() 272 app.areRuntimePermissionsGranted() && !app.getPermissionGroup().isOneTime(); in updateCategories() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
D | PropertiesProvisioningDataParserTest.java | 18 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE; 19 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE; 20 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE; 21 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME; 22 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION… 23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSU… 24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA… 25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA… 26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_UR… 27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL; [all …]
|
D | ExtrasProvisioningDataParserTest.java | 18 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_FINANCED_DEVICE; 19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE; 20 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SO… 21 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE; 22 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_SHAREABLE_DEVICE; 23 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_USER; 24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE; 25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE; 26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME; 27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION… [all …]
|
/packages/apps/Camera2/src/com/android/camera/module/ |
D | ModulesInfo.java | 26 import com.android.camera.app.AppController; 27 import com.android.camera.app.ModuleManager; 101 public ModuleController createModule(AppController app, Intent intent) { in registerPhotoModule() 103 return enableCaptureModule ? new CaptureModule(app) : new PhotoModule(app); in registerPhotoModule() 127 public ModuleController createModule(AppController app, Intent intent) { in registerVideoModule() 128 return new VideoModule(app); in registerVideoModule() 152 public ModuleController createModule(AppController app, Intent intent) { in registerWideAngleModule() 153 return PhotoSphereHelper.createWideAnglePanoramaModule(app); in registerWideAngleModule() 177 public ModuleController createModule(AppController app, Intent intent) { in registerPhotoSphereModule() 178 return PhotoSphereHelper.createPanoramaModule(app); in registerPhotoSphereModule() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneUtils.java | 19 import android.app.AlertDialog; 20 import android.app.Dialog; 21 import android.app.ProgressDialog; 122 private static void updateCdmaCallStateOnNewOutgoingCall(PhoneGlobals app, in updateCdmaCallStateOnNewOutgoingCall() argument 124 if (app.cdmaPhoneCallState.getCurrentCallState() == in updateCdmaCallStateOnNewOutgoingCall() 127 app.cdmaPhoneCallState.setCurrentCallState( in updateCdmaCallStateOnNewOutgoingCall() 131 app.cdmaPhoneCallState.setCurrentCallState( in updateCdmaCallStateOnNewOutgoingCall() 160 final PhoneGlobals app = PhoneGlobals.getInstance(); in placeOtaspCall() local 171 connection = app.mCM.dial(phone, numberToDial, VideoProfile.STATE_AUDIO_ONLY); in placeOtaspCall() 191 updateCdmaCallStateOnNewOutgoingCall(app, connection); in placeOtaspCall() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeAllBypassingAppsPreferenceController.java | 19 import android.app.Application; 20 import android.app.settings.SettingsEnums; 27 import androidx.fragment.app.Fragment; 37 import com.android.settings.notification.app.AppChannelsBypassingDndSettings; 64 public ZenModeAllBypassingAppsPreferenceController(Context context, Application app, in ZenModeAllBypassingAppsPreferenceController() argument 66 this(context, app == null ? null : ApplicationsState.getInstance(app), host, in ZenModeAllBypassingAppsPreferenceController() 121 for (ApplicationsState.AppEntry app : apps) { in updateAppList() 122 String pkg = app.info.packageName; in updateAppList() 123 mApplicationsState.ensureIcon(app); in updateAppList() 124 final int appChannels = mNotificationBackend.getChannelCount(pkg, app.info.uid); in updateAppList() [all …]
|
D | ZenModeBypassingAppsSettings.java | 19 import android.app.Activity; 20 import android.app.Application; 21 import android.app.settings.SettingsEnums; 24 import androidx.fragment.app.Fragment; 44 final Application app; in createPreferenceControllers() local 46 app = activity.getApplication(); in createPreferenceControllers() 48 app = null; in createPreferenceControllers() 50 return buildPreferenceControllers(context, app, this, new NotificationBackend()); in createPreferenceControllers() 54 Application app, Fragment host, NotificationBackend notificationBackend) { in buildPreferenceControllers() argument 56 controllers.add(new ZenModeAllBypassingAppsPreferenceController(context, app, host, in buildPreferenceControllers() [all …]
|
/packages/apps/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/ |
D | GrantRevokeTests.kt | 20 import android.app.ActivityManager 21 import android.app.AppOpsManager 22 import android.app.AppOpsManager.MODE_ALLOWED 23 import android.app.AppOpsManager.MODE_FOREGROUND 24 import android.app.AppOpsManager.MODE_IGNORED 25 import android.app.AppOpsManager.permissionToOp 26 import android.app.Application 104 val app: Application = mock(Application::class.java) constant in com.android.permissioncontroller.permission.utils.GrantRevokeTests 113 `when`(app.packageManager).thenReturn(mock(PackageManager::class.java)) in resetMockAppState() 119 `when`(app.getSystemService(AppOpsManager::class.java)).thenReturn(aom) in resetMockAppState() [all …]
|
/packages/apps/Launcher3/ |
D | CleanSpec.mk | 52 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/Launcher2.apk) 54 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/Launcher2.apk) 55 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/Launcher3QuickStep) 57 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/priv-app/Launcher3) 58 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/priv-app/Launcher3Go) 59 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/priv-app/Launcher3QuickStep) 60 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/priv-app/Launcher3QuickStepGo) 61 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/priv-app/Launcher3GoIconRecents) 62 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/product/priv-app/Launcher3) 63 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/product/priv-app/Launcher3Go) [all …]
|
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/ |
D | WidgetsModel.java | 91 LauncherAppState app, @Nullable PackageUserKey packageUser) { in update() argument 94 Context context = app.getContext(); in update() 98 InvariantDeviceProfile idp = app.getInvariantDeviceProfile(); in update() 99 PackageManager pm = app.getContext().getPackageManager(); in update() 108 launcherWidgetInfo, idp, app.getIconCache())); in update() 115 widgetsAndShortcuts.add(new WidgetItem(info, app.getIconCache(), pm)); in update() 118 setWidgetsAndShortcuts(widgetsAndShortcuts, app, packageUser); in update() 130 app.getWidgetCache().removeObsoletePreviews(widgetsAndShortcuts, packageUser); in update() 135 LauncherAppState app, @Nullable PackageUserKey packageUser) { in setWidgetsAndShortcuts() argument 172 InvariantDeviceProfile idp = app.getInvariantDeviceProfile(); in setWidgetsAndShortcuts() [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | InactiveApps.java | 19 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_ACTIVE; 20 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_EXEMPTED; 21 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT; 22 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_NEVER; 23 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE; 24 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RESTRICTED; 25 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_WORKING_SET; 27 import android.app.settings.SettingsEnums; 28 import android.app.usage.UsageStatsManager; 108 for (ResolveInfo app : apps) { in init() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | InactiveApps.java | 19 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_ACTIVE; 20 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_EXEMPTED; 21 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT; 22 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_NEVER; 23 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE; 24 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_WORKING_SET; 26 import android.app.settings.SettingsEnums; 27 import android.app.usage.UsageStatsManager; 89 for (ResolveInfo app : apps) { in init() 90 String packageName = app.activityInfo.applicationInfo.packageName; in init() [all …]
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/ |
D | TransformParams.java | 142 RemoteAnimationTargetCompat app = targets.unfilteredApps[i]; in createSurfaceParams() local 143 SurfaceParams.Builder builder = new SurfaceParams.Builder(app.leash); in createSurfaceParams() 145 if (app.mode == targets.targetMode) { in createSurfaceParams() 146 if (app.activityType == RemoteAnimationTargetCompat.ACTIVITY_TYPE_HOME) { in createSurfaceParams() 147 mHomeBuilderProxy.onBuildTargetParams(builder, app, this); in createSurfaceParams() 150 if (app.activityType == RemoteAnimationTargetCompat.ACTIVITY_TYPE_ASSISTANT in createSurfaceParams() 151 && app.isNotInRecents) { in createSurfaceParams() 158 proxy.onBuildTargetParams(builder, app, this); in createSurfaceParams() 161 mBaseBuilderProxy.onBuildTargetParams(builder, app, this); in createSurfaceParams() 201 BuilderProxy NO_OP = (builder, app, params) -> { }; [all …]
|