/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | AdSelectionEntryDao.java | 29 import androidx.room.Query; 114 @Query( 126 @Query( 139 @Query( 152 @Query( 166 @Query( 181 @Query( 209 @Query( 239 @Query( 268 @Query( [all …]
|
D | FrequencyCapDao.java | 28 import androidx.room.Query; 79 @Query( 194 @Query( 214 @Query( 240 @Query("DELETE FROM fcap_histogram_data WHERE timestamp < :expiryTime") 251 @Query( 267 @Query( 287 @Query( 321 @Query( 356 @Query("DELETE FROM fcap_histogram_data") [all …]
|
D | ProtectedServersEncryptionConfigDao.java | 22 import androidx.room.Query; 36 @Query( 54 @Query( 71 @Query( 93 @Query( 109 @Query("SELECT * FROM protected_servers_encryption_config " + "WHERE expiry_instant < :now ") 113 @Query( 121 @Query("DELETE FROM protected_servers_encryption_config")
|
D | EncryptionKeyDao.java | 22 import androidx.room.Query; 36 @Query( 52 @Query( 71 @Query( 86 @Query("SELECT * FROM encryption_key " + "WHERE expiry_instant < :now ") 90 @Query("DELETE FROM encryption_key WHERE expiry_instant < :now AND encryption_key_type = :type") 95 @Query("DELETE FROM encryption_key")
|
D | AppInstallDao.java | 26 import androidx.room.Query; 51 @Query( 72 @Query("SELECT package_name FROM app_install") 80 @Query("DELETE FROM app_install WHERE package_name IN (:packageNames)") 88 @Query("DELETE FROM app_install WHERE package_name = :packageName") 92 @Query("DELETE FROM app_install")
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/ |
D | CustomAudienceDao.java | 32 import androidx.room.Query; 182 @Query("SELECT COUNT(*) FROM custom_audience_quarantine") 209 @Query("SELECT COUNT(*) FROM custom_audience") 213 @Query("SELECT COUNT(*) FROM custom_audience WHERE owner=:owner") 217 @Query("SELECT COUNT(DISTINCT owner) FROM custom_audience") 221 @Query( 229 @Query( 277 @Query( 289 @Query( 300 @Query( [all …]
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/ |
D | ProvisionedKeyDao.java | 21 import androidx.room.Query; 50 @Query("SELECT * FROM provisioned_keys") 56 @Query("DELETE from provisioned_keys WHERE key_blob = :keyBlob") 62 @Query("DELETE FROM provisioned_keys") 68 @Query("DELETE FROM provisioned_keys WHERE expiration_time < :expiryTime") 74 @Query("SELECT COUNT(*) FROM provisioned_keys" 85 @Query("SELECT * FROM provisioned_keys" 93 @Query("SELECT COUNT(*) FROM provisioned_keys WHERE client_uid IS NULL AND irpc_hal = :irpcHal") 99 @Query("SELECT COUNT(*) FROM provisioned_keys WHERE irpc_hal = :irpcHal") 105 @Query("SELECT * FROM provisioned_keys" [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/ |
D | Query.java | 31 public final class Query { class 32 private static final String TAG = Clog.tag(Query.class); 46 private Query(String name) { in Query() method in Query 54 private Query(String name, int year) { in Query() method in Query 62 private Query(String name, int season, int episode) { in Query() method in Query 70 private Query(String name, int year, int season, int episode) { in Query() method in Query 106 public static @NonNull Query parse(@NonNull Uri uri) { in parse() 109 Query query; in parse() 115 query = new Query(uri.getLastPathSegment()); in parse() 120 private static Query parseEpisode(String filePath) { in parseEpisode() [all …]
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/ |
D | DaoBuildingBlocks.java | 24 import androidx.room.Query; 178 @Query( 210 @Query( 243 @Query( 271 @Query( 318 @Query( 371 @Query( 436 @Query( 479 @Query( 522 @Query( [all …]
|
D | TestOnlyDao.java | 26 import androidx.room.Query; 125 @Query( 186 @Query( 214 @Query( 226 @Query("DELETE FROM Reports") 231 @Query("SELECT customer_id, project_id, metric_id, report_id FROM Reports") 236 @Query("SELECT unencrypted_observation_batch FROM ObservationStore") 241 @Query("SELECT report_id from AggregateStore") 246 @Query("SELECT day_index from AggregateStore") 251 @Query("SELECT * FROM StringHashes") [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/ |
D | BatteryEventDao.java | 24 import androidx.room.Query; 36 @Query("SELECT * FROM BatteryEventEntity ORDER BY timestamp DESC") 40 @Query( 46 @Query( 52 @Query( 59 @Query( 65 @Query("DELETE FROM BatteryEventEntity WHERE timestamp <= :timestamp") 69 @Query("DELETE FROM BatteryEventEntity WHERE timestamp >= :timestamp") 73 @Query("DELETE FROM BatteryEventEntity")
|
D | BatteryStateDao.java | 24 import androidx.room.Query; 41 @Query("SELECT MAX(timestamp) FROM BatteryState WHERE timestamp <= :timestamp") 45 @Query("SELECT * FROM BatteryState WHERE timestamp >= :timestamp ORDER BY timestamp ASC") 49 @Query("SELECT * FROM BatteryState WHERE timestamp > :timestamp ORDER BY timestamp DESC") 53 @Query("SELECT COUNT(DISTINCT timestamp) FROM BatteryState WHERE timestamp > :timestamp") 57 @Query("SELECT DISTINCT timestamp FROM BatteryState WHERE timestamp > :timestamp") 61 @Query("DELETE FROM BatteryState WHERE timestamp <= :timestamp") 65 @Query("DELETE FROM BatteryState WHERE timestamp >= :timestamp") 69 @Query("DELETE FROM BatteryState")
|
D | BatteryUsageSlotDao.java | 24 import androidx.room.Query; 36 @Query("SELECT * FROM BatteryUsageSlotEntity ORDER BY timestamp ASC") 40 @Query( 46 @Query( 52 @Query("DELETE FROM BatteryUsageSlotEntity WHERE timestamp <= :timestamp") 56 @Query("DELETE FROM BatteryUsageSlotEntity WHERE timestamp >= :timestamp") 60 @Query("DELETE FROM BatteryUsageSlotEntity")
|
D | AppUsageEventDao.java | 24 import androidx.room.Query; 41 @Query("SELECT * FROM AppUsageEventEntity WHERE timestamp > :timestamp ORDER BY timestamp DESC") 45 @Query( 51 @Query("SELECT MAX(timestamp) as timestamp FROM AppUsageEventEntity WHERE userId = :userId") 55 @Query("DELETE FROM AppUsageEventEntity WHERE timestamp <= :timestamp") 59 @Query("DELETE FROM AppUsageEventEntity WHERE timestamp >= :timestamp") 63 @Query("DELETE FROM AppUsageEventEntity")
|
D | BatteryReattributeDao.kt | 22 import androidx.room.Query; 35 @Query( 41 @Query("DELETE FROM BatteryReattributeEntity WHERE timestampStart <= :timestampStart") 45 @Query("DELETE FROM BatteryReattributeEntity WHERE timestampStart >= :timestampStart") 49 @Query("DELETE FROM BatteryReattributeEntity") fun clearAll()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/signals/ |
D | EncoderLogicMetadataDao.java | 25 import androidx.room.Query; 46 @Query("UPDATE encoder_logics SET failed_encoding_count = :failedCount WHERE buyer = :buyer") 54 @Query("SELECT * FROM encoder_logics WHERE buyer = :buyer") // NOTYPO 61 @Query("SELECT EXISTS(SELECT 1 FROM encoder_logics WHERE buyer = :buyer)") // NOTYPO 67 @Query("SELECT * FROM encoder_logics") // NOTYPO 73 @Query("SELECT DISTINCT buyer FROM encoder_logics") // NOTYPO 79 @Query("SELECT DISTINCT buyer FROM encoder_logics WHERE creation_time < :time") // NOTYPO 85 @Query("DELETE FROM encoder_logics WHERE buyer = :buyer") // NOTYPO 89 @Query("DELETE FROM encoder_logics") // NOTYPO
|
D | ProtectedSignalsDao.java | 27 import androidx.room.Query; 55 @Query("SELECT * FROM protected_signals WHERE buyer = :buyer") 100 @Query("DELETE FROM protected_signals WHERE creationTime < :expiryTime") 104 @Query("SELECT DISTINCT buyer FROM protected_signals WHERE creationTime < :expiryTime") 161 @Query("SELECT DISTINCT buyer FROM protected_signals") 170 @Query("DELETE FROM protected_signals where buyer in (:buyers)") 218 @Query("SELECT DISTINCT packageName FROM protected_signals") 226 @Query("DELETE FROM protected_signals WHERE packageName in (:packages)") 230 @Query("DELETE FROM protected_signals") 234 @Query("SELECT DISTINCT buyer FROM protected_signals WHERE packageName in (:packages)") [all …]
|
D | EncodedPayloadDao.java | 25 import androidx.room.Query; 45 @Query("SELECT * FROM encoded_payload WHERE buyer = :buyer") 51 @Query("SELECT * FROM encoded_payload") 58 @Query("SELECT EXISTS(SELECT 1 FROM encoded_payload WHERE buyer = :buyer)") 64 @Query("DELETE FROM encoded_payload WHERE buyer = :buyer") 68 @Query("DELETE FROM encoded_payload") 74 @Query("SELECT DISTINCT buyer FROM encoded_payload") 82 @Query("DELETE FROM encoded_payload WHERE creation_time < :expiryTime")
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockContentProvider.java | 44 public static class Query { class in MockContentProvider 62 private Query() { in Query() method in MockContentProvider.Query 66 private Query(UriMatcher matcher) { in Query() method in MockContentProvider.Query 71 public Query(Uri uri) { in Query() method in MockContentProvider.Query 80 public Query withProjection(String... projection) { in withProjection() 85 public Query withDefaultProjection(String... projection) { in withDefaultProjection() 90 public Query withAnyProjection() { in withAnyProjection() 95 public Query withSelection(String selection, String... selectionArgs) { in withSelection() 101 public Query withAnySelection() { in withAnySelection() 106 public Query withSortOrder(String sortOrder) { in withSortOrder() [all …]
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/ |
D | EventsDaoTest.java | 63 private final Query mTestQuery = new Query.Builder( 189 Query testQuery = new Query.Builder(5L, APP_NAME, mService, mServiceCert, mQueryData) in testDeleteEventsAndQueries() 233 Query packageAQuery = new Query.Builder(1L, APP_NAME, serviceA, mServiceCert, mQueryData) in testReadAllNewRowsForPackage() 275 Query packageAQuery = new Query.Builder(1L, APP_NAME, serviceA, mServiceCert, mQueryData) in testReadAllNewRows() 315 Query query1 = new Query.Builder(1L, APP_NAME, mService, mServiceCert, mQueryData) in testReadAllQueries() 318 Query query2 = new Query.Builder(10L, APP_NAME, mService, mServiceCert, mQueryData) in testReadAllQueries() 321 Query query3 = new Query.Builder(100L, APP_NAME, mService, mServiceCert, mQueryData) in testReadAllQueries() 324 Query query4 = new Query.Builder(100L, APP_NAME, otherService, otherCert, mQueryData) in testReadAllQueries() 328 List<Query> result = mDao.readAllQueries(0, 1000, mService); in testReadAllQueries() 349 Query query1 = new Query.Builder( in testReadAllEventIds() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/kanon/ |
D | KAnonMessageDao.java | 22 import androidx.room.Query; 40 @Query("SELECT * FROM kanon_messages WHERE status = :status ORDER BY created_at LIMIT :count") 45 @Query("SELECT * FROM kanon_messages WHERE kanon_hash_set = :hashSetToSearch") 49 @Query("DELETE FROM kanon_messages where message_id IN (:idsToDelete)") 53 @Query("DELETE FROM kanon_messages") 57 @Query("UPDATE kanon_messages SET status = :status WHERE message_id IN (:idsToUpdate)") 61 @Query( 68 @Query("SELECT COUNT(*) FROM kanon_messages WHERE status = :status")
|
D | ClientParametersDao.java | 24 import androidx.room.Query; 38 @Query("SELECT * FROM client_parameters WHERE expiry_instant > :currentTime") 46 @Query("DELETE FROM client_parameters WHERE expiry_instant < :currentTime") 50 @Query("DELETE FROM client_parameters")
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/cache/ |
D | CacheEntryDao.java | 22 import androidx.room.Query; 44 @Query( 60 @Query( 66 @Query("SELECT COUNT(cache_url) FROM http_cache") 70 @Query("DELETE FROM http_cache") 79 @Query(
|
/packages/modules/DnsResolver/ |
D | DnsTlsQueryMap.h | 41 struct Query { struct 54 QueryFuture(Query query, std::future<Result> result) in QueryFuture() argument 56 Query query; 73 std::vector<Query> getAll(); 91 QueryPromise(Query query) : query(query) {} in QueryPromise() 92 Query query;
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/ |
D | MetadataDao.java | 22 import androidx.room.Query; 29 @Query("SELECT * FROM metadata ORDER BY last_active_time DESC") 37 @Query("DELETE FROM metadata WHERE address = :address") 41 @Query("DELETE FROM metadata")
|