/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/ |
D | MediaPlayerWrapperTest.java | 141 MediaPlayerWrapper wrapper = MediaPlayerWrapperFactory.wrap(null, mThread.getLooper()); in testNullControllerLooper() local 142 Assert.assertNull(wrapper); in testNullControllerLooper() 144 wrapper = MediaPlayerWrapperFactory.wrap(mMockController, null); in testNullControllerLooper() 145 Assert.assertNull(wrapper); in testNullControllerLooper() 154 MediaPlayerWrapper wrapper = in testIsReady() local 156 Assert.assertTrue(wrapper.isPlaybackStateReady()); in testIsReady() 157 Assert.assertTrue(wrapper.isMetadataReady()); in testIsReady() 161 Assert.assertFalse(wrapper.isPlaybackStateReady()); in testIsReady() 165 Assert.assertTrue(wrapper.isPlaybackStateReady()); in testIsReady() 169 Assert.assertFalse(wrapper.isMetadataReady()); in testIsReady() [all …]
|
D | BrowserPlayerWrapperTest.java | 71 BrowsedPlayerWrapper wrapper = in testWrap() local 73 wrapper.connect(mConnCb); in testWrap() 80 verify(mConnCb).run(eq(BrowsedPlayerWrapper.STATUS_SUCCESS), eq(wrapper)); in testWrap() 86 BrowsedPlayerWrapper wrapper = in testConnect_Successful() local 88 wrapper.connect(mConnCb); in testConnect_Successful() 94 verify(mConnCb).run(eq(BrowsedPlayerWrapper.STATUS_SUCCESS), eq(wrapper)); in testConnect_Successful() 100 BrowsedPlayerWrapper wrapper = in testConnect_Suspended() local 102 wrapper.connect(mConnCb); in testConnect_Suspended() 108 verify(mConnCb).run(eq(BrowsedPlayerWrapper.STATUS_CONN_ERROR), eq(wrapper)); in testConnect_Suspended() 117 BrowsedPlayerWrapper wrapper = in testConnect_Failed() local [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | BrowsablePlayerConnector.java | 93 player.connect((int status, BrowsedPlayerWrapper wrapper) -> { in connectToPlayers() argument 102 msg.obj = wrapper; in connectToPlayers() 120 BrowsedPlayerWrapper wrapper = (BrowsedPlayerWrapper) msg.obj; in BrowsablePlayerConnector() 123 if (!mPendingPlayers.remove(wrapper)) { in BrowsablePlayerConnector() 128 + wrapper.getPackageName()); in BrowsablePlayerConnector() 129 mResults.add(wrapper); in BrowsablePlayerConnector() 133 BrowsedPlayerWrapper wrapper = (BrowsedPlayerWrapper) msg.obj; in BrowsablePlayerConnector() 136 Log.i(TAG, wrapper.getPackageName() + " is not browsable"); in BrowsablePlayerConnector() 137 mPendingPlayers.remove(wrapper); in BrowsablePlayerConnector() 143 Log.i(TAG, "Checking root contents for " + wrapper.getPackageName()); in BrowsablePlayerConnector() [all …]
|
D | MediaPlayerList.java | 174 for (BrowsedPlayerWrapper wrapper : players) { in init() 176 if (!havePlayerId(wrapper.getPackageName())) { in init() 177 mMediaPlayerIds.put(wrapper.getPackageName(), getFreeMediaPlayerId()); in init() 180 d("Adding Browser Wrapper for " + wrapper.getPackageName() + " with id " in init() 181 + mMediaPlayerIds.get(wrapper.getPackageName())); in init() 183 mBrowsablePlayers.put(mMediaPlayerIds.get(wrapper.getPackageName()), wrapper); in init() 185 wrapper.getFolderItems(wrapper.getRootId(), in init() 413 BrowsedPlayerWrapper wrapper = mBrowsablePlayers.get(playerIndex); in getFolderItems() local 416 + wrapper.getPackageName()); in getFolderItems() 417 itemId = wrapper.getRootId(); in getFolderItems() [all …]
|
D | BrowsedPlayerWrapper.java | 51 void run(int status, BrowsedPlayerWrapper wrapper); in run() argument 121 BrowsedPlayerWrapper wrapper = in wrap() local 123 return wrapper; in wrap() 142 return setCallbackAndConnect((int status, BrowsedPlayerWrapper wrapper) -> { in connect() 143 cb.run(status, wrapper); in connect() 209 return setCallbackAndConnect((int status, BrowsedPlayerWrapper wrapper) -> { in playItem() 212 wrapper.mWrappedBrowser.getSessionToken()); in playItem() 253 return setCallbackAndConnect((int status, BrowsedPlayerWrapper wrapper) -> {
|
/packages/modules/ArtPrebuilt/iorap/test/src/IorapTestApp/gradle/wrapper/ |
D | gradle-wrapper.jar | ... org/
org/gradle/
org/gradle/wrapper/
org/gradle/wrapper/BootstrapMainStarter.class ... |
/packages/apps/Car/tests/gradle/wrapper/ |
D | gradle-wrapper.jar | ... org/
org/gradle/
org/gradle/wrapper/
org/gradle/wrapper/BootstrapMainStarter.class ... |
/packages/inputmethods/LatinIME/gradle/wrapper/ |
D | gradle-wrapper.jar | ... gradle.wrapper.PathAssembler)
org.gradle.wrapper.Logger logger
org.gradle.wrapper.IDownload ... |
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
D | CameraManagerTest.java | 105 CameraWrapper wrapper = MockCameraFactory.createCameraWrapper(frontCamera, backCamera); in testOpenCamera() local 106 CameraManager.setCameraWrapper(wrapper); in testOpenCamera() 112 Mockito.verify(wrapper, Mockito.never()).open(0); in testOpenCamera() 113 Mockito.verify(wrapper).open(1); in testOpenCamera() 114 Mockito.verify(wrapper, Mockito.never()).release(frontCamera); in testOpenCamera() 115 Mockito.verify(wrapper, Mockito.never()).release(backCamera); in testOpenCamera() 118 Mockito.verify(wrapper).open(0); in testOpenCamera() 119 Mockito.verify(wrapper).open(1); in testOpenCamera() 120 Mockito.verify(wrapper, Mockito.never()).release(frontCamera); in testOpenCamera() 121 Mockito.verify(wrapper).release(backCamera); in testOpenCamera() [all …]
|
D | MockCameraFactory.java | 49 CameraWrapper wrapper = Mockito.mock(CameraWrapper.class); in createCameraWrapper() local 50 Mockito.when(wrapper.getNumberOfCameras()).thenReturn(cameras.length); in createCameraWrapper() 51 Mockito.when(wrapper.open(Mockito.anyInt())).then(new Answer<Camera>() { in createCameraWrapper() 66 }).when(wrapper).getCameraInfo(Mockito.anyInt(), Mockito.any(CameraInfo.class)); in createCameraWrapper() 67 return wrapper; in createCameraWrapper()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 354 AppBlockingPackageInfoWrapper wrapper = policy.blacklistsMap.get(packageName); in searchFromBlacklistsLocked() local 355 if (wrapper != null && wrapper.isMatching) { in searchFromBlacklistsLocked() 356 return wrapper.info; in searchFromBlacklistsLocked() 365 AppBlockingPackageInfoWrapper wrapper = policy.whitelistsMap.get(packageName); in searchFromWhitelistsLocked() local 366 if (wrapper != null && wrapper.isMatching) { in searchFromWhitelistsLocked() 367 return wrapper.info; in searchFromWhitelistsLocked() 370 AppBlockingPackageInfoWrapper wrapper = mActivityWhitelistMap.get(packageName); in searchFromWhitelistsLocked() local 371 return (wrapper != null) ? wrapper.info : null; in searchFromWhitelistsLocked() 386 AppBlockingPackageInfoWrapper wrapper = map.get(packageName); in isActivityInMapAndMatching() local 387 if (wrapper == null || !wrapper.isMatching) { in isActivityInMapAndMatching() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | BroadcastReceiverHelpers.java | 36 ShadowApplication.Wrapper wrapper = getRegisteredReceiverWrapperWithActions(actions); in getRegisteredReceiverWithActions() local 37 return wrapper == null ? null : wrapper.broadcastReceiver; in getRegisteredReceiverWithActions() 48 for (ShadowApplication.Wrapper wrapper : registeredReceivers) { in getRegisteredReceiverWrapperWithActions() 49 if (matchesActions(wrapper.getIntentFilter(), actions)) { in getRegisteredReceiverWrapperWithActions() 51 returnWrapper = wrapper; in getRegisteredReceiverWrapperWithActions()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowLocalBroadcastManager.java | 60 Wrapper wrapper = iterator.next(); in unregisterReceiver() local 61 if (wrapper.getBroadcastReceiver() == receiver) { in unregisterReceiver() 72 for (Wrapper wrapper : copy) { in sendBroadcast() 73 if (wrapper.getIntentFilter().matchAction(intent.getAction())) { in sendBroadcast() 74 int match = wrapper.getIntentFilter().matchData(intent.getType(), in sendBroadcast() 78 final BroadcastReceiver receiver = wrapper.getBroadcastReceiver(); in sendBroadcast()
|
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/ |
D | MediaSourcesLiveDataTest.java | 125 .filter(wrapper -> wrapper.intentFilter.hasAction(Intent.ACTION_PACKAGE_ADDED)) in testGetAppsOnPackageAdded() 126 .map(wrapper -> wrapper.broadcastReceiver) in testGetAppsOnPackageAdded() 148 .filter(wrapper -> wrapper.intentFilter.hasAction(Intent.ACTION_PACKAGE_REMOVED)) in testGetAppsOnPackageRemoved() 149 .map(wrapper -> wrapper.broadcastReceiver) in testGetAppsOnPackageRemoved()
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | InputTaskScheduler.java | 207 HandlerWrapper wrapper = mPendingRecordings.get(schedule.getId()); in handleRemoveSchedule() local 208 if (wrapper != null) { in handleRemoveSchedule() 209 wrapper.mTask.cancel(); in handleRemoveSchedule() 226 HandlerWrapper wrapper = mPendingRecordings.get(schedule.getId()); in handleUpdateSchedule() local 227 if (wrapper != null) { in handleUpdateSchedule() 229 && schedule.getStartTimeMs() > wrapper.mTask.getStartTimeMs()) { in handleUpdateSchedule() 233 wrapper.mTask.cancel(); in handleUpdateSchedule() 237 wrapper.sendMessage(wrapper.obtainMessage(RecordingTask.MSG_UDPATE_SCHEDULE, schedule)); in handleUpdateSchedule()
|
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/ |
D | LiveDataAdapter.java | 54 SensorDataWrapper wrapper = mLiveData.get(position); in onBindViewHolder() local 55 holder.setFields(wrapper.mName, "", "" + wrapper.mNumber + " " + wrapper.mUnit, false); in onBindViewHolder()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/ |
D | AudioControlFactoryUnitTest.java | 58 AudioControlWrapper wrapper = AudioControlFactory.newAudioControl(); in newAudioControl_forAudioControlWrapperV2_returnsInstance() local 59 assertThat(wrapper).isNotNull(); in newAudioControl_forAudioControlWrapperV2_returnsInstance() 67 AudioControlWrapper wrapper = AudioControlFactory.newAudioControl(); in newAudioControl_forAudioControlWrapperV1_returnsInstance() local 68 assertThat(wrapper).isNotNull(); in newAudioControl_forAudioControlWrapperV1_returnsInstance()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | SubscriptionsChangeListenerTest.java | 93 for (ShadowApplication.Wrapper wrapper : in start_registersReceiver() 95 if (wrapper.getIntentFilter().matchAction( in start_registersReceiver() 117 for (ShadowApplication.Wrapper wrapper : in stop_unregistersReceiver() 119 if (wrapper.getIntentFilter().matchAction( in stop_unregistersReceiver()
|
D | MobileNetworkUpdateManagerTest.java | 76 for (ShadowApplication.Wrapper wrapper : in onStart_receiverRegistered() 78 if (wrapper.getIntentFilter().matchAction( in onStart_receiverRegistered() 97 for (ShadowApplication.Wrapper wrapper : in onStop_receiverUnregistered() 99 if (wrapper.getIntentFilter().matchAction( in onStop_receiverUnregistered()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | JobLimiter.java | 146 JobWrapper wrapper = mJobs.removeFirst(); in submitTasksIfAllowed() local 147 if (!wrapper.isCancelled()) { in submitTasksIfAllowed() 149 wrapper.setFuture(mPool.submit(wrapper, this)); in submitTasksIfAllowed()
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | ClockDrawableWrapper.java | 105 ClockDrawableWrapper wrapper = in forPackage() local 107 wrapper.mTargetSdkVersion = appInfo.targetSdkVersion; in forPackage() 108 AnimationInfo info = wrapper.mAnimationInfo; in forPackage() 120 LayerDrawable foreground = (LayerDrawable) wrapper.getForeground(); in forPackage() 134 return wrapper; in forPackage()
|
/packages/modules/ArtPrebuilt/iorap/test/src/IorapTestApp/ |
D | gradlew | 67 CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 165 ….gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain…
|
/packages/apps/Car/libs/car-ui-lib/ |
D | gradlew | 67 CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 165 ….gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain…
|
/packages/apps/Car/tests/ |
D | gradlew | 67 CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 165 ….gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain…
|
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/ |
D | gradlew | 67 CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 165 ….gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain…
|