Searched refs:usmi (Results 1 – 6 of 6) sorted by relevance
44 final UsageStatsManagerInternal usmi = in getStandbyBucket() local46 if (usmi == null) { in getStandbyBucket()50 final int value = usmi.getAppStandbyBucket(packageName, userId, in getStandbyBucket()
1658 final UsageStatsManagerInternal usmi = in scheduleSyncOperationH() local1660 if (usmi != null) { in scheduleSyncOperationH()1663 usmi.reportSyncScheduled(syncOperation.owningPackage, in scheduleSyncOperationH()3538 final UsageStatsManagerInternal usmi = LocalServices.getService( in dispatchSyncOperation() local3540 if (usmi != null) { in dispatchSyncOperation()3541 usmi.reportExemptedSyncStart(op.owningPackage, in dispatchSyncOperation()
96 UsageStatsManagerInternal usmi = LocalServices.getService(UsageStatsManagerInternal.class); in testUsageEventListener() local97 usmi.registerListener(listener); in testUsageEventListener()100 usmi.reportEvent("com.android.test", 10, event.getEventType()); in testUsageEventListener()104 usmi.unregisterListener(listener); in testUsageEventListener()107 usmi.reportEvent("com.android.test", 0, UsageEvents.Event.CHOOSER_ACTION); in testUsageEventListener()
211 final UsageStatsManagerInternal usmi = mock(UsageStatsManagerInternal.class);212 LocalServices.addService(UsageStatsManagerInternal.class, usmi);
477 final UsageStatsManagerInternal usmi = in setAppIdleEnabled() local480 usmi.registerListener(this); in setAppIdleEnabled()482 usmi.unregisterListener(this); in setAppIdleEnabled()
598 UsageStatsManagerInternal usmi = LocalServices.getService(UsageStatsManagerInternal.class); in QuotaController() local599 usmi.registerListener(new UsageEventTracker()); in QuotaController()