/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsStateTest.java | 68 mState.getSource(TYPE_TOP_BAR).setFrame(new Rect(0, 0, 100, 100)); in testCalculateInsets() 69 mState.getSource(TYPE_TOP_BAR).setVisible(true); in testCalculateInsets() 70 mState.getSource(TYPE_IME).setFrame(new Rect(0, 200, 100, 300)); in testCalculateInsets() 71 mState.getSource(TYPE_IME).setVisible(true); in testCalculateInsets() 88 mState.getSource(TYPE_NAVIGATION_BAR).setFrame(new Rect(0, 200, 100, 300)); in testCalculateInsets_imeAndNav() 89 mState.getSource(TYPE_NAVIGATION_BAR).setVisible(true); in testCalculateInsets_imeAndNav() 90 mState.getSource(TYPE_IME).setFrame(new Rect(0, 100, 100, 300)); in testCalculateInsets_imeAndNav() 91 mState.getSource(TYPE_IME).setVisible(true); in testCalculateInsets_imeAndNav() 107 mState.getSource(TYPE_TOP_BAR).setFrame(new Rect(0, 0, 100, 100)); in testCalculateInsets_navRightStatusTop() 108 mState.getSource(TYPE_TOP_BAR).setVisible(true); in testCalculateInsets_navRightStatusTop() [all …]
|
D | KeyEventTest.java | 58 assertEquals(SOURCE, keyEvent.getSource()); in testObtain() 77 assertEquals(keyEvent.getSource(), keyEvent2.getSource()); in testObtainFromKeyEvent() 96 assertEquals(SOURCE, keyEvent.getSource()); in testObtainWithDisplayId()
|
D | InsetsAnimationControlImplTest.java | 103 mInsetsState.getSource(TYPE_TOP_BAR).setFrame(new Rect(0, 0, 500, 100)); in setup() 104 mInsetsState.getSource(TYPE_NAVIGATION_BAR).setFrame(new Rect(400, 0, 500, 500)); in setup() 154 assertFalse(mInsetsState.getSource(TYPE_TOP_BAR).isVisible()); in testFinishing() 155 assertTrue(mInsetsState.getSource(TYPE_NAVIGATION_BAR).isVisible()); in testFinishing()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | InsetsSourceProviderTest.java | 61 assertEquals(new Rect(0, 0, 500, 100), mProvider.getSource().getFrame()); in testPostLayout() 63 mProvider.getSource().calculateInsets(new Rect(0, 0, 500, 500), in testPostLayout() 73 assertEquals(Insets.NONE, mProvider.getSource().calculateInsets(new Rect(0, 0, 500, 500), in testPostLayout_invisible() 86 assertEquals(new Rect(10, 10, 20, 20), mProvider.getSource().getFrame()); in testPostLayout_frameProvider() 109 state.getSource(TYPE_TOP_BAR).setVisible(false); in testInsetsModified() 110 mProvider.onInsetsModified(target, state.getSource(TYPE_TOP_BAR)); in testInsetsModified() 121 state.getSource(TYPE_TOP_BAR).setVisible(false); in testInsetsModified_noControl() 122 mProvider.onInsetsModified(target, state.getSource(TYPE_TOP_BAR)); in testInsetsModified_noControl()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | StreamingSource.cpp | 194 sp<AnotherPacketSource> audioTrack = getSource(true /*audio*/); in haveSufficientDataOnAllTracks() 195 sp<AnotherPacketSource> videoTrack = getSource(false /*audio*/); in haveSufficientDataOnAllTracks() 225 sp<AnotherPacketSource> NuPlayer::StreamingSource::getSource(bool audio) { in getSource() function in android::NuPlayer::StreamingSource 230 sp<MediaSource> source = mTSParser->getSource( in getSource() 237 sp<AnotherPacketSource> source = getSource(audio); in getFormat() 259 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit()
|
D | RTSPSource.cpp | 159 sp<AnotherPacketSource> source = getSource(audio); in getFormatMeta() 210 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit() 256 sp<AnotherPacketSource> NuPlayer::RTSPSource::getSource(bool audio) { in getSource() function in android::NuPlayer::RTSPSource 258 sp<MediaSource> source = mTSParser->getSource( in getSource() 422 sp<AnotherPacketSource> source = getSource(audio); in signalSourceEOS() 427 source = getSource(video); in signalSourceEOS() 434 sp<AnotherPacketSource> source = getSource(audio); in sourceReachedEOS() 442 sp<AnotherPacketSource> source = getSource(audio); in sourceNearEOS() 554 sp<AnotherPacketSource> source = getSource(true /* audio */); in onMessageReceived() 560 source = getSource(false /* video */); in onMessageReceived()
|
/frameworks/compile/libbcc/include/bcc/ |
D | Script.h | 67 return getSource().getCompilerVersion(); in getCompilerVersion() 114 inline Source &getSource() { return *mSource; } in getSource() function 115 inline const Source &getSource() const { return *mSource; } in getSource() function
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 139 inputSource = getSource(inputSource, InputDevice.SOURCE_KEYBOARD); in run() 170 if (source != e.getSource()) { in sendText() 216 inputSource = getSource(inputSource, InputDevice.SOURCE_TOUCHSCREEN); in run() 232 inputSource = getSource(inputSource, InputDevice.SOURCE_TRACKBALL); in run() 240 inputSource = getSource(inputSource, InputDevice.SOURCE_TOUCHSCREEN); in run() 284 inputSource = getSource(inputSource, InputDevice.SOURCE_TOUCHSCREEN); in run() 292 inputSource = getSource(inputSource, InputDevice.SOURCE_TRACKBALL); in run() 314 inputSource = getSource(inputSource, InputDevice.SOURCE_TOUCHSCREEN); in run() 405 private static final int getSource(int inputSource, int defaultSource) { in getSource() method in Input
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | DeviceDiscoveryAction.java | 326 if (current.mLogicalAddress != cmd.getSource()) { in handleReportPhysicalAddress() 328 cmd.getSource()); in handleReportPhysicalAddress() 356 if (current.mLogicalAddress != cmd.getSource()) { 358 cmd.getSource()); 383 if (current.mLogicalAddress != cmd.getSource()) { 385 cmd.getSource()); 403 if (current.mLogicalAddress != cmd.getSource()) { 405 + cmd.getSource());
|
D | OneTouchRecordAction.java | 80 if (mState != STATE_WAITING_FOR_RECORD_STATUS || mRecorderAddress != cmd.getSource()) { in processCommand() 93 if (cmd.getSource() != mRecorderAddress) { in handleRecordStatus() 99 Slog.i(TAG, "Got record status:" + recordStatus + " from " + cmd.getSource()); in handleRecordStatus()
|
D | HdmiCecLocalDeviceSource.java | 119 int logicalAddress = message.getSource(); in handleActiveSource() 137 maySendActiveSource(message.getSource()); in handleRequestActiveSource() 218 physicalAddress, getDeviceInfo().getDeviceType(), message.getSource()); in setAndBroadcastActiveSource()
|
D | DelayedMessageBuffer.java | 111 if (message.getSource() != address) { in processMessagesForDevice() 141 && message.getSource() == address) { in processActiveSource()
|
D | HdmiCecLocalDeviceTv.java | 453 int logicalAddress = message.getSource(); in handleActiveSource() 480 if (getActiveSource().logicalAddress != message.getSource()) { in handleInactiveSource() 490 HdmiDeviceInfo inactiveSource = getCecDeviceInfo(message.getSource()); in handleInactiveSource() 550 int address = message.getSource(); in handleReportPhysicalAddress() 577 updateDevicePowerStatus(command.getSource(), newStatus); in handleReportPowerStatus() 719 int source = message.getSource(); in handleSetOsdName() 1070 if (!canStartArcUpdateAction(message.getSource(), true)) { in handleInitiateArc() 1088 message.getSource(), true); in handleInitiateArc() 1123 message.getSource(), false); in handleTerminateArc() 1150 message.getSource(), systemAudioStatus, null); in handleSetSystemAudioMode() [all …]
|
D | HdmiCecLocalDeviceAudioSystem.java | 407 int address = message.getSource(); in handleReportPhysicalAddress() 438 updateDevicePowerStatus(command.getSource(), newStatus); in handleReportPowerStatus() 445 int source = message.getSource(); in handleSetOsdName() 506 reportAudioStatus(message.getSource()); in handleGiveAudioStatus() 523 && message.getSource() == Constants.ADDR_TV in handleGiveSystemAudioModeStatus() 529 mAddress, message.getSource(), isSystemAudioModeOnOrTurningOn)); in handleGiveSystemAudioModeStatus() 611 mAddress, message.getSource(), sadBytes)); in handleRequestShortAudioDescriptor() 761 if (message.getSource() != Constants.ADDR_TV) { in handleSystemAudioModeRequest() 1208 message.getSource(), mService.getPhysicalAddress()); in handleRoutingChangeAndInformationForSwitch()
|
D | HdmiCecMessage.java | 54 return this.mSource == that.getSource() && in equals() 77 public int getSource() { in getSource() method in HdmiCecMessage
|
D | HdmiCecLocalDevice.java | 388 message.getDestination(), message.getSource(), version); in handleGetCecVersion() 431 mAddress, message.getSource(), mDeviceInfo.getDisplayName()); in handleGiveOsdName() 624 mAddress, message.getSource(), mService.getPowerStatus())); in handleGiveDevicePowerStatus() 632 mAddress, message.getSource(), Constants.MENU_STATE_ACTIVATED)); in handleMenuRequest() 643 message.getSource(), in handleVendorCommand() 659 mDeviceType, message.getSource(), message.getDestination(), params, true)) { in handleVendorCommandWithId() 663 && message.getSource() != Constants.ADDR_UNREGISTERED) { in handleVendorCommandWithId()
|
/frameworks/compile/libbcc/lib/ |
D | Compiler.cpp | 283 transformPasses.run(script.getSource().getModule()); in runPasses() 296 codeGenPasses.run(script.getSource().getModule()); in runPasses() 304 llvm::Module &module = script.getSource().getModule(); in compile() 371 llvm::Module &module = script.getSource().getModule(); in addInternalizeSymbolsPass() 466 if (script.getSource().getDebugInfoEnabled()) in addDebugInfoPass() 490 llvm::Module &module = script.getSource().getModule(); in screenGlobalFunctions() 518 pPM.run(script.getSource().getModule()); in translateGEPs()
|
/frameworks/base/core/java/android/view/ |
D | InputEvent.java | 76 public abstract int getSource(); in getSource() method in InputEvent 95 return (getSource() & source) == source; in isFromSource()
|
D | InputEventConsistencyVerifier.java | 183 } else if ((motionEvent.getSource() & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) { in onInputEvent() 210 final int source = event.getSource(); in onKeyEvent() 271 final int source = event.getSource(); in onTrackballEvent() 347 final int source = event.getSource(); in onTouchEvent() 476 final int source = event.getSource(); in onGenericMotionEvent() 599 final int source = keyEvent.getSource(); in onUnhandledEvent() 609 } else if ((motionEvent.getSource() & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) { in onUnhandledEvent()
|
D | InsetsSourceConsumer.java | 120 if (mState.getSource(mType).isVisible() == mVisible) { in applyLocalVisibilityOverride() 123 mState.getSource(mType).setVisible(mVisible); in applyLocalVisibilityOverride()
|
D | InsetsAnimationControlImpl.java | 183 state.getSource(consumer.getType()).setVisible(visible); in finish() 208 state.getSource(consumers.valueAt(i).getType()).setVisible(shown); in calculateInsets() 232 final InsetsSource source = mInitialInsetsState.getSource(consumer.getType()); in updateLeashesForSide() 240 state.getSource(source.getType()).setFrame(mTmpFrame); in updateLeashesForSide()
|
/frameworks/base/location/java/android/location/ |
D | Country.java | 128 public final int getSource() { in getSource() method in Country 173 return mCountryIso.equals(c.getCountryIso()) && mSource == c.getSource(); in equals()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | InsetsStateController.java | 79 final int type = provider.getSource().getType(); in getInsetsForDispatch() 108 key -> new InsetsSourceProvider(mState.getSource(key), this, mDisplayContent)); in getSourceProvider() 163 removeFromControlMaps(previousControllingWin, provider.getSource().getType()); in notifyControlRevoked()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableLooper.java | 288 throw e.getSource(); in invokeExplosively() 293 throw ((LooperException) re.getCause()).getSource(); in invokeExplosively() 334 public Throwable getSource() { in getSource() method in TestableLooper.LooperFrameworkMethod.LooperException
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ComprehensiveCountryDetector.java | 320 "(source: " + detectedCountry.getSource() in runAfterDetection() 328 || detectedCountry.getSource() > Country.COUNTRY_SOURCE_LOCATION) in runAfterDetection() 339 || detectedCountry.getSource() >= Country.COUNTRY_SOURCE_LOCATION) { in runAfterDetection()
|