/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
D | JsonWebKeyUnittest.cpp | 53 void verifyKeys(const KeyMap& keys, const String8* clearKeys) { in verifyKeys() argument 54 if (keys.isEmpty()) { in verifyKeys() 59 for (size_t i = 0; i < keys.size(); ++i) { in verifyKeys() 60 stringFromVector(keys.valueAt(i), &keyString); in verifyKeys() 76 KeyMap keys; in TEST_F() local 77 EXPECT_FALSE(jwk->extractKeysFromJsonWebKeySet(js, &keys)); in TEST_F() 78 EXPECT_TRUE(keys.isEmpty()); in TEST_F() 98 KeyMap keys; in TEST_F() local 99 EXPECT_FALSE(jwk->extractKeysFromJsonWebKeySet(js, &keys)); in TEST_F() 100 EXPECT_TRUE(keys.isEmpty()); in TEST_F() [all …]
|
/frameworks/base/core/java/android/test/ |
D | InstrumentationTestCase.java | 248 final String[] keys = keysSequence.split(" "); in sendKeys() local 249 final int count = keys.length; in sendKeys() 254 String key = keys[i]; in sendKeys() 299 public void sendKeys(int... keys) { in sendKeys() argument 300 final int count = keys.length; in sendKeys() 305 instrumentation.sendKeyDownUpSync(keys[i]); in sendKeys() 323 public void sendRepeatedKeys(int... keys) { in sendRepeatedKeys() argument 324 final int count = keys.length; in sendRepeatedKeys() 333 final int keyCount = keys[i]; in sendRepeatedKeys() 334 final int keyCode = keys[i + 1]; in sendRepeatedKeys()
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | StochasticLinearRankerWithPrior.java | 88 public float scoreSample(String[] keys, float[] values) { in scoreSample() argument 90 return super.scoreSample(keys, values); in scoreSample() 94 return (1 - mAutoAlpha) * super.scoreSample(keys,values) + in scoreSample() 95 mAutoAlpha * priorScoreSample(keys,values); in scoreSample() 97 return priorScoreSample(keys,values); in scoreSample() 99 return (1 - mAlpha) * super.scoreSample(keys,values) + in scoreSample() 100 mAlpha * priorScoreSample(keys,values); in scoreSample() 104 public float priorScoreSample(String[] keys, float[] values) { in priorScoreSample() argument 106 for (int i=0; i< keys.length; i++){ in priorScoreSample() 107 if (mPriorWeights.get(keys[i]) != null ) in priorScoreSample() [all …]
|
D | Learning_StochasticLinearRanker.java | 77 String[] keys = new String[temp.size()]; in ScoreSample() local 80 keys[i] = temp.get(i).key; in ScoreSample() 85 return mLearningSlRanker.scoreSample(keys,values); in ScoreSample()
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/ |
D | StochasticLinearRanker.java | 79 public float scoreSample(String[] keys, float[] values) { in scoreSample() argument 80 return nativeScoreSample(keys, values, mNativeClassifier); in scoreSample() 129 public boolean setModelWeights(String[] keys, float [] values, float normalizer){ in setModelWeights() argument 130 return nativeSetWeightClassifier(keys, values, normalizer, mNativeClassifier); in setModelWeights() 178 private native float nativeScoreSample(String[] keys, float[] values, long classifierPtr); in nativeScoreSample() argument 180 private native void nativeGetWeightClassifier(String [] keys, float[] values, float normalizer, in nativeGetWeightClassifier() argument 183 private native void nativeGetParameterClassifier(String [] keys, String[] values, in nativeGetParameterClassifier() argument 188 private native boolean nativeSetWeightClassifier(String [] keys, float[] values, in nativeSetWeightClassifier() argument
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | Session.cpp | 48 KeyMap keys; in provideKeyResponse() local 52 if (parser.extractKeysFromJsonWebKeySet(responseString, &keys)) { in provideKeyResponse() 53 for (size_t i = 0; i < keys.size(); ++i) { in provideKeyResponse() 54 const KeyMap::key_type& keyId = keys.keyAt(i); in provideKeyResponse() 55 const KeyMap::value_type& key = keys.valueAt(i); in provideKeyResponse()
|
/frameworks/base/core/java/android/app/backup/ |
D | FileBackupHelperBase.java | 54 ParcelFileDescriptor newState, String[] files, String[] keys) { in performBackup_checked() argument 65 if (files.length != keys.length) { in performBackup_checked() 67 + " keys.length=" + keys.length); in performBackup_checked() 76 int err = performBackup_native(oldStateFd, data.mBackupWriter, newStateFd, files, keys); in performBackup_checked() 122 long data, FileDescriptor newState, String[] files, String[] keys); in performBackup_native() argument
|
/frameworks/base/media/java/android/media/ |
D | MediaMuxer.java | 88 private static native int nativeAddTrack(long nativeObject, String[] keys, in nativeAddTrack() argument 267 String[] keys = null; in addTrack() local 271 keys = new String[mapSize]; in addTrack() 275 keys[i] = entry.getKey(); in addTrack() 279 trackIndex = nativeAddTrack(mNativeObject, keys, values); in addTrack()
|
D | MediaExtractor.java | 128 String[] keys = null; in setDataSource() local 132 keys = new String[headers.size()]; in setDataSource() 137 keys[i] = entry.getKey(); in setDataSource() 146 keys, in setDataSource() local 153 String[] keys, in nativeSetDataSource() argument
|
D | MediaMetadataRetriever.java | 97 String[] keys = new String[headers.size()]; in setDataSource() local 100 keys[i] = entry.getKey(); in setDataSource() 108 keys, in setDataSource() local 113 IBinder httpServiceBinder, String uri, String[] keys, String[] values) in _setDataSource() argument
|
D | MediaCodec.java | 550 String[] keys = null; in configure() local 554 keys = new String[formatMap.size()]; in configure() 567 keys[i] = "audio-hw-sync"; in configure() 570 keys[i] = entry.getKey(); in configure() 577 native_configure(keys, values, surface, crypto, flags); in configure() 583 String[] keys, Object[] values, in native_configure() argument 1577 String[] keys = new String[params.size()]; in setParameters() local 1582 keys[i] = key; in setParameters() 1587 setParameters(keys, values); in setParameters() 1666 private native final void setParameters(String[] keys, Object[] values); in setParameters() argument
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 297 ArrayList<Key> keys = keysByIdent.get(key.ident); in write() local 298 if (keys == null) { in write() 299 keys = Lists.newArrayList(); in write() 300 keysByIdent.put(key.ident, keys); in write() 302 keys.add(key); in write() 310 final ArrayList<Key> keys = keysByIdent.get(ident); in write() local 313 out.writeInt(keys.size()); in write() 314 for (Key key : keys) { in write() 468 final ArrayList<Key> keys = Lists.newArrayList(); in dump() local 469 keys.addAll(mStats.keySet()); in dump() [all …]
|
/frameworks/base/core/jni/ |
D | android_backup_FileBackupHelperBase.cpp | 42 jobject newState, jobjectArray files, jobjectArray keys) in performBackup_native() argument 57 const int keyCount = env->GetArrayLength(keys); in performBackup_native() 60 keysUTF[i] = env->GetStringUTFChars((jstring)env->GetObjectArrayElement(keys, i), NULL); in performBackup_native() 71 env->ReleaseStringUTFChars((jstring)env->GetObjectArrayElement(keys, i), keysUTF[i]); in performBackup_native()
|
/frameworks/base/media/jni/ |
D | android_media_Utils.cpp | 32 JNIEnv *env, jobjectArray keys, jobjectArray values, in ConvertKeyValueArraysToKeyedVector() argument 37 if (keys != NULL && values != NULL) { in ConvertKeyValueArraysToKeyedVector() 38 nKeyValuePairs = env->GetArrayLength(keys); in ConvertKeyValueArraysToKeyedVector() 43 failed = ((keys != NULL && values == NULL) || in ConvertKeyValueArraysToKeyedVector() 44 (keys == NULL && values != NULL)); in ConvertKeyValueArraysToKeyedVector() 56 jstring key = (jstring) env->GetObjectArrayElement(keys, i); in ConvertKeyValueArraysToKeyedVector() 283 JNIEnv *env, jobjectArray keys, jobjectArray values, in ConvertKeyValueArraysToMessage() argument 300 if (keys != NULL) { in ConvertKeyValueArraysToMessage() 305 numEntries = env->GetArrayLength(keys); in ConvertKeyValueArraysToMessage() 315 jobject keyObj = env->GetObjectArrayElement(keys, i); in ConvertKeyValueArraysToMessage()
|
D | android_media_Utils.h | 33 JNIEnv *env, jobjectArray keys, jobjectArray values, 41 JNIEnv *env, jobjectArray keys, jobjectArray values,
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | BluetoothLeUtils.java | 116 Set<T> keys = map.keySet(); in equals() local 117 if (!keys.equals(otherMap.keySet())) { in equals() 120 for (T key : keys) { in equals()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LongSparseLongArrayTest.java | 105 final Iterator<E> keys = map.keySet().iterator(); in getKeyAtIndex() local 107 keys.next(); in getKeyAtIndex() 109 return keys.next(); in getKeyAtIndex()
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationRankingUpdate.java | 32 public NotificationRankingUpdate(String[] keys, String[] interceptedKeys, in NotificationRankingUpdate() argument 34 mKeys = keys; in NotificationRankingUpdate()
|
D | NotificationListenerService.java | 336 public final void cancelNotifications(String[] keys) { in cancelNotifications() argument 339 getNotificationInterface().cancelNotificationsFromListener(mWrapper, keys); in cancelNotifications() 404 public StatusBarNotification[] getActiveNotifications(String[] keys) { in getActiveNotifications() argument 405 return getActiveNotifications(keys, TRIM_FULL); in getActiveNotifications() 421 public StatusBarNotification[] getActiveNotifications(String[] keys, int trim) { in getActiveNotifications() argument 426 .getActiveNotificationsFromListener(mWrapper, keys, trim); in getActiveNotifications()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 468 List<Key> keys = mKeyboard.getKeys(); in setKeyboard() local 469 mKeys = keys.toArray(new Key[keys.size()]); in setKeyboard() 609 final Key[] keys = mKeys; in computeProximityThreshold() 610 if (keys == null) return; in computeProximityThreshold() 611 int length = keys.length; in computeProximityThreshold() 614 Key key = keys[i]; in computeProximityThreshold() 665 final Key[] keys = mKeys; in onBufferDraw() local 680 final int keyCount = keys.length; in onBufferDraw() 682 final Key key = keys[i]; in onBufferDraw() 756 final Key[] keys = mKeys; in getKeyIndices() local [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | KeySetManagerService.java | 128 ArraySet<PublicKey> keys, String alias) { in addDefinedKeySetToPackageLPw() argument 129 if ((packageName == null) || (keys == null) || (alias == null)) { in addDefinedKeySetToPackageLPw() 138 KeySetHandle ks = addKeySetLPw(keys); in addDefinedKeySetToPackageLPw() 309 private KeySetHandle addKeySetLPw(ArraySet<PublicKey> keys) { in addKeySetLPw() argument 310 if (keys == null) { in addKeySetLPw() 314 ArraySet<Long> addedKeyIds = new ArraySet<Long>(keys.size()); in addKeySetLPw() 315 for (PublicKey k : keys) { in addKeySetLPw() 607 ArraySet<Long> keys = mKeySetMapping.valueAt(keySetIndex); in writeKeySetsLPr() local 610 for (long keyId : keys) { in writeKeySetsLPr()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | SparseWeakArray.java | 124 long[] keys = mKeys; in gc() local 134 keys[o] = keys[i]; in gc()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | SystemBackupAgent.java | 70 String[] keys = new String[] { WALLPAPER_IMAGE_KEY, WALLPAPER_INFO_KEY }; in onBackup() local 79 keys = new String[] { WALLPAPER_INFO_KEY }; in onBackup() 85 addHelper("wallpaper", new WallpaperBackupHelper(SystemBackupAgent.this, files, keys)); in onBackup()
|
/frameworks/base/core/java/android/util/ |
D | LongSparseArray.java | 158 long[] keys = mKeys; in gc() local 166 keys[o] = keys[i]; in gc()
|
D | SparseArray.java | 171 int[] keys = mKeys; in gc() local 179 keys[o] = keys[i]; in gc()
|