Searched defs:reference (Results 1 - 12 of 12) sorted by relevance

/packages/apps/TV/common/src/com/android/tv/common/
H A DSoftPreconditions.java71 * @param reference an object reference
76 * @throws NullPointerException if {@code reference} is null
78 public static <T> T checkNotNull(final T reference, String tag, String msg) { argument
79 if (reference == null) {
82 return reference;
88 * @param reference an object reference
90 * @throws NullPointerException if {@code reference} is null
92 public static <T> T checkNotNull(final T reference) { argument
[all...]
/packages/apps/Dialer/java/com/android/dialer/common/
H A DAssert.java139 * Ensures that an object reference passed as a parameter to the calling method is not null.
141 * @param reference an object reference
142 * @return the non-null reference that was validated
143 * @throws NullPointerException if {@code reference} is null
146 public static <T> T isNotNull(@Nullable T reference) { argument
147 return isNotNull(reference, null);
151 * Ensures that an object reference passed as a parameter to the calling method is not null.
153 * @param reference an object reference
160 isNotNull( @ullable T reference, @Nullable String messageTemplate, Object... args) argument
[all...]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DPreconditions.java168 * Ensures that an object reference passed as a parameter to the calling
171 * @param reference an object reference
172 * @return the non-null reference that was validated
173 * @throws NullPointerException if {@code reference} is null
175 public static <T> T checkNotNull(T reference) { argument
176 if (reference == null) {
179 return reference;
183 * Ensures that an object reference passed as a parameter to the calling
186 * @param reference a
192 checkNotNull(T reference, Object errorMessage) argument
216 checkNotNull(T reference, String errorMessageTemplate, Object... errorMessageArgs) argument
[all...]
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DFileUtils.java1537 * Tests if the specified <code>File</code> is newer than the reference
1542 * @param reference the <code>File</code> of which the modification date
1545 * recently than the reference <code>File</code>
1547 * @throws IllegalArgumentException if the reference file is <code>null</code> or doesn't exist
1549 public static boolean isFileNewer(File file, File reference) { argument
1550 if (reference == null) {
1551 throw new IllegalArgumentException("No specified reference file");
1553 if (!reference.exists()) {
1554 throw new IllegalArgumentException("The reference file '"
1557 return isFileNewer(file, reference
1616 isFileOlder(File file, File reference) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/util/
H A DCameraUtil.java680 public static int[] getRelativeLocation(View reference, View view) { argument
681 reference.getLocationInWindow(sLocation);
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifInterface.java1883 * @param reference a GPS reference reperesented by a String containing "N",
1888 public static double convertLatOrLongToDouble(Rational[] coordinate, String reference) { argument
1894 if ((reference.equals("S") || reference.equals("W"))) {
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifInterface.java1904 * @param reference a GPS reference reperesented by a String containing "N",
1909 public static double convertLatOrLongToDouble(Rational[] coordinate, String reference) { argument
1915 if ((reference.equals("S") || reference.equals("W"))) {
/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DExifInterface.java1945 * @param reference a GPS reference reperesented by a String containing "N",
1950 public static double convertLatOrLongToDouble(Rational[] coordinate, String reference) { argument
1956 if ((reference.equals("S") || reference.equals("W"))) {
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...
/packages/apps/TV/libs/
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...
H A Dexoplayer_v2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ...

Completed in 522 milliseconds