Home
last modified time | relevance | path

Searched refs:getInfo (Results 1 – 25 of 113) sorted by relevance

12345

/frameworks/native/services/inputflinger/tests/
DInputTracingTest.cpp132 request.displayId = window->getInfo()->displayId.val(); in setFocusedWindow()
187 mDispatcher->onWindowInfosChanged({{*window->getInfo()}, {}, 0, 0}); in TEST_F()
202 mDispatcher->onWindowInfosChanged({{*window->getInfo()}, {}, 0, 0}); in TEST_F()
220 mDispatcher->onWindowInfosChanged({{*window->getInfo()}, {}, 0, 0}); in TEST_F()
241 mDispatcher->onWindowInfosChanged({{*window->getInfo()}, {}, 0, 0}); in TEST_F()
261 mDispatcher->onWindowInfosChanged({{*window->getInfo()}, {}, 0, 0}); in TEST_F()
288 mDispatcher->onWindowInfosChanged({{*spy->getInfo(), *window->getInfo()}, {}, 0, 0}); in TEST_F()
295 mDispatcher->onWindowInfosChanged({{*spy->getInfo(), *window->getInfo()}, {}, 0, 0}); in TEST_F()
300 mDispatcher->onWindowInfosChanged({{*spy->getInfo(), *window->getInfo()}, {}, 0, 0}); in TEST_F()
305 mDispatcher->onWindowInfosChanged({{*spy->getInfo(), *window->getInfo()}, {}, 0, 0}); in TEST_F()
[all …]
DInputDispatcher_test.cpp246 request.displayId = window->getInfo()->displayId.val(); in setFocusedWindow()
674 mDispatcher->onWindowInfosChanged({{*window->getInfo()}, {}, 0, 0}); in TEST_F()
678 mFakePolicy->assertNotifyInputChannelBrokenWasCalled(window->getInfo()->token); in TEST_F()
687 mDispatcher->onWindowInfosChanged({{*window->getInfo()}, {}, 0, 0}); in TEST_F()
712 {{*window->getInfo(), *window->getInfo()}, {}, 0, 0}), in TEST_F()
722 mDispatcher->onWindowInfosChanged({{*window->getInfo()}, {}, 0, 0}); in TEST_F()
745 mDispatcher->onWindowInfosChanged({{*window->getInfo()}, {}, 0, 0}); in TEST_F()
765 mDispatcher->onWindowInfosChanged({{*window->getInfo()}, {}, 0, 0}); in TEST_F()
766 mDispatcher->onWindowInfosChanged({{*window->getInfo()}, {}, 0, 0}); in TEST_F()
786 {{*windowTop->getInfo(), *windowSecond->getInfo()}, {}, 0, 0}); in TEST_F()
[all …]
/frameworks/base/core/java/android/print/
DPrintJob.java63 public @NonNull PrintJobInfo getInfo() { in getInfo() method in PrintJob
84 final int state = getInfo().getState(); in cancel()
115 return getInfo().getState() == PrintJobInfo.STATE_QUEUED; in isQueued()
128 return getInfo().getState() == PrintJobInfo.STATE_STARTED; in isStarted()
141 return getInfo().getState() == PrintJobInfo.STATE_BLOCKED; in isBlocked()
152 return getInfo().getState() == PrintJobInfo.STATE_COMPLETED; in isCompleted()
166 return getInfo().getState() == PrintJobInfo.STATE_FAILED; in isFailed()
177 return getInfo().getState() == PrintJobInfo.STATE_CANCELED; in isCancelled()
/frameworks/base/core/java/android/printservice/
DPrintJob.java86 public @NonNull PrintJobInfo getInfo() { in getInfo() method in PrintJob
126 return getInfo().getState() == PrintJobInfo.STATE_QUEUED; in isQueued()
142 return getInfo().getState() == PrintJobInfo.STATE_STARTED; in isStarted()
158 return getInfo().getState() == PrintJobInfo.STATE_BLOCKED; in isBlocked()
172 return getInfo().getState() == PrintJobInfo.STATE_COMPLETED; in isCompleted()
186 return getInfo().getState() == PrintJobInfo.STATE_FAILED; in isFailed()
200 return getInfo().getState() == PrintJobInfo.STATE_CANCELED; in isCancelled()
219 final int state = getInfo().getState(); in start()
242 PrintJobInfo info = getInfo(); in block()
399 return getInfo().getTag(); in getTag()
[all …]
/frameworks/base/core/java/android/os/
DVibrator.java156 public VibratorInfo getInfo() { in getInfo() method in Vibrator
203 return getInfo().getId(); in getId()
229 return getInfo().hasFrequencyControl(); in hasFrequencyControl()
251 return getInfo().areVibrationFeaturesSupported(effect); in areVibrationFeaturesSupported()
262 return getInfo().hasCapability(IVibrator.CAP_EXTERNAL_CONTROL); in hasExternalControl()
273 return getInfo().getResonantFrequencyHz(); in getResonantFrequency()
284 return getInfo().getQFactor(); in getQFactor()
302 VibratorInfo.FrequencyProfile frequencyProfile = getInfo().getFrequencyProfile(); in getFrequencyProfile()
571 VibratorInfo info = getInfo(); in areEffectsSupported()
609 VibratorInfo info = getInfo(); in areAllEffectsSupported()
[all …]
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperHidlV1_3Test.cpp121 mWrapper->getInfo().capabilities.value()); in TEST_F()
135 ASSERT_EQ(vibrator::Capabilities::AMPLITUDE_CONTROL, mWrapper->getInfo().capabilities.value()); in TEST_F()
149 ASSERT_EQ(vibrator::Capabilities::EXTERNAL_CONTROL, mWrapper->getInfo().capabilities.value()); in TEST_F()
163 ASSERT_EQ(vibrator::Capabilities::NONE, mWrapper->getInfo().capabilities.value()); in TEST_F()
185 ASSERT_TRUE(mWrapper->getInfo().capabilities.isFailed()); in TEST_F()
186 ASSERT_TRUE(mWrapper->getInfo().capabilities.isFailed()); in TEST_F()
203 std::thread([&]() { ASSERT_TRUE(mWrapper->getInfo().capabilities.isOk()); })); in TEST_F()
207 ASSERT_EQ(vibrator::Capabilities::AMPLITUDE_CONTROL, mWrapper->getInfo().capabilities.value()); in TEST_F()
237 ASSERT_TRUE(mWrapper->getInfo().capabilities.isFailed()); in TEST_F()
240 ASSERT_TRUE(mWrapper->getInfo().capabilities.isFailed()); in TEST_F()
[all …]
/frameworks/base/core/java/com/google/android/util/
DAbstractMessageParser.java714 public List<String> getInfo() { in getInfo() method in AbstractMessageParser.Token
750 public List<String> getInfo() { in getInfo() method in AbstractMessageParser.Html
795 public List<String> getInfo() { in getInfo() method in AbstractMessageParser.MusicTrack
796 List<String> info = super.getInfo(); in getInfo()
815 public List<String> getInfo() { in getInfo() method in AbstractMessageParser.Link
816 List<String> info = super.getInfo(); in getInfo()
852 public List<String> getInfo() { in getInfo() method in AbstractMessageParser.Video
853 List<String> info = super.getInfo(); in getInfo()
911 public List<String> getInfo() { in getInfo() method in AbstractMessageParser.YouTubeVideo
912 List<String> info = super.getInfo(); in getInfo()
[all …]
/frameworks/base/libs/input/
DSpriteIcon.h47 inline int32_t width() const { return bitmap.getInfo().width; } in width()
48 inline int32_t height() const { return bitmap.getInfo().height; } in height()
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp115 dispatcher->onWindowInfosChanged({{*window->getInfo()}, {}, 0, 0}); in benchmarkNotifyMotion()
150 dispatcher->onWindowInfosChanged({{*window->getInfo()}, {}, 0, 0}); in benchmarkInjectMotion()
184 std::vector<gui::WindowInfo> windowInfos{*window->getInfo()}; in benchmarkOnWindowInfosChanged()
186 info.displayId = window->getInfo()->displayId; in benchmarkOnWindowInfosChanged()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalController.h65 Info getInfo() { in getInfo() function
78 Info result = hal.get()->getInfo(); in getInfo()
87 Info result = hal.get()->getInfo(); in getInfo()
/frameworks/base/core/java/android/hardware/camera2/params/
DMultiResolutionStreamConfigurationMap.java208 return getInfo(format, /*false*/ true); in getOutputInfo()
227 return getInfo(format, /*false*/ false); in getInputInfo()
231 private @NonNull Collection<MultiResolutionStreamInfo> getInfo(int format, boolean output) { in getInfo() method in MultiResolutionStreamConfigurationMap
248 getInfo(format, output); in appendConfigurationsString()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationPackageTest.kt93 val info = service.getInfo(pkg1.packageName) in <lambda>()
127 service.getInfo(pkg1.packageName).apply { in <lambda>()
151 service.getInfo(pkg2.packageName).apply { in <lambda>()
203 val info = service.getInfo(pkg1.packageName) in <lambda>()
253 val info = service.getInfo(pkg1.packageName) in <lambda>()
364 val info = service.getInfo(pkg1.packageName) in <lambda>()
391 val infoUpdated = service.getInfo(pkg1.packageName) in <lambda>()
442 val info = service.getInfo(pkg1.packageName) in <lambda>()
512 assertThat(service.getInfo(pkgName).hostToStateMap).containsExactlyEntriesIn(mapOf( in <lambda>()
532 assertThat(service.getInfo(pkgName).hostToStateMap).containsExactlyEntriesIn(mapOf( in <lambda>()
[all …]
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorController.java83 mVibratorInfoLoadSuccessful = mNativeWrapper.getInfo(vibratorInfoBuilder); in VibratorController()
134 mVibratorInfoLoadSuccessful = mNativeWrapper.getInfo(vibratorInfoBuilder); in reloadVibratorInfoIfNeeded()
443 private static native boolean getInfo(long nativePtr, VibratorInfo.Builder infoBuilder); in getInfo() method in VibratorController.NativeWrapper
513 public boolean getInfo(VibratorInfo.Builder infoBuilder) { in getInfo() method in VibratorController.NativeWrapper
514 return getInfo(mNativePtr, infoBuilder); in getInfo()
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp153 auto result = mController.getInfo().capabilities; in shouldSkipWithMissingCapabilityMessage()
353 BENCHMARK_WRAPPER(VibratorBench, getInfo, {
361 controller.getInfo();
367 mController.getInfo();
370 mController.getInfo();
378 auto effectsResult = controller.getInfo().supportedEffects; in DefaultArgs()
523 auto primitivesResult = controller.getInfo().supportedPrimitives; in DefaultArgs()
/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/
DDeviceStateManagerGlobalTest.java270 private DeviceStateInfo getInfo() { in getInfo() method in DeviceStateManagerGlobalTest.TestDeviceStateManagerService
284 final DeviceStateInfo info = getInfo(); in notifyDeviceStateInfoChanged()
296 return getInfo(); in getDeviceStateInfo()
307 callback.onDeviceStateInfoChanged(getInfo()); in registerCallback()
414 return getInfo().baseState; in getBaseState()
418 return getInfo().currentState; in getMergedState()
/frameworks/base/libs/hwui/apex/include/android/graphics/
Dbitmap.h120 AndroidBitmapInfo info = getInfo(); in isEmpty()
130 AndroidBitmapInfo getInfo() const { return ABitmap_getInfo(mBitmap); } in getInfo() function
/frameworks/native/services/inputflinger/dispatcher/
DFocusResolver.cpp145 curFocusCandidate = outFocusableWindow->getInfo()->focusTransferTarget; in getResolvedFocusWindow()
168 if (!window->getInfo()->inputConfig.test(gui::WindowInfo::InputConfig::NOT_VISIBLE)) { in isTokenFocusable()
172 if (window->getInfo()->inputConfig.test(gui::WindowInfo::InputConfig::NOT_FOCUSABLE)) { in isTokenFocusable()
DInputDispatcher.cpp407 win ? std::make_optional(win->getInfo()->id) : std::nullopt; in createDispatchEntry()
410 const gui::Uid uid = win ? win->getInfo()->ownerUid : gui::Uid(AID_SYSTEM); in createDispatchEntry()
635 const WindowInfo* windowInfo = windowHandle->getInfo(); in isWindowOwnedBy()
656 if (entry.injectionState->targetUid != window->getInfo()->ownerUid) { in verifyTargetedInjection()
660 window->getInfo()->ownerUid.toString().c_str()); in verifyTargetedInjection()
750 if (canReceiveForegroundTouches(*newWindow->getInfo())) { in getHoveringWindowsLocked()
768 if (!window.windowHandle->getInfo()->inputConfig.test( in filterUntrustedTargets()
797 if (touchedWindow.windowHandle->getInfo()->isSpy()) { in shouldSplitTouch()
801 if (touchedWindow.windowHandle->getInfo()->supportsSplitTouch()) { in shouldSplitTouch()
804 if (touchedWindow.windowHandle->getInfo()->inputConfig.test( in shouldSplitTouch()
[all …]
/frameworks/base/libs/hwui/apex/
Dandroid_bitmap.cpp127 static AndroidBitmapInfo getInfo(const SkImageInfo& imageInfo, uint32_t rowBytes, bool isHardware) { in getInfo() function
139 return getInfo(bitmap->info(), bitmap->rowBytes(), bitmap->isHardware()); in ABitmap_getInfo()
152 return getInfo(imageInfo, rowBytes, isHardware); in ABitmap_getInfoFromJava()
/frameworks/av/media/module/codecs/flac/dec/test/
DFlacDecoderTest.cpp69 void getInfo(string infoFileName, vector<FrameInfo> &Info) { in getInfo() function
204 getInfo(infoFileName, Info); in TEST_P()
233 getInfo(infoFileName, Info); in TEST_P()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiMhlLocalDeviceStub.java24 HdmiDeviceInfo getInfo() { in getInfo() method in HdmiMhlLocalDeviceStub
/frameworks/libs/modules-utils/javatests/com/android/internal/util/
DStateMachineTest.java235 assertEquals(EXIT, lr.getInfo()); in testStateMachineQuit()
239 assertEquals(ON_QUITTING, lr.getInfo()); in testStateMachineQuit()
337 assertEquals(EXIT, lr.getInfo()); in testStateMachineQuitNow()
341 assertEquals(ON_QUITTING, lr.getInfo()); in testStateMachineQuitNow()
438 assertEquals(EXIT, lr.getInfo()); in testStateMachineQuitNowAfterStart()
442 assertEquals(ON_QUITTING, lr.getInfo()); in testStateMachineQuitNowAfterStart()
579 assertEquals(ENTER, lr.getInfo()); in testStateMachineEnterExitTransitionToTest()
583 assertEquals(EXIT, lr.getInfo()); in testStateMachineEnterExitTransitionToTest()
587 assertEquals(ENTER, lr.getInfo()); in testStateMachineEnterExitTransitionToTest()
601 assertEquals(EXIT, lr.getInfo()); in testStateMachineEnterExitTransitionToTest()
[all …]
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfDocument.java150 mPages.add(page.getInfo()); in finishPage()
444 public PageInfo getInfo() { in getInfo() method in PdfDocument.Page
/frameworks/native/libs/gui/include/gui/
DInputApplication.h41 inline const gui::InputApplicationInfo* getInfo() const { return &mInfo; } in getInfo() function
/frameworks/base/libs/hwui/jni/
DBitmapFactory.cpp195 if (codec->getInfo().colorType() == kGray_8_SkColorType) { in decodeGainmap()
208 if (needsFineScale(codec->getInfo().dimensions(), size, sampleSize) || scale != 1.0f) { in decodeGainmap()
212 scaledWidth = static_cast<int>((codec->getInfo().width() / sampleSize) * scale + 0.5f); in decodeGainmap()
213 scaledHeight = static_cast<int>((codec->getInfo().height() / sampleSize) * scale + 0.5f); in decodeGainmap()
396 if (needsFineScale(codec->getInfo().dimensions(), size, sampleSize)) { in doDecode()
398 scaledWidth = codec->getInfo().width() / sampleSize; in doDecode()
399 scaledHeight = codec->getInfo().height() / sampleSize; in doDecode()

12345