/frameworks/base/media/java/android/mtp/ |
D | MtpObjectInfo.java | 106 Preconditions.checkState(mCompressedSize >= 0); in getCompressedSize() 136 Preconditions.checkState(mThumbCompressedSize >= 0); in getThumbCompressedSize() 157 Preconditions.checkState(mThumbPixWidth >= 0); in getThumbPixWidth() 178 Preconditions.checkState(mThumbPixHeight >= 0); in getThumbPixHeight() 199 Preconditions.checkState(mImagePixWidth >= 0); in getImagePixWidth() 220 Preconditions.checkState(mImagePixHeight >= 0); in getImagePixHeight() 241 Preconditions.checkState(mImagePixDepth >= 0); in getImagePixDepth() 298 Preconditions.checkState(mSequenceNumber >= 0); in getSequenceNumber()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeMachine.java | 145 Preconditions.checkState(mParts == null); in setParts() 170 Preconditions.checkState(!isExecutingTransition()); in requestPulse() 218 Preconditions.checkState(mState == State.DOZE_REQUEST_PULSE in getPulseReason() 285 Preconditions.checkState(newState == State.FINISH); in validateTransition() 288 Preconditions.checkState(newState == State.INITIALIZED); in validateTransition() 295 Preconditions.checkState(mState == State.UNINITIALIZED); in validateTransition() 298 Preconditions.checkState(mState == State.DOZE_REQUEST_PULSE); in validateTransition() 301 Preconditions.checkState( in validateTransition()
|
/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
D | TransportClient.java | 283 Preconditions.checkState( in markAsDisposed() 314 Preconditions.checkState( 556 checkState(mListeners.isEmpty(), "Unexpected listeners when state = UNUSABLE"); in checkStateIntegrityLocked() 557 checkState( in checkStateIntegrityLocked() 560 checkState(mListeners.isEmpty(), "Unexpected listeners when state = IDLE"); in checkStateIntegrityLocked() 561 checkState(mTransport == null, "Transport expected to be null when state = IDLE"); in checkStateIntegrityLocked() 564 checkState( in checkStateIntegrityLocked() 569 checkState(mListeners.isEmpty(), "Unexpected listeners when state = CONNECTED"); in checkStateIntegrityLocked() 570 checkState( in checkStateIntegrityLocked() 575 checkState(false, "Unexpected state = " + stateToString(mState)); in checkStateIntegrityLocked() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioPlaybackCaptureConfiguration.java | 180 Preconditions.checkState( in addMatchingUsage() 197 Preconditions.checkState( in addMatchingUid() 214 Preconditions.checkState( in excludeUsage() 233 Preconditions.checkState( in excludeUid()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | DataRemovalRequest.java | 126 Preconditions.checkState(mLocusIds == null, "Already added LocusIds"); in forEverything() 143 Preconditions.checkState(!mForEverything, "Already is for everything"); in addLocusId() 164 Preconditions.checkState(mForEverything || mLocusIds != null, in build() 172 Preconditions.checkState(!mDestroyed, "Already destroyed!"); in throwIfDestroyed()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillValue.java | 66 Preconditions.checkState(isText(), "value must be a text value, not type=" + mType); in getTextValue() 87 Preconditions.checkState(isToggle(), "value must be a toggle value, not type=" + mType); in getToggleValue() 108 Preconditions.checkState(isList(), "value must be a list value, not type=" + mType); in getListValue() 129 Preconditions.checkState(isDate(), "value must be a date value, not type=" + mType); in getDateValue()
|
/frameworks/base/media/java/android/media/audiofx/ |
D | AudioEffect.java | 545 checkState("getDescriptor()"); in getDescriptor() 615 checkState("setEnabled()"); in setEnabled() 639 checkState("setParameter()"); in setParameter() 777 checkState("getParameter()"); in getParameter() 962 checkState("command()"); in command() 979 checkState("getId()"); in getId() 990 checkState("getEnabled()"); in getEnabled() 1002 checkState("hasControl()"); in hasControl() 1372 public void checkState(String methodName) throws IllegalStateException { in checkState() method in AudioEffect
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | Preconditions.java | 162 public static void checkState(final boolean expression, String message) { in checkState() method in Preconditions 175 public static void checkState(final boolean expression) { in checkState() method in Preconditions 176 checkState(expression, null); in checkState()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | Preconditions.java | 169 public static void checkState(final boolean expression, String message) { in checkState() method in Preconditions 183 public static void checkState(final boolean expression) { in checkState() method in Preconditions 184 checkState(expression, null); in checkState()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | DeviceDiscoveryAction.java | 323 Preconditions.checkState(mProcessedDeviceCount < mDevices.size()); in handleReportPhysicalAddress() 353 Preconditions.checkState(mProcessedDeviceCount < mDevices.size()); 380 Preconditions.checkState(mProcessedDeviceCount < mDevices.size()); 400 Preconditions.checkState(mProcessedDeviceCount < mDevices.size());
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutInfo.java | 814 Preconditions.checkState(isVisibleToPublisher(), in ensureUpdatableWith() 817 Preconditions.checkState(mUserId == source.mUserId, "Owner User ID must match"); in ensureUpdatableWith() 818 Preconditions.checkState(mId.equals(source.mId), "ID must match"); in ensureUpdatableWith() 819 Preconditions.checkState(mPackageName.equals(source.mPackageName), in ensureUpdatableWith() 824 Preconditions.checkState(!isImmutable(), "Target ShortcutInfo is immutable"); in ensureUpdatableWith() 1078 Preconditions.checkState(mTitle == null, "shortLabel already set"); in setShortLabelResId() 1098 Preconditions.checkState(mTitleResId == 0, "shortLabelResId already set"); in setShortLabel() 1109 Preconditions.checkState(mText == null, "longLabel already set"); in setLongLabelResId() 1126 Preconditions.checkState(mTextResId == 0, "longLabelResId already set"); in setLongLabel() 1161 Preconditions.checkState(mDisabledMessage == null, "disabledMessage already set"); in setDisabledMessageResId() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiNetworkAgentSpecifier.java | 20 import static com.android.internal.util.Preconditions.checkState; 138 checkState(ssidWithQuotes.startsWith("\"") && ssidWithQuotes.endsWith("\"")); in satisfiesNetworkSpecifier()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/ |
D | WakeLockFake.java | 32 Preconditions.checkState(mAcquired > 0); in release()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbRequest.java | 246 Preconditions.checkState(mNativeContext != 0, "request is not initialized"); in queue() 249 Preconditions.checkState(!mIsUsingNewQueue, "this request is currently queued"); in queue()
|
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
D | SQLiteDatabaseIoPerfTest.java | 134 Preconditions.checkState(mWriteBytes == null, "Measurement already started"); in startMeasuringWrites() 139 Preconditions.checkState(mWriteBytes != null, "Measurement wasn't started"); in endMeasuringWrites()
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsService.java | 118 Preconditions.checkState(lightIds.length == lightStates.length); in setLightStates() 122 Preconditions.checkState(session != null, "not registered"); in setLightStates() 154 Preconditions.checkState(getSessionLocked(token) == null, "already registered"); in openSession() 187 Preconditions.checkState(light != null && !isSystemLight(hwLight), in checkRequestIsValid()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | Mapper.java | 204 Preconditions.checkState(!mInMappingIds.contains(parentDocumentId)); in startAddingDocuments() 250 Preconditions.checkState(mInMappingIds.contains(parentId)); in putDocuments() 333 Preconditions.checkState(mInMappingIds.contains(parentId)); in stopAddingDocuments()
|
/frameworks/base/core/java/android/service/autofill/ |
D | SaveInfo.java | 478 Preconditions.checkState(mCustomDescription == null, in setDescription() 498 Preconditions.checkState(mDescription == null, in setCustomDescription() 695 Preconditions.checkState( in build()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphRunner.java | 220 public boolean checkState(int state) { in checkState() method in GraphRunner.GraphRunLoop 725 return !mRunLoop.checkState(State.STOPPED); in isRunning() 734 return mRunLoop.checkState(State.PAUSED); in isPaused() 743 return mRunLoop.checkState(State.STOPPED); in isStopped()
|
/frameworks/native/services/sensorservice/ |
D | Fusion.h | 93 void checkState();
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | LockFindingClassVisitor.java | 37 import static com.google.common.base.Preconditions.checkState; 150 checkState(instructions.get(i + 1).getType() == AbstractInsnNode.LABEL, in visitEnd() 160 checkState(handlersMap.get(i).get(0).end == label, in visitEnd()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ServiceWatcher.java | 254 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in bindBestPackage() 331 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in bind() 347 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in unbind()
|
/frameworks/base/services/backup/java/com/android/server/backup/remote/ |
D | RemoteCall.java | 115 Preconditions.checkState( in call()
|
D | RemoteResult.java | 63 Preconditions.checkState(isPresent(), "Can't obtain value of failed result"); in get()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | Preconditions.java | 123 public static boolean checkState(String message, boolean state) { in checkState() method in Preconditions
|