Home
last modified time | relevance | path

Searched refs:keyToken (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/media/java/android/media/tv/tuner/
DDescrambler.java65 private native int nativeSetKeyToken(byte[] keyToken); in nativeSetKeyToken() argument
127 public int setKeyToken(@NonNull byte[] keyToken) { in setKeyToken() argument
130 Objects.requireNonNull(keyToken, "key token must not be null"); in setKeyToken()
131 if (!isValidKeyToken(keyToken)) { in setKeyToken()
134 return nativeSetKeyToken(keyToken); in setKeyToken()
146 public static boolean isValidKeyToken(@NonNull byte[] keyToken) { in isValidKeyToken() argument
147 if (keyToken.length == 0 || keyToken.length > 16) { in isValidKeyToken()
148 Log.d(TAG, "Invalid key token size: " + (keyToken.length * 8) + " bit."); in isValidKeyToken()
/frameworks/native/libs/input/
DPropertyMap.cpp157 String8 keyToken = mTokenizer->nextToken(WHITESPACE_OR_PROPERTY_DELIMITER); in parse() local
158 if (keyToken.isEmpty()) { in parse()
187 if (mMap->hasProperty(keyToken)) { in parse()
189 mTokenizer->getLocation().string(), keyToken.string()); in parse()
193 mMap->addProperty(keyToken, valueToken); in parse()
/frameworks/base/media/jni/tuner/
DDescramblerClient.cpp48 Result DescramblerClient::setKeyToken(vector<uint8_t> keyToken) { in setKeyToken() argument
50 Status s = mTunerDescrambler->setKeyToken(keyToken); in setKeyToken()
DDescramblerClient.h48 Result setKeyToken(vector<uint8_t> keyToken);
/frameworks/av/services/tuner/aidl/android/media/tv/tuner/
DITunerDescrambler.aidl37 void setKeyToken(in byte[] keyToken); in setKeyToken() argument
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.cpp4318 JNIEnv* env, jobject descrambler, jbyteArray keyToken) { in android_media_tv_Tuner_descrambler_set_key_token() argument
4323 int size = env->GetArrayLength(keyToken); in android_media_tv_Tuner_descrambler_set_key_token()
4325 env->GetByteArrayRegion(keyToken, 0, size, reinterpret_cast<jbyte *>(&v[0])); in android_media_tv_Tuner_descrambler_set_key_token()