Home
last modified time | relevance | path

Searched refs:session (Results 1 – 16 of 16) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/content/
DInstallApkSessionApi.java60 PackageInstaller.Session session = null; in onCreate()
66 session = packageInstaller.openSession(sessionId); in onCreate()
68 addApkToInstallSession("HelloActivity.apk", session); in onCreate()
78 session.commit(statusReceiver); in onCreate()
82 if (session != null) { in onCreate()
83 session.abandon(); in onCreate()
91 private void addApkToInstallSession(String assetName, PackageInstaller.Session session) in addApkToInstallSession() argument
95 try (OutputStream packageInSession = session.openWrite("package", 0, -1); in addApkToInstallSession()
/development/python-packages/fetchartifact/fetchartifact/
D__init__.py61 session: ClientSession,
80 async with session.get(download_url) as response:
89 session: ClientSession,
109 async with session.get(download_url) as response:
/development/samples/VirtualDeviceManager/common/src/com/example/android/vdmdemo/common/
DConnectionManager.java137 var unused = createWifiAwareSession().thenAccept(session -> session.publish( in startHostSession()
145 var unused = createWifiAwareSession().thenAccept(session -> session.subscribe( in startClientSession()
174 public void onAttached(WifiAwareSession session) { in createWifiAwareSession()
176 mWifiAwareSessionFuture.complete(session); in createWifiAwareSession()
254 public void onPublishStarted(@NonNull PublishDiscoverySession session) { in onPublishStarted() argument
255 mDiscoverySession = session; in onPublishStarted()
260 public void onSubscribeStarted(@NonNull SubscribeDiscoverySession session) { in onSubscribeStarted() argument
261 mDiscoverySession = session; in onSubscribeStarted()
/development/samples/VirtualDeviceManager/client/src/com/example/android/vdmdemo/client/
DVirtualCameraController.java244 public void onConfigured(@NonNull CameraCaptureSession session) {
247 mCameraCaptureSession = session;
252 session.setSingleRepeatingRequest(builder.build(), mExecutor,
261 public void onConfigureFailed(@NonNull CameraCaptureSession session) {
270 @NonNull CameraCaptureSession session,
273 super.onCaptureCompleted(session, request, result);
/development/python-packages/fetchartifact/tests/
Dtest_fetchartifact.py99 async with ClientSession() as session:
100 contents = await fetch_artifact("linux", "9945621", "logs/SUCCEEDED", session)
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DQueueFragment.java21 import android.media.session.MediaController;
22 import android.media.session.MediaSession;
23 import android.media.session.PlaybackState;
DMediaNotificationManager.java31 import android.media.session.MediaController;
32 import android.media.session.MediaSession;
33 import android.media.session.PlaybackState;
DQueueAdapter.java19 import android.media.session.MediaSession;
DPlayback.java25 import android.media.session.PlaybackState;
40 import static android.media.session.MediaSession.QueueItem;
DBrowseFragment.java22 import android.media.session.MediaController;
DMusicService.java26 import android.media.session.MediaSession;
27 import android.media.session.PlaybackState;
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DQueueHelper.java20 import android.media.session.MediaSession;
/development/cmds/monkey/
DREADME.NETWORK.txt117 Close the current session and allow a new session to connect
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java493 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request,
499 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request,
513 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request,
538 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request,
572 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request,
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java336 public void onCaptureProgressed(@NonNull CameraCaptureSession session,
343 public void onCaptureCompleted(@NonNull CameraCaptureSession session,
835 public void onCaptureCompleted(@NonNull CameraCaptureSession session, in captureStillPicture()
/development/tools/labpretest/
DREADME4 session. It puts a device into bootloader mode, reboots into bootloader mode,