/frameworks/base/core/java/android/app/ |
ActivityGroup.java | 53 Bundle states = savedInstanceState != null 54 ? (Bundle) savedInstanceState.getBundle(STATES_KEY) : null; 68 if (state != null) { 113 if (who != null) { 121 if (act != null) {
|
UiModeManager.java | 134 if (mService != null) { 157 if (mService != null) { 174 if (mService != null) { 199 if (mService != null) { 215 if (mService != null) {
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothPan.java | 149 if (comp == null || !mContext.bindService(intent, mConnection, 0)) { 160 if (mgr != null) { 169 if (mPanService != null) { 171 mPanService = null; 178 mServiceListener = null; 198 mPanService = null; 228 if (mPanService != null && isEnabled() && 237 if (mPanService == null) Log.w(TAG, "Proxy not attached to service"); 269 if (mPanService != null && isEnabled() && 278 if (mPanService == null) Log.w(TAG, "Proxy not attached to service") [all...] |
/frameworks/base/core/java/android/content/res/ |
ResourcesKey.java | 35 if (overrideConfiguration != null) { 42 hash = 31 * hash + (mResDir == null ? 0 : mResDir.hashCode()); 44 hash = 31 * hash + (mOverrideConfiguration != null 72 if (mOverrideConfiguration == null || peer.mOverrideConfiguration == null) {
|
/frameworks/base/core/java/android/hardware/camera2/ |
Face.java | 65 * mouthPositions are guaranteed to be {@code null}. Otherwise, each of leftEyePosition, 66 * rightEyePosition, and mouthPosition may be independently null or not-null.</p> 76 * if bounds is {@code null}, 80 * leftEyePosition/rightEyePosition/mouthPosition aren't all null, 112 * mouthPositions are guaranteed to be {@code null}. Otherwise, each of leftEyePosition, 113 * rightEyePosition, and mouthPosition may be independently null or not-null. When devices 117 * rightEyePosition, and mouthPositions are expected to be {@code null} for each face.</p> 123 * if bounds is {@code null}, [all...] |
/frameworks/base/core/java/android/net/ |
NetworkState.java | 38 this(networkInfo, linkProperties, linkCapabilities, null, null); 51 networkInfo = in.readParcelable(null); 52 linkProperties = in.readParcelable(null); 53 linkCapabilities = in.readParcelable(null);
|
/frameworks/base/core/java/android/nfc/tech/ |
IsoDep.java | 48 private byte[] mHiLayerResponse = null; 49 private byte[] mHistBytes = null; 54 * <p>Returns null if {@link IsoDep} was not enumerated in {@link Tag#getTechList}. 61 if (!tag.hasTech(TagTechnology.ISO_DEP)) return null; 65 return null; 74 if (extras != null) { 124 * If this tag is not {@link NfcA} then null is returned. 128 * @return ISO-DEP historical bytes, or null if this is not a {@link NfcA} tag 139 * RF technology. If this tag is not {@link NfcB} then null is returned. 143 * @return ISO-DEP historical bytes, or null if this is not a {@link NfcB} ta [all...] |
NfcF.java | 45 private byte[] mSystemCode = null; 46 private byte[] mManufacturer = null; 50 * <p>Returns null if {@link NfcF} was not enumerated in {@link Tag#getTechList}. 58 if (!tag.hasTech(TagTechnology.NFC_F)) return null; 62 return null; 70 if (extras != null) {
|
/frameworks/base/core/java/android/os/ |
CancellationSignal.java | 76 if (listener != null) { 79 if (remote != null) { 107 * @param listener The cancellation listener, or null to remove the current listener. 117 if (!mIsCanceled || listener == null) { 133 * @param remote The remote transport, or null to remove. 145 if (!mIsCanceled || remote == null) { 179 * @param transport The locally created transport, or null if none. 180 * @return The associated cancellation signal, or null if none. 188 return null;
|
ResultReceiver.java | 49 if (mHandler != null) { 60 * <var>handler</var> if given, or from an arbitrary thread if null. 76 if (mHandler != null) { 84 if (mReceiver != null) { 108 if (mReceiver == null) { 117 mHandler = null;
|
/frameworks/base/core/java/android/view/ |
GLES20Layer.java | 40 * @return A pointer to the native layer object, or 0 if the object is NULL 48 if (paint != null) { 50 GLES20Canvas.nSetLayerColorFilter(mLayer, paint.getColorFilter() != null ? 62 if (mDisplayList != null) { 65 if (mFinalizer != null) { 67 mFinalizer = null;
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
StringPart.java | 75 * @param charset the charset to be used to encode the string, if <code>null</code> 83 charset == null ? DEFAULT_CHARSET : charset, 86 if (value == null) { 87 throw new IllegalArgumentException("Value may not be null"); 103 this(name, value, null); 113 if (content == null) { 147 this.content = null;
|
/frameworks/base/core/tests/coretests/src/android/net/ |
RouteInfoTest.java | 46 r = new RouteInfo(null, null, "rmnet0"); 47 fail("Expected RuntimeException: destination and gateway null"); 50 // Null destination is default route. 51 r = new RouteInfo(null, Address("2001:db8::1"), null); 56 r = new RouteInfo(null, Address("192.0.2.1"), "wlan0"); 61 // Null gateway sets gateway to unspecified address (why?). 62 r = new RouteInfo(Prefix("2001:db8:beef:cafe::/48"), null, "lo"); 67 r = new RouteInfo(Prefix("192.0.2.5/24"), null); [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Movie.java | 43 draw(canvas, x, y, null); 47 if (is == null) { 48 return null; 71 return null; 86 Movie moov = null; 93 If the exception happened on open, moov will be null.
|
PathMeasure.java | 32 mPath = null; 53 native_instance = native_create(path != null ? path.ni() : 0, 58 * Assign a new path, or null to have none. 63 path != null ? path.ni() : 0, 82 * @param pos If not null, eturns the sampled position (x==[0], y==[1]) 83 * @param tan If not null, returns the sampled tangent (x==[0], y==[1]) 87 if (pos != null && pos.length < 2 || 88 tan != null && tan.length < 2) {
|
/frameworks/base/graphics/java/android/renderscript/ |
Path.java | 71 Path newPath = new Path(id, rs, p, null, null, quality); 76 return null; 80 return null; 84 return null;
|
ScriptIntrinsicBlur.java | 91 forEach(0, null, aout, null); 100 return createKernelID(0, 2, null, null); 109 return createFieldID(1, null);
|
ScriptIntrinsicConvolve3x3.java | 111 forEach(0, null, aout, null); 120 return createKernelID(0, 2, null, null); 129 return createFieldID(1, null);
|
ScriptIntrinsicConvolve5x5.java | 112 forEach(0, null, aout, null); 121 return createKernelID(0, 2, null, null); 130 return createFieldID(1, null);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
OneShotScheduler.java | 54 Filter first = null; 58 if (filter == null) { 60 return null; 73 if (first == null) first = filter; 76 return null;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
EnergyProbe.java | 36 private Visualizer mVisualizer = null; 44 if (mVisualizer != null) { 64 if (mVisualizer != null) { 101 if (mVisualizer != null) { 103 mVisualizer = null;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
MimePredicate.java | 47 if (tests == null) { 59 if (tests == null) { 71 if (filters == null) { 83 if (test == null) { 85 } else if (filter == null || "*/*".equals(filter)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
TaskDescription.java | 50 resolveInfo = null; 51 intent = null; 55 description = null; 56 packageName = null; 68 return resolveInfo == null;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
AnimatedImageView.java | 41 Drawable drawable = mAttached ? getDrawable() : null; 42 if (mAttached && mAnim != null) { 51 mAnim = null; 78 if (mAnim != null) { 87 if (mAnim != null) {
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
DataVerify.java | 34 private static byte[] mLastReceivedPdu = null; 46 if (arr1 == null || arr2 == null) { 47 if (arr1 == null) { 48 Log.w(LOG_TAG, "arr1 is null"); 50 Log.w(LOG_TAG, "arr2 is null"); 91 mLastReceivedPdu = null;
|