Home
last modified time | relevance | path

Searched refs:spi (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/net/
DIpSecSpiResponse.java32 public final int spi; field in IpSecSpiResponse
44 out.writeInt(spi); in writeToParcel()
50 spi = inSpi; in IpSecSpiResponse()
59 spi = IpSecManager.INVALID_SECURITY_PARAMETER_INDEX; in IpSecSpiResponse()
65 spi = in.readInt(); in IpSecSpiResponse()
DIpSecTransform.java451 @NonNull IpSecManager.SecurityParameterIndex spi) in buildTransportModeTransform() argument
455 Preconditions.checkNotNull(spi); in buildTransportModeTransform()
456 if (spi.getResourceId() == INVALID_RESOURCE_ID) { in buildTransportModeTransform()
461 mConfig.setSpiResourceId(spi.getResourceId()); in buildTransportModeTransform()
490 @NonNull IpSecManager.SecurityParameterIndex spi) in buildTunnelModeTransform() argument
494 Preconditions.checkNotNull(spi); in buildTunnelModeTransform()
495 if (spi.getResourceId() == INVALID_RESOURCE_ID) { in buildTunnelModeTransform()
500 mConfig.setSpiResourceId(spi.getResourceId()); in buildTunnelModeTransform()
DIpSecManager.java116 SpiUnavailableException(String msg, int spi) { in SpiUnavailableException() argument
117 super(msg + " (spi: " + spi + ")"); in SpiUnavailableException()
118 mSpi = spi; in SpiUnavailableException()
197 @NonNull IIpSecService service, InetAddress destinationAddress, int spi) in SecurityParameterIndex() argument
204 destinationAddress.getHostAddress(), spi, new Binder()); in SecurityParameterIndex()
218 throw new SpiUnavailableException("Requested SPI is unavailable", spi); in SecurityParameterIndex()
223 mSpi = result.spi; in SecurityParameterIndex()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutUser.java85 public static PackageWithUser of(ShortcutPackageItem spi) { in of() argument
86 return new PackageWithUser(spi.getPackageUserId(), spi.getPackageName()); in of()
258 forAllPackageItems(spi -> { in forPackageItem()
259 if ((spi.getPackageUserId() == packageUserId) in forPackageItem()
260 && spi.getPackageName().equals(packageName)) { in forPackageItem()
261 callback.accept(spi); in forPackageItem()
332 forPackageItem(packageName, packageUserId, spi -> { in attemptToRestoreIfNeededAndSave()
333 spi.attemptToRestoreIfNeededAndSave(); in attemptToRestoreIfNeededAndSave()
375 ShortcutPackageItem spi, boolean forBackup) throws IOException, XmlPullParserException { in saveShortcutPackageItem() argument
377 if (spi.getPackageUserId() != spi.getOwnerUserId()) { in saveShortcutPackageItem()
[all …]
DShortcutLauncher.java69 @UserIdInt int launcherUserId, ShortcutPackageInfo spi) { in ShortcutLauncher() argument
71 spi != null ? spi : ShortcutPackageInfo.newEmpty()); in ShortcutLauncher()
DShortcutService.java3012 user.forAllPackageItems(spi -> { in checkPackageChanges()
3013 if (spi.getPackageInfo().isShadow()) { in checkPackageChanges()
3016 if (!isPackageInstalled(spi.getPackageName(), spi.getPackageUserId())) { in checkPackageChanges()
3018 Slog.d(TAG, "Uninstalled: " + spi.getPackageName() in checkPackageChanges()
3019 + " user " + spi.getPackageUserId()); in checkPackageChanges()
3021 gonePackages.add(PackageWithUser.of(spi)); in checkPackageChanges()
3600 user.forAllPackageItems(spi -> spi.refreshPackageSignatureAndSave()); in getBackupPayload()
DShortcutPackage.java147 int packageUserId, String packageName, ShortcutPackageInfo spi) { in ShortcutPackage() argument
149 spi != null ? spi : ShortcutPackageInfo.newEmpty()); in ShortcutPackage()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreProvider.java165 Object spi; in getKeyStoreOperationHandle() local
167 spi = ((Signature) cryptoPrimitive).getCurrentSpi(); in getKeyStoreOperationHandle()
169 spi = ((Mac) cryptoPrimitive).getCurrentSpi(); in getKeyStoreOperationHandle()
171 spi = ((Cipher) cryptoPrimitive).getCurrentSpi(); in getKeyStoreOperationHandle()
176 if (spi == null) { in getKeyStoreOperationHandle()
178 } else if (!(spi instanceof KeyStoreCryptoOperation)) { in getKeyStoreOperationHandle()
181 + ", spi: " + spi); in getKeyStoreOperationHandle()
183 return ((KeyStoreCryptoOperation) spi).getOperationHandle(); in getKeyStoreOperationHandle()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java601 int resourceId, IpSecConfig config, SpiRecord spi, EncapSocketRecord socket) { in TransformRecord() argument
604 mSpi = spi; in TransformRecord()
607 spi.setOwnedByTransform(); in TransformRecord()
625 int spi = mSpi.getSpi(); in freeUnderlyingResources() local
633 spi, in freeUnderlyingResources()
683 SpiRecord(int resourceId, String sourceAddress, String destinationAddress, int spi) { in SpiRecord() argument
687 mSpi = spi; in SpiRecord()
1121 int spi = IpSecManager.INVALID_SECURITY_PARAMETER_INDEX; in allocateSecurityParameterIndex() local
1125 IpSecManager.Status.RESOURCE_UNAVAILABLE, INVALID_RESOURCE_ID, spi); in allocateSecurityParameterIndex()
1128 spi = in allocateSecurityParameterIndex()
[all …]
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java199 assertEquals(TEST_SPI, spiResp.spi); in testIpSecServiceReserveSpi()
273 IpSecSpiResponse spi = in getNewSpiResourceId() local
278 return spi.resourceId; in getNewSpiResourceId()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1935 protected void assertExistsAndShadow(ShortcutPackageItem spi) {
1936 assertNotNull(spi);
1937 assertTrue(spi.getPackageInfo().isShadow());
DShortcutManagerTest1.java3996 protected void checkCanRestoreTo(int expected, ShortcutPackageInfo spi, in checkCanRestoreTo() argument
4006 assertEquals(expected, spi.canRestoreTo(mService, pi, anyVersionOk)); in checkCanRestoreTo()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1546 PermissionManager.SplitPermissionInfo spi = permissionList.get(splitPermNum); in setInitialGrantForNewImplicitPermissionsLocked() local
1548 List<String> newPerms = spi.getNewPermissions(); in setInitialGrantForNewImplicitPermissionsLocked()
1559 splitPerms.add(spi.getSplitPermission()); in setInitialGrantForNewImplicitPermissionsLocked()
/frameworks/base/config/
Dpreloaded-classes6093 java.nio.channels.spi.AbstractInterruptibleChannel$1
6094 java.nio.channels.spi.AbstractInterruptibleChannel
6095 java.nio.channels.spi.AbstractSelectableChannel
6096 java.nio.channels.spi.AbstractSelectionKey
6097 java.nio.channels.spi.AbstractSelector$1
6098 java.nio.channels.spi.AbstractSelector
6099 java.nio.channels.spi.SelectorProvider$1
6100 java.nio.channels.spi.SelectorProvider
6139 java.nio.file.spi.FileSystemProvider
7367 sun.net.spi.DefaultProxySelector$1
[all …]
Dboot-image-profile.txt27531 HSPLjava/nio/channels/spi/AbstractInterruptibleChannel;->begin()V
27532 HSPLjava/nio/channels/spi/AbstractInterruptibleChannel;->close()V
27533 HSPLjava/nio/channels/spi/AbstractInterruptibleChannel;->end(Z)V
27594 HSPLjava/nio/file/FileSystems$DefaultFileSystemHolder;->getDefaultProvider()Ljava/nio/file/spi/File…
27615 HSPLjava/nio/file/spi/FileSystemProvider;->newInputStream(Ljava/nio/file/Path;[Ljava/nio/file/OpenO…
31234 HSPLsun/net/spi/DefaultProxySelector$1;->run()Ljava/net/Proxy;
31235 HSPLsun/net/spi/DefaultProxySelector$NonProxyInfo;-><init>(Ljava/lang/String;Ljava/lang/String;Ljav…
31236 HSPLsun/net/spi/DefaultProxySelector;-><init>()V
31237 HSPLsun/net/spi/DefaultProxySelector;->select(Ljava/net/URI;)Ljava/util/List;
31340 HSPLsun/nio/fs/DefaultFileSystemProvider;->create()Ljava/nio/file/spi/FileSystemProvider;
[all …]
Dhiddenapi-greylist-max-o.txt43697 Landroid/net/IpSecSpiResponse;->spi:I
105062 Ljava/net/InetAddress;->nameService:Lsun/net/spi/nameservice/NameService;
105434 Ljava/nio/channels/AsynchronousChannelGroup;->provider:Ljava/nio/channels/spi/AsynchronousChannelPr…
105436 Ljava/nio/channels/AsynchronousServerSocketChannel;->provider:Ljava/nio/channels/spi/AsynchronousCh…
105437 Ljava/nio/channels/AsynchronousSocketChannel;->provider:Ljava/nio/channels/spi/AsynchronousChannelP…
105463 Ljava/nio/channels/spi/AbstractInterruptibleChannel;->blockedOn(Lsun/nio/ch/Interruptible;)V
105464 Ljava/nio/channels/spi/AbstractInterruptibleChannel;->closeLock:Ljava/lang/Object;
105465 Ljava/nio/channels/spi/AbstractInterruptibleChannel;->interrupted:Ljava/lang/Thread;
105466 Ljava/nio/channels/spi/AbstractInterruptibleChannel;->interruptor:Lsun/nio/ch/Interruptible;
105467 Ljava/nio/channels/spi/AbstractInterruptibleChannel;->open:Z
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageParser.java2532 final SplitPermissionInfoParcelable spi = splitPermissions.get(is); in parseBaseApkCommon() local
2533 if (pkg.applicationInfo.targetSdkVersion >= spi.getTargetSdk() in parseBaseApkCommon()
2534 || !pkg.requestedPermissions.contains(spi.getSplitPermission())) { in parseBaseApkCommon()
2537 final List<String> newPerms = spi.getNewPermissions(); in parseBaseApkCommon()
/frameworks/base/non-updatable-api/
Dcurrent.txt64218 ctor protected AsynchronousChannelGroup(java.nio.channels.spi.AsynchronousChannelProvider);
64222 method public final java.nio.channels.spi.AsynchronousChannelProvider provider();
64254 … ctor protected AsynchronousServerSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider);
64261 method public final java.nio.channels.spi.AsynchronousChannelProvider provider();
64266 ctor protected AsynchronousSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider);
64273 method public final java.nio.channels.spi.AsynchronousChannelProvider provider();
64330 …public abstract class DatagramChannel extends java.nio.channels.spi.AbstractSelectableChannel impl…
64331 ctor protected DatagramChannel(java.nio.channels.spi.SelectorProvider);
64348 …public abstract class FileChannel extends java.nio.channels.spi.AbstractInterruptibleChannel imple…
64473 …public abstract static class Pipe.SinkChannel extends java.nio.channels.spi.AbstractSelectableChan…
[all …]
/frameworks/base/api/
Dcurrent.txt64362 ctor protected AsynchronousChannelGroup(java.nio.channels.spi.AsynchronousChannelProvider);
64366 method public final java.nio.channels.spi.AsynchronousChannelProvider provider();
64398 … ctor protected AsynchronousServerSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider);
64405 method public final java.nio.channels.spi.AsynchronousChannelProvider provider();
64410 ctor protected AsynchronousSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider);
64417 method public final java.nio.channels.spi.AsynchronousChannelProvider provider();
64474 …public abstract class DatagramChannel extends java.nio.channels.spi.AbstractSelectableChannel impl…
64475 ctor protected DatagramChannel(java.nio.channels.spi.SelectorProvider);
64492 …public abstract class FileChannel extends java.nio.channels.spi.AbstractInterruptibleChannel imple…
64617 …public abstract static class Pipe.SinkChannel extends java.nio.channels.spi.AbstractSelectableChan…
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt43851 …public abstract class DatagramChannel extends java.nio.channels.spi.AbstractSelectableChannel impl…
43852 ctor protected DatagramChannel(java.nio.channels.spi.SelectorProvider);
43869 …public abstract class FileChannel extends java.nio.channels.spi.AbstractInterruptibleChannel imple…
43964 …public static abstract class Pipe.SinkChannel extends java.nio.channels.spi.AbstractSelectableChan…
43965 ctor protected Pipe.SinkChannel(java.nio.channels.spi.SelectorProvider);
43969 …public static abstract class Pipe.SourceChannel extends java.nio.channels.spi.AbstractSelectableCh…
43970 ctor protected Pipe.SourceChannel(java.nio.channels.spi.SelectorProvider);
43983 …public abstract class SelectableChannel extends java.nio.channels.spi.AbstractInterruptibleChannel…
43990 method public abstract java.nio.channels.spi.SelectorProvider provider();
44023 method public abstract java.nio.channels.spi.SelectorProvider provider();
[all …]