/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/ |
D | SdpManager.java | 175 boolean add(SdpSearchInstance inst){ in add() argument 176 return list.add(inst); in add() 179 boolean remove(SdpSearchInstance inst) { in remove() argument 180 return list.remove(inst); in remove() 193 for (SdpSearchInstance inst : list) { in getSearchInstance() 194 if (inst.getDevice().getAddress().equals(addressString) in getSearchInstance() 195 && inst.getUuid().equals(uuid)) { in getSearchInstance() 196 return inst; in getSearchInstance() 204 for (SdpSearchInstance inst : list) { in isSearching() 205 if (inst.getDevice().getAddress().equals(addressString) in isSearching() [all …]
|
/packages/apps/Music/tests/src/com/android/music/functional/ |
D | TestPlaylist.java | 63 Instrumentation inst = getInstrumentation(); in clearSearchString() local 65 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DEL); in clearSearchString() 71 Instrumentation inst = getInstrumentation(); in deletePlaylist() local 72 inst.sendStringSync(playlistname); in deletePlaylist() 74 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); in deletePlaylist() 75 inst.invokeContextMenuAction(getActivity(), MusicUtils.Defs.CHILD_MENU_BASE + 1, 0); in deletePlaylist() 85 Instrumentation inst = getInstrumentation(); in addNewPlaylist() local 87 ActivityMonitor trackBrowserMon = inst.addMonitor("com.android.music.TrackBrowserActivity", in addNewPlaylist() 95 inst.invokeContextMenuAction(trackBrowserActivity, MusicUtils.Defs.NEW_PLAYLIST, 0); in addNewPlaylist() 99 inst.sendStringSync(playListName); in addNewPlaylist() [all …]
|
D | TestSongs.java | 70 Instrumentation inst = getInstrumentation(); in addNewPlaylist() local 72 inst.invokeContextMenuAction(getActivity(), MusicUtils.Defs.NEW_PLAYLIST, 0); in addNewPlaylist() 76 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DEL); in addNewPlaylist() 77 inst.sendStringSync(MusicPlayerNames.unsortedPlaylistTitle[i]); in addNewPlaylist() 78 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); in addNewPlaylist() 79 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in addNewPlaylist() 81 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); in addNewPlaylist() 154 Instrumentation inst = getInstrumentation(); in testSetRingtone() local 155 inst.invokeContextMenuAction(getActivity(), MusicUtils.Defs.USE_AS_RINGTONE, 0); in testSetRingtone() 178 Instrumentation inst = getInstrumentation(); in testDeleteSong() local [all …]
|
/packages/apps/Music/tests/src/com/android/music/stress/ |
D | AlbumsPlaybackStress.java | 62 Instrumentation inst = getInstrumentation(); in testAlbumPlay() local 64 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_RIGHT); in testAlbumPlay() 65 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_RIGHT); in testAlbumPlay() 66 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testAlbumPlay() 67 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testAlbumPlay() 68 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testAlbumPlay() 70 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); in testAlbumPlay() 71 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); in testAlbumPlay() 73 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); in testAlbumPlay() 74 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testAlbumPlay() [all …]
|
D | MusicPlaybackStress.java | 58 Instrumentation inst = getInstrumentation(); in testPlayAllSongs() local 59 … ActivityMonitor mediaPlaybackMon = inst.addMonitor("com.android.music.MediaPlaybackActivity", in testPlayAllSongs() 61 inst.invokeMenuActionSync(getActivity(), MusicUtils.Defs.CHILD_MENU_BASE + 3, 0); in testPlayAllSongs() 68 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_RIGHT); in testPlayAllSongs() 69 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_UP); in testPlayAllSongs() 70 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testPlayAllSongs() 73 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); in testPlayAllSongs() 75 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testPlayAllSongs()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
D | TempStorage.java | 33 private static TempStorage inst = null; field in TempStorage 40 if (inst != null) { 41 inst = (TempStorage) Class.forName(clazz).newInstance(); 49 if (inst == null) { 50 inst = new SimpleTempStorage(); 63 return inst; in getInstance() 66 public static void setInstance(TempStorage inst) { in setInstance() argument 67 if (inst == null) { in setInstance() 70 TempStorage.inst = inst; in setInstance()
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
D | VideoCapture.java | 69 public void captureVideos(String reportTag, Instrumentation inst) throws Exception{ in captureVideos() argument 78 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureVideos() 80 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureVideos() 86 Instrumentation inst = getInstrumentation(); in testBackVideoCapture() local 93 Activity act = inst.startActivitySync(intent); in testBackVideoCapture() 95 captureVideos("Back Camera Video Capture\n", inst); in testBackVideoCapture() 100 Instrumentation inst = getInstrumentation(); in testFrontVideoCapture() local 107 Activity act = inst.startActivitySync(intent); in testFrontVideoCapture() 109 captureVideos("Front Camera Video Capture\n", inst); in testFrontVideoCapture()
|
D | ImageCapture.java | 68 public void captureImages(String reportTag, Instrumentation inst) { in captureImages() argument 81 inst.sendKeySync(focusEvent); in captureImages() 82 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureImages() 93 Instrumentation inst = getInstrumentation(); in testBackImageCapture() local 100 Activity act = inst.startActivitySync(intent); in testBackImageCapture() 102 captureImages("Back Camera Image Capture\n", inst); in testBackImageCapture() 107 Instrumentation inst = getInstrumentation(); in testFrontImageCapture() local 114 Activity act = inst.startActivitySync(intent); in testFrontImageCapture() 116 captureImages("Front Camera Image Capture\n", inst); in testFrontImageCapture()
|
D | CameraStartUp.java | 52 Instrumentation inst = getInstrumentation(); in launchCamera() local 53 Activity cameraActivity = inst.startActivitySync(intent); in launchCamera() 75 Instrumentation inst = getInstrumentation(); in launchVideo() local 76 Activity recorderActivity = inst.startActivitySync(intent); in launchVideo()
|
D | CameraLatency.java | 74 Instrumentation inst = getInstrumentation(); in testImageCapture() local 75 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); in testImageCapture() 79 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testImageCapture()
|
/packages/apps/Camera2/tests_camera/src/com/android/camera/stress/ |
D | VideoCapture.java | 70 public void captureVideos(String reportTag, Instrumentation inst) throws Exception{ in captureVideos() argument 79 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureVideos() 81 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureVideos() 88 Instrumentation inst = getInstrumentation(); in testBackVideoCapture() local 95 Activity act = inst.startActivitySync(intent); in testBackVideoCapture() 97 captureVideos("Back Camera Video Capture\n", inst); in testBackVideoCapture() 103 Instrumentation inst = getInstrumentation(); in testFrontVideoCapture() local 110 Activity act = inst.startActivitySync(intent); in testFrontVideoCapture() 112 captureVideos("Front Camera Video Capture\n", inst); in testFrontVideoCapture()
|
D | ImageCapture.java | 68 public void captureImages(String reportTag, Instrumentation inst) { in captureImages() argument 81 inst.sendKeySync(focusEvent); in captureImages() 82 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureImages() 94 Instrumentation inst = getInstrumentation(); in testBackImageCapture() local 101 Activity act = inst.startActivitySync(intent); in testBackImageCapture() 103 captureImages("Back Camera Image Capture\n", inst); in testBackImageCapture() 109 Instrumentation inst = getInstrumentation(); in testFrontImageCapture() local 116 Activity act = inst.startActivitySync(intent); in testFrontImageCapture() 118 captureImages("Front Camera Image Capture\n", inst); in testFrontImageCapture()
|
D | CameraStartUp.java | 52 Instrumentation inst = getInstrumentation(); in launchCamera() local 53 Activity cameraActivity = inst.startActivitySync(intent); in launchCamera() 75 Instrumentation inst = getInstrumentation(); in launchVideo() local 76 Activity recorderActivity = inst.startActivitySync(intent); in launchVideo()
|
D | CameraLatency.java | 72 Instrumentation inst = getInstrumentation(); in testImageCapture() local 73 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); in testImageCapture() 77 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testImageCapture()
|
D | ShotToShotLatency.java | 95 Instrumentation inst = getInstrumentation(); in testShotToShotLatency() local 99 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testShotToShotLatency()
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
D | VideoCapture.java | 72 public void captureVideos(String reportTag, Instrumentation inst) throws Exception{ in captureVideos() argument 81 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureVideos() 83 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureVideos() 90 Instrumentation inst = getInstrumentation(); in testBackVideoCapture() local 97 Activity act = inst.startActivitySync(intent); in testBackVideoCapture() 99 captureVideos("Back Camera Video Capture\n", inst); in testBackVideoCapture() 105 Instrumentation inst = getInstrumentation(); in testFrontVideoCapture() local 112 Activity act = inst.startActivitySync(intent); in testFrontVideoCapture() 114 captureVideos("Front Camera Video Capture\n", inst); in testFrontVideoCapture()
|
D | ImageCapture.java | 70 public void captureImages(String reportTag, Instrumentation inst) { in captureImages() argument 83 inst.sendKeySync(focusEvent); in captureImages() 84 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureImages() 96 Instrumentation inst = getInstrumentation(); in testBackImageCapture() local 103 Activity act = inst.startActivitySync(intent); in testBackImageCapture() 105 captureImages("Back Camera Image Capture\n", inst); in testBackImageCapture() 111 Instrumentation inst = getInstrumentation(); in testFrontImageCapture() local 118 Activity act = inst.startActivitySync(intent); in testFrontImageCapture() 120 captureImages("Front Camera Image Capture\n", inst); in testFrontImageCapture()
|
D | CameraStartUp.java | 53 Instrumentation inst = getInstrumentation(); in launchCamera() local 54 Activity cameraActivity = inst.startActivitySync(intent); in launchCamera() 75 Instrumentation inst = getInstrumentation(); in launchVideo() local 76 Activity recorderActivity = inst.startActivitySync(intent); in launchVideo()
|
D | CameraLatency.java | 72 Instrumentation inst = getInstrumentation(); in testImageCapture() local 73 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); in testImageCapture() 77 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testImageCapture()
|
/packages/apps/Camera2/tests_camera/src/com/android/camera/power/ |
D | ImageAndVideoCapture.java | 77 Instrumentation inst = getInstrumentation(); in testCapture5Image() local 81 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_UP); in testCapture5Image() 82 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testCapture5Image() 95 Instrumentation inst = getInstrumentation(); in testCapture5Videos() local 105 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testCapture5Videos() 107 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testCapture5Videos()
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/power/ |
D | ImageAndVideoCapture.java | 77 Instrumentation inst = getInstrumentation(); in testCapture5Image() local 81 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_UP); in testCapture5Image() 82 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testCapture5Image() 95 Instrumentation inst = getInstrumentation(); in testCapture5Videos() local 105 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testCapture5Videos() 107 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testCapture5Videos()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | BluetoothPbapObexSession.java | 222 ObexClientHandler(Looper looper, BluetoothPbapObexSession inst) { in ObexClientHandler() argument 224 mInst = new WeakReference<BluetoothPbapObexSession>(inst); in ObexClientHandler() 229 BluetoothPbapObexSession inst = mInst.get(); in handleMessage() local 230 if (inst == null) { in handleMessage() 235 if (inst.isConnected() != CONNECTED && msg.what != MSG_CONNECT) { in handleMessage() 242 inst.connect(); in handleMessage() 245 inst.executeRequest((BluetoothPbapRequest) msg.obj); in handleMessage()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/mbs/ |
D | A2dpMediaBrowserService.java | 88 A2dpMediaBrowserService inst = mInst.get(); in handleMessage() local 89 if (inst == null) { in handleMessage() 96 inst.msgDeviceConnect((BluetoothDevice) msg.obj); in handleMessage() 99 inst.msgProfileConnect((BluetoothProfile) msg.obj); in handleMessage() 102 inst.msgDeviceDisconnect((BluetoothDevice) msg.obj); in handleMessage() 105 inst.msgProfileDisconnect(); in handleMessage() 110 inst.msgTrack(pair.first, pair.second); in handleMessage() 113 inst.msgPassThru((int) msg.obj); in handleMessage()
|
/packages/apps/Camera2/tests_camera/src/com/android/camera/activity/ |
D | CameraTestCase.java | 179 Instrumentation inst = getInstrumentation(); in internalTestFailToConnect() local 180 inst.waitForIdleSync(); in internalTestFailToConnect() 181 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); // close dialog in internalTestFailToConnect() 188 Instrumentation inst = getInstrumentation(); in performClick() local 189 inst.runOnMainSync(new Runnable() { in performClick() 204 inst.waitForIdleSync(); in performClick()
|
/packages/apps/Music/tests/src/com/android/music/ |
D | MusicPlayerStability.java | 61 Instrumentation inst = getInstrumentation(); in testPlay30sMP3() local 64 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); in testPlay30sMP3() 69 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testPlay30sMP3()
|