Home
last modified time | relevance | path

Searched refs:grantId (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/keystore/java/android/security/
DKeyStore2.java213 public static String makeKeystoreEngineGrantString(long grantId) { in makeKeystoreEngineGrantString() argument
214 return String.format("%s%016X", KEYSTORE_ENGINE_GRANT_ALIAS_PREFIX, grantId); in makeKeystoreEngineGrantString()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountsDbTest.java223 long grantId = mAccountsDb.insertGrant(accId, "tokenType", testUid); in testGrantsInsertFindDelete() local
224 assertTrue(grantId > 0); in testGrantsInsertFindDelete()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java1147 public boolean hasBindAppWidgetPermission(String packageName, int grantId) { in hasBindAppWidgetPermission() argument
1157 ensureGroupStateLoadedLocked(grantId); in hasBindAppWidgetPermission()
1159 final int packageUid = getUidForPackage(packageName, grantId); in hasBindAppWidgetPermission()
1164 Pair<Integer, String> packageId = Pair.create(grantId, packageName); in hasBindAppWidgetPermission()
1170 public void setBindAppWidgetPermission(String packageName, int grantId, in setBindAppWidgetPermission() argument
1181 ensureGroupStateLoadedLocked(grantId); in setBindAppWidgetPermission()
1183 final int packageUid = getUidForPackage(packageName, grantId); in setBindAppWidgetPermission()
1188 Pair<Integer, String> packageId = Pair.create(grantId, packageName); in setBindAppWidgetPermission()
1195 saveGroupStateAsync(grantId); in setBindAppWidgetPermission()