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

Commit 437433ef authored by pkanwar's avatar pkanwar
Browse files

Test app for IMSI privacy.

Create test app to download IMIS certificates, and parse the JSON.
The test app will also persist the certificates using TelephonyManager.

Bug: 35606429
Test: Manual
Change-Id: Icef53ffbd790f05c11a37c40d63f3252c8d7301c
parent ec900e5e
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
    <uses-permission android:name="android.permission.READ_CALL_LOG" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
@@ -178,6 +179,16 @@
            </intent-filter>
        </activity>

        <activity android:name="com.android.server.telecom.testapps.TestCertActivity"
                android:label="@string/KeyUiAppLabel"
                android:launchMode="singleInstance">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
          </activity>

        <activity android:name="com.android.server.telecom.testapps.SelfManagedCallingActivity"
                  android:label="@string/selfManagedCallingActivityLabel"
                  android:process="com.android.server.telecom.testapps.SelfMangingCallingApp"
+18 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 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.
-->
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"/>
+36 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 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.
-->

<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >
    <EditText
        android:id="@+id/text"
        android:inputType="text"
        android:layout_width="200dp"
        android:layout_height="wrap_content" />
    <Button
        android:id="@+id/get_key_button"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/getKeyButton" />
     <ListView
        android:id="@+id/keylist"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content" />
</LinearLayout>
+8 −3
Original line number Diff line number Diff line
@@ -58,6 +58,14 @@

    <string name="inCallUiAppLabel">Test InCall UI</string>

    <string name="UssdUiAppLabel">Test Ussd UI</string>

    <string name="placeUssdButton">Send USSD</string>

    <string name="KeyUiAppLabel">Get Key UI</string>

    <string name="getKeyButton">Get Key Json</string>

    <!-- String for button in SelfManagedCallingActivity. -->
    <string name="checkIfPermittedBeforeCallingButton">Check if calls permitted before calling</string>

@@ -88,7 +96,4 @@
        <item>The FCC has mandated that I respond... I will do so begrudgingly</item>
        <item>😂😂😂💯</item>
    </string-array>

    <string name="UssdUiAppLabel">Test Ussd UI</string>
    <string name="placeUssdButton">Send USSD</string>
</resources>