Home
last modified time | relevance | path

Searched refs:KEY_ID (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DRegistrationBinderTest.java82 private static final int KEY_ID = RAND.nextInt(); field in RegistrationBinderTest
155 .getKeyForClientAndIrpc(IRPC_HAL, CLIENT_UID, KEY_ID);
159 mRegistration.getKey(KEY_ID, callback);
170 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
174 mRegistration.getKey(KEY_ID, callback);
185 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
190 mRegistration.getKey(KEY_ID, callback);
202 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
208 mRegistration.getKey(KEY_ID, callback);
226 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregateEncryptionKeyTest.java32 private static final String KEY_ID = "38b1d571-f924-4dc0-abe1-e2bac9b6a6be"; field in AggregateEncryptionKeyTest
39 .setKeyId(KEY_ID) in createExample()
47 assertEquals(KEY_ID, aggregateEncryptionKey.getKeyId()); in verifyExample()
79 .setKeyId(KEY_ID) in testFailsToBuildWithNullPublicKey()
92 .setKeyId(KEY_ID) in testFailsToBuildWithoutSetExpiry()
105 .setKeyId(KEY_ID) in testFailsToBuildWithoutCoordinatorOrigin()
DAggregateEncryptionKeyTestUtil.java46 String KEY_ID = "38b1d571-f924-4dc0-abe1-e2bac9b6a6be"; field
51 String KEY_ID = "e52dbbda-4e3a-4380-a7c8-14db3e08ef33"; field
58 DEFAULT_KEY_1.KEY_ID, DEFAULT_KEY_1.PUBLIC_KEY, in getDefaultResponseBody()
59 DEFAULT_KEY_2.KEY_ID, DEFAULT_KEY_2.PUBLIC_KEY); in getDefaultResponseBody()
DAggregateEncryptionKeyFetcherTest.java95 assertEquals(AggregateEncryptionKeyTestUtil.DEFAULT_KEY_1.KEY_ID, in testBasicAggregateEncryptionKeyRequest()
101 assertEquals(AggregateEncryptionKeyTestUtil.DEFAULT_KEY_2.KEY_ID, in testBasicAggregateEncryptionKeyRequest()
246 assertEquals(AggregateEncryptionKeyTestUtil.DEFAULT_KEY_1.KEY_ID, in testMissingAgeHeader()
251 assertEquals(AggregateEncryptionKeyTestUtil.DEFAULT_KEY_2.KEY_ID, in testMissingAgeHeader()
279 assertEquals(AggregateEncryptionKeyTestUtil.DEFAULT_KEY_1.KEY_ID, in testBrokenAgeHeader()
284 assertEquals(AggregateEncryptionKeyTestUtil.DEFAULT_KEY_2.KEY_ID, in testBrokenAgeHeader()
DAggregateEncryptionKeyManagerTest.java192 .setKeyId(AggregateEncryptionKeyTestUtil.DEFAULT_KEY_1.KEY_ID) in getExpectedKeys()
199 .setKeyId(AggregateEncryptionKeyTestUtil.DEFAULT_KEY_2.KEY_ID) in getExpectedKeys()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/
DFederatedComputeEncryptionKeyTest.java32 private static final String KEY_ID = "0962201a-5abd-4e25-a486-2c7bd1ee1887"; field in FederatedComputeEncryptionKeyTest
45 KEY_ID, PUBLIC_KEY, KEY_TYPE, NOW, NOW + TTL) in testBuilderAndEquals()
50 .setKeyIdentifier(KEY_ID) in testBuilderAndEquals()
61 .setKeyIdentifier(KEY_ID) in testBuilderAndEquals()
76 KEY_ID, PUBLIC_KEY, KEY_TYPE, NOW, NOW + TTL); in testBuildTwiceThrows()
DFederatedComputeEncryptionKeyDaoTest.java48 private static final String KEY_ID = "0962201a-5abd-4e25-a486-2c7bd1ee1887"; field in FederatedComputeEncryptionKeyDaoTest
141 String[] selectionArgs = {KEY_ID}; in testQueryKeys_success()
252 .setKeyIdentifier(KEY_ID) in createFixedPublicKey()
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DTrampolineActivity.java52 private static final String KEY_ID = "id"; field in TrampolineActivity
148 args.putLong(KEY_ID, id); in show()
162 final long id = getArguments().getLong(KEY_ID); in onCreateDialog()
210 args.putLong(KEY_ID, id); in show()
224 final long id = getArguments().getLong(KEY_ID); in onCreateDialog()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/model/
DMediaQuery.java21 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_ID;
157 + " AND " + KEY_ID + " > " + mPickerId + ")"); in addDateTakenClause()
162 + " AND " + KEY_ID + " <= " + mPickerId + ")"); in addDateTakenClause()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHalDeviceManagerUtil.java91 private static final String KEY_ID = "id"; field in HalDeviceManagerUtil
97 jsonObject.put(KEY_ID, chipMode.id); in chipModeToJson()
114 return new WifiChip.ChipMode(jsonObject.getInt(KEY_ID), availableCombinations); in jsonToChipMode()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DSettings.java53 private static final String KEY_ID = "settings_id"; field in Settings
135 if (sharedPref.contains(KEY_ID)) { in generateAndSetId()
142 editor.putInt(KEY_ID, rand.nextInt(ID_UPPER_BOUND)); in generateAndSetId()
152 return sharedPref.getInt(KEY_ID, rand.nextInt(ID_UPPER_BOUND) /* defaultValue */); in getId()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayloadTest.java77 private static final byte[] KEY_ID = "androidIkeKeyId".getBytes(); field in IkeIdPayloadTest
166 assertArrayEquals(KEY_ID, ikeId.keyId); in testDecodeKeyIdPayload()
262 new IkeIdPayload(true /*isInitiator*/, new IkeKeyIdIdentification(KEY_ID)); in testConstructAndEncodeKeyIdPayload()
315 verifyPersistableBundleEncodeDecodeIsLossless(new IkeKeyIdIdentification(KEY_ID)); in testPersistableBundleEncodeDecodeKeyId()
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DTimeZonePickerScreenPreferenceController.java103 preference.setKey(timeZone.get(ZoneGetter.KEY_ID).toString()); in createTimeZonePreference()
107 String tzId = timeZone.get(ZoneGetter.KEY_ID).toString(); in createTimeZonePreference()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/
DWallpaperClientImpl.kt436 updateValues.put(KEY_ID, wallpaperId) in <lambda>()
471 arrayOf(KEY_ID, KEY_PLACEHOLDER_COLOR, KEY_LAST_UPDATED), in <lambda>()
481 val idColumnIndex = cursor.getColumnIndex(KEY_ID) in <lambda>()
707 private const val KEY_ID = "id" in <lambda>() constant
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/
DPickerSQLConstants.java23 import static com.android.providers.media.photopicker.data.PickerDbFacade.KEY_ID;
122 PICKER_ID(KEY_ID, "picker_id"),
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DAggregateReportBody.java68 String KEY_ID = "key_id"; field
171 aggregationServicePayload.put(AggregationServicePayloadKeys.KEY_ID, key.getKeyId()); in aggregationServicePayloadsToJson()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DPickerDbFacade.java111 public static final String KEY_ID = "_id"; field in PickerDbFacade
131 private static final String WHERE_ID = KEY_ID + " = ?";
142 KEY_DATE_TAKEN_MS, KEY_DATE_TAKEN_MS, KEY_ID);
145 KEY_DATE_TAKEN_MS, KEY_DATE_TAKEN_MS, KEY_ID);
612 final String[] idProjection = new String[] {KEY_ID}; in promoteCloudMediaToVisible()
1128 "COUNT(" + KEY_ID + ") AS " + CloudMediaProviderContract.AlbumColumns.MEDIA_COUNT, in getMergedAlbumProjection()
1191 getProjectionSimple(KEY_ID, Item.ROW_ID), in getCloudMediaProjectionLocked()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/
DHttpClientUtil.java75 public static final String KEY_ID = "keyId"; field in HttpClientUtil.FederatedComputePayloadDataContract
DHttpFederatedProtocol.java498 body.put(FederatedComputePayloadDataContract.KEY_ID, encryptionKey.getKeyIdentifier());
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DMeasurementTables.java271 String KEY_ID = "key_id"; field
1012 + AggregateEncryptionKey.KEY_ID
1026 + AggregateEncryptionKey.KEY_ID
DSqliteObjectMapper.java397 setTextColumn(cursor, MeasurementTables.AggregateEncryptionKey.KEY_ID, in constructAggregateEncryptionKeyFromCursor()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTimeZoneFragment.java132 setKey((String) zone.get(ZoneGetter.KEY_ID)); in ZonePreference()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datetime/
DTimeZonePickerScreenPreferenceControllerTest.java184 map.put(ZoneGetter.KEY_ID, key); in createTimeZoneMap()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DDbHelperV1.java228 + MeasurementTables.AggregateEncryptionKey.KEY_ID
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/
DContentValueFixtures.java335 public static final String KEY_ID = "key_id"; field in ContentValueFixtures.AggregateEncryptionKeyValues
1525 MeasurementTables.AggregateEncryptionKey.KEY_ID, in generateAggregateEncryptionKeyContentValuesV1()
1526 AggregateEncryptionKeyValues.KEY_ID); in generateAggregateEncryptionKeyContentValuesV1()

12