/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/ |
H A D | TranscriptionResponse.java | 41 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 D | AppOpsControllerTest.java | 503 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 D | ErrorReporter.java | 106 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 D | DynamicGridKeyboard.java | 69 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 D | EmojiCategory.java | 423 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 D | PointerTracker.java | 256 (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 D | KeyDetector.java | 109 || key.getCode() > primaryKey.getCode()) { in detectHitKey()
|
H A D | ProximityInfo.java | 100 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 D | KeyboardLayout.java | 60 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 D | NativeDaemonConnectorException.java | 43 public int getCode() { in getCode() method in NativeDaemonConnectorException 44 return mEvent != null ? mEvent.getCode() : -1; in getCode()
|
H A D | NativeDaemonEvent.java | 58 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 D | DefaultErrorDialog.java | 34 && (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 D | UceControllerManagerTest.java | 140 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 D | ImsRcsController.java | 112 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 D | TestErrors.java | 64 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 D | TimerHandler.java | 93 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 D | CallTest.java | 159 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 D | AnalyticsTests.java | 127 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 D | ExpectedKeyOutput.java | 84 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 D | ContextHubChrePermissionsTestExecutor.java | 122 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 D | AppOpsControllerImpl.java | 231 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 D | ImsException.java | 53 public int getCode() { in getCode() method in ImsException
|
/aosp12/system/chre/java/test/settings/src/com/google/android/chre/test/setting/ |
H A D | ContextHubSettingsTestExecutor.java | 97 + 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 D | DTCDetailActivity.java | 155 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 D | ContextHubAudioConcurrencyTestExecutor.java | 92 + mTestResult.get().getCode()); in onMessageFromNanoApp() 160 ChreTestCommon.TestResult.Code.PASSED, mTestResult.get().getCode()); in run()
|