Searched refs:mSession (Results 1 – 3 of 3) sorted by relevance
/external/libese/apps/weaver/tests/ |
D | weaver_test.cpp | 32 EseWeaverSession mSession; member 46 ese_weaver_session_init(&mSession); in SetUp() 47 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_session_open(mEse.ese_interface(), &mSession)); in SetUp() 51 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_session_close(&mSession)); in TearDown() 58 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_get_num_slots(&mSession, &numSlots)); in TEST_F() 64 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK); in TEST_F() 68 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_read(&mSession, slotId, KEY, readValue, &timeout)); in TEST_F() 74 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK); in TEST_F() 79 ese_weaver_read(&mSession, slotId, WRONG_KEY, readValue, &timeout)); in TEST_F() 86 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK); in TEST_F() [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
D | MediaSessionFacade.java | 52 private final MediaSession mSession; field in MediaSessionFacade 64 mSession = new MediaSession(mService, "SL4A"); in MediaSessionFacade() 65 mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS); in MediaSessionFacade() 71 mSession.setActive(true); in MediaSessionFacade() 109 mSession.setCallback(mCallback); in mediaSessionAddCallback() 115 mSession.setPlaybackState(bob.build()); in mediaSessionAddCallback() 123 return mSession.isActive(); in mediaSessionIsActive() 183 mSession.setCallback(null); in shutdown() 184 mSession.release(); in shutdown()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | DataUsageController.java | 65 private INetworkStatsSession mSession; field in DataUsageController 83 if (mSession == null) { in getSession() 85 mSession = mStatsService.openSession(); in getSession() 92 return mSession; in getSession()
|