Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java19 import static com.android.internal.util.ArrayUtils.defeatNullable;
269 if (defeatNullable(mPackage.getPackagesForUid(appInfo.uid)).length == 1) { in queryStatsForPackage()
313 final String[] packageNames = defeatNullable(mPackage.getPackagesForUid(uid)); in queryStatsForUid()
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java661 public static @NonNull int[] defeatNullable(@Nullable int[] val) { in defeatNullable() method in ArrayUtils
665 public static @NonNull String[] defeatNullable(@Nullable String[] val) { in defeatNullable() method in ArrayUtils
669 public static @NonNull File[] defeatNullable(@Nullable File[] val) { in defeatNullable() method in ArrayUtils
/frameworks/base/core/java/android/os/
DFileUtils.java1212 return (dir != null) ? ArrayUtils.defeatNullable(dir.list()) in listOrEmpty()
1218 return (dir != null) ? ArrayUtils.defeatNullable(dir.listFiles()) in listFilesOrEmpty()
1224 return (dir != null) ? ArrayUtils.defeatNullable(dir.listFiles(filter)) in listFilesOrEmpty()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java184 .defeatNullable(file.getParentFile().listFiles((dir, name) -> { in createAudioThumbnail()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1803 final int[] subIds = ArrayUtils.defeatNullable(sm.getActiveSubscriptionIdList());
1804 final String[] mergedSubscriberIds = ArrayUtils.defeatNullable(tm.getMergedSubscriberIds());
1841 states = defeatNullable(mConnManager.getAllNetworkState());
5286 private static @NonNull NetworkState[] defeatNullable(@Nullable NetworkState[] val) { in defeatNullable() method
/frameworks/base/core/java/android/app/
DActivityThread.java2336 String[] overlayDirs = ArrayUtils.defeatNullable(loadedApk.getOverlayDirs()); in isLoadedApkResourceDirsUpToDate()
2337 String[] resourceDirs = ArrayUtils.defeatNullable(appInfo.resourceDirs); in isLoadedApkResourceDirsUpToDate()
/frameworks/base/config/
Dboot-image-profile.txt24087 HSPLcom/android/internal/util/ArrayUtils;->defeatNullable([Ljava/io/File;)[Ljava/io/File;
43178 HSPLcom/android/internal/util/ArrayUtils;->defeatNullable([Ljava/lang/String;)[Ljava/lang/String;
/frameworks/base/services/
Dart-profile8874 HSPLcom/android/server/net/NetworkPolicyManagerService;->defeatNullable([Landroid/net/NetworkState;…