Searched refs:defeatNullable (Results 1 – 8 of 8) sorted by relevance
19 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()
661 public static @NonNull int[] defeatNullable(@Nullable int[] val) { in defeatNullable() method in ArrayUtils665 public static @NonNull String[] defeatNullable(@Nullable String[] val) { in defeatNullable() method in ArrayUtils669 public static @NonNull File[] defeatNullable(@Nullable File[] val) { in defeatNullable() method in ArrayUtils
1212 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()
184 .defeatNullable(file.getParentFile().listFiles((dir, name) -> { in createAudioThumbnail()
1803 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
2336 String[] overlayDirs = ArrayUtils.defeatNullable(loadedApk.getOverlayDirs()); in isLoadedApkResourceDirsUpToDate()2337 String[] resourceDirs = ArrayUtils.defeatNullable(appInfo.resourceDirs); in isLoadedApkResourceDirsUpToDate()
24087 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;
8874 HSPLcom/android/server/net/NetworkPolicyManagerService;->defeatNullable([Landroid/net/NetworkState;…