HomeSort by relevance Sort by last modified time
    Searched refs:mMediaScannerConnection (Results 1 - 2 of 2) sorted by null

  /cts/tests/tests/media/src/android/media/cts/
MediaScannerConnectionTest.java 41 private MockMediaScannerConnection mMediaScannerConnection;
64 if (mMediaScannerConnection != null) {
65 mMediaScannerConnection.disconnect();
66 mMediaScannerConnection = null;
72 mMediaScannerConnection = new MockMediaScannerConnection(getContext(),
75 assertFalse(mMediaScannerConnection.isConnected());
78 mMediaScannerConnection.connect();
81 assertTrue(mMediaScannerConnection.mIsOnServiceConnectedCalled);
82 mMediaScannerConnection.disconnect();
87 assertFalse(mMediaScannerConnection.mIsOnServiceDisconnectedCalled)
    [all...]
MediaScannerTest.java 51 private MockMediaScannerConnection mMediaScannerConnection;
94 if (mMediaScannerConnection != null) {
95 mMediaScannerConnection.disconnect();
96 mMediaScannerConnection = null;
105 mMediaScannerConnection = new MockMediaScannerConnection(getContext(),
108 assertFalse(mMediaScannerConnection.isConnected());
111 mMediaScannerConnection.connect();
115 mMediaScannerConnection.scanFile(mMediaFile.getAbsolutePath(), MEDIA_TYPE);
218 mMediaScannerConnection.disconnect();
225 mMediaScannerConnection = new MockMediaScannerConnection(getContext()
    [all...]

Completed in 430 milliseconds