/aosp12/frameworks/base/core/java/android/print/ |
H A D | PrintJob.java | 63 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 D | PrintJob.java | 86 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 D | CarAudioFocusUnitTest.java | 461 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 D | FocusEntryTest.java | 115 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 D | EcoSessionTest.cpp | 234 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 D | Vibrator.java | 169 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 D | VibratorHalWrapperHidlV1_3Test.cpp | 121 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 D | AbstractMessageParser.java | 714 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 D | JobQueue.java | 42 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 D | RotationTouchHelper.java | 226 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 D | Test989.java | 63 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 D | SessionTest.java | 224 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 D | DomainVerificationPackageTest.kt | 84 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 D | VibratorController.java | 77 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 D | VibratorHalControllerBenchmarks.cpp | 54 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 D | MultiResolutionStreamConfigurationMap.java | 208 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 D | PrintJobPreferenceController.java | 48 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 D | DeviceStateManagerGlobalTest.java | 210 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 D | SpriteIcon.h | 51 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 D | VmsProviderInfoStore.java | 41 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 D | SuggestedWords.java | 147 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 D | VibratorHalController.h | 65 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 D | StateMachineTest.java | 233 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 D | bitmap.h | 120 AndroidBitmapInfo info = getInfo(); in isEmpty() 130 AndroidBitmapInfo getInfo() const { return ABitmap_getInfo(mBitmap); } in getInfo() function
|
/aosp12/frameworks/base/libs/hwui/apex/ |
H A D | android_bitmap.cpp | 120 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()
|