Searched refs:keyToken (Results 1 – 6 of 6) sorted by relevance
65 private native int nativeSetKeyToken(byte[] keyToken); in nativeSetKeyToken() argument127 public int setKeyToken(@NonNull byte[] keyToken) { in setKeyToken() argument130 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() argument147 if (keyToken.length == 0 || keyToken.length > 16) { in isValidKeyToken()148 Log.d(TAG, "Invalid key token size: " + (keyToken.length * 8) + " bit."); in isValidKeyToken()
157 String8 keyToken = mTokenizer->nextToken(WHITESPACE_OR_PROPERTY_DELIMITER); in parse() local158 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()
48 Result DescramblerClient::setKeyToken(vector<uint8_t> keyToken) { in setKeyToken() argument50 Status s = mTunerDescrambler->setKeyToken(keyToken); in setKeyToken()
48 Result setKeyToken(vector<uint8_t> keyToken);
37 void setKeyToken(in byte[] keyToken); in setKeyToken() argument
4318 JNIEnv* env, jobject descrambler, jbyteArray keyToken) { in android_media_tv_Tuner_descrambler_set_key_token() argument4323 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()