Lines Matching refs:null
76 if (sInstance == null) {
131 return (mRingtone != null && mRingtone.isPlaying()) ||
132 (mRingHandler != null && mRingHandler.hasMessages(PLAY_RING_ONCE));
143 return (mVibratorThread != null);
164 if (shouldVibrate() && mVibratorThread == null) {
228 if (mRingHandler != null) {
229 mRingHandler.removeCallbacksAndMessages(null);
234 mRingThread = null;
235 mRingHandler = null;
236 mRingtone = null;
240 if (DBG) log("- stopRing: null mRingHandler!");
243 if (mVibratorThread != null) {
246 mVibratorThread = null;
266 Thread t = new Thread(null, this, name);
269 while (mLooper == null) {
302 if (uri != null) {
308 if (mRingThread == null) {
313 Ringtone r = null;
317 if (mRingtone == null && !hasMessages(STOP_RING)) {
328 if (r != null && !hasMessages(STOP_RING) && !r.isPlaying()) {
341 if (r != null) {
344 if (DBG) log("- STOP_RING with null ringtone! msg = " + msg);