Searched refs:reasons (Results 1 – 8 of 8) sorted by relevance
250 int reasons = getInactiveReasons(policy); in isActive() local251 if (DebugUtils.DEBUG && (reasons != 0)) { in isActive()254 if ((reasons & INACTIVE_NEED_ACTIVATION) != 0) { in isActive()257 if ((reasons & INACTIVE_NEED_CONFIGURATION) != 0) { in isActive()260 if ((reasons & INACTIVE_NEED_PASSWORD) != 0) { in isActive()263 if ((reasons & INACTIVE_NEED_ENCRYPTION) != 0) { in isActive()266 if ((reasons & INACTIVE_PROTOCOL_POLICIES) != 0) { in isActive()271 return reasons == 0; in isActive()328 int reasons = 0; in getInactiveReasons() local334 reasons |= INACTIVE_NEED_PASSWORD; in getInactiveReasons()[all …]
127 final ArrayList<String> reasons = details.getReasons(); in onCreate() local128 final int reasonsSize = reasons.size(); in onCreate()132 final TextView reasonTextView = (TextView) content.findViewById(R.id.reasons); in onCreate()144 text.append(reasons.get(i)); in onCreate()152 final int length = reasons.get(i).length(); in onCreate()
733 DataConnectionReasons reasons = new DataConnectionReasons(); in updateDataRoamingStatus() local734 boolean dataAllowed = phone.isDataAllowed(ApnSetting.TYPE_DEFAULT, reasons); in updateDataRoamingStatus()735 mDataRoamingNotifLog.log("dataAllowed=" + dataAllowed + ", reasons=" + reasons); in updateDataRoamingStatus()736 if (VDBG) Log.v(LOG_TAG, "dataAllowed=" + dataAllowed + ", reasons=" + reasons); in updateDataRoamingStatus()739 && reasons.containsOnly(DataDisallowedReasonType.ROAMING_DISABLED)) { in updateDataRoamingStatus()749 || !reasons.containsOnly(DataDisallowedReasonType.ROAMING_DISABLED))) { in updateDataRoamingStatus()753 mDataRoamingNotifLog.log("Hide. data allowed=" + dataAllowed + ", reasons=" + reasons); in updateDataRoamingStatus()
184 long reasons = getRecordingFailedReasons(context) | 0x1 << reason; in setRecordingFailedReason() local187 .putLong(PREF_KEY_RECORDING_FAILED_REASONS, reasons) in setRecordingFailedReason()214 long reasons = getRecordingFailedReasons(context) & ~(0x1 << reason); in clearRecordingFailedReason() local217 .putLong(PREF_KEY_RECORDING_FAILED_REASONS, reasons) in clearRecordingFailedReason()255 long reasons = getRecordingFailedReasons(context); in hasRecordingFailedReason() local256 return (reasons & 0x1 << reason) != 0; in hasRecordingFailedReason()
230 There are various reasons: