Searched refs:isTestingMode (Results 1 – 5 of 5) sorted by relevance
298 boolean isTestingMode = CellBroadcastReceiver.isTestingMode( in onPrepareOptionsMenu()304 menu.findItem(MENU_DELETE_ALL).setVisible(!mAdapter.isEmpty() && !isTestingMode); in onPrepareOptionsMenu()305 menu.findItem(MENU_SHOW_ALL_MESSAGES).setVisible(isTestingMode in onPrepareOptionsMenu()307 menu.findItem(MENU_SHOW_REGULAR_MESSAGES).setVisible(isTestingMode in onPrepareOptionsMenu()
208 setTestingMode(!isTestingMode(mContext)); in onReceive()209 int msgId = (isTestingMode(mContext)) ? R.string.testing_mode_enabled in onReceive()212 .onChangedTestMode(isTestingMode(mContext)); in onReceive()416 && CellBroadcastReceiver.isTestingMode(context)) { in resetSettingsAsNeeded()466 public static boolean isTestingMode(Context context) { in isTestingMode() method in CellBroadcastReceiver
677 || CellBroadcastReceiver.isTestingMode(getContext())) { in updatePreferenceVisibility()691 || CellBroadcastReceiver.isTestingMode(getContext())) { in updatePreferenceVisibility()953 || CellBroadcastReceiver.isTestingMode(context)) in isTestAlertsToggleVisible()
345 if (range != null && range.mTestMode && !CellBroadcastReceiver.isTestingMode(mContext)) { in shouldDisplayMessage()435 if (CellBroadcastReceiver.isTestingMode(getApplicationContext()) in handleCellBroadcastIntent()
363 assertThat(mCellBroadcastReceiver.isTestingMode(mContext)).isFalse(); in testSetTestingMode()365 assertThat(mCellBroadcastReceiver.isTestingMode(mContext)).isTrue(); in testSetTestingMode()