Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba1de9e0 authored by Sherry Huang's avatar Sherry Huang Committed by Android (Google) Code Review
Browse files

Revert "TIS: Standardize TIS Scan Extensions API"

This reverts commit c316530f.

Reason for revert: MemoryOnBoot Regression 

Change-Id: Id00294735b963441ca3ef5d810f11052ecc5e111
parent c316530f
Loading
Loading
Loading
Loading
+0 −36
Original line number Diff line number Diff line
/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package android.media.tv.extension.scan;

import android.media.tv.extension.scan.IFavoriteNetworkListener;
import android.os.Bundle;

/**
 * Country: Norway
 * Broadcast Type: BROADCAST_TYPE_DVB_T
 * (Operator: RiksTV)
 *
 * @hide
 */
interface IFavoriteNetwork {
    // Get the favorite network information,If there are no conflicts, the array of Bundle is empty.
    Bundle[] getFavoriteNetworks();
    // Select and set one of two or more favorite networks detected by the service scan.
    int setFavoriteNetwork(in Bundle favoriteNetworkSettings);
    // Set the listener to be invoked when two or more favorite networks are detected.
    int setListener(in IFavoriteNetworkListener listener);
}
+0 −26
Original line number Diff line number Diff line
/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package android.media.tv.extension.scan;

import android.os.Bundle;

/**
 * @hide
 */
oneway interface IFavoriteNetworkListener {
    void onDetectFavoriteNetwork(in Bundle detectFavoriteNetworks);
}
+0 −25
Original line number Diff line number Diff line
/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package android.media.tv.extension.scan;

/**
 * @hide
 */
interface IHDPlusInfo {
    // Specifying a HDPlusInfo and start a network scan.
    int setHDPlusInfo(String isBlindScanContinue, String isHDMode);
}
+0 −35
Original line number Diff line number Diff line
/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package android.media.tv.extension.scan;

import android.media.tv.extension.scan.ILcnConflictListener;
import android.os.Bundle;

/**
 * Country: Italy, France
 * Broadcast Type: BROADCAST_TYPE_DVB_T
 *
 * @hide
 */
interface ILcnConflict {
    // Get the LCN conflict groups information, If there are no conflicts, the array of Bundle is empty.
    Bundle[] getLcnConflictGroups();
    // Resolve LCN conflicts caused by service scans.
    int resolveLcnConflict(in Bundle[] lcnConflictSettings);
    // Set the listener to be invoked the LCN conflict event.
    int setListener(in ILcnConflictListener listener);
}
+0 −26
Original line number Diff line number Diff line
/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package android.media.tv.extension.scan;

import android.os.Bundle;

/**
 * @hide
 */
oneway interface ILcnConflictListener {
    void onDetectLcnConflict(in Bundle detectLcnConflicts);
}
Loading