Searched refs:usageStats (Results 1 – 11 of 11) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/one/v2/errorhandling/ |
D | RepeatFailureHandlerComponent.java | 51 UsageStatistics usageStats, int consecutiveFailureThreshold) { in create() argument 53 commandExecutor, previewStarter, usageStats); in create() 55 (fatalErrorHandler, usageStats); in create() 57 RecoverySuccessCallback recoverySuccessCallback = new RecoverySuccessCallback(usageStats); in create()
|
D | RecoverySuccessCallback.java | 30 RecoverySuccessCallback(UsageStatistics usageStats) { in RecoverySuccessCallback() argument 31 mUsageStats = usageStats; in RecoverySuccessCallback()
|
D | FatalErrorDialogFailureHandler.java | 35 UsageStatistics usageStats) { in FatalErrorDialogFailureHandler() argument 37 mUsageStats = usageStats; in FatalErrorDialogFailureHandler()
|
D | FastCameraReset.java | 47 UsageStatistics usageStats) { in FastCameraReset() argument 52 mUsageStats = usageStats; in FastCameraReset()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppStateUsageStatsBridge.java | 75 UsageStats usageStats = map.get(entry.info.packageName); in loadAllExtraInfo() local 76 entry.extraInfo = new UsageStatsState(getDaysSinceLastUse(usageStats), in loadAllExtraInfo() 85 UsageStats usageStats = map.get(app.info.packageName); in updateExtraInfo() local 86 app.extraInfo = new UsageStatsState(getDaysSinceLastUse(usageStats), in updateExtraInfo()
|
D | AppsAsyncLoader.java | 120 UsageStats usageStats = map.get(app.packageName); in loadApps() local 137 usageStats, in loadApps() 180 List<UsageStats> usageStats = in getLatestUsageStatsByPackageName() local 184 usageStats.stream().collect(Collectors.groupingBy(UsageStats::getPackageName)); in getLatestUsageStatsByPackageName()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | MetadataEntryParser.java | 212 final JSONArray usageStats = fieldData.getJSONArray(USAGE_STATS); in parseDataToMetaDataEntry() local 213 for (int j = 0; j < usageStats.length(); j++) { in parseDataToMetaDataEntry() 214 final JSONObject usageStat = usageStats.getJSONObject(j); in parseDataToMetaDataEntry()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppsAsyncLoaderTest.java | 388 UsageStats usageStats = mock(UsageStats.class); in registerLastUse() local 389 when(usageStats.getPackageName()).thenReturn(packageName); in registerLastUse() 390 when(usageStats.getLastTimeUsed()).thenReturn(time); in registerLastUse() 391 mUsageStats.put(packageName, usageStats); in registerLastUse()
|
D | AppStateUsageStatsBridgeTest.java | 412 UsageStats usageStats = mock(UsageStats.class); in registerLastUse() local 413 when(usageStats.getPackageName()).thenReturn(packageName); in registerLastUse() 414 when(usageStats.getLastTimeUsed()).thenReturn(time); in registerLastUse() 415 mUsageStats.put(packageName, usageStats); in registerLastUse()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | AppGridActivity.java | 291 UsageStats usageStats = stats.get(currentIndex); in getMostRecentApps() local 292 String packageName = usageStats.mPackageName; in getMostRecentApps() 307 if (usageStats.getTotalTimeInForeground() == 0) { in getMostRecentApps()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsProvider2Test.java | 2950 UsageStats usageStats = new UsageStats(usageTypeString, lastTimeUsed, timesUsed); in testUpdateFromMetadataEntry() local 2952 usageStatsList.add(usageStats); in testUpdateFromMetadataEntry()
|