Home
last modified time | relevance | path

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

1234567

/aosp12/frameworks/base/core/java/android/print/
H A 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()
/aosp12/frameworks/base/core/java/android/printservice/
H A 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()
186 return getInfo().getState() == PrintJobInfo.STATE_FAILED; in isFailed()
219 final int state = getInfo().getState(); in start()
242 PrintJobInfo info = getInfo(); in block()
399 return getInfo().getTag(); in getTag()
411 return getInfo().getAdvancedStringOption(key); in getAdvancedStringOption()
424 return getInfo().hasAdvancedOption(key); in hasAdvancedOption()
[all …]
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
H A DCarAudioFocusUnitTest.java461 getInfo(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, SECOND_CLIENT_ID, in onAudioFocus_multipleRequestOnlyOneWithDelayedFocus_duckedRequestReceivesLoss()
488 AudioFocusInfo delayedFocusRequest = getInfo(USAGE_MEDIA, SECOND_CLIENT_ID, in onAudioFocus_concurrentRequestAfterDelayedFocus_concurrentFocusGranted()
510 AudioFocusInfo delayedFocusRequest = getInfo(USAGE_MEDIA, SECOND_CLIENT_ID, in onAudioFocus_concurrentRequestsAndAbandonsAfterDelayedFocus_noDelayedFocusChange()
536 AudioFocusInfo delayedFocusRequest = getInfo(USAGE_MEDIA, SECOND_CLIENT_ID, in onAudioFocus_concurrentRequestAfterDelayedFocus_delayedGainesFocus()
579 AudioFocusInfo delayedFocusRequest = getInfo(USAGE_MEDIA, THIRD_CLIENT_ID, in onAudioFocus_delayedFocusRequestAfterDoubleReject_delayedGainesFocus()
831 return getInfo(USAGE_MEDIA, SECOND_CLIENT_ID, gainType, false); in getExclusiveInfo()
836 return getInfo(USAGE_MEDIA, SECOND_CLIENT_ID, gainType, true); in getDelayedExclusiveInfo()
846 return getInfo(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, SECOND_CLIENT_ID, in getRejectInfo()
868 return getInfo(USAGE_MEDIA, FIRST_CLIENT_ID, AUDIOFOCUS_GAIN, false); in getInfoForFirstClientWithMedia()
876 return getInfo(audioAttributes, clientId, gainType, acceptsDelayedFocus); in getInfo()
[all …]
H A DFocusEntryTest.java115 return getInfo(attributes, flags); in getInfoWithFlags()
125 return getInfo(attributes, DEFAULT_FLAGS); in getInfoThatReceivesDuckingEvents()
128 private AudioFocusInfo getInfo(AudioAttributes attributes, int flags) { in getInfo() method in FocusEntryTest
/aosp12/hardware/google/av/media/eco/tests/
H A DEcoSessionTest.cpp234 bool getInfo = false; in TEST_F() local
252 EXPECT_TRUE(getInfo); in TEST_F()
285 getInfo = false; in TEST_F()
289 EXPECT_TRUE(getInfo); in TEST_F()
319 getInfo = false; in TEST_F()
330 getInfo = false; in TEST_F()
336 EXPECT_TRUE(getInfo); in TEST_F()
355 getInfo = false; in TEST_F()
366 getInfo = false; in TEST_F()
372 EXPECT_TRUE(getInfo); in TEST_F()
[all …]
/aosp12/frameworks/base/core/java/android/os/
H A DVibrator.java169 protected VibratorInfo getInfo() { in getInfo() method in Vibrator
207 return getInfo().getId(); in getId()
232 return getInfo().hasCapability( in hasFrequencyControl()
244 return getInfo().hasCapability(IVibrator.CAP_EXTERNAL_CONTROL); in hasExternalControl()
255 return getInfo().getResonantFrequency(); in getResonantFrequency()
266 return getInfo().getQFactor(); in getQFactor()
282 return getInfo().getFrequencyRange(); in getRelativeFrequencyRange()
303 return getInfo().getMaxAmplitude(relativeFrequency); in getMaximumAmplitude()
509 VibratorInfo info = getInfo(); in areEffectsSupported()
566 VibratorInfo info = getInfo(); in arePrimitivesSupported()
[all …]
/aosp12/frameworks/native/services/vibratorservice/test/
H A 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 …]
/aosp12/frameworks/base/core/java/com/google/android/util/
H A 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
815 public List<String> getInfo() { in getInfo() method in AbstractMessageParser.Link
852 public List<String> getInfo() { in getInfo() method in AbstractMessageParser.Video
911 public List<String> getInfo() { in getInfo() method in AbstractMessageParser.YouTubeVideo
1002 public List<String> getInfo() { in getInfo() method in AbstractMessageParser.Photo
1094 public List<String> getInfo() { in getInfo() method in AbstractMessageParser.FlickrPhoto
1161 public List<String> getInfo() { in getInfo() method in AbstractMessageParser.Smiley
1182 public List<String> getInfo() { in getInfo() method in AbstractMessageParser.Acronym
[all …]
/aosp12/packages/services/BuiltInPrintService/src/com/android/bips/
H A DJobQueue.java42 if (printerId.equals(job.getPrintJob().getInfo().getPrinterId())) { in cancel()
47 if (mCurrent != null && printerId.equals(mCurrent.getPrintJob().getInfo().getPrinterId())) { in cancel()
54 if (mCurrent != null && printerId.equals(mCurrent.getPrintJob().getInfo().getPrinterId())) { in restart()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DRotationTouchHelper.java226 mOrientationTouchTransformer.createOrAddTouchRegion(mDisplayController.getInfo()); in updateGestureTouchRegions()
258 onDisplayInfoChanged(mContext, mDisplayController.getInfo(), CHANGE_ALL); in onNavModeChangedInternal()
260 mOrientationTouchTransformer.setNavigationMode(newMode, mDisplayController.getInfo(), in onNavModeChangedInternal()
310 newGesturalHeight, mDisplayController.getInfo(), mContext.getResources()); in setGesturalHeight()
326 mOrientationTouchTransformer.enableMultipleRegions(enable, mDisplayController.getInfo()); in enableMultipleRegions()
389 mOrientationTouchTransformer.setSingleActiveRegion(mDisplayController.getInfo()); in toggleSecondaryNavBarsForRotation()
/aosp12/art/test/989-method-trace-throw/src/art/
H A DTest989.java63 private static String getInfo(Object m, boolean exception, Object result) { in getInfo() method in Test989
88 System.out.println("Normal: Leaving " + getInfo(m, exception, result)); in methodExited()
102 System.out.println("ThrowEnter: Leaving " + getInfo(m, exception, result)); in methodExited()
119 System.out.println("ThrowExit: Leaving " + getInfo(m, exception, result)); in methodExited()
120 throw new ErrorB("Throwing error while exit " + getInfo(m, exception, result)); in methodExited()
138 System.out.println("ThrowBoth: Leaving " + getInfo(m, exception, result)); in methodExited()
139 throw new ErrorC("Throwing error while exit " + getInfo(m, exception, result)); in methodExited()
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DSessionTest.java224 Session.Info.getInfo(parentSession); in testRecursion_getInfo()
225 Session.Info.getInfo(childSession); in testRecursion_getInfo()
261 Session.Info.getInfo(parentSession); in testRecursion()
262 Session.Info.getInfo(childSession); in testRecursion()
/aosp12/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
H A DDomainVerificationPackageTest.kt84 val info = service.getInfo(pkg1.getName())
118 service.getInfo(pkg1.getName()).apply {
142 service.getInfo(pkg2.getName()).apply {
193 val info = service.getInfo(pkg1.getName())
242 val info = service.getInfo(pkg1.getName())
384 val info = service.getInfo(pkg1.getName())
454 assertThat(service.getInfo(pkgName).hostToStateMap).containsExactlyEntriesIn(mapOf(
474 assertThat(service.getInfo(pkgName).hostToStateMap).containsExactlyEntriesIn(mapOf(
642 service.getInfo(pkgName).run {
661 service.getInfo(pkgName).run {
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/vibrator/
H A DVibratorController.java77 mVibratorInfoLoaded = mNativeWrapper.getInfo(SUGGESTED_FREQUENCY_SAFE_RANGE, in VibratorController()
116 mVibratorInfoLoaded = mNativeWrapper.getInfo(SUGGESTED_FREQUENCY_SAFE_RANGE, in getVibratorInfo()
407 private static native boolean getInfo(long nativePtr, float suggestedFrequencyRange, in getInfo() method in VibratorController.NativeWrapper
478 public boolean getInfo(float suggestedFrequencyRange, VibratorInfo.Builder infoBuilder) { in getInfo() method in VibratorController.NativeWrapper
479 return getInfo(mNativePtr, suggestedFrequencyRange, infoBuilder); in getInfo()
/aosp12/frameworks/native/services/vibratorservice/benchmarks/
H A 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()
/aosp12/frameworks/base/core/java/android/hardware/camera2/params/
H A 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()
/aosp12/packages/apps/Settings/src/com/android/settings/print/
H A DPrintJobPreferenceController.java48 PrintJobInfo info = printJob.getInfo(); in updateUi()
58 if (!printJob.getInfo().isCancelling()) { in updateUi()
75 if (!printJob.getInfo().isCancelling()) { in updateUi()
/aosp12/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/
H A DDeviceStateManagerGlobalTest.java210 private DeviceStateInfo getInfo() { in getInfo() method in DeviceStateManagerGlobalTest.TestDeviceStateManagerService
217 final DeviceStateInfo info = getInfo(); in notifyDeviceStateInfoChanged()
229 return getInfo(); in getDeviceStateInfo()
240 callback.onDeviceStateInfoChanged(getInfo()); in registerCallback()
316 return getInfo().currentState; in getMergedState()
/aosp12/frameworks/base/libs/input/
H A 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()
/aosp12/packages/services/Car/service/src/com/android/car/vms/
H A DVmsProviderInfoStore.java41 public byte[] getInfo() { in getInfo() method in VmsProviderInfoStore.InfoWrapper
93 : mProvidersInfo.get(providerId - 1).getInfo(); in getProviderInfo()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DSuggestedWords.java147 public SuggestedWordInfo getInfo(final int index) { in getInfo() method in SuggestedWords
164 final SuggestedWordInfo wordInfo = getInfo(pos); in getDebugString()
221 final SuggestedWordInfo prevWordInfo = previousSuggestions.getInfo(index); in getTypedWordAndPreviousSuggestions()
445 final SuggestedWordInfo info = getInfo(SuggestedWords.INDEX_OF_TYPED_WORD); in getTypedWordInfoOrNull()
/aosp12/frameworks/native/services/vibratorservice/include/vibratorservice/
H A DVibratorHalController.h65 Info getInfo() { in getInfo() function
67 return apply<Info>([](HalWrapper* hal) { return hal->getInfo(); }, sDefaultInfo, "getInfo"); in getInfo()
/aosp12/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DStateMachineTest.java233 assertEquals(EXIT, lr.getInfo()); in testStateMachineQuit()
335 assertEquals(EXIT, lr.getInfo()); in testStateMachineQuitNow()
429 assertEquals(EXIT, 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()
596 assertEquals(ENTER, lr.getInfo()); in testStateMachineEnterExitTransitionToTest()
603 assertEquals(EXIT, lr.getInfo()); in testStateMachineEnterExitTransitionToTest()
610 assertEquals(ENTER, lr.getInfo()); in testStateMachineEnterExitTransitionToTest()
[all …]
/aosp12/frameworks/base/libs/hwui/apex/include/android/graphics/
H A Dbitmap.h120 AndroidBitmapInfo info = getInfo(); in isEmpty()
130 AndroidBitmapInfo getInfo() const { return ABitmap_getInfo(mBitmap); } in getInfo() function
/aosp12/frameworks/base/libs/hwui/apex/
H A Dandroid_bitmap.cpp120 static AndroidBitmapInfo getInfo(const SkImageInfo& imageInfo, uint32_t rowBytes, bool isHardware) { in getInfo() function
132 return getInfo(bitmap->info(), bitmap->rowBytes(), bitmap->isHardware()); in ABitmap_getInfo()
145 return getInfo(imageInfo, rowBytes, isHardware); in ABitmap_getInfoFromJava()

1234567