Home
last modified time | relevance | path

Searched refs:defeatNullable (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java21 import static com.android.internal.util.ArrayUtils.defeatNullable;
381 if (defeatNullable(mPackage.getPackagesForUid(appInfo.uid)).length == 1) { in queryStatsForPackage()
439 final String[] packageNames = defeatNullable(mPackage.getPackagesForUid(uid)); in queryStatsForUid()
843 final String[] packageNames = defeatNullable(mPackage.getPackagesForUid(uid)); in queryCratesForUid()
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java825 public static @NonNull int[] defeatNullable(@Nullable int[] val) { in defeatNullable() method in ArrayUtils
829 public static @NonNull String[] defeatNullable(@Nullable String[] val) { in defeatNullable() method in ArrayUtils
833 public static @NonNull File[] defeatNullable(@Nullable File[] val) { in defeatNullable() method in ArrayUtils
/frameworks/base/core/java/android/os/
DFileUtils.java1346 return (dir != null) ? ArrayUtils.defeatNullable(dir.list()) in listOrEmpty()
1352 return (dir != null) ? ArrayUtils.defeatNullable(dir.listFiles()) in listFilesOrEmpty()
1358 return (dir != null) ? ArrayUtils.defeatNullable(dir.listFiles(filter)) in listFilesOrEmpty()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java182 .defeatNullable(file.getParentFile().listFiles((dir, name) -> { in createAudioThumbnail()
/frameworks/base/core/java/android/app/
DActivityThread.java2986 ArrayUtils.defeatNullable(appInfo.resourceDirs), in isLoadedApkResourceDirsUpToDate()
2987 ArrayUtils.defeatNullable(loadedApk.getOverlayDirs())); in isLoadedApkResourceDirsUpToDate()
2989 ArrayUtils.defeatNullable(appInfo.overlayPaths), in isLoadedApkResourceDirsUpToDate()
2990 ArrayUtils.defeatNullable(loadedApk.getOverlayPaths())); in isLoadedApkResourceDirsUpToDate()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2333 final String[] mergedSubscriberId = ArrayUtils.defeatNullable(
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2648 String packageName = ArrayUtils.firstOrNull(ArrayUtils.defeatNullable( in isUidOpGrantedByRole()
/frameworks/base/boot/
Dboot-image-profile.txt21918 HSPLcom/android/internal/util/ArrayUtils;->defeatNullable([Ljava/io/File;)[Ljava/io/File;
21919 HSPLcom/android/internal/util/ArrayUtils;->defeatNullable([Ljava/lang/String;)[Ljava/lang/String;
/frameworks/base/config/
Dboot-image-profile.txt21982 HSPLcom/android/internal/util/ArrayUtils;->defeatNullable([Ljava/io/File;)[Ljava/io/File;
21983 HSPLcom/android/internal/util/ArrayUtils;->defeatNullable([Ljava/lang/String;)[Ljava/lang/String;