/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | FullscreenRotationTest.java | 34 Utils.startElementLayout(getInstrumentation(), 100); in beforeTest() 40 Utils.rotateDevice(getInstrumentation(), Utils.ROTATION_MODE_NATURAL); in afterTest() 45 @GfxMonitor(processName=Utils.PACKAGE) 48 Utils.rotateDevice(getInstrumentation(), in testRotation() 49 Utils.getDeviceRotation(getInstrumentation()) == Utils.ROTATION_MODE_LEFT ? in testRotation() 50 Utils.ROTATION_MODE_RIGHT : Utils.ROTATION_MODE_LEFT); in testRotation()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyGenParameterSpec.java | 320 mCertificateNotBefore = Utils.cloneIfNotNull(certificateNotBefore); in KeyGenParameterSpec() 321 mCertificateNotAfter = Utils.cloneIfNotNull(certificateNotAfter); in KeyGenParameterSpec() 322 mKeyValidityStart = Utils.cloneIfNotNull(keyValidityStart); in KeyGenParameterSpec() 323 mKeyValidityForOriginationEnd = Utils.cloneIfNotNull(keyValidityForOriginationEnd); in KeyGenParameterSpec() 324 mKeyValidityForConsumptionEnd = Utils.cloneIfNotNull(keyValidityForConsumptionEnd); in KeyGenParameterSpec() 334 mAttestationChallenge = Utils.cloneIfNotNull(attestationChallenge); in KeyGenParameterSpec() 401 return Utils.cloneIfNotNull(mCertificateNotBefore); in getCertificateNotBefore() 410 return Utils.cloneIfNotNull(mCertificateNotAfter); in getCertificateNotAfter() 419 return Utils.cloneIfNotNull(mKeyValidityStart); in getKeyValidityStart() 428 return Utils.cloneIfNotNull(mKeyValidityForConsumptionEnd); in getKeyValidityForConsumptionEnd() [all …]
|
D | KeyProtection.java | 243 mKeyValidityStart = Utils.cloneIfNotNull(keyValidityStart); in KeyProtection() 244 mKeyValidityForOriginationEnd = Utils.cloneIfNotNull(keyValidityForOriginationEnd); in KeyProtection() 245 mKeyValidityForConsumptionEnd = Utils.cloneIfNotNull(keyValidityForConsumptionEnd); in KeyProtection() 267 return Utils.cloneIfNotNull(mKeyValidityStart); in getKeyValidityStart() 277 return Utils.cloneIfNotNull(mKeyValidityForConsumptionEnd); in getKeyValidityForConsumptionEnd() 287 return Utils.cloneIfNotNull(mKeyValidityForOriginationEnd); in getKeyValidityForOriginationEnd() 478 mKeyValidityStart = Utils.cloneIfNotNull(startDate); in setKeyValidityStart() 507 mKeyValidityForOriginationEnd = Utils.cloneIfNotNull(endDate); in setKeyValidityForOriginationEnd() 521 mKeyValidityForConsumptionEnd = Utils.cloneIfNotNull(endDate); in setKeyValidityForConsumptionEnd()
|
D | KeyInfo.java | 109 mKeyValidityStart = Utils.cloneIfNotNull(keyValidityStart); in KeyInfo() 110 mKeyValidityForOriginationEnd = Utils.cloneIfNotNull(keyValidityForOriginationEnd); in KeyInfo() 111 mKeyValidityForConsumptionEnd = Utils.cloneIfNotNull(keyValidityForConsumptionEnd); in KeyInfo() 164 return Utils.cloneIfNotNull(mKeyValidityStart); in getKeyValidityStart() 174 return Utils.cloneIfNotNull(mKeyValidityForConsumptionEnd); in getKeyValidityForConsumptionEnd() 184 return Utils.cloneIfNotNull(mKeyValidityForOriginationEnd); in getKeyValidityForOriginationEnd()
|
D | Utils.java | 26 abstract class Utils { class 27 private Utils() {} in Utils() method in Utils
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AndroidAppAsset.java | 68 writer.writeFieldLower(Utils.NAMESPACE_FIELD, Utils.NAMESPACE_ANDROID_APP); in toJson() 69 writer.writeFieldLower(Utils.ANDROID_APP_ASSET_FIELD_PACKAGE_NAME, mPackageName); in toJson() 70 writer.writeArrayUpper(Utils.ANDROID_APP_ASSET_FIELD_CERT_FPS, mCertFingerprints); in toJson() 117 String packageName = asset.optString(Utils.ANDROID_APP_ASSET_FIELD_PACKAGE_NAME); in create() 120 Utils.ANDROID_APP_ASSET_FIELD_PACKAGE_NAME)); in create() 123 JSONArray certArray = asset.optJSONArray(Utils.ANDROID_APP_ASSET_FIELD_CERT_FPS); in create() 127 Utils.ANDROID_APP_ASSET_FIELD_CERT_FPS)); in create() 136 Utils.ANDROID_APP_ASSET_FIELD_CERT_FPS)); in create()
|
D | WebAsset.java | 76 writer.writeFieldLower(Utils.NAMESPACE_FIELD, Utils.NAMESPACE_WEB); in toJson() 77 writer.writeFieldLower(Utils.WEB_ASSET_FIELD_SITE, mUrl.toExternalForm()); in toJson() 122 if (asset.optString(Utils.WEB_ASSET_FIELD_SITE).equals("")) { in create() 124 Utils.WEB_ASSET_FIELD_SITE)); in create() 129 url = new URL(asset.optString(Utils.WEB_ASSET_FIELD_SITE)); in create()
|
D | AssetFactory.java | 37 String namespace = asset.optString(Utils.NAMESPACE_FIELD, null); in create() 40 FIELD_NOT_STRING_FORMAT_STRING, Utils.NAMESPACE_FIELD)); in create() 43 if (namespace.equals(Utils.NAMESPACE_WEB)) { in create() 45 } else if (namespace.equals(Utils.NAMESPACE_ANDROID_APP)) { in create()
|
D | StatementParser.java | 87 if (statement.optString(Utils.DELEGATE_FIELD_DELEGATE, null) != null) { in parseStatement() 88 delegates.add(statement.optString(Utils.DELEGATE_FIELD_DELEGATE)); in parseStatement() 90 JSONObject targetObject = statement.optJSONObject(Utils.ASSET_DESCRIPTOR_FIELD_TARGET); in parseStatement() 93 FIELD_NOT_STRING_FORMAT_STRING, Utils.ASSET_DESCRIPTOR_FIELD_TARGET)); in parseStatement() 96 JSONArray relations = statement.optJSONArray(Utils.ASSET_DESCRIPTOR_FIELD_RELATION); in parseStatement() 99 FIELD_NOT_ARRAY_FORMAT_STRING, Utils.ASSET_DESCRIPTOR_FIELD_RELATION)); in parseStatement()
|
D | AssetMatcherFactory.java | 34 String namespace = queryObject.optString(Utils.NAMESPACE_FIELD, null); in create() 37 FIELD_NOT_STRING_FORMAT_STRING, Utils.NAMESPACE_FIELD)); in create() 40 if (namespace.equals(Utils.NAMESPACE_WEB)) { in create() 42 } else if (namespace.equals(Utils.NAMESPACE_ANDROID_APP)) { in create()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
D | HomeSP.java | 3 import com.android.hotspot2.Utils; 48 otherPartners.add(Utils.splitDomain(otherPartner)); in HomeSP() 52 mDomainMatcher = new DomainMatcher(Utils.splitDomain(fqdn), otherPartners); in HomeSP() 88 otherPartners.add(Utils.splitDomain(otherPartner)); in HomeSP() 92 mDomainMatcher = new DomainMatcher(Utils.splitDomain(fqdn), otherPartners); in HomeSP() 175 Utils.compare(mIconURL, other.mIconURL) == 0 && in deepEquals() 202 ", RoamingConsortiums={" + Utils.roamingConsortiumsToString(mRoamingConsortiums) + in toString() 204 ", MatchAnyOIs={" + Utils.roamingConsortiumsToString(mMatchAnyOIs) + '}' + in toString() 205 ", MatchAllOIs={" + Utils.roamingConsortiumsToString(mMatchAllOIs) + '}' + in toString()
|
D | DomainMatcher.java | 3 import com.android.hotspot2.Utils; 136 DomainMatcher dm1 = new DomainMatcher(Utils.splitDomain("android.google.com"), in main() 139 System.out.println(domain + ": " + dm1.isSubDomain(Utils.splitDomain(domain))); in main() 142 secondaries.add(Utils.splitDomain("apple.com")); in main() 143 secondaries.add(Utils.splitDomain("net")); in main() 144 DomainMatcher dm2 = new DomainMatcher(Utils.splitDomain("android.google.com"), secondaries); in main() 146 System.out.println(domain + ": " + dm2.isSubDomain(Utils.splitDomain(domain))); in main()
|
D | SubscriptionParameters.java | 3 import com.android.hotspot2.Utils; 65 ", startDate=" + Utils.toUTCString(mStartDate) + in toString() 75 "cDate=" + Utils.toUTCString(mCDate) + in toString() 76 ", xDate=" + Utils.toUTCString(mXDate) + in toString()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
D | DomainMatcher.java | 5 import com.android.server.wifi.hotspot2.Utils; 138 DomainMatcher dm1 = new DomainMatcher(Utils.splitDomain("android.google.com"), in main() 141 System.out.println(domain + ": " + dm1.isSubDomain(Utils.splitDomain(domain))); in main() 144 secondaries.add(Utils.splitDomain("apple.com")); in main() 145 secondaries.add(Utils.splitDomain("net")); in main() 146 DomainMatcher dm2 = new DomainMatcher(Utils.splitDomain("android.google.com"), secondaries); in main() 148 System.out.println(domain + ": " + dm2.isSubDomain(Utils.splitDomain(domain))); in main()
|
D | HomeSP.java | 16 import com.android.server.wifi.hotspot2.Utils; 70 otherPartners.add(Utils.splitDomain(otherPartner)); in HomeSP() 74 mDomainMatcher = new DomainMatcher(Utils.splitDomain(fqdn), otherPartners); in HomeSP() 110 otherPartners.add(Utils.splitDomain(otherPartner)); in HomeSP() 114 mDomainMatcher = new DomainMatcher(Utils.splitDomain(fqdn), otherPartners); in HomeSP() 167 Log.d(Utils.hs2LogTag(getClass()), networkDetail.toKeyString() + " match on " + mFQDN + in match() 191 Log.d(Utils.hs2LogTag(getClass()), "match SSID"); in matchSP() 256 List<String> anLabels = Utils.splitDomain(domain); in matchSP() 290 String mccMnc = Utils.getMccMnc(fqdn); in imsiMatch() 338 Utils.compare(mIconURL, other.mIconURL) == 0 && in deepEquals() [all …]
|
D | Credential.java | 14 import com.android.server.wifi.hotspot2.Utils; 134 mCtime = Utils.UNSET_TIME; in Credential() 135 mExpTime = Utils.UNSET_TIME; in Credential() 149 Log.e(Utils.hs2LogTag(getClass()), in Credential() 161 Log.e(Utils.hs2LogTag(getClass()), "Failed to construct digest: " + gse); in Credential() 170 Log.e(Utils.hs2LogTag(getClass()), "Bad base 64 alias"); in Credential() 341 "mCtime=" + Utils.toUTCString(mCtime) + in toString() 342 ", mExpTime=" + Utils.toUTCString(mExpTime) + in toString() 353 ", mFingerPrint=" + Utils.toHexString(mFingerPrint) + in toString()
|
D | SubscriptionParameters.java | 3 import com.android.server.wifi.hotspot2.Utils; 70 ", startDate=" + Utils.toUTCString(mStartDate) + in toString() 80 "cDate=" + Utils.toUTCString(mCDate) + in toString() 81 ", xDate=" + Utils.toUTCString(mXDate) + in toString()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | SupplicantBridge.java | 97 Log.e(Utils.hs2LogTag(SupplicantBridge.class), "Failed to parse ANQP: " + pe); in parseANQPLines() 113 Log.d(Utils.hs2LogTag(getClass()), "ANQP initiated on " in startANQP() 118 Log.d(Utils.hs2LogTag(getClass()), "ANQP failed on " + in startANQP() 126 Utils.macToString(bssid) + " " + fileName); in doIconQuery() 138 Utils.macToString(iconEvent.getBSSID()), iconEvent.getFileName(), in retrieveIcon() 140 Log.d(Utils.hs2LogTag(getClass()), "Issuing '" + command + "'"); in retrieveIcon() 162 Log.w(Utils.hs2LogTag(getClass()), "Partial icon data: " + offset + in retrieveIcon() 167 Log.d(Utils.hs2LogTag(getClass()), "Deleting icon for " + iconEvent); in retrieveIcon() 169 Utils.macToString(iconEvent.getBSSID()) + " " + iconEvent.getFileName()); in retrieveIcon() 191 Log.d(Utils.hs2LogTag(getClass()), String.format("%s ANQP response for %012x: %s", in notifyANQPDone() [all …]
|
D | AnqpCache.java | 103 return Utils.compare(that.mSSID, mSSID) == 0 && in equals() 115 ":<" + Utils.toUnicodeEscapedString(mSSID) + ">"; in toString() 118 return '<' + Utils.toUnicodeEscapedString(mSSID) + '>'; in toString() 135 Log.d(Utils.hs2LogTag(getClass()), in initiate() 174 if (DBG) Log.d(Utils.hs2LogTag(getClass()), "Clearing ANQP cache: all: " + all); in clear() 191 Log.d(Utils.hs2LogTag(getClass()), "Retired " + key); in clear() 200 out.println("Last sweep " + Utils.toHMS(mClock.currentTimeMillis() - mLastSweep) + " ago."); in dump()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 33 import static android.media.Utils.intersectSortedDistinctRanges; 34 import static android.media.Utils.sortDistinctRanges; 905 mMaxSupportedInstances = Utils.parseIntSafely( in CodecCapabilities() 908 int maxInstances = Utils.parseIntSafely( in CodecCapabilities() 1010 int ix = Utils.binarySearchDistinctRanges( in supports() 1146 rateRanges[i] = Utils.parseIntRange(rateStrings[i], null); in parseFromInfo() 1151 maxInputChannels = Utils.parseIntSafely( in parseFromInfo() 1156 Utils.parseIntRange(info.getString("bitrate-range"), bitRates)); in parseFromInfo() 1305 final int heightInBlocks = Utils.divUp(height, mBlockHeight); in getSupportedWidthsFor() 1309 Utils.divUp(mBlockCountRange.getLower(), heightInBlocks), in getSupportedWidthsFor() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
D | GenericBlobElement.java | 3 import com.android.server.wifi.hotspot2.Utils; 25 return "Element ID " + getID() + ": " + Utils.toHexString(mData); in toString()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 35 import com.android.gallery3d.common.Utils; 276 Utils.closeSilently(is); in loadBitmapRegionDecoder() 280 Utils.closeSilently(is); in loadBitmapRegionDecoder() 293 Utils.closeSilently(is); in loadPreviewBitmap() 306 Utils.closeSilently(is); in readExif() 318 Utils.closeSilently(is); in readExif() 340 Utils.closeSilently(is); in loadBitmapRegionDecoder() 344 Utils.closeSilently(is); in loadBitmapRegionDecoder() 357 Utils.closeSilently(is); in readExif()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 64 ? Utils.nextPowerOf2(initialSize) in computeSampleSize() 92 ? Utils.prevPowerOf2(initialSize) in computeSampleSizeLarger() 102 ? Utils.prevPowerOf2(initialSize) in computeSampleSizeLarger() 108 Utils.assertTrue(scale > 0); in computeSampleSize() 111 ? Utils.nextPowerOf2(initialSize) in computeSampleSize()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | BasicTexture.java | 21 import com.android.gallery3d.common.Utils; 81 mTextureWidth = width > 0 ? Utils.nextPowerOf2(width) : 0; in setSize() 82 mTextureHeight = height > 0 ? Utils.nextPowerOf2(height) : 0; in setSize()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 47 private static final boolean DEBUG = Utils.V; 125 if (Utils.D) { in onProfileStateChanged() 131 if (Utils.D) Log.d(TAG, " BT Turninig Off...Profile conn state change ignored..."); in onProfileStateChanged() 188 if (Utils.D) { in disconnect() 276 if (Utils.D) { in connectInt() 327 if (Utils.D) { in unpair() 330 } else if (Utils.V) { in unpair() 350 if (Utils.D) { in clearProfileConnectionState() 848 return Utils.getConnectionStateSummary(connectionStatus); in getConnectionSummary()
|