Home
last modified time | relevance | path

Searched +full:import +full:- +full:fresh (Results 1 – 25 of 1112) sorted by relevance

12345678910>>...45

/aosp_15_r20/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/icons/
DIconCacheUpdateHandlerTest.kt8 * http://www.apache.org/licenses/LICENSE-2.0 in <lambda>()
19 import android.content.ComponentName in <lambda>()
20 import android.content.pm.ApplicationInfo in <lambda>()
21 import android.database.MatrixCursor in <lambda>()
22 import android.os.Handler in <lambda>()
23 import android.os.Process.myUserHandle in <lambda>()
24 import androidx.test.ext.junit.runners.AndroidJUnit4 in <lambda>()
25 import androidx.test.filters.SmallTest in <lambda>()
26 import com.android.launcher3.icons.cache.BaseIconCache in <lambda>()
27 import com.android.launcher3.icons.cache.BaseIconCache.IconDB in <lambda>()
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/support/
Dimport_helper.py1 import contextlib
2 import _imp
3 import importlib
4 import importlib.util
5 import os
6 import shutil
7 import sys
8 import unittest
9 import warnings
11 from .os_helper import unlink
[all …]
/aosp_15_r20/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManagerImpl.java8 * http://www.apache.org/licenses/LICENSE-2.0
19 import android.app.ActivityManager;
20 import android.content.ComponentCallbacks2;
21 import android.content.ContentResolver;
22 import android.content.ContentUris;
23 import android.content.Context;
24 import android.content.res.Resources;
25 import android.database.Cursor;
26 import android.graphics.Bitmap;
27 import android.graphics.Canvas;
[all …]
/aosp_15_r20/external/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/
H A DOAuth2Credentials.java34 import com.google.api.client.util.Clock;
35 import com.google.auth.Credentials;
36 import com.google.auth.RequestMetadataCallback;
37 import com.google.auth.http.AuthHttpConstants;
38 import com.google.common.annotations.VisibleForTesting;
39 import com.google.common.base.MoreObjects;
40 import com.google.common.base.Preconditions;
41 import com.google.common.collect.ImmutableList;
42 import com.google.common.collect.ImmutableMap;
43 import com.google.common.collect.Iterables;
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/cachecontrol/
Dcontroller.py1 # SPDX-FileCopyrightText: 2015 Eric Larson
3 # SPDX-License-Identifier: Apache-2.0
8 import logging
9 import re
10 import calendar
11 import time
12 from email.utils import parsedate_tz
14 from pip._vendor.requests.structures import CaseInsensitiveDict
16 from .cache import DictCache, SeparateBodyBaseCache
17 from .serialize import Serializer
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/cachecontrol/
Dcontroller.py1 # SPDX-FileCopyrightText: 2015 Eric Larson
3 # SPDX-License-Identifier: Apache-2.0
8 import logging
9 import re
10 import calendar
11 import time
12 from email.utils import parsedate_tz
14 from pip._vendor.requests.structures import CaseInsensitiveDict
16 from .cache import DictCache, SeparateBodyBaseCache
17 from .serialize import Serializer
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/cachecontrol/
Dcontroller.py1 # SPDX-FileCopyrightText: 2015 Eric Larson
3 # SPDX-License-Identifier: Apache-2.0
8 import logging
9 import re
10 import calendar
11 import time
12 from email.utils import parsedate_tz
14 from pip._vendor.requests.structures import CaseInsensitiveDict
16 from .cache import DictCache, SeparateBodyBaseCache
17 from .serialize import Serializer
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/cachecontrol/
Dcontroller.py1 # SPDX-FileCopyrightText: 2015 Eric Larson
3 # SPDX-License-Identifier: Apache-2.0
8 import logging
9 import re
10 import calendar
11 import time
12 from email.utils import parsedate_tz
14 from pip._vendor.requests.structures import CaseInsensitiveDict
16 from .cache import DictCache, SeparateBodyBaseCache
17 from .serialize import Serializer
[all …]
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
H A DDefaultExecutor.kt3 import kotlinx.coroutines.internal.*
4 import java.util.concurrent.*
5 import kotlin.coroutines.*
13 // Opt-out flag in initializeDefaultDelay()
48 private const val FRESH = 0 constant
55 private var debugStatus: Int = FRESH
110 val tillShutdown = shutdownNanos - now in invokeOnTimeout()
150 assert { debugStatus == FRESH || debugStatus == SHUTDOWN_ACK } in ensureStarted()
151 debugStatus = FRESH in ensureStarted()
152 createThreadSync() // create fresh thread in ensureStarted()
[all …]
/aosp_15_r20/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java8 * http://www.apache.org/licenses/LICENSE-2.0
19 import android.app.ActivityManager;
20 import android.content.ComponentCallbacks2;
21 import android.content.ContentResolver;
22 import android.content.ContentUris;
23 import android.content.Context;
24 import android.content.res.Configuration;
25 import android.content.res.Resources;
26 import android.database.Cursor;
27 import android.graphics.Bitmap;
[all …]
/aosp_15_r20/cts/tests/devicepolicy/src/android/devicepolicy/cts/
H A DPermissionGrantTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
19 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT;
20 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED;
21 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED;
22 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_DENY;
23 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT;
24 import static android.app.admin.DevicePolicyManager.PERMISSION_POLICY_PROMPT;
26 import static com.android.bedstead.enterprise.EnterpriseDeviceStateExtensionsKt.dpc;
27 import static com.android.bedstead.enterprise.EnterpriseDeviceStateExtensionsKt.profileOwner;
28 import static com.android.bedstead.harrier.UserType.WORK_PROFILE;
[all …]
/aosp_15_r20/external/python/httplib2/tests/
Dtest_cache.py1 import email.utils
2 import httplib2
3 import pytest
4 import re
5 import tests
6 import time
12 # Test that can do a GET with cache and 'only-if-cached'
17 uri, "GET", headers={"cache-control": "only-if-cached"}
24 # Test that can do a GET with no cache with 'only-if-cached'
28 uri, "GET", headers={"cache-control": "only-if-cached"}
[all …]
/aosp_15_r20/external/guava/guava/src/com/google/common/util/concurrent/
H A DSmoothRateLimiter.java7 * http://www.apache.org/licenses/LICENSE-2.0
17 import static java.lang.Math.min;
18 import static java.util.concurrent.TimeUnit.SECONDS;
20 import com.google.common.annotations.GwtIncompatible;
21 import com.google.common.annotations.J2ktIncompatible;
22 import com.google.common.math.LongMath;
23 import java.util.concurrent.TimeUnit;
41 * granted only 100ms ago, then we wait for another 100ms. At this rate, serving 15 fresh permits
66 * - stored permits (if available)
68 * - fresh permits (for any remaining permits)
[all …]
/aosp_15_r20/external/guava/android/guava/src/com/google/common/util/concurrent/
H A DSmoothRateLimiter.java7 * http://www.apache.org/licenses/LICENSE-2.0
17 import static java.lang.Math.min;
18 import static java.util.concurrent.TimeUnit.SECONDS;
20 import com.google.common.annotations.GwtIncompatible;
21 import com.google.common.annotations.J2ktIncompatible;
22 import com.google.common.math.LongMath;
23 import java.util.concurrent.TimeUnit;
41 * granted only 100ms ago, then we wait for another 100ms. At this rate, serving 15 fresh permits
66 * - stored permits (if available)
68 * - fresh permits (for any remaining permits)
[all …]
/aosp_15_r20/external/python/cpython2/Doc/library/
Dtest.rst2 :mod:`test` --- Regression tests package for Python
38 .. _writing-tests:
41 ----------------------------------------------
56 import unittest
57 from test import support
125 * Import as few modules as possible and do it as soon as possible. This
127 behavior from side-effects of importing a module.
158 Running tests using the command-line interface
159 ----------------------------------------------
162 test suite, thanks to the :option:`-m` option: :program:`python -m test.regrtest`.
[all …]
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListFilter.java8 * http://www.apache.org/licenses/LICENSE-2.0
19 import android.app.ListActivity;
20 import android.os.Bundle;
21 import android.view.View;
22 import android.view.View.OnClickListener;
23 import android.widget.ArrayAdapter;
24 import android.widget.Button;
26 import com.android.frameworks.coretests.R;
64 "Ami du Chambertin", "Anejo Enchilado", "Anneau du Vic-Bilh", "Anthoriro", "Appenzell",
77 "Bresse Bleu", "Brick", "Brie", "Brie de Meaux", "Brie de Melun", "Brillat-Savarin",
[all …]
/aosp_15_r20/external/junit/src/main/java/org/junit/rules/
H A DTemporaryFolder.java3 import static org.junit.Assert.fail;
5 import java.io.File;
6 import java.io.IOException;
7 import java.lang.reflect.Array;
8 import java.lang.reflect.InvocationTargetException;
9 import java.lang.reflect.Method;
11 import org.junit.Rule;
54 * Create a temporary folder which uses system default temporary-file
66 * If {@code null} then system default temporary-file directory is used.
104 * If {@code null} then system default temporary-file directory is
[all …]
/aosp_15_r20/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DList13.java8 * http://www.apache.org/licenses/LICENSE-2.0
19 import android.app.ListActivity;
20 import android.content.Context;
21 import android.os.Bundle;
22 import android.view.LayoutInflater;
23 import android.view.View;
24 import android.view.ViewGroup;
25 import android.widget.AbsListView;
26 import android.widget.BaseAdapter;
27 import android.widget.ListView;
[all …]
/aosp_15_r20/frameworks/base/core/java/com/android/internal/os/
H A DKernelCpuProcStringReader.java8 * http://www.apache.org/licenses/LICENSE-2.0
19 import android.os.StrictMode;
20 import android.util.Slog;
22 import java.io.BufferedReader;
23 import java.io.FileNotFoundException;
24 import java.io.IOException;
25 import java.nio.CharBuffer;
26 import java.nio.file.Files;
27 import java.nio.file.NoSuchFileException;
28 import java.nio.file.Path;
[all …]
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/integration/android/
H A DAndroidKeysetManager.java7 // http://www.apache.org/licenses/LICENSE-2.0
19 import android.content.Context;
20 import android.content.SharedPreferences;
21 import android.os.Build;
22 import android.preference.PreferenceManager;
23 import android.util.Log;
24 import androidx.annotation.ChecksSdkIntAtLeast;
25 import androidx.annotation.Nullable;
26 import com.google.crypto.tink.Aead;
27 import com.google.crypto.tink.BinaryKeysetReader;
[all …]
/aosp_15_r20/libcore/ojluni/src/test/java/util/Arrays/
H A DSetAllTest.java17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
33 import org.testng.annotations.DataProvider;
34 import org.testng.annotations.Test;
36 import java.util.Arrays;
37 import java.util.function.IntFunction;
38 import java.util.function.IntToDoubleFunction;
39 import java.util.function.IntToLongFunction;
40 import java.util.function.IntUnaryOperator;
42 import static org.testng.Assert.assertEquals;
43 import static org.testng.Assert.assertTrue;
[all …]
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/
H A DKeysetManager.java7 // http://www.apache.org/licenses/LICENSE-2.0
19 import com.google.crypto.tink.internal.KeyStatusTypeProtoConverter;
20 import com.google.crypto.tink.internal.Util;
21 import com.google.crypto.tink.proto.KeyData;
22 import com.google.crypto.tink.proto.KeyStatusType;
23 import com.google.crypto.tink.proto.Keyset;
24 import com.google.crypto.tink.proto.OutputPrefixType;
25 import com.google.crypto.tink.tinkkey.KeyAccess;
26 import com.google.crypto.tink.tinkkey.KeyHandle;
27 import com.google.crypto.tink.tinkkey.SecretKeyAccess;
[all …]
/aosp_15_r20/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/src/main/java/com/example/android/common/dummydata/
H A DCheeses.java8 * http://www.apache.org/licenses/LICENSE-2.0
19 import java.util.ArrayList;
20 import java.util.HashSet;
21 import java.util.Random;
31 "Ami du Chambertin", "Anejo Enchilado", "Anneau du Vic-Bilh", "Anthoriro", "Appenzell",
44 "Bresse Bleu", "Brick", "Brie", "Brie de Meaux", "Brie de Melun", "Brillat-Savarin",
46 "Briquette de Brebis", "Briquette du Forez", "Broccio", "Broccio Demi-Affine",
72 "Explorateur", "Feta", "Feta (Australian)", "Figue", "Filetta", "Fin-de-Siecle",
77 "Fresh Jack", "Fresh Mozzarella", "Fresh Ricotta", "Fresh Truffles", "Fribourgeois",
85 "Grataron d' Areches", "Gratte-Paille", "Graviera", "Greuilh", "Greve",
[all …]
/aosp_15_r20/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/dummydata/
H A DCheeses.java8 * http://www.apache.org/licenses/LICENSE-2.0
19 import java.util.ArrayList;
20 import java.util.HashSet;
21 import java.util.Random;
31 "Ami du Chambertin", "Anejo Enchilado", "Anneau du Vic-Bilh", "Anthoriro", "Appenzell",
44 "Bresse Bleu", "Brick", "Brie", "Brie de Meaux", "Brie de Melun", "Brillat-Savarin",
46 "Briquette de Brebis", "Briquette du Forez", "Broccio", "Broccio Demi-Affine",
72 "Explorateur", "Feta", "Feta (Australian)", "Figue", "Filetta", "Fin-de-Siecle",
77 "Fresh Jack", "Fresh Mozzarella", "Fresh Ricotta", "Fresh Truffles", "Fribourgeois",
85 "Grataron d' Areches", "Gratte-Paille", "Graviera", "Greuilh", "Greve",
[all …]
/aosp_15_r20/developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/common/dummydata/
H A DCheeses.java8 * http://www.apache.org/licenses/LICENSE-2.0
19 import java.util.ArrayList;
20 import java.util.HashSet;
21 import java.util.Random;
31 "Ami du Chambertin", "Anejo Enchilado", "Anneau du Vic-Bilh", "Anthoriro", "Appenzell",
44 "Bresse Bleu", "Brick", "Brie", "Brie de Meaux", "Brie de Melun", "Brillat-Savarin",
46 "Briquette de Brebis", "Briquette du Forez", "Broccio", "Broccio Demi-Affine",
72 "Explorateur", "Feta", "Feta (Australian)", "Figue", "Filetta", "Fin-de-Siecle",
77 "Fresh Jack", "Fresh Mozzarella", "Fresh Ricotta", "Fresh Truffles", "Fribourgeois",
85 "Grataron d' Areches", "Gratte-Paille", "Graviera", "Greuilh", "Greve",
[all …]

12345678910>>...45