Home
last modified time | relevance | path

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

1234

/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 protected VibratorInfo getInfo() { in getInfo() method in Vibrator
193 return getInfo().getId(); in getId()
220 return getInfo().hasCapability( in hasFrequencyControl()
232 return getInfo().hasCapability(IVibrator.CAP_EXTERNAL_CONTROL); in hasExternalControl()
245 return getInfo().getResonantFrequencyHz(); in getResonantFrequency()
258 return getInfo().getQFactor(); in getQFactor()
276 VibratorInfo.FrequencyProfile frequencyProfile = getInfo().getFrequencyProfile(); in getFrequencyProfile()
521 VibratorInfo info = getInfo(); in areEffectsSupported()
557 VibratorInfo info = getInfo(); in areAllEffectsSupported()
592 VibratorInfo info = getInfo(); in arePrimitivesSupported()
[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 …]
DVibratorHalWrapperHidlV1_0Test.cpp201 ASSERT_TRUE(mWrapper->getInfo().capabilities.isFailed()); in TEST_F()
203 vibrator::Info info = mWrapper->getInfo(); in TEST_F()
225 ASSERT_EQ(vibrator::Capabilities::NONE, mWrapper->getInfo().capabilities.value()); in TEST_F()
236 std::thread([&]() { ASSERT_TRUE(mWrapper->getInfo().capabilities.isOk()); })); in TEST_F()
240 vibrator::Info info = mWrapper->getInfo(); in TEST_F()
/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.h51 inline int32_t width() const { return bitmap.getInfo().width; } in width()
52 inline int32_t height() const { return bitmap.getInfo().height; } in height()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorController.java75 mVibratorInfoLoadSuccessful = mNativeWrapper.getInfo(vibratorInfoBuilder); in VibratorController()
126 mVibratorInfoLoadSuccessful = mNativeWrapper.getInfo(vibratorInfoBuilder); in reloadVibratorInfoIfNeeded()
418 private static native boolean getInfo(long nativePtr, VibratorInfo.Builder infoBuilder); in getInfo() method in VibratorController.NativeWrapper
488 public boolean getInfo(VibratorInfo.Builder infoBuilder) { in getInfo() method in VibratorController.NativeWrapper
489 return getInfo(mNativePtr, infoBuilder); 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/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp54 auto result = mController.getInfo().capabilities; in hasCapabilities()
262 BENCHMARK_WRAPPER(VibratorBench, getInfo, {
268 auto result = controller.getInfo();
280 mController.getInfo();
283 auto result = mController.getInfo();
297 auto effectsResult = controller.getInfo().supportedEffects; in DefaultArgs()
410 auto primitivesResult = controller.getInfo().supportedPrimitives; in DefaultArgs()
/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/
DDeviceStateManagerGlobalTest.java264 private DeviceStateInfo getInfo() { in getInfo() method in DeviceStateManagerGlobalTest.TestDeviceStateManagerService
273 final DeviceStateInfo info = getInfo(); in notifyDeviceStateInfoChanged()
285 return getInfo(); in getDeviceStateInfo()
296 callback.onDeviceStateInfoChanged(getInfo()); in registerCallback()
400 return getInfo().baseState; in getBaseState()
404 return getInfo().currentState; in getMergedState()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationPackageTest.kt92 val info = service.getInfo(pkg1.packageName) in <lambda>()
126 service.getInfo(pkg1.packageName).apply { in <lambda>()
150 service.getInfo(pkg2.packageName).apply { in <lambda>()
202 val info = service.getInfo(pkg1.packageName) in <lambda>()
252 val info = service.getInfo(pkg1.packageName) in <lambda>()
397 val info = service.getInfo(pkg1.packageName) in <lambda>()
467 assertThat(service.getInfo(pkgName).hostToStateMap).containsExactlyEntriesIn(mapOf( in <lambda>()
487 assertThat(service.getInfo(pkgName).hostToStateMap).containsExactlyEntriesIn(mapOf( in <lambda>()
512 assertThat(service.getInfo(pkgName).hostToStateMap).containsExactlyEntriesIn(mapOf( in <lambda>()
562 assertThat(service.getInfo(pkgName).hostToStateMap).containsExactlyEntriesIn(mapOf( in <lambda>()
[all …]
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalController.h65 Info getInfo() { in getInfo() function
67 return apply<Info>([](HalWrapper* hal) { return hal->getInfo(); }, sDefaultInfo, "getInfo"); in getInfo()
/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/
DTouchState.cpp103 !window.windowHandle->getInfo()->inputConfig.test( in isSlippery()
116 if (window.windowHandle->getInfo()->inputConfig.test( in getWallpaperWindow()
DInputDispatcher.cpp501 const WindowInfo* windowInfo = windowHandle->getInfo(); in isWindowOwnedBy()
521 if (entry.injectionState->targetUid != window->getInfo()->ownerUid) { in verifyTargetedInjection()
524 uid, window->getName().c_str(), window->getInfo()->ownerUid); in verifyTargetedInjection()
1077 const WindowInfo& info = *windowHandle->getInfo(); in findTouchedWindowAtLocked()
1097 const WindowInfo& info = *windowHandle->getInfo(); in findTouchedSpyWindowsAtLocked()
1703 const vec2 xy = windowHandle->getInfo()->transform.transform(vec2(rawX, rawY)); in enqueueDragEventLocked()
1932 if (focusedWindowHandle->getInfo()->inputConfig.test( in findFocusedWindowTargetsLocked()
2095 if (newTouchedWindowHandle->getInfo()->supportsSplitTouch()) { in findTouchedWindowTargetsLocked()
2134 const WindowInfo& info = *windowHandle->getInfo(); in findTouchedWindowTargetsLocked()
2183 if (canReceiveForegroundTouches(*windowHandle->getInfo())) { in findTouchedWindowTargetsLocked()
[all …]
/frameworks/base/libs/hwui/apex/
Dandroid_bitmap.cpp124 static AndroidBitmapInfo getInfo(const SkImageInfo& imageInfo, uint32_t rowBytes, bool isHardware) { in getInfo() function
136 return getInfo(bitmap->info(), bitmap->rowBytes(), bitmap->isHardware()); in ABitmap_getInfo()
149 return getInfo(imageInfo, rowBytes, isHardware); in ABitmap_getInfoFromJava()
/frameworks/av/media/libstagefright/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/core/tests/utiltests/src/com/android/internal/util/
DStateMachineTest.java233 assertEquals(EXIT, lr.getInfo()); in testStateMachineQuit()
237 assertEquals(ON_QUITTING, lr.getInfo()); in testStateMachineQuit()
335 assertEquals(EXIT, lr.getInfo()); in testStateMachineQuitNow()
339 assertEquals(ON_QUITTING, lr.getInfo()); in testStateMachineQuitNow()
429 assertEquals(EXIT, lr.getInfo()); in testStateMachineQuitNowAfterStart()
433 assertEquals(ON_QUITTING, lr.getInfo()); in testStateMachineQuitNowAfterStart()
570 assertEquals(ENTER, lr.getInfo()); in testStateMachineEnterExitTransitionToTest()
574 assertEquals(EXIT, lr.getInfo()); in testStateMachineEnterExitTransitionToTest()
578 assertEquals(ENTER, lr.getInfo()); in testStateMachineEnterExitTransitionToTest()
592 assertEquals(EXIT, lr.getInfo()); in testStateMachineEnterExitTransitionToTest()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiMhlLocalDeviceStub.java24 HdmiDeviceInfo getInfo() { in getInfo() method in HdmiMhlLocalDeviceStub
/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/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp183 mInfo.applicationInfo = *inputApplicationHandle->getInfo(); in FakeWindowHandle()
339 std::vector<gui::WindowInfo> windowInfos{*window->getInfo()}; in benchmarkOnWindowInfosChanged()
341 info.displayId = window->getInfo()->displayId; in benchmarkOnWindowInfosChanged()
/frameworks/base/telecomm/java/android/telecom/Logging/
DSession.java71 public static Info getInfo (Session s) { in getInfo() method in Session.Info
231 public Info getInfo() { in getInfo() method in Session
232 return Info.getInfo(this); in getInfo()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationLegacySettings.java103 return state.getInfo(); in remove()
194 public IntentFilterVerificationInfo getInfo() { in getInfo() method in DomainVerificationLegacySettings.LegacyState

1234