/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
BridgeRenderSession.java | 44 private final RenderSessionImpl mSession; 55 return mSession != null ? mSession.getImage() : 61 return mSession != null && mSession.isAlphaChannelImage(); 66 return mSession != null ? mSession.getViewInfos() : Collections.emptyList(); 71 return mSession != null ? mSession.getSystemViewInfos() : Collections.emptyList(); 76 return mSession != null ? mSession.getDefaultProperties() : Collections.emptyMap() [all...] |
/frameworks/base/core/java/android/service/voice/ |
VoiceInteractionSessionService.java | 44 VoiceInteractionSession mSession; 86 if (mSession != null) { 87 mSession.onConfigurationChanged(newConfig); 94 if (mSession != null) { 95 mSession.onLowMemory(); 102 if (mSession != null) { 103 mSession.onTrimMemory(level); 109 if (mSession == null) { 113 mSession.dump(" ", fd, writer, args); 118 if (mSession != null) [all...] |
/cts/tests/tests/print/src/android/print/cts/services/ |
PrinterDiscoverySessionCallbacks.java | 27 private StubbablePrinterDiscoverySession mSession; 30 mSession = session; 34 return mSession;
|
/external/libese/apps/weaver/tests/ |
weaver_test.cpp | 32 EseWeaverSession mSession; 46 ese_weaver_session_init(&mSession); 47 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_session_open(mEse.ese_interface(), &mSession)); 51 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_session_close(&mSession)); 58 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_get_num_slots(&mSession, &numSlots)); 64 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK); 68 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_read(&mSession, slotId, KEY, readValue, &timeout)); 74 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK); 79 ese_weaver_read(&mSession, slotId, WRONG_KEY, readValue, &timeout)); 86 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK) [all...] |
/frameworks/base/core/tests/coretests/src/android/print/mockservice/ |
PrinterDiscoverySessionCallbacks.java | 27 private StubbablePrinterDiscoverySession mSession; 30 mSession = session; 34 return mSession;
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/mockservice/ |
PrinterDiscoverySessionCallbacks.java | 27 private StubbablePrinterDiscoverySession mSession; 30 mSession = session; 34 return mSession;
|
/frameworks/support/customtabs/tests/src/android/support/customtabs/ |
TestCustomTabsService.java | 31 private CustomTabsSessionToken mSession; 40 mSession = sessionToken; 63 if (mSession == null) return false; 65 mSession.getCallback().extraCallback(CALLBACK_BIND_TO_POST_MESSAGE, null);
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
PlayerService.java | 37 private PlayerSession mSession; 48 if (mSession == null) { 49 mSession = onCreatePlayerController(); 50 mSession.createSession(); 51 mSession.setListener(mPlayerListener); 52 mNotifyHelper = new NotificationHelper(this, mSession.mSession); 73 mSession.onDestroy(); 74 mSession = null; 126 mSession.setContent(params) [all...] |
PlayerSession.java | 42 protected MediaSession mSession; 78 mSession = new MediaSession(mContext, "OneMedia"); 79 mSession.setCallback(mCallback); 80 mSession.setPlaybackState(mPlaybackState); 81 mSession.setFlags(MediaSession.FLAG_HANDLES_TRANSPORT_CONTROLS 83 mSession.setActive(true); 96 if (mSession != null) { 97 mSession.release(); 98 mSession = null; 107 return mSession.getSessionToken() [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
RadioCapability.java | 88 private int mSession; 130 mSession = session; 161 return mSession; 205 + " mSession=" + getSession()
|
/frameworks/support/media-compat/tests/src/android/support/v4/media/ |
StubMediaBrowserServiceCompatWithDelayedMediaSession.java | 36 private MediaSessionCompat mSession; 42 mSession = new MediaSessionCompat( 60 setSessionToken(mSession.getSessionToken());
|
/frameworks/support/media-compat-test-service/tests/src/android/support/mediacompat/service/ |
StubMediaBrowserServiceCompatWithDelayedMediaSession.java | 38 private MediaSessionCompat mSession; 44 mSession = new MediaSessionCompat( 62 setSessionToken(mSession.getSessionToken());
|
/frameworks/support/v7/mediarouter/tests/src/android/support/v7/media/ |
MediaRouterTest.java | 46 private MediaSessionCompat mSession; 56 mSession = new MediaSessionCompat(mContext, SESSION_TAG); 63 mSession.release(); 76 mSession.setCallback(mSessionCallback); 77 mRouter.setMediaSessionCompat(mSession); 81 MediaControllerCompat controller = mSession.getController();
|
/packages/apps/Camera2/src/com/android/camera/processing/ |
ProcessingTask.java | 34 public final CaptureSession mSession; 42 mSession = session;
|
/frameworks/base/media/java/android/media/tv/ |
TvRecordingClient.java | 47 private TvInputManager.Session mSession; 120 if (mSession != null) { 121 mSession.tune(channelUri, params); 147 if (mSession != null) { 148 mSession.release(); 149 mSession = null; 176 if (mSession != null) { 177 mSession.startRecording(programUri); 198 if (mSession != null) { 199 mSession.stopRecording() [all...] |
TvView.java | 84 private Session mSession; 207 if (hasWindowFocus() && mSession != null) { 208 mSession.setMain(); 281 if (mSession == null) { 285 mSession.setStreamVolume(volume); 319 if (mSession != null) { 320 mSession.tune(channelUri, params); 363 if (mSession != null) { 367 mSession.release(); 368 mSession = null [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
InstallTask.java | 45 private PackageInstaller.Session mSession; 60 mSession = session; 75 sessionStream = mSession.openWrite(mPackageName, 0, -1); 80 mSession.fsync(sessionStream); 105 mSession.close(); 111 mSession.commit(mCommitCallback); 112 mSession.close();
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
AndroidCameraCaptureSessionProxy.java | 80 private final CameraCaptureSession mSession; 83 mSession = session; 89 mSession.abortCaptures(); 99 return mSession.capture(request, new AndroidCaptureCallback(listener), handler); 109 return mSession.captureBurst(requests, new AndroidCaptureCallback(listener), handler); 117 mSession.close(); 122 return new AndroidCameraDeviceProxy(mSession.getDevice()); 129 return mSession.setRepeatingBurst(requests, new AndroidCaptureCallback(listener), handler); 139 return mSession.setRepeatingRequest(request, new AndroidCaptureCallback(listener), 149 mSession.stopRepeating() [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipSession.java | 236 private final ISipSession mSession; 240 mSession = realSession; 262 return mSession.getLocalIp(); 276 return mSession.getLocalProfile(); 291 return mSession.getPeerProfile(); 306 return mSession.getState(); 320 return mSession.isInCall(); 334 return mSession.getCallId(); 365 mSession.register(duration); 382 mSession.unregister() [all...] |
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/ |
MediaSessionCompatTest.java | 91 private MediaSessionCompat mSession; 99 mSession = new MediaSessionCompat(getContext(), TEST_SESSION_TAG); 107 mSession.release(); 108 mSession = null; 118 assertNotNull(mSession.getSessionToken()); 119 assertFalse("New session should not be active", mSession.isActive()); 122 MediaControllerCompat controller = mSession.getController(); 140 mSession.setCallback(callback, new Handler(Looper.getMainLooper())); 142 getContext(), mSession.getMediaSession()); 143 assertEquals(session.getSessionToken(), mSession.getSessionToken()) [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
BaseIWindow.java | 33 private IWindowSession mSession; 37 mSession = session; 47 mSession.finishDrawing(this); 81 mSession.wallpaperOffsetsComplete(asBinder()); 91 mSession.reportDropResult(this, false); 113 mSession.wallpaperCommandComplete(asBinder(), null);
|
/frameworks/layoutlib/bridge/src/android/animation/ |
AnimationThread.java | 67 private final RenderSessionImpl mSession; 75 mSession = scene; 110 RenderSession session = mSession.getSession(); 140 result = mSession.acquire(250); 155 if (mSession.render(false /*freshRender*/).isSuccess()) { 159 mSession.release();
|
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/ |
MusicService.java | 43 private MediaSessionCompat mSession; 54 mSession = new MediaSessionCompat(this, "MusicService"); 56 mSession.setCallback(mCallback); 57 mSession.setFlags( 61 setSessionToken(mSession.getSessionToken()); 79 mSession.release(); 107 mSession.setQueue(mPlaylist); 114 mSession.setQueue(mPlaylist); 126 mSession.setMetadata(mPreparedMedia); 128 if (!mSession.isActive()) [all...] |
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
BasePackageInstallTest.java | 56 private PackageInstaller.Session mSession; 108 if (mSession != null) { 109 mSession.abandon(); 140 mSession = mPackageInstaller.openSession(sessionId); 144 OutputStream out = mSession.openWrite("SilentPackageInstallerTest", 0, file.length()); 150 mSession.fsync(out); 152 mSession.commit(getCommitCallback(sessionId)); 153 mSession.close();
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
LocalPrinter.java | 44 private final LocalDiscoverySession mSession; 53 mSession = session; 110 if (mSession.isDestroyed() || !mSession.isKnown(mPrinterId)) return; 114 mSession.removePrinters(Collections.singletonList(mPrinterId)); 117 mSession.handlePrinter(this); 133 mSession.isPriority(mPrinterId), this); 154 mSession.handlePrinter(this);
|