Home
last modified time | relevance | path

Searched refs:app (Results 1 – 25 of 4120) sorted by relevance

12345678910>>...165

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridgeTest.java19 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 …]
DAppsAsyncLoaderTest.java19 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 …]
DAppDeletionPreferenceTest.java49 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/
DGattService.java22 import android.app.AppOpsManager;
23 import android.app.PendingIntent;
24 import android.app.Service;
304 private boolean permissionCheck(ClientMap.App app, int connId, int handle) { in permissionCheck() argument
310 if (!app.hasBluetoothPrivilegedPermission in permissionCheck()
312 app.hasBluetoothPrivilegedPermission = true; in permissionCheck()
315 return app.hasBluetoothPrivilegedPermission; in permissionCheck()
988 ScannerMap.App app = mScannerMap.getById(client.scannerId); in onScanResult() local
989 if (app == null) { in onScanResult()
1025 app.appScanStats.addResult(client.scannerId); in onScanResult()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAppObserver.java74 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 …]
DBluetoothMapAccountLoader.java96 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/
DExtrasProvisioningDataParser.java19 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…
28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSU…
[all …]
DPropertiesProvisioningDataParser.java19 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/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DPermissionAppsFragment.java18 import android.app.ActionBar;
19 import android.app.AlertDialog;
20 import android.app.Fragment;
185 for (PermissionApp app : permissionApps.getApps()) { in onPermissionsLoaded()
186 if (!Utils.shouldShowPermission(getContext(), app.getPermissionGroup())) { in onPermissionsLoaded()
190 String key = app.getKey(); in onPermissionsLoaded()
197 boolean isSystemApp = !Utils.isGroupOrBgGroupUserSensitive(app.getPermissionGroup()); in onPermissionsLoaded()
214 if (app.isSystemFixed()) { in onPermissionsLoaded()
217 } else if (app.isPolicyFixed()) { in onPermissionsLoaded()
222 existingPref.setEnabled(!app.isSystemFixed() && !app.isPolicyFixed()); in onPermissionsLoaded()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/
DRecentNotifyingAppsPreferenceController.java19 import android.app.Application;
20 import android.app.settings.SettingsEnums;
21 import android.app.usage.IUsageStatsManager;
22 import android.app.usage.UsageEvents;
56 import androidx.fragment.app.Fragment;
95 Application app, Fragment host) { in RecentNotifyingAppsPreferenceController() argument
97 app == null ? null : ApplicationsState.getInstance(app), host); in RecentNotifyingAppsPreferenceController()
185 NotifyingApp app = in reloadData() local
187 if (app == null) { in reloadData()
188 app = new NotifyingApp(); in reloadData()
[all …]
DNotificationBackend.java18 import static android.app.NotificationManager.IMPORTANCE_NONE;
19 import static android.app.NotificationManager.IMPORTANCE_UNSPECIFIED;
21 import android.app.INotificationManager;
22 import android.app.NotificationChannel;
23 import android.app.NotificationChannelGroup;
24 import android.app.role.RoleManager;
25 import android.app.usage.IUsageStatsManager;
26 import android.app.usage.UsageEvents;
63 public AppRow loadAppRow(Context context, PackageManager pm, ApplicationInfo app) { in loadAppRow() argument
65 row.pkg = app.packageName; in loadAppRow()
[all …]
DZenModeBypassingAppsSettings.java19 import android.app.Activity;
20 import android.app.Application;
21 import android.app.settings.SettingsEnums;
25 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); in createPreferenceControllers()
54 Application app, Fragment host) { in buildPreferenceControllers() argument
56 controllers.add(new ZenModeAllBypassingAppsPreferenceController(context, app, host)); in buildPreferenceControllers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRecentNotifyingAppsPreferenceControllerTest.java36 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;
172 Event app = new Event(); in display_showRecents() local
173 app.mEventType = Event.NOTIFICATION_INTERRUPTION; in display_showRecents()
174 app.mPackage = "a"; in display_showRecents()
175 app.mTimeStamp = System.currentTimeMillis(); in display_showRecents()
176 events.add(app); in display_showRecents()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParserTest.java18 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 …]
DExtrasProvisioningDataParserTest.java18 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE;
19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SO…
20 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE;
21 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_SHAREABLE_DEVICE;
22 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_USER;
23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE;
24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE;
25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME;
26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION…
27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSU…
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DRuntimePermissionsUpgradeController.java98 final PackageInfo app = apps.get(i); in whitelistAllSystemAppPermissions() local
100 if (app.requestedPermissions == null) { in whitelistAllSystemAppPermissions()
104 for (String requestedPermission : app.requestedPermissions) { in whitelistAllSystemAppPermissions()
123 app.packageName, requestedPermission, in whitelistAllSystemAppPermissions()
163 final PackageInfo app = apps.get(i); in onUpgradeLocked() local
164 if (app.requestedPermissions == null) { in onUpgradeLocked()
168 for (String requestedPermission : app.requestedPermissions) { in onUpgradeLocked()
172 app.packageName, requestedPermission, in onUpgradeLocked()
194 final PackageInfo app = apps.get(i); in onUpgradeLocked() local
195 if (app.requestedPermissions == null) { in onUpgradeLocked()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DPermissionApps.java122 for (PermissionApp app : mPermApps) { in getGrantedCount()
123 if (!Utils.shouldShowPermission(mContext, app.getPermissionGroup())) { in getGrantedCount()
126 if (!Utils.isGroupOrBgGroupUserSensitive(app.mAppPermissionGroup)) { in getGrantedCount()
130 if (app.areRuntimePermissionsGranted()) { in getGrantedCount()
139 for (PermissionApp app : mPermApps) { in getTotalCount()
140 if (!Utils.shouldShowPermission(mContext, app.getPermissionGroup())) { in getTotalCount()
143 if (!Utils.isGroupOrBgGroupUserSensitive(app.mAppPermissionGroup)) { in getTotalCount()
183 final PackageInfo app = apps.get(i); in getPackageInfos() local
184 if (mPackageName.equals(app.packageName)) { in getPackageInfos()
186 apps.add(app); in getPackageInfos()
[all …]
/packages/apps/Camera2/src/com/android/camera/module/
DModulesInfo.java26 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/
DPhoneUtils.java19 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/Launcher3/
DCleanSpec.mk52 $(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/
DWidgetsModel.java84 …public List<ComponentWithLabel> update(LauncherAppState app, @Nullable PackageUserKey packageUser)… in update() argument
87 Context context = app.getContext(); in update()
91 InvariantDeviceProfile idp = app.getInvariantDeviceProfile(); in update()
92 PackageManager pm = app.getContext().getPackageManager(); in update()
101 launcherWidgetInfo, idp, app.getIconCache())); in update()
108 widgetsAndShortcuts.add(new WidgetItem(info, app.getIconCache(), pm)); in update()
111 setWidgetsAndShortcuts(widgetsAndShortcuts, app, packageUser); in update()
123 app.getWidgetCache().removeObsoletePreviews(widgetsAndShortcuts, packageUser); in update()
128 LauncherAppState app, @Nullable PackageUserKey packageUser) { in setWidgetsAndShortcuts() argument
165 InvariantDeviceProfile idp = app.getInvariantDeviceProfile(); in setWidgetsAndShortcuts()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DInactiveApps.java19 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/Settings/src/com/android/settings/fuelgauge/
DInactiveApps.java19 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/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java19 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_ANONYMOUS_IDENTITY;
20 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_CA_CERTIFICATE;
21 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_DOMAIN;
22 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_EAP_METHOD;
23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_HIDDEN;
24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_IDENTITY;
25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_PAC_URL;
26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_PASSWORD;
27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_PHASE2_AUTH;
28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_PROXY_BYPASS;
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationBackend.java18 import static android.app.NotificationManager.IMPORTANCE_NONE;
19 import static android.app.NotificationManager.IMPORTANCE_UNSPECIFIED;
21 import android.app.INotificationManager;
22 import android.app.NotificationChannel;
23 import android.app.NotificationChannelGroup;
24 import android.app.usage.IUsageStatsManager;
25 import android.app.usage.UsageEvents;
61 public AppRow loadAppRow(Context context, PackageManager pm, ApplicationInfo app) { in loadAppRow() argument
63 row.pkg = app.packageName; in loadAppRow()
64 row.uid = app.uid; in loadAppRow()
[all …]

12345678910>>...165