Searched refs:session (Results 1 - 25 of 31) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/processing/
H A DProcessingTask.java23 import com.android.camera.session.CaptureSession;
38 * @param session the capture session for the processed task.
40 public ProcessingResult(boolean success, CaptureSession session) { argument
42 mSession = session;
64 * @param session the {@code CaptureSession}
68 CaptureSession session);
67 process(Context context, CameraServices services, CaptureSession session) argument
H A DProcessingService.java35 import com.android.camera.session.CaptureSession;
36 import com.android.camera.session.CaptureSession.ProgressListener;
37 import com.android.camera.session.CaptureSessionManager;
92 /** Manages the capture session. */
123 // TODO: Cancel session in progress...
222 CaptureSession session = task.getSession();
223 if (session == null) {
225 session = mSessionManager.createNewSession(task.getName(), 0, task.getLocation());
229 // Adding the listener also causes it to get called for the session's
231 session
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/compat/
H A DPackageInstallerCompatVL.java131 SessionInfo session = mPendingReplays.valueAt(i);
132 if (session.getAppPackageName() != null) {
133 updates.add(new PackageInstallInfo(session.getAppPackageName(),
135 (int) (session.getProgress() * 100)));
161 SessionInfo session = mInstaller.getSessionInfo(sessionId);
162 if ((session != null) && (session.getAppPackageName() != null)) {
163 mPendingBadgeUpdates.remove(session.getAppPackageName());
167 replayUpdates(new PackageInstallInfo(session.getAppPackageName(),
174 SessionInfo session
[all...]
/packages/apps/Camera2/src/com/android/camera/session/
H A DSessionStorageManager.java17 package com.android.camera.session;
23 * Interface for the session storage manager which handles management of storage
24 * space that can be used for temporary session files.
33 * clean of expired session data.
35 * @param subFolder The subfolder to use/create within the temporary session
H A DPlaceholderManager.java17 package com.android.camera.session;
85 * @return A session that can be used to update the progress of the new
86 * session.
95 * @param session the session that is being finished.
105 public Uri finishPlaceholder(Session session, Location location, int orientation, argument
108 Uri resultUri = Storage.updateImage(session.outputUri, mContext.getContentResolver(), session.outputTitle,
109 session.time, location, orientation, exif, jpeg, width, height, mimeType);
117 * @param session th
122 replacePlaceholder(Session session, byte[] jpeg, int width, int height) argument
[all...]
H A DCaptureSessionManager.java17 package com.android.camera.session;
33 * Callback interface for session events.
37 * Called when the session with the given Uri was queued and will be
43 * Called when the media underlying the session with the given Uri has
49 * Called when the preview of the media underlying the session with the
54 /** Called when the session with the given Uri finished. */
57 /** Called when the session with the given Uri failed processing. */
60 /** Called when the session with the given Uri has progressed. */
63 /** Called when the session with the given Uri has changed its progress text. */
68 * Creates a new capture session
118 putSession(Uri sessionUri, CaptureSession session) argument
[all...]
H A DCaptureSessionManagerImpl.java17 package com.android.camera.session;
54 /** The location this session was created at. Used for media store.*/
56 /** The current progress of this session in percent. */
60 /** A place holder for this capture session. */
72 * @param title the title of this session.
73 * @param sessionStartMillis the timestamp of this capture session (since epoch).
74 * @param location the location of this session, used for media store.
226 throw new IllegalStateException("Cannot retrieve URI of not started session.");
234 Log.e(TAG, "Could not get temp session directory", e);
235 throw new RuntimeException("Could not get temp session director
374 putSession(Uri sessionUri, CaptureSession session) argument
[all...]
H A DCaptureSession.java17 package com.android.camera.session;
26 * A session is an item that is in progress of being created and saved, such as
32 * this session.
50 /** Returns the title/name of this session. */
53 /** Returns the location of this session or null. */
56 /** Sets the location of this session. */
60 * Set the progress in percent for the current session. If set to or left at
66 * Returns the progress of this session in percent.
76 * Starts the session by adding a placeholder to the filmstrip and adding
87 * Starts the session b
[all...]
H A DSessionStorageManagerImpl.java17 package com.android.camera.session;
34 /** Delete temporary session directory remnants after ONE day. */
41 * This is where we used to store temp session data, but it was the wrong
51 * @return A session storage manager.
67 throw new IOException("Could not create session directory: " + sessionDirectory);
/packages/apps/Camera2/src/com/android/camera/app/
H A DCameraServices.java20 import com.android.camera.session.CaptureSessionManager;
29 * Returns the capture session manager instance that modules use to store
H A DCameraApp.java28 import com.android.camera.session.CaptureSessionManager;
29 import com.android.camera.session.CaptureSessionManagerImpl;
30 import com.android.camera.session.PlaceholderManager;
31 import com.android.camera.session.SessionStorageManager;
32 import com.android.camera.session.SessionStorageManagerImpl;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DBinaryDictionary.java211 // TODO: Move native dict into session
266 final DicTraverseSession session = getTraverseSession(sessionId);
267 Arrays.fill(session.mInputCodePoints, Constants.NOT_A_CODE);
268 prevWordsInfo.outputToArray(session.mPrevWordCodePointArrays,
269 session.mIsBeginningOfSentenceArray);
275 session.mInputCodePoints);
282 session.mNativeSuggestOptions.setUseFullEditDistance(mUseFullEditDistance);
283 session.mNativeSuggestOptions.setIsGesture(isGesture);
284 session.mNativeSuggestOptions.setBlockOffensiveWords(
286 session
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/
H A DOneCameraImpl.java52 import com.android.camera.session.CaptureSession;
73 final CaptureSession session; field in class:OneCameraImpl.InFlightCapture
76 CaptureSession session) {
78 this.session = session;
159 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request,
169 public void onCaptureProgressed(CameraCaptureSession session,
173 super.onCaptureProgressed(session, request, partialResult);
177 public void onCaptureCompleted(CameraCaptureSession session,
189 super.onCaptureCompleted(session, reques
75 InFlightCapture(PhotoCaptureParameters parameters, CaptureSession session) argument
267 takePicture(final PhotoCaptureParameters params, final CaptureSession session) argument
300 takePictureNow(PhotoCaptureParameters params, CaptureSession session) argument
402 savePicture(byte[] jpegData, final PhotoCaptureParameters captureParams, CaptureSession session) argument
[all...]
H A DOneCameraZslImpl.java59 import com.android.camera.session.CaptureSession;
149 /** The Camera2 API capture session currently active. */
227 CaptureSession session) {
229 mSession = session;
364 public void takePicture(final PhotoCaptureParameters params, final CaptureSession session) { argument
451 new ImageCaptureTask(params, session), zslConstraints);
475 mCaptureManager.captureNextImage(new ImageCaptureTask(params, session),
502 mCaptureManager.captureNextImage(new ImageCaptureTask(params, session),
578 CaptureSession session) {
606 session
226 ImageCaptureTask(PhotoCaptureParameters parameters, CaptureSession session) argument
577 savePicture(Image image, final PhotoCaptureParameters captureParams, CaptureSession session) argument
[all...]
H A DImageCaptureManager.java378 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, argument
419 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, argument
/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_ssession/hdr/
H A DdmSessionFactory.h37 SYNCML_DM_RET_STATUS_T DmProcessServerDataInternal(CPCHAR szPrincipal, const DmtSessionProp& session);
55 SYNCML_DM_RET_STATUS_T DmProcessServerData(CPCHAR szPrincipal, const DmtSessionProp& session);
/packages/apps/Settings/src/com/android/settings/net/
H A DSummaryForAllUidLoader.java43 public SummaryForAllUidLoader(Context context, INetworkStatsSession session, Bundle args) { argument
45 mSession = session;
H A DChartDataLoader.java59 public ChartDataLoader(Context context, INetworkStatsSession session, Bundle args) { argument
61 mSession = session;
/packages/apps/Camera2/src/com/android/camera/one/
H A DOneCamera.java25 import com.android.camera.session.CaptureSession;
167 * @param session the capture session
169 public void onPictureTaken(CaptureSession session); argument
184 * Called when capture session is reporting a processing update. This
286 * @param session the capture session for this picture.
288 public void takePicture(PhotoCaptureParameters params, CaptureSession session); argument
/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_ua/src/
H A DdmSessionApi.cc37 const DmtSessionProp& session)
57 ret_status = ((SYNCML_DM_RET_STATUS_T (*)(CPCHAR ,const DmtSessionProp&))(pFunc))(szPrincipal,session);
61 ret_status = DmProcessServerDataInternal(szPrincipal,session);
36 DmProcessServerData(CPCHAR szPrincipal, const DmtSessionProp& session) argument
/packages/apps/OMA-DM/DMService/src/com/android/omadm/service/
H A DNativeDM.java50 * Start a DM client session.
58 * Start a FOTA client session. The alert URI is {@code "./DevDetail/Ext/SystemUpdate"}.
68 * Start a FOTA server session.
70 * @param sessionID the session ID to use
78 * Start a FOTA notification session.
185 * @param session
189 int retCode, DMSession session);
188 processScript(String serverId, String fileName, boolean bBinary, int retCode, DMSession session) argument
H A DDMHttpConnector.java82 public DMHttpConnector(DMSession session) { argument
83 mSession = session;
84 mContext = session.getServiceContext();
/packages/services/Telecomm/src/com/android/server/telecom/
H A DHeadsetMediaButton.java22 import android.media.session.MediaSession;
/packages/apps/Email/src/com/android/email/mail/transport/
H A DMailTransport.java198 SSLSession session = ssl.getSession();
199 if (session == null) {
200 throw new SSLException("Cannot verify SSL socket without session");
206 if (!HOSTNAME_VERIFIER.verify(hostname, session)) {
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DMoviePlayer.java139 int session = mVideoView.getAudioSessionId();
140 if (session != 0) {
141 mVirtualizer = new Virtualizer(0, session);
144 Log.w(TAG, "no audio session to virtualize");

Completed in 1392 milliseconds

12