/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ |
D | EapTestMessageDefinitions.java | 35 public static final String ID = "10"; field in EapTestMessageDefinitions 36 public static final int ID_INT = Integer.parseInt(ID, 16 /* radix */); 44 public static final byte[] EAP_REQUEST_AKA = hexStringToByteArray("01" + ID + "000817050000"); 46 hexStringToByteArray("01" + ID + "000A17" + EAP_REQUEST_TYPE_DATA); 48 hexStringToByteArray("01" + ID + "000501"); 50 hexStringToByteArray("01" + ID + "00050100"); 56 hexStringToByteArray("02" + ID + "001501" + EAP_IDENTITY_STRING); 58 hexStringToByteArray("02" + ID + "000501"); 60 hexStringToByteArray("01" + ID + "000802AABBCC"); 61 public static final byte[] EAP_SUCCESS_PACKET = hexStringToByteArray("03" + ID + "0004"); [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/ |
D | EapMsChapV2PacketDefinitions.java | 22 public static final String ID = "1F"; field in EapMsChapV2PacketDefinitions 23 public static final int ID_INT = Integer.parseInt(ID, 16 /* radix */); 32 hexStringToByteArray("01" + ID + "002E10" + CHALLENGE + SERVER_NAME); 38 hexStringToByteArray("01" + ID + "002406" + SHORT_CHALLENGE + SERVER_NAME); 40 hexStringToByteArray("01" + ID + "000110" + CHALLENGE + SERVER_NAME); 42 hexStringToByteArray("01" + ID + "00FF10" + CHALLENGE + SERVER_NAME); 55 + ID 86 "03" + ID + "0042" + FORMATTED_AUTH_STRING + SPACE_HEX + FORMATTED_MESSAGE); 88 hexStringToByteArray("03" + ID + "0031" + FORMATTED_AUTH_STRING + SPACE_HEX + "4D3D"); 90 hexStringToByteArray("03" + ID + "002E" + FORMATTED_AUTH_STRING); [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/ |
D | AppSearchTopicsConsentDaoTest.java | 48 private static final String ID = "1"; field in AppSearchTopicsConsentDaoTest 90 new AppSearchTopicsConsentDao(ID, ID, NAMESPACE, null, null, null); in testToString_null() 94 + ID in testToString_null() 96 + ID in testToString_null() 108 ID, ID, NAMESPACE, TOPIC_IDS, TOPIC_TAXONOMIES, TOPIC_MODELS); in testToString() 112 + ID in testToString() 114 + ID in testToString() 126 ID, ID, NAMESPACE, TOPIC_IDS, TOPIC_TAXONOMIES, TOPIC_MODELS); in testEquals() 129 ID, ID, NAMESPACE, TOPIC_IDS, TOPIC_TAXONOMIES, TOPIC_MODELS); in testEquals() 132 ID, ID, "namespace", TOPIC_IDS, TOPIC_TAXONOMIES, TOPIC_MODELS); in testEquals() [all …]
|
D | AppSearchInteractionsDaoTest.java | 50 private static final String ID = "1"; field in AppSearchInteractionsDaoTest 88 new AppSearchInteractionsDao(ID, ID, NAMESPACE, apiType, value); in testToString() 92 + ID in testToString() 94 + ID in testToString() 110 new AppSearchInteractionsDao(ID, ID, NAMESPACE, apiType1, val1); in testEquals() 112 new AppSearchInteractionsDao(ID, ID, NAMESPACE, apiType1, val1); in testEquals() 114 new AppSearchInteractionsDao(ID, "foo", NAMESPACE, apiType2, val2); in testEquals() 123 String expected = "userId:" + ID + " " + "apiType:" + apiType; in testGetQuery() 124 assertThat(AppSearchInteractionsDao.getQuery(ID, apiType)).isEqualTo(expected); in testGetQuery() 130 assertThat(AppSearchInteractionsDao.getRowId(ID, apiType)).isEqualTo(ID + "_" + apiType); in testGetRowId() [all …]
|
D | AppSearchNotificationDaoTest.java | 48 private static final String ID = "1"; field in AppSearchNotificationDaoTest 84 new AppSearchNotificationDao(ID, ID, NAMESPACE, false, false); in testToString() 88 + ID in testToString() 90 + ID in testToString() 100 new AppSearchNotificationDao(ID, ID, NAMESPACE, true, false); in testEquals() 102 new AppSearchNotificationDao(ID, ID, NAMESPACE, true, false); in testEquals() 104 new AppSearchNotificationDao(ID, "foo", NAMESPACE, true, false); in testEquals() 112 String expected = "userId:" + ID; in testGetQuery() 113 assertThat(AppSearchNotificationDao.getQuery(ID)).isEqualTo(expected); in testGetQuery() 118 assertThat(AppSearchNotificationDao.getRowId(ID)).isEqualTo(ID); in testGetRowId() [all …]
|
D | AppSearchConsentDaoTest.java | 48 private static final String ID = "1"; field in AppSearchConsentDaoTest 86 AppSearchConsentDao dao = new AppSearchConsentDao(ID, ID, NAMESPACE, API_TYPE, CONSENT); in testToString() 90 + ID in testToString() 92 + ID in testToString() 103 AppSearchConsentDao dao1 = new AppSearchConsentDao(ID, ID, NAMESPACE, API_TYPE, CONSENT); in testEquals() 104 AppSearchConsentDao dao2 = new AppSearchConsentDao(ID, ID, NAMESPACE, API_TYPE, CONSENT); in testEquals() 105 AppSearchConsentDao dao3 = new AppSearchConsentDao(ID, "foo", NAMESPACE, API_TYPE, CONSENT); in testEquals() 113 String expected = "userId:" + ID + " " + "apiType:" + API_TYPE; in testGetQuery() 114 assertThat(AppSearchConsentDao.getQuery(ID, API_TYPE)).isEqualTo(expected); in testGetQuery() 119 String expected = ID + "_" + API_TYPE; in testGetRowId() [all …]
|
D | AppSearchAppConsentDaoTest.java | 51 private static final String ID = "1"; field in AppSearchAppConsentDaoTest 90 ID, ID, NAMESPACE, AppSearchAppConsentDao.APPS_WITH_CONSENT, APPS); in testToString() 94 + ID in testToString() 96 + ID in testToString() 109 ID, ID, NAMESPACE, AppSearchAppConsentDao.APPS_WITH_CONSENT, APPS); in testEquals() 112 ID, ID, NAMESPACE, AppSearchAppConsentDao.APPS_WITH_CONSENT, APPS); in testEquals() 115 ID, ID, NAMESPACE, AppSearchAppConsentDao.APPS_WITH_REVOKED_CONSENT, APPS); in testEquals() 124 "userId:" + ID + " " + "consentType:" + AppSearchAppConsentDao.APPS_WITH_CONSENT; in testGetQuery() 125 assertThat(AppSearchAppConsentDao.getQuery(ID, AppSearchAppConsentDao.APPS_WITH_CONSENT)) in testGetQuery() 132 String expected = ID + "_" + consentType; in testGetRowId() [all …]
|
D | AppSearchMeasurementRollbackDaoTest.java | 47 private static final String ID = "ID"; field in AppSearchMeasurementRollbackDaoTest 67 new AppSearchMeasurementRollbackDao(ID, NAMESPACE, USER_ID, APEX_VERSION); in testGetProperties() 68 expect.that(dao.getId()).isEqualTo(ID); in testGetProperties() 77 String id = ID; in testEqualsAndHashcode() 109 new AppSearchMeasurementRollbackDao(ID, NAMESPACE, USER_ID, APEX_VERSION); in testToString() 113 ID, USER_ID, NAMESPACE, APEX_VERSION); in testToString() 119 String expected = String.format("Measurement_Rollback_%s_0", ID); in testGetRowId() 120 expect.that(getRowId(ID, AdServicesManager.MEASUREMENT_DELETION)).isEqualTo(expected); in testGetRowId() 129 String expected = "userId:" + ID; in testGetQuery() 130 expect.that(AppSearchMeasurementRollbackDao.getQuery(ID)).isEqualTo(expected); in testGetQuery() [all …]
|
D | AppSearchDaoTest.java | 82 private static final String ID = "1"; field in AppSearchDaoTest 129 AppSearchConsentDao dao = new AppSearchConsentDao(ID, ID, NAMESPACE, API_TYPE, CONSENT); in testIterateSearchResults() 133 new GenericDocument.Builder(NAMESPACE, ID, dao.getClass().getSimpleName()) in testIterateSearchResults() 134 .setPropertyString("userId", ID) in testIterateSearchResults() 201 AppSearchConsentDao dao = new AppSearchConsentDao(ID, ID, NAMESPACE, API_TYPE, CONSENT); in testReadConsentData() 203 new GenericDocument.Builder(NAMESPACE, ID, dao.getClass().getSimpleName()) in testReadConsentData() 204 .setPropertyString("userId", ID) in testReadConsentData() 274 AppSearchConsentDao dao = new AppSearchConsentDao(ID, ID, NAMESPACE, API_TYPE, CONSENT); in testReadAppSearchData() 276 new GenericDocument.Builder(NAMESPACE, ID, dao.getClass().getSimpleName()) in testReadAppSearchData() 277 .setPropertyString("userId", ID) in testReadAppSearchData() [all …]
|
/packages/modules/GeoTZ/tzs2storage/ |
D | README.md | 29 2. Next are the block infos, which hold metadata about all blocks in the file such as their ID, 30 a type ID, (optional) arbitrary "extra" bytes, and size / offset information for the block. 64 {start S2 cell ID (inclusive)}, {end S2 cell ID (exclusive)}, {time zone IDs} 67 The main usecase of the file is to lookup the time zone ID(s) (if any) for a given S2 cell ID. 74 stored using only a subset of the bits needed to store a full S2 cell ID. 76 Each logical S2 range data described above is subdivided into ranges with a common S2 cell ID 80 The time zone ID strings are also only stored once and are referenced indirectly, avoiding repeated 86 Suffix table block IDs are calculated by taking the prefix of the S2 cell ID being sought and 88 directly using the block's ID. 92 The `{prefix}` is computed by extracting the first `{X}` bits of the S2 cell ID. The `{prefix}` is [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/ |
D | TopicsTables.java | 34 String ID = "_id"; field 46 + TaxonomyContract.ID 63 String ID = "_id"; field 77 + AppClassificationTopicsContract.ID 97 String ID = "_id"; field 111 + CallerCanLearnTopicsContract.ID 134 String ID = "_id"; field 152 + TopTopicsContract.ID 180 String ID = "_id"; field 193 String ID = "_id"; field [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/ |
D | MeasurementTables.java | 82 String ID = "_id"; field 104 String ID = "_id"; field 169 String ID = "_id"; field 202 String ID = "_id"; field 227 String ID = "_id"; field 246 String ID = "_id"; field 270 String ID = "_id"; field 280 String ID = "_id"; field 317 + AsyncRegistrationContract.ID 359 + AsyncRegistrationContract.ID [all …]
|
D | MeasurementDao.java | 111 values.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in insertTrigger() 186 new String[] {MeasurementTables.TriggerContract.ID}, in getPendingTriggerIds() argument 209 SourceContract.ID + " = ? ", in getSource() argument 311 + SourceContract.ID in selectSourceIdsByDestinations() 315 + SourceContract.ID in selectSourceIdsByDestinations() 380 SourceContract.ID + " IN (" + selectSourceIdStatement + ")", in ignoreSourcesAndDeleteFakeReportsForAttributionScope() 436 + SourceContract.ID in getDeleteAttributionScopesWhereStatement() 442 + SourceContract.ID in getDeleteAttributionScopesWhereStatement() 524 SourceContract.ID + " = ? ", in getSourceRegistrant() argument 546 MeasurementTables.TriggerContract.ID + " = ? ", in getTrigger() argument [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | MeasurementDbSchemaTrail.java | 55 + SourceContract.ID 123 + SourceContract.ID 193 + SourceContract.ID 259 + SourceContract.ID 329 + SourceContract.ID 403 + SourceContract.ID 479 + SourceContract.ID 557 + SourceContract.ID 639 + SourceContract.ID 723 + SourceContract.ID [all …]
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/info/ |
D | VendorSpecificDataTest.java | 36 private static final int ID = 117; field in VendorSpecificDataTest 56 assertThat(info.vendorId).isEqualTo(ID); in fromBytes_succeed() 62 VendorSpecificData info = VendorSpecificData.fromBytes(DATA, Optional.of(ID)); in fromBytes_succeedProvidedId() 65 assertThat(info.vendorId).isEqualTo(ID); in fromBytes_succeedProvidedId() 71 VendorSpecificData info = new VendorSpecificData(ID, DATA); in toBytes_succeed() 80 VendorSpecificData info = new VendorSpecificData(ID, new byte[] {}); in toBytes_emptyData()
|
/packages/modules/Permission/SafetyCenter/InternalData/proto/ |
D | safety_center_internal_data.proto | 25 // The ID of the safety source that the entry originated from. 27 // The user ID associated with this entry. 36 // The ID of the type of the safety source issue. 38 // A task ID to launch the issue's actions in, if applicable. 44 // The ID of the safety source that the issue originated from. 46 // The ID of the safety source issue that the issue originated from. 48 // The user ID associated with this issue. 55 // The ID of the safety source issue action that the action originated from.
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/ |
D | MeasurementDbMigratorV6Test.java | 298 values.put(MeasurementTables.AsyncRegistrationContract.ID, id); in insertAsyncRegistration() 305 values.put(MeasurementTables.SourceContract.ID, id); in insertSource() 313 values.put(MeasurementTables.TriggerContract.ID, id); in insertTrigger() 325 MeasurementTables.AsyncRegistrationContract.ID, in assertAsyncRegistrationMigration() 333 /* orderBy */ MeasurementTables.AsyncRegistrationContract.ID, in assertAsyncRegistrationMigration() 348 MeasurementTables.SourceContract.ID, in assertSourceMigration() 360 /* orderBy */ MeasurementTables.SourceContract.ID, in assertSourceMigration() 375 MeasurementTables.TriggerContract.ID, in assertTriggerMigration() 385 /* orderBy */ MeasurementTables.TriggerContract.ID, in assertTriggerMigration() 400 cursor.getColumnIndex(MeasurementTables.AsyncRegistrationContract.ID))); in assertAsyncRegistrationMigrated() [all …]
|
D | MeasurementDbMigratorV7Test.java | 72 source1.put(MeasurementTables.SourceContract.ID, source1Id); in createFakeDataV6() 80 trigger1.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in createFakeDataV6() 88 eventReport1.put(MeasurementTables.EventReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV6() 97 aggregateReport1.put(MeasurementTables.AggregateReport.ID, UUID.randomUUID().toString()); in createFakeDataV6() 105 attribution1.put(MeasurementTables.AttributionContract.ID, UUID.randomUUID().toString()); in createFakeDataV6() 115 MeasurementTables.AggregateEncryptionKey.ID, UUID.randomUUID().toString()); in createFakeDataV6() 125 debugReport1.put(MeasurementTables.DebugReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV6() 135 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeDataV6()
|
D | MeasurementDbMigratorV29Test.java | 79 Set.of(MeasurementTables.AttributionContract.ID)); in performMigration_v28ToV29WithData_maintainsDataIntegrity() 85 MeasurementTables.AttributionContract.ID, in performMigration_v28ToV29WithData_maintainsDataIntegrity() argument 92 /* orderBy */ MeasurementTables.AttributionContract.ID)) { in performMigration_v28ToV29WithData_maintainsDataIntegrity() 98 cursor.getColumnIndex(MeasurementTables.AttributionContract.ID)); in performMigration_v28ToV29WithData_maintainsDataIntegrity() 106 cursor.getColumnIndex(MeasurementTables.AttributionContract.ID)); in performMigration_v28ToV29WithData_maintainsDataIntegrity() 129 source1.put(MeasurementTables.SourceContract.ID, source1Id); in createFakeDataSourceAndTriggerV28() 136 trigger1.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in createFakeDataSourceAndTriggerV28() 158 attribution1.put(MeasurementTables.AttributionContract.ID, ID_ONE); in createFakeDataV28() 159 attribution2.put(MeasurementTables.AttributionContract.ID, ID_TWO); in createFakeDataV28()
|
D | MeasurementDbMigratorV8Test.java | 95 source1.put(MeasurementTables.SourceContract.ID, source1Id); in createFakeDataV7() 103 trigger1.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in createFakeDataV7() 111 eventReport1.put(MeasurementTables.EventReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV7() 120 aggregateReport1.put(MeasurementTables.AggregateReport.ID, UUID.randomUUID().toString()); in createFakeDataV7() 128 attribution1.put(MeasurementTables.AttributionContract.ID, UUID.randomUUID().toString()); in createFakeDataV7() 138 MeasurementTables.AggregateEncryptionKey.ID, UUID.randomUUID().toString()); in createFakeDataV7() 148 debugReport1.put(MeasurementTables.DebugReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV7() 158 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeDataV7()
|
D | MeasurementDbMigratorV12Test.java | 104 source1.put(MeasurementTables.SourceContract.ID, source1Id); in createFakeDataSourceAndTriggerV11() 112 trigger1.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in createFakeDataSourceAndTriggerV11() 135 eventReport1.put(MeasurementTables.EventReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV11() 144 aggregateReport1.put(MeasurementTables.AggregateReport.ID, UUID.randomUUID().toString()); in createFakeDataV11() 152 attribution1.put(MeasurementTables.AttributionContract.ID, UUID.randomUUID().toString()); in createFakeDataV11() 162 MeasurementTables.AggregateEncryptionKey.ID, UUID.randomUUID().toString()); in createFakeDataV11() 172 debugReport1.put(MeasurementTables.DebugReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV11() 182 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeDataV11()
|
D | MeasurementDbMigratorV18Test.java | 98 source1.put(MeasurementTables.SourceContract.ID, source1Id); in createFakeDataSourceAndTriggerV17() 105 trigger1.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in createFakeDataSourceAndTriggerV17() 125 eventReport1.put(MeasurementTables.EventReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV17() 133 aggregateReport1.put(MeasurementTables.AggregateReport.ID, UUID.randomUUID().toString()); in createFakeDataV17() 140 attribution1.put(MeasurementTables.AttributionContract.ID, UUID.randomUUID().toString()); in createFakeDataV17() 149 MeasurementTables.AggregateEncryptionKey.ID, UUID.randomUUID().toString()); in createFakeDataV17() 158 debugReport1.put(MeasurementTables.DebugReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV17() 167 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeDataV17()
|
D | MeasurementDbMigratorV10Test.java | 97 source1.put(MeasurementTables.SourceContract.ID, source1Id); in createFakeDataSourceAndTriggerV9() 105 trigger1.put(MeasurementTables.TriggerContract.ID, UUID.randomUUID().toString()); in createFakeDataSourceAndTriggerV9() 128 eventReport1.put(MeasurementTables.EventReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV9() 137 aggregateReport1.put(MeasurementTables.AggregateReport.ID, UUID.randomUUID().toString()); in createFakeDataV9() 145 attribution1.put(MeasurementTables.AttributionContract.ID, UUID.randomUUID().toString()); in createFakeDataV9() 155 MeasurementTables.AggregateEncryptionKey.ID, UUID.randomUUID().toString()); in createFakeDataV9() 165 debugReport1.put(MeasurementTables.DebugReportContract.ID, UUID.randomUUID().toString()); in createFakeDataV9() 175 MeasurementTables.AsyncRegistrationContract.ID, UUID.randomUUID().toString()); in createFakeDataV9()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | CarNotificationDiffTest.java | 51 private static final int ID = 1; field in CarNotificationDiffTest 99 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in setupBaseActivityAndLayout() 102 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in setupBaseActivityAndLayout() 105 ID, TAG, UID, INITIAL_PID, mNotificationBuilder2.build(), USER_HANDLE, in setupBaseActivityAndLayout() 202 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in sameGroupUniqueIdentifiers_diffNotificationKey_shouldReturnFalse() 219 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in sameGroupUniqueIdentifiers_sameChildrenNotification_shouldReturnTrue() 315 ID, TAG, UID, INITIAL_PID, oldNotification.build(), USER_HANDLE, in areBundleEqual_sameSize_shouldReturnTrue() 319 ID, TAG, UID, INITIAL_PID, newNotification.build(), USER_HANDLE, in areBundleEqual_sameSize_shouldReturnTrue() 359 AlertEntry oldAlertEntry = new AlertEntry(new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, in areBundleEqual_diffSize_shouldReturnFalse() 362 AlertEntry newAlertEntry = new AlertEntry(new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, in areBundleEqual_diffSize_shouldReturnFalse() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/migration/ |
D | MeasurementDbMigratorV25.java | 64 MeasurementTables.SourceContract.ID, in getSourceIdToReportingOrigin() argument 83 cursor.getColumnIndex(MeasurementTables.SourceContract.ID)); in getSourceIdToReportingOrigin() 105 MeasurementTables.AttributionContract.ID, in insertRegistrationOriginOrDelete() argument 118 cursor.getColumnIndex(MeasurementTables.AttributionContract.ID)); in insertRegistrationOriginOrDelete() 141 MeasurementTables.AttributionContract.ID + " = ? ", in insertRegistrationOriginOrDelete() 166 MeasurementTables.AttributionContract.ID + " = ? ", in deleteRecordFromAttributionTable()
|