/aosp12/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
H A D | CellBroadcastProvider.java | 98 CellBroadcasts._ID, 99 CellBroadcasts.SLOT_INDEX, 102 CellBroadcasts.PLMN, 103 CellBroadcasts.LAC, 104 CellBroadcasts.CID, 105 CellBroadcasts.SERIAL_NUMBER, 107 CellBroadcasts.LANGUAGE_CODE, 109 CellBroadcasts.MESSAGE_BODY, 115 CellBroadcasts.CMAS_CATEGORY, 118 CellBroadcasts.CMAS_URGENCY, [all …]
|
H A D | CellBroadcastHandler.java | 57 import android.provider.Telephony.CellBroadcasts; 352 Uri uri = mContext.getContentResolver().insert(CellBroadcasts.CONTENT_URI, cv); in handleBroadcastSms() 514 String where = CellBroadcasts.RECEIVED_TIME + ">?"; in isDuplicate() 532 try (Cursor cursor = mContext.getContentResolver().query(CellBroadcasts.CONTENT_URI, in isDuplicate() 643 cv.put(CellBroadcasts.LOCATION_CHECK_TIME, System.currentTimeMillis()); in performGeoFencing() 644 mContext.getContentResolver().update(CellBroadcasts.CONTENT_URI, cv, in performGeoFencing() 645 CellBroadcasts._ID + "=?", new String[] {uri.getLastPathSegment()}); in performGeoFencing() 815 cv.put(CellBroadcasts.MESSAGE_BROADCASTED, 1); in broadcastMessage() 816 mContext.getContentResolver().update(CellBroadcasts.CONTENT_URI, cv, in broadcastMessage() 817 CellBroadcasts._ID + "=?", new String[] {messageUri.getLastPathSegment()}); in broadcastMessage()
|
H A D | GsmCellBroadcastHandler.java | 37 import android.provider.Telephony.CellBroadcasts; 292 String where = CellBroadcasts.SERVICE_CATEGORY + "=? AND " in handleGeoFencingTriggerMessage() 293 + CellBroadcasts.SERIAL_NUMBER + "=? AND " in handleGeoFencingTriggerMessage() 294 + CellBroadcasts.MESSAGE_DISPLAYED + "=? AND " in handleGeoFencingTriggerMessage() 295 + CellBroadcasts.RECEIVED_TIME + ">?"; in handleGeoFencingTriggerMessage() 299 try (Cursor cursor = resolver.query(CellBroadcasts.CONTENT_URI, in handleGeoFencingTriggerMessage() 309 cbMessageUris.add(ContentUris.withAppendedId(CellBroadcasts.CONTENT_URI, in handleGeoFencingTriggerMessage() 310 cursor.getInt(cursor.getColumnIndex(CellBroadcasts._ID)))); in handleGeoFencingTriggerMessage()
|
/aosp12/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastDatabaseHelper.java | 32 import android.provider.Telephony.CellBroadcasts; 79 Telephony.CellBroadcasts._ID, 80 Telephony.CellBroadcasts.SLOT_INDEX, 82 Telephony.CellBroadcasts.PLMN, 83 Telephony.CellBroadcasts.LAC, 84 Telephony.CellBroadcasts.CID, 88 Telephony.CellBroadcasts.MESSAGE_BODY, 90 Telephony.CellBroadcasts.MESSAGE_READ, 98 Telephony.CellBroadcasts.CMAS_URGENCY, 112 + CellBroadcasts.PLMN + " TEXT," in getStringForCellBroadcastTableCreation() [all …]
|
H A D | CellBroadcastCursorAdapter.java | 115 Telephony.CellBroadcasts.ETWS_WARNING_TYPE); in createFromCursor() 125 Telephony.CellBroadcasts.CMAS_MESSAGE_CLASS); in createFromCursor() 131 Telephony.CellBroadcasts.CMAS_CATEGORY); in createFromCursor() 140 Telephony.CellBroadcasts.CMAS_RESPONSE_TYPE); in createFromCursor() 149 Telephony.CellBroadcasts.CMAS_SEVERITY); in createFromCursor() 158 Telephony.CellBroadcasts.CMAS_URGENCY); in createFromCursor() 167 Telephony.CellBroadcasts.CMAS_CERTAINTY); in createFromCursor() 182 timeColumn = Telephony.CellBroadcasts.DELIVERY_TIME; in createFromCursor() 184 timeColumn = Telephony.CellBroadcasts.RECEIVED_TIME; in createFromCursor() 192 Telephony.CellBroadcasts.DATA_CODING_SCHEME)); in createFromCursor() [all …]
|
H A D | CellBroadcastListActivity.java | 157 Telephony.CellBroadcasts._ID, 158 Telephony.CellBroadcasts.SLOT_INDEX, 161 Telephony.CellBroadcasts.PLMN, 162 Telephony.CellBroadcasts.LAC, 163 Telephony.CellBroadcasts.CID, 164 Telephony.CellBroadcasts.SERIAL_NUMBER, 166 Telephony.CellBroadcasts.LANGUAGE_CODE, 168 Telephony.CellBroadcasts.MESSAGE_BODY, 173 Telephony.CellBroadcasts.CMAS_CATEGORY, 176 Telephony.CellBroadcasts.CMAS_URGENCY, [all …]
|
H A D | CellBroadcastContentProvider.java | 172 orderBy = Telephony.CellBroadcasts.DEFAULT_SORT_ORDER; in query() 255 cv.put(Telephony.CellBroadcasts.SLOT_INDEX, message.getSlotIndex()); in getContentValues() 258 cv.put(Telephony.CellBroadcasts.PLMN, location.getPlmn()); in getContentValues() 260 cv.put(Telephony.CellBroadcasts.LAC, location.getLac()); in getContentValues() 263 cv.put(Telephony.CellBroadcasts.CID, location.getCid()); in getContentValues() 268 cv.put(Telephony.CellBroadcasts.MESSAGE_BODY, message.getMessageBody()); in getContentValues() 284 cv.put(Telephony.CellBroadcasts.CMAS_URGENCY, cmasInfo.getUrgency()); in getContentValues() 327 Telephony.CellBroadcasts._ID + "=?", in deleteBroadcast() 367 cv.put(Telephony.CellBroadcasts.MESSAGE_READ, 1); in markBroadcastRead() 436 Telephony.CellBroadcasts.DELIVERY_TIME, in resyncToSmsInbox() [all …]
|
H A D | CellBroadcastReceiver.java | 36 import android.provider.Telephony.CellBroadcasts; 409 CellBroadcasts.Preference.ENABLE_CMAS_AMBER_PREF, in migrateSharedPreferenceFromLegacy() 410 CellBroadcasts.Preference.ENABLE_AREA_UPDATE_INFO_PREF, in migrateSharedPreferenceFromLegacy() 411 CellBroadcasts.Preference.ENABLE_TEST_ALERT_PREF, in migrateSharedPreferenceFromLegacy() 412 CellBroadcasts.Preference.ENABLE_STATE_LOCAL_TEST_PREF, in migrateSharedPreferenceFromLegacy() 413 CellBroadcasts.Preference.ENABLE_PUBLIC_SAFETY_PREF, in migrateSharedPreferenceFromLegacy() 416 CellBroadcasts.Preference.ENABLE_CMAS_PRESIDENTIAL_PREF, in migrateSharedPreferenceFromLegacy() 417 CellBroadcasts.Preference.ENABLE_EMERGENCY_PERF, in migrateSharedPreferenceFromLegacy() 418 CellBroadcasts.Preference.ENABLE_ALERT_VIBRATION_PREF, in migrateSharedPreferenceFromLegacy() 434 CellBroadcasts.AUTHORITY_LEGACY, in migrateSharedPreferenceFromLegacy() [all …]
|
H A D | CellBroadcastListItem.java | 79 Telephony.CellBroadcasts.DELIVERY_TIME + "=?", in bind() 85 Telephony.CellBroadcasts.MESSAGE_READ)) == 0) { in bind()
|
H A D | CellBroadcastInternalReceiver.java | 42 return provider.markBroadcastRead(Telephony.CellBroadcasts.DELIVERY_TIME, in getCellBroadcastTask()
|
H A D | CellBroadcastAlertService.java | 390 Uri.withAppendedPath(Telephony.CellBroadcasts.CONTENT_URI,"displayed"), in markMessageDisplayed() 392 Telephony.CellBroadcasts.RECEIVED_TIME + "=?", in markMessageDisplayed()
|
H A D | CellBroadcastAlertDialog.java | 971 -> provider.markBroadcastRead(Telephony.CellBroadcasts.DELIVERY_TIME, in dismiss()
|
/aosp12/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
H A D | CellBroadcastDatabaseHelperTest.java | 26 import android.provider.Telephony.CellBroadcasts; 110 + CellBroadcasts.PLMN + " TEXT," in onCreate() 111 + CellBroadcasts.LAC + " INTEGER," in onCreate() 112 + CellBroadcasts.CID + " INTEGER," in onCreate() 113 + CellBroadcasts.SERIAL_NUMBER + " INTEGER," in onCreate() 115 + CellBroadcasts.LANGUAGE_CODE + " TEXT," in onCreate() 116 + CellBroadcasts.MESSAGE_BODY + " TEXT," in onCreate() 121 + CellBroadcasts.CMAS_CATEGORY + " INTEGER," in onCreate() 124 + CellBroadcasts.CMAS_URGENCY + " INTEGER," in onCreate() 126 + CellBroadcasts.RECEIVED_TIME + " BIGINT," in onCreate() [all …]
|
H A D | CellBroadcastProviderTest.java | 29 import android.provider.Telephony.CellBroadcasts; 108 cv.put(CellBroadcasts.RECEIVED_TIME, receivedTime); in testUpdate() 147 cv.put(CellBroadcasts.MESSAGE_DISPLAYED, 0); in testGetAllCellBroadcast() 154 cv.put(CellBroadcasts.MESSAGE_DISPLAYED, 1); in testGetAllCellBroadcast() 346 cv.put(CellBroadcasts.PLMN, PLMN); in fakeCellBroadcast() 347 cv.put(CellBroadcasts.LAC, LAC); in fakeCellBroadcast() 348 cv.put(CellBroadcasts.CID, CID); in fakeCellBroadcast() 349 cv.put(CellBroadcasts.SERIAL_NUMBER, SERIAL_NUMBER); in fakeCellBroadcast() 351 cv.put(CellBroadcasts.LANGUAGE_CODE, LANGUAGE_CODE); in fakeCellBroadcast() 352 cv.put(CellBroadcasts.MESSAGE_BODY, MESSAGE_BODY); in fakeCellBroadcast() [all …]
|
H A D | CellBroadcastHandlerTest.java | 85 if (uri.compareTo(Telephony.CellBroadcasts.CONTENT_URI) == 0) { in query() 150 Telephony.CellBroadcasts.CONTENT_URI.getAuthority(), in setUp()
|
H A D | GsmCellBroadcastHandlerTest.java | 100 if (uri.compareTo(Telephony.CellBroadcasts.CONTENT_URI) == 0 in query() 179 Telephony.CellBroadcasts.CONTENT_URI.getAuthority(), in setUp()
|
/aosp12/frameworks/base/telephony/java/android/telephony/ |
H A D | SmsCbMessage.java | 27 import android.provider.Telephony.CellBroadcasts; 574 cv.put(CellBroadcasts.SLOT_INDEX, mSlotIndex); in getContentValues() 575 cv.put(CellBroadcasts.SUBSCRIPTION_ID, mSubId); in getContentValues() 578 cv.put(CellBroadcasts.PLMN, mLocation.getPlmn()); in getContentValues() 581 cv.put(CellBroadcasts.LAC, mLocation.getLac()); in getContentValues() 584 cv.put(CellBroadcasts.CID, mLocation.getCid()); in getContentValues() 586 cv.put(CellBroadcasts.SERIAL_NUMBER, getSerialNumber()); in getContentValues() 588 cv.put(CellBroadcasts.LANGUAGE_CODE, getLanguageCode()); in getContentValues() 590 cv.put(CellBroadcasts.MESSAGE_BODY, getMessageBody()); in getContentValues() 591 cv.put(CellBroadcasts.MESSAGE_FORMAT, getMessageFormat()); in getContentValues() [all …]
|
/aosp12/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
H A D | CellBroadcastDatabaseHelperTest.java | 37 import android.provider.Telephony.CellBroadcasts; 193 + Telephony.CellBroadcasts.PLMN + " TEXT," in onCreate() 194 + Telephony.CellBroadcasts.LAC + " INTEGER," in onCreate() 195 + Telephony.CellBroadcasts.CID + " INTEGER," in onCreate() 196 + Telephony.CellBroadcasts.SERIAL_NUMBER + " INTEGER," in onCreate() 198 + Telephony.CellBroadcasts.LANGUAGE_CODE + " TEXT," in onCreate() 199 + Telephony.CellBroadcasts.MESSAGE_BODY + " TEXT," in onCreate() 200 + Telephony.CellBroadcasts.DELIVERY_TIME + " INTEGER," in onCreate() 201 + Telephony.CellBroadcasts.MESSAGE_READ + " INTEGER," in onCreate() 206 + Telephony.CellBroadcasts.CMAS_CATEGORY + " INTEGER," in onCreate() [all …]
|
H A D | CellBroadcastContentProviderTest.java | 33 import android.provider.Telephony.CellBroadcasts; 108 msg.put(CellBroadcasts.SERIAL_NUMBER, SERIAL_NUMBER); in testInsert() 191 CellBroadcasts.DELIVERY_TIME, in testMarkSmsSyncPending() 242 assertThat(cursor.getString(cursor.getColumnIndexOrThrow(CellBroadcasts.PLMN))) in testInsertQuery() 246 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.SERIAL_NUMBER))) in testInsertQuery() 248 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.SERVICE_CATEGORY))) in testInsertQuery() 252 assertThat(cursor.getString(cursor.getColumnIndexOrThrow(CellBroadcasts.MESSAGE_BODY))) in testInsertQuery() 260 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CMAS_CATEGORY))) in testInsertQuery() 264 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CMAS_SEVERITY))) in testInsertQuery() 266 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CMAS_URGENCY))) in testInsertQuery() [all …]
|
H A D | CellBroadcastListActivityTest.java | 19 import static android.provider.Telephony.CellBroadcasts.CID; 20 import static android.provider.Telephony.CellBroadcasts.CMAS_CATEGORY; 21 import static android.provider.Telephony.CellBroadcasts.CMAS_CERTAINTY; 22 import static android.provider.Telephony.CellBroadcasts.CMAS_MESSAGE_CLASS; 23 import static android.provider.Telephony.CellBroadcasts.CMAS_RESPONSE_TYPE; 24 import static android.provider.Telephony.CellBroadcasts.CMAS_SEVERITY; 25 import static android.provider.Telephony.CellBroadcasts.CMAS_URGENCY; 27 import static android.provider.Telephony.CellBroadcasts.DELIVERY_TIME; 28 import static android.provider.Telephony.CellBroadcasts.ETWS_WARNING_TYPE; 29 import static android.provider.Telephony.CellBroadcasts.LAC; [all …]
|
H A D | CellBroadcastReceiverTest.java | 302 Telephony.CellBroadcasts.AUTHORITY_LEGACY); in testMigrateSharedPreferenceFromLegacyWhenNoLegacyProvider() 312 Telephony.CellBroadcasts.AUTHORITY_LEGACY); in testMigrateSharedPreferenceFromLegacyWhenBundleNull()
|
/aosp12/packages/apps/CellBroadcastReceiver/legacy/src/com/android/cellbroadcastreceiver/ |
H A D | LegacyCellBroadcastContentProvider.java | 14 import android.provider.Telephony.CellBroadcasts; 31 CellBroadcasts.Preference.ENABLE_CMAS_AMBER_PREF, 32 CellBroadcasts.Preference.ENABLE_AREA_UPDATE_INFO_PREF, 33 CellBroadcasts.Preference.ENABLE_TEST_ALERT_PREF, 34 CellBroadcasts.Preference.ENABLE_STATE_LOCAL_TEST_PREF, 35 CellBroadcasts.Preference.ENABLE_PUBLIC_SAFETY_PREF, 36 CellBroadcasts.Preference.ENABLE_CMAS_SEVERE_THREAT_PREF, 37 CellBroadcasts.Preference.ENABLE_CMAS_EXTREME_THREAT_PREF, 38 CellBroadcasts.Preference.ENABLE_CMAS_PRESIDENTIAL_PREF, 39 CellBroadcasts.Preference.ENABLE_EMERGENCY_PERF, [all …]
|
/aosp12/frameworks/base/core/java/android/provider/ |
H A D | Telephony.java | 4060 public static final class CellBroadcasts implements BaseColumns { class in Telephony 4066 private CellBroadcasts() {} in CellBroadcasts() method in Telephony.CellBroadcasts
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 46519 Landroid/provider/Telephony$CellBroadcasts;-><init>()V 46520 Landroid/provider/Telephony$CellBroadcasts;->CID:Ljava/lang/String; 46521 Landroid/provider/Telephony$CellBroadcasts;->CMAS_CATEGORY:Ljava/lang/String; 46525 Landroid/provider/Telephony$CellBroadcasts;->CMAS_SEVERITY:Ljava/lang/String; 46526 Landroid/provider/Telephony$CellBroadcasts;->CMAS_URGENCY:Ljava/lang/String; 46527 Landroid/provider/Telephony$CellBroadcasts;->CONTENT_URI:Landroid/net/Uri; 46529 Landroid/provider/Telephony$CellBroadcasts;->DELIVERY_TIME:Ljava/lang/String; 46532 Landroid/provider/Telephony$CellBroadcasts;->LAC:Ljava/lang/String; 46534 Landroid/provider/Telephony$CellBroadcasts;->MESSAGE_BODY:Ljava/lang/String; 46537 Landroid/provider/Telephony$CellBroadcasts;->MESSAGE_READ:Ljava/lang/String; [all …]
|
/aosp12/frameworks/base/core/api/ |
H A D | system-current.txt | 9430 public static final class Telephony.CellBroadcasts implements android.provider.BaseColumns { 9468 public static final class Telephony.CellBroadcasts.Preference {
|