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.java450 @NonNull IpSecManager.SecurityParameterIndex spi) in buildTransportModeTransform() argument
454 Preconditions.checkNotNull(spi); in buildTransportModeTransform()
455 if (spi.getResourceId() == INVALID_RESOURCE_ID) { in buildTransportModeTransform()
460 mConfig.setSpiResourceId(spi.getResourceId()); in buildTransportModeTransform()
487 @NonNull IpSecManager.SecurityParameterIndex spi) in buildTunnelModeTransform() argument
491 Preconditions.checkNotNull(spi); in buildTunnelModeTransform()
492 if (spi.getResourceId() == INVALID_RESOURCE_ID) { in buildTunnelModeTransform()
497 mConfig.setSpiResourceId(spi.getResourceId()); in buildTunnelModeTransform()
DIpSecManager.java120 SpiUnavailableException(String msg, int spi) { in SpiUnavailableException() argument
121 super(msg + " (spi: " + spi + ")"); in SpiUnavailableException()
122 mSpi = spi; in SpiUnavailableException()
201 @NonNull IIpSecService service, InetAddress destinationAddress, int spi) in SecurityParameterIndex() argument
208 destinationAddress.getHostAddress(), spi, new Binder()); in SecurityParameterIndex()
222 throw new SpiUnavailableException("Requested SPI is unavailable", spi); in SecurityParameterIndex()
227 mSpi = result.spi; in SecurityParameterIndex()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutUser.java82 public static PackageWithUser of(ShortcutPackageItem spi) { in of() argument
83 return new PackageWithUser(spi.getPackageUserId(), spi.getPackageName()); in of()
255 forAllPackageItems(spi -> { in forPackageItem()
256 if ((spi.getPackageUserId() == packageUserId) in forPackageItem()
257 && spi.getPackageName().equals(packageName)) { in forPackageItem()
258 callback.accept(spi); in forPackageItem()
328 forPackageItem(packageName, packageUserId, spi -> { in attemptToRestoreIfNeededAndSave()
329 spi.attemptToRestoreIfNeededAndSave(); in attemptToRestoreIfNeededAndSave()
371 ShortcutPackageItem spi, boolean forBackup) throws IOException, XmlPullParserException { in saveShortcutPackageItem() argument
373 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.java2948 user.forAllPackageItems(spi -> { in checkPackageChanges()
2949 if (spi.getPackageInfo().isShadow()) { in checkPackageChanges()
2952 if (!isPackageInstalled(spi.getPackageName(), spi.getPackageUserId())) { in checkPackageChanges()
2954 Slog.d(TAG, "Uninstalled: " + spi.getPackageName() in checkPackageChanges()
2955 + " user " + spi.getPackageUserId()); in checkPackageChanges()
2957 gonePackages.add(PackageWithUser.of(spi)); in checkPackageChanges()
3536 user.forAllPackageItems(spi -> spi.refreshPackageSignatureAndSave()); in getBackupPayload()
DShortcutPackage.java128 int packageUserId, String packageName, ShortcutPackageInfo spi) { in ShortcutPackage() argument
130 spi != null ? spi : ShortcutPackageInfo.newEmpty()); in ShortcutPackage()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreProvider.java163 Object spi; in getKeyStoreOperationHandle() local
165 spi = ((Signature) cryptoPrimitive).getCurrentSpi(); in getKeyStoreOperationHandle()
167 spi = ((Mac) cryptoPrimitive).getCurrentSpi(); in getKeyStoreOperationHandle()
169 spi = ((Cipher) cryptoPrimitive).getCurrentSpi(); in getKeyStoreOperationHandle()
174 if (spi == null) { in getKeyStoreOperationHandle()
176 } else if (!(spi instanceof KeyStoreCryptoOperation)) { in getKeyStoreOperationHandle()
179 + ", spi: " + spi); in getKeyStoreOperationHandle()
181 return ((KeyStoreCryptoOperation) spi).getOperationHandle(); in getKeyStoreOperationHandle()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java589 int resourceId, IpSecConfig config, SpiRecord spi, EncapSocketRecord socket) { in TransformRecord() argument
592 mSpi = spi; in TransformRecord()
595 spi.setOwnedByTransform(); in TransformRecord()
613 int spi = mSpi.getSpi(); in freeUnderlyingResources() local
621 spi, in freeUnderlyingResources()
670 SpiRecord(int resourceId, String sourceAddress, String destinationAddress, int spi) { in SpiRecord() argument
674 mSpi = spi; in SpiRecord()
1086 int spi = IpSecManager.INVALID_SECURITY_PARAMETER_INDEX; in allocateSecurityParameterIndex() local
1090 IpSecManager.Status.RESOURCE_UNAVAILABLE, INVALID_RESOURCE_ID, spi); in allocateSecurityParameterIndex()
1093 spi = in allocateSecurityParameterIndex()
[all …]
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/
DMavenDependencyCollectorTask.groovy33 import org.eclipse.aether.spi.connector.RepositoryConnectorFactory
34 import org.eclipse.aether.spi.connector.transport.TransporterFactory
DLocalizeDependenciesTask.groovy34 import org.eclipse.aether.spi.connector.RepositoryConnectorFactory
35 import org.eclipse.aether.spi.connector.transport.TransporterFactory
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java167 assertEquals(TEST_SPI, spiResp.spi); in testIpSecServiceReserveSpi()
241 IpSecSpiResponse spi = in getNewSpiResourceId() local
246 return spi.resourceId; in getNewSpiResourceId()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1879 protected void assertExistsAndShadow(ShortcutPackageItem spi) {
1880 assertNotNull(spi);
1881 assertTrue(spi.getPackageInfo().isShadow());
DShortcutManagerTest1.java3985 protected void checkCanRestoreTo(int expected, ShortcutPackageInfo spi, in checkCanRestoreTo() argument
3995 assertEquals(expected, spi.canRestoreTo(mService, pi, anyVersionOk)); in checkCanRestoreTo()
/frameworks/base/config/
Dpreloaded-classes5118 java.nio.channels.spi.AbstractInterruptibleChannel
5119 java.nio.channels.spi.AbstractInterruptibleChannel$1
5120 java.nio.channels.spi.AbstractSelectableChannel
5121 java.nio.channels.spi.AbstractSelectionKey
5122 java.nio.channels.spi.AbstractSelector
5123 java.nio.channels.spi.AbstractSelector$1
5124 java.nio.channels.spi.SelectorProvider
5125 java.nio.channels.spi.SelectorProvider$1
5162 java.nio.file.spi.FileSystemProvider
6302 sun.net.spi.DefaultProxySelector
[all …]
Dhiddenapi-public-dex.txt60916 Ljava/nio/channels/AsynchronousChannelGroup;-><init>(Ljava/nio/channels/spi/AsynchronousChannelProv…
60920 Ljava/nio/channels/AsynchronousChannelGroup;->provider()Ljava/nio/channels/spi/AsynchronousChannelP…
60946 Ljava/nio/channels/AsynchronousServerSocketChannel;-><init>(Ljava/nio/channels/spi/AsynchronousChan…
60954 Ljava/nio/channels/AsynchronousServerSocketChannel;->provider()Ljava/nio/channels/spi/AsynchronousC…
60957 Ljava/nio/channels/AsynchronousSocketChannel;-><init>(Ljava/nio/channels/spi/AsynchronousChannelPro…
60965 Ljava/nio/channels/AsynchronousSocketChannel;->provider()Ljava/nio/channels/spi/AsynchronousChannel…
61006 Ljava/nio/channels/DatagramChannel;-><init>(Ljava/nio/channels/spi/SelectorProvider;)V
61116 Ljava/nio/channels/Pipe$SinkChannel;-><init>(Ljava/nio/channels/spi/SelectorProvider;)V
61119 Ljava/nio/channels/Pipe$SourceChannel;-><init>(Ljava/nio/channels/spi/SelectorProvider;)V
61147 Ljava/nio/channels/SelectableChannel;->provider()Ljava/nio/channels/spi/SelectorProvider;
[all …]
Dboot-image-profile.txt46896 HSPLjava/nio/channels/SelectableChannel;->provider()Ljava/nio/channels/spi/SelectorProvider;
46916 HSPLjava/nio/channels/Selector;->provider()Ljava/nio/channels/spi/SelectorProvider;
46943 HSPLjava/nio/channels/spi/AbstractInterruptibleChannel;->begin()V
46944 HSPLjava/nio/channels/spi/AbstractInterruptibleChannel;->close()V
46945 HSPLjava/nio/channels/spi/AbstractInterruptibleChannel;->end(Z)V
46946 HSPLjava/nio/channels/spi/AbstractInterruptibleChannel;->isOpen()Z
46947 HSPLjava/nio/channels/spi/AbstractSelectableChannel;->addKey(Ljava/nio/channels/SelectionKey;)V
46948 HSPLjava/nio/channels/spi/AbstractSelectableChannel;->configureBlocking(Z)Ljava/nio/channels/Select…
46949 HSPLjava/nio/channels/spi/AbstractSelectableChannel;->findKey(Ljava/nio/channels/Selector;)Ljava/ni…
46950 HSPLjava/nio/channels/spi/AbstractSelectableChannel;->haveValidKeys()Z
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageParser.java2443 final PackageParser.SplitPermissionInfo spi in parseBaseApkCommon() local
2445 if (pkg.applicationInfo.targetSdkVersion >= spi.targetSdk in parseBaseApkCommon()
2446 || !pkg.requestedPermissions.contains(spi.rootPerm)) { in parseBaseApkCommon()
2449 for (int in=0; in<spi.newPerms.length; in++) { in parseBaseApkCommon()
2450 final String perm = spi.newPerms[in]; in parseBaseApkCommon()
/frameworks/base/api/
Dcurrent.txt59510 ctor protected AsynchronousChannelGroup(java.nio.channels.spi.AsynchronousChannelProvider);
59514 method public final java.nio.channels.spi.AsynchronousChannelProvider provider();
59546 … ctor protected AsynchronousServerSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider);
59553 method public final java.nio.channels.spi.AsynchronousChannelProvider provider();
59558 ctor protected AsynchronousSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider);
59565 method public final java.nio.channels.spi.AsynchronousChannelProvider provider();
59622 …public abstract class DatagramChannel extends java.nio.channels.spi.AbstractSelectableChannel impl…
59623 ctor protected DatagramChannel(java.nio.channels.spi.SelectorProvider);
59640 …public abstract class FileChannel extends java.nio.channels.spi.AbstractInterruptibleChannel imple…
59765 …public static abstract 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 …]