Home
last modified time | relevance | path

Searched refs:getCode (Results 1 – 25 of 94) sorted by relevance

1234

/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
H A DTranscriptionResponse.java41 return status.getCode() == Status.Code.UNAVAILABLE; in hasRecoverableError()
49 return status.getCode() == Code.ALREADY_EXISTS; in isStatusAlreadyExists()
57 return status.getCode() != Status.Code.OK && status.getCode() != Status.Code.UNAVAILABLE; in hasFatalError()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
H A DAppOpsControllerTest.java503 assertEquals(AppOpsManager.OP_CAMERA, list.get(0).getCode()); in testOnlyRecordAudioPhoneCallMicrophonePaused()
554 assertEquals(AppOpsManager.OP_RECORD_AUDIO, list.get(0).getCode()); in testAudioFilteredWhenMicDisabled()
564 assertEquals(AppOpsManager.OP_CAMERA, list.get(0).getCode()); in testAudioFilteredWhenMicDisabled()
573 int micIdx = list.get(0).getCode() == AppOpsManager.OP_CAMERA ? 1 : 0; in testAudioFilteredWhenMicDisabled()
574 assertEquals(AppOpsManager.OP_RECORD_AUDIO, list.get(micIdx).getCode()); in testAudioFilteredWhenMicDisabled()
598 assertEquals(AppOpsManager.OP_CAMERA, list.get(0).getCode()); in testPhoneCallMicrophoneFilteredWhenMicDisabled()
607 int micIdx = list.get(0).getCode() == AppOpsManager.OP_CAMERA ? 1 : 0; in testPhoneCallMicrophoneFilteredWhenMicDisabled()
621 assertEquals(AppOpsManager.OP_CAMERA, list.get(0).getCode()); in testCameraFilteredWhenCameraDisabled()
631 assertEquals(AppOpsManager.OP_RECORD_AUDIO, list.get(0).getCode()); in testCameraFilteredWhenCameraDisabled()
640 assertEquals(AppOpsManager.OP_CAMERA, list.get(cameraIdx).getCode()); in testCameraFilteredWhenCameraDisabled()
[all …]
/aosp12/build/make/tools/product_config/src/com/android/build/config/
H A DErrorReporter.java106 public int getCode() { in getCode() method in ErrorReporter.Category
200 + "[" + mCategory.getLevel().getLabel() + " " + mCategory.getCode() + "] " in toString()
218 Category prev = categories.put(category.getCode(), category); in initLocked()
221 + category.getCode()); in initLocked()
245 if (mCategories.get(category.getCode()) != category) { in add()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
H A DDynamicGridKeyboard.java69 if (key.getCode() == code) { in getTemplateKey()
138 keys.add(key.getCode()); in saveRecentKeys()
149 if (key.getCode() == code) { in getKeyByCode()
254 if (getCode() != key.getCode()) return false; in equals()
H A DEmojiCategory.java423 if (lhs.getCode() == rhs.getCode()) {
426 return lhs.getCode() < rhs.getCode() ? -1 : 1;
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DPointerTracker.java256 (key == null ? "none" : Constants.printableCode(key.getCode())), in callListenerOnPressAndCheckKeyboardLayoutChange()
729 if (!sInGesture && key != null && Character.isLetter(key.getCode()) in onGestureMoveEvent()
799 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processPhantomSuddenMoveHack()
800 x, y, Constants.printableCode(key.getCode()))); in processPhantomSuddenMoveHack()
818 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processProximateBogusDownMoveUpEventHack()
819 x, y, Constants.printableCode(key.getCode()))); in processProximateBogusDownMoveUpEventHack()
827 callListenerOnRelease(oldKey, oldKey.getCode(), true /* withSliding */); in processDraggingFingerOutFromOldKey()
1034 final int code = key.getCode(); in onLongPressed()
1132 final int delay = getLongPressTimeout(key.getCode()); in startLongPressTimer()
1155 final int code = key.getCode(); in detectAndSendKey()
[all …]
H A DKeyDetector.java109 || key.getCode() > primaryKey.getCode()) { in detectHitKey()
H A DProximityInfo.java100 return key.getCode() >= Constants.CODE_SPACE; in needsProximityInfo()
128 proximityCharsArray[infoIndex] = neighborKey.getCode(); in createNativeProximityInfo()
169 keyCharCodes[infoIndex] = key.getCode(); in createNativeProximityInfo()
210 Constants.printableCode(key.getCode()))); in createNativeProximityInfo()
384 final int code = key.getCode(); in fillArrayWithNearestKeyCodes()
H A DKeyboardLayout.java60 mKeyCodes[i] = Character.toLowerCase(key.getCode()); in KeyboardLayout()
117 if (key.getCode() != ',') { in newKeyboardLayout()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DNativeDaemonConnectorException.java43 public int getCode() { in getCode() method in NativeDaemonConnectorException
44 return mEvent != null ? mEvent.getCode() : -1; in getCode()
H A DNativeDaemonEvent.java58 public int getCode() { in getCode() method in NativeDaemonEvent
184 if (event.getCode() == matchCode) { in filterMessageList()
/aosp12/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/
H A DDefaultErrorDialog.java34 && (disconnectCause.getCode() == DisconnectCause.ERROR in shouldShow()
35 || disconnectCause.getCode() == DisconnectCause.RESTRICTED); in shouldShow()
/aosp12/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
H A DUceControllerManagerTest.java140 assertEquals(ImsException.CODE_ERROR_SERVICE_UNAVAILABLE, e.getCode()); in testRequestCapabilitiesWithRcsUnavailable()
190 assertEquals(ImsException.CODE_ERROR_SERVICE_UNAVAILABLE, e.getCode()); in testRequestNetworkAvailabilityWithRcsUnavailable()
217 assertEquals(ImsException.CODE_ERROR_SERVICE_UNAVAILABLE, e.getCode()); in testGetPublishStateWithRcsUnavailable()
244 assertEquals(ImsException.CODE_ERROR_SERVICE_UNAVAILABLE, e.getCode()); in testRegisterPublishStateCallbackWithRcsUnavailable()
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DImsRcsController.java112 throw new ServiceSpecificException(e.getCode()); in registerImsRegistrationCallback()
198 throw new ServiceSpecificException(e.getCode()); in registerRcsAvailabilityCallback()
289 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in requestCapabilities()
310 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in requestAvailability()
329 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in getUcePublishState()
479 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in registerUcePublishStateCallback()
551 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in isSipDelegateSupported()
596 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in createSipDelegate()
/aosp12/build/make/tools/product_config/test/com/android/build/config/
H A DTestErrors.java64 found.append(entry.getCategory().getCode()); in assertHasEntry()
66 throw new AssertionError("No error category " + category.getCode() + " found." in assertHasEntry()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DTimerHandler.java93 obtainMessage(MSG_REPEAT_KEY, key.getCode(), repeatCount, tracker), delay); in startKeyRepeatTimerOf()
117 final int messageId = (key.getCode() == Constants.CODE_SHIFT) in startLongPressTimerOf()
152 final int typedCode = typedKey.getCode(); in startTypingStateTimer()
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DCallTest.java159 assertEquals(DisconnectCause.REJECTED, call.getDisconnectCause().getCode()); in testDisconnectCauseWhenAudioProcessing()
186 assertEquals(DisconnectCause.LOCAL, call.getDisconnectCause().getCode()); in testDisconnectCauseWhenAudioProcessingAfterActive()
211 assertEquals(DisconnectCause.MISSED, call.getDisconnectCause().getCode()); in testDisconnectCauseWhenSimulatedRingingAndDisconnect()
236 assertEquals(DisconnectCause.REJECTED, call.getDisconnectCause().getCode()); in testDisconnectCauseWhenSimulatedRingingAndReject()
H A DAnalyticsTests.java127 assertEquals(DisconnectCause.ERROR, callAnalytics.callTerminationReason.getCode()); in testAnalyticsSingleCall()
172 assertEquals(expectedAnalytics.callTerminationReason.getCode(), in testAnalyticsDumping()
241 assertEquals(DisconnectCause.ERROR, callAnalytics1.callTerminationReason.getCode());
242 assertEquals(DisconnectCause.REMOTE, callAnalytics2.callTerminationReason.getCode());
356 assertEquals(expectedAnalytics.callTerminationReason.getCode(), in testAnalyticsDumpToProto()
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
H A DExpectedKeyOutput.java84 return mCode == key.getCode(); in hasSameKeyOutput()
139 return key.getCode() == Constants.CODE_OUTPUT_TEXT in hasSameKeyOutput()
/aosp12/system/chre/java/test/permissions/src/com/google/android/chre/test/permissions/
H A DContextHubChrePermissionsTestExecutor.java122 ChreTestCommon.TestResult.Code.PASSED, resultProto.getCode()); in checkPermissionGatedApisTest()
124 Assert.assertEquals(ChreTestCommon.TestResult.Code.PASSED, resultProto.getCode()); in checkPermissionGatedApisTest()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
H A DAppOpsControllerImpl.java231 if (item.getCode() == code && item.getUid() == uid in getAppOpItemLocked()
468 if (isOpMicrophone(item.getCode())) { in updateSensorDisabledStatus()
470 } else if (isOpCamera(item.getCode())) { in updateSensorDisabledStatus()
477 item.getCode(), in updateSensorDisabledStatus()
552 removeNoted(item.getCode(), item.getUid(), item.getPackageName()); in scheduleRemoval()
/aosp12/frameworks/base/telephony/java/com/android/ims/
H A DImsException.java53 public int getCode() { in getCode() method in ImsException
/aosp12/system/chre/java/test/settings/src/com/google/android/chre/test/setting/
H A DContextHubSettingsTestExecutor.java97 + mTestResult.get().getCode()); in onMessageFromNanoApp()
202 ChreSettingsTest.TestResult.Code.PASSED, mTestResult.get().getCode()); in startTestAssertSuccess()
/aosp12/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/
H A DDTCDetailActivity.java155 mDTCTitle.setTitle(mDTC.getCode() + ": " + mDTC.getDescription()); in setUpDetailPage()
212 mDTC.getCode())) in clearFreezeFrameButtonPress()
/aosp12/system/chre/java/test/audio_concurrency/src/com/google/android/chre/test/audioconcurrency/
H A DContextHubAudioConcurrencyTestExecutor.java92 + mTestResult.get().getCode()); in onMessageFromNanoApp()
160 ChreTestCommon.TestResult.Code.PASSED, mTestResult.get().getCode()); in run()

1234